var_C
corresponds to the value -0xCh
. This is IDA Pro’s way of telling us that it has substituted var_C
for -0xC
at ❸; it has abstracted an instruction. For example, instead of needing to read the instruction as mov [ebp-0Ch], 3
, we can simply read it as “var_C
is now set to 3” and continue with our analysis. This abstraction makes reading the disassembly more efficient.Sometimes IDA Pro will fail to identify a function. If this happens, you can create a function by pressing P. It may also fail to identify EBP-based stack frames, and the instructions mov [ebp-0Ch], eax
and push dword ptr [ebp-010h]
might appear instead of the convenient labeling. In most cases, you can fix this by pressing ALT-P, selecting BP Based Frame, and specifying 4 bytes for Saved Registers.