Function at 0x40c673
Capabilities:
Query environment variable

Disassembly:
push 0x60
mov eax, 0x416df9
call fcn.00414056
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x6c], ebx
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x68], edi
cmp eax, ebx
jne 0x40c6a3
push esi
mov ecx, edi
call fcn.004080ea
mov eax, edi
jmp 0x40c851
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
xor edi, edi
mov dword [ebp - 4], ebx
cmp eax, ebx
jbe 0x40c82a
mov ecx, edi
jmp 0x40c6d4
cmp dword [esi + 0x14], 0x10
jb 0x40c6cb
mov edx, dword [esi]
jmp 0x40c6cd
mov edx, esi
cmp byte [edx + edi], 0x24
je 0x40c6d8
inc edi
cmp edi, eax
jb 0x40c6c1
dec eax
cmp edi, eax
jae 0x40c7f3
cmp dword [esi + 0x14], 0x10
jb 0x40c6eb
mov eax, dword [esi]
jmp 0x40c6ed
mov eax, esi
cmp byte [eax + edi + 1], 0x7b
jne 0x40c7db
mov eax, edi
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x64]
push eax
mov ecx, esi
call fcn.00404ca4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00404262
push ebx
push 1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], bl
call fcn.00403933
mov eax, dword [esi + 0x10]
add edi, 2
mov edx, edi
jmp 0x40c744
cmp dword [esi + 0x14], 0x10
jb 0x40c73b
mov ecx, dword [esi]
jmp 0x40c73d
mov ecx, esi
cmp byte [ecx + edi], 0x7d
je 0x40c748
inc edi
cmp edi, eax
jb 0x40c731
cmp edi, eax
je 0x40c857
mov eax, edi
sub eax, edx
push eax
push edx
lea eax, [ebp - 0x48]
push eax
mov ecx, esi
call fcn.00404ca4
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x6c]
push eax
mov ecx, 0x4252b4
mov byte [ebp - 4], 2
call fcn.00409fa2
mov eax, dword [eax]
cmp eax, dword [0x4252b8]
jne 0x40c7c6
cmp dword [ebp - 0x34], 0x10
mov eax, dword [ebp - 0x48]
jae 0x40c78d
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.MSVCR100.dll_getenv]
pop ecx
cmp eax, ebx
je 0x40c7a4
push eax
lea ecx, [ebp - 0x2c]
call fcn.00409f7f
jmp 0x40c7d5
cmp dword [ebp - 0x34], 0x10
mov eax, dword [ebp - 0x48]
jae 0x40c7b0
lea eax, [ebp - 0x48]
push dword [0x4252ac]
push eax
push str.Undefined_symbol__s_at_line__d___substituting____n
call fcn.0041130e
add esp, 0xc
jmp 0x40c7d5
push 0xffffffffffffffff
add eax, 0x28
push ebx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404262
inc edi
lea ecx, [ebp - 0x48]
jmp 0x40c814
inc edi
mov eax, edi
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x64]
push eax
mov ecx, esi
call fcn.00404ca4
mov byte [ebp - 4], 3
jmp 0x40c805
push 0xffffffffffffffff
push ecx
lea eax, [ebp - 0x64]
push eax
mov ecx, esi
call fcn.00404ca4
mov byte [ebp - 4], 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404262
lea ecx, [ebp - 0x64]
push ebx
push 1
mov byte [ebp - 4], bl
call fcn.00403933
mov eax, dword [esi + 0x10]
cmp edi, eax
jb 0x40c6bd
mov esi, dword [ebp - 0x68]
lea eax, [ebp - 0x2c]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov byte [esi], bl
call fcn.00404dda
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403933
mov eax, esi
call fcn.004140a0
ret
push 0x7d
push dword [0x4252ac]
push str.Syntax_error_at_line__d:__c_expected_n
call fcn.0041130e
mov esi, dword [ebp - 0x68]
add esp, 0xc
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x41b19e
mov ecx, esi
mov byte [esi], bl
call fcn.00404944
jmp 0x40c844