Function at 0x40c037
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x415d7f
call fcn.00414110
sub esp, 0x98
mov eax, dword [0x422a68]
push ebx
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
cmp dword [edi + 0x14], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x4c], ebx
jne 0x40c06c
mov ecx, dword [ebp + 8]
push edi
call fcn.00401452
jmp 0x40c22c
push esi
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
call fcn.004010b5
xor esi, esi
cmp dword [edi + 0x14], ebx
mov dword [ebp - 4], ebx
jbe 0x40c214
mov dword [ebp + 0xc], esi
jmp 0x40c09e
push esi
mov ecx, edi
call fcn.004071eb
cmp byte [eax], 0x24
je 0x40c0a3
inc esi
cmp esi, dword [edi + 0x14]
jb 0x40c090
mov eax, dword [edi + 0x14]
dec eax
cmp esi, eax
mov ecx, edi
jae 0x40c1d9
lea eax, [esi + 1]
push eax
mov dword [ebp - 0x4c], eax
call fcn.004071eb
cmp byte [eax], 0x7b
mov ecx, edi
jne 0x40c1a9
mov eax, esi
sub eax, dword [ebp + 0xc]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x6c]
push eax
call fcn.0040480c
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00404b51
push ebx
push 1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], bl
call fcn.004010eb
inc esi
inc esi
mov dword [ebp + 0xc], esi
jmp 0x40c10d
push esi
mov ecx, edi
call fcn.004071eb
cmp byte [eax], 0x7d
je 0x40c112
inc esi
cmp esi, dword [edi + 0x14]
jb 0x40c0ff
cmp esi, dword [edi + 0x14]
je 0x40c245
mov eax, esi
sub eax, dword [ebp + 0xc]
mov ecx, edi
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x48]
push eax
call fcn.0040480c
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x50]
push eax
mov ecx, 0x422d64
mov byte [ebp - 4], 2
call fcn.0040ddc8
mov eax, dword [eax]
cmp eax, dword [0x422d68]
jne 0x40c194
cmp dword [ebp - 0x30], 0x10
mov eax, dword [ebp - 0x44]
jae 0x40c15b
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.MSVCR71.dll_getenv]
cmp eax, ebx
pop ecx
je 0x40c172
push eax
lea ecx, [ebp - 0x2c]
call fcn.00408f8e
jmp 0x40c1a3
cmp dword [ebp - 0x30], 0x10
mov eax, dword [ebp - 0x44]
jae 0x40c17e
lea eax, [ebp - 0x44]
push dword [0x422d5c]
push eax
push str.Undefined_symbol__s_at_line__d___substituting____n
call fcn.004110c4
add esp, 0xc
jmp 0x40c1a3
push 0xffffffffffffffff
add eax, 0x28
push ebx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404b51
inc esi
lea ecx, [ebp - 0x48]
jmp 0x40c200
mov esi, dword [ebp - 0x4c]
mov eax, esi
sub eax, dword [ebp + 0xc]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x88]
push eax
call fcn.0040480c
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00404b51
lea ecx, [ebp - 0x88]
jmp 0x40c200
push 0xffffffffffffffff
push dword [ebp + 0xc]
lea eax, [ebp - 0xa4]
push eax
call fcn.0040480c
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00404b51
lea ecx, [ebp - 0xa4]
push ebx
push 1
mov byte [ebp - 4], bl
call fcn.004010eb
cmp esi, dword [edi + 0x14]
jb 0x40c08b
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
call fcn.00401452
push ebx
lea ecx, [ebp - 0x2c]
push 1
call fcn.004010eb
pop esi
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.00414215
leave
ret
push 0x7d
push dword [0x422d5c]
push str.Syntax_error_at_line__d:__c_expected_n
call fcn.004110c4
mov ecx, dword [ebp + 8]
add esp, 0xc
push 0x41a346
call fcn.004014ff
jmp 0x40c220