Function at 0x4069b0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44075b
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x294
mov eax, dword [0x454688]
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x294], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x18]
call fcn.004050e0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x294]
add ecx, 0x57cc
call fcn.004054c0
mov ecx, dword [ebp - 0x294]
add ecx, 0x57d0
call fcn.004054c0
mov ecx, dword [ebp - 0x294]
add ecx, 0x57d4
call fcn.004054c0
push 0x104
lea eax, [ebp - 0x228]
push eax
push str.Temp
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jle 0x406a64
lea ecx, [ebp - 0x228]
push ecx
lea ecx, [ebp - 0x18]
call fcn.004051c0
push 0
push 0x447b68
lea ecx, [ebp - 0x18]
call fcn.004052c0
test eax, eax
jle 0x406ad8
push 0
push 0x447b6c
lea ecx, [ebp - 0x18]
call fcn.004052c0
sub eax, 1
push eax
lea edx, [ebp - 0x274]
push edx
lea ecx, [ebp - 0x18]
call fcn.004053d0
mov dword [ebp - 0x298], eax
mov eax, dword [ebp - 0x298]
mov dword [ebp - 0x29c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x29c]
push ecx
mov ecx, dword [ebp - 0x294]
add ecx, 0x57cc
call fcn.004051a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x274]
call fcn.00401130
jmp 0x406aed
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x294]
add ecx, 0x57cc
call fcn.004051a0
push 0x447b70
mov ecx, dword [ebp - 0x294]
add ecx, 0x57cc
call fcn.00405200
push str._n_n
mov ecx, dword [ebp - 0x294]
add ecx, 0x57d0
call fcn.00405660
mov eax, dword [ebp - 0x294]
add eax, 0x57d0
push eax
mov ecx, dword [ebp - 0x294]
add ecx, 0x57cc
push ecx
mov ecx, dword [ebp - 0x294]
call fcn.00404940
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x294]
call fcn.00406760
mov eax, dword [ebp - 0x294]
add eax, 0x57cc
push ecx
mov ecx, esp
mov dword [ebp - 0x278], esp
push eax
call fcn.00405100
mov dword [ebp - 0x2a0], eax
mov ecx, dword [ebp - 0x294]
call fcn.00406780
lea ecx, [ebp + 8]
call fcn.004054b0
push eax
push 0x104
mov ecx, dword [ebp - 0x294]
add ecx, 0x55c4
push ecx
call fcn.004016e0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x294]
call fcn.00401d60
mov dword [ebp - 0x2a4], eax
cmp dword [ebp - 0x2a4], 0
jne 0x406c3c
mov ecx, dword [ebp - 0x294]
call fcn.004088b0
mov ecx, dword [ebp - 0x294]
call fcn.00406680
push eax
push 0
push 0x10
push 0
push 0x6b
lea ecx, [ebp - 0x240]
call fcn.00401060
mov edx, dword [ebp - 0x240]
mov dword [ebp - 0x290], edx
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x28c], eax
mov ecx, dword [ebp - 0x238]
mov dword [ebp - 0x288], ecx
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x284], edx
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x280], eax
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x27c], ecx
push 0x450068
lea edx, [ebp - 0x290]
push edx
call fcn.0042b425
push str.Input_file_:
mov ecx, dword [ebp - 0x294]
add ecx, 0x57d0
call fcn.00405200
mov ecx, dword [ebp - 0x294]
call fcn.00406680
push eax
mov ecx, dword [ebp - 0x294]
add ecx, 0x57d0
call fcn.00405200
push 0x447bd8
mov ecx, dword [ebp - 0x294]
add ecx, 0x57d0
call fcn.00405220
push 0x447bdc
mov ecx, dword [ebp - 0x294]
add ecx, 0x57d0
call fcn.00405200
mov ecx, dword [ebp - 0x294]
call fcn.00406660
push eax
mov ecx, dword [ebp - 0x294]
add ecx, 0x57d0
call fcn.00405200
push 0x447c00
mov ecx, dword [ebp - 0x294]
add ecx, 0x57d0
call fcn.00405220
push 0x447c04
mov ecx, dword [ebp - 0x294]
add ecx, 0x57d0
call fcn.00405200
mov ecx, dword [ebp - 0x294]
call fcn.00406700
push eax
mov ecx, dword [ebp - 0x294]
add ecx, 0x57d0
call fcn.00405200
push 0x447c18
mov ecx, dword [ebp - 0x294]
add ecx, 0x57d0
call fcn.00405220
push 0x447c1c
mov ecx, dword [ebp - 0x294]
add ecx, 0x57d0
call fcn.00405200
mov ecx, dword [ebp - 0x294]
call fcn.00406740
push eax
mov ecx, dword [ebp - 0x294]
add ecx, 0x57d0
call fcn.00405200
push 0x447c44
mov ecx, dword [ebp - 0x294]
add ecx, 0x57d0
call fcn.00405220
push 0x447c48
mov ecx, dword [ebp - 0x294]
add ecx, 0x57d0
call fcn.00405200
mov ecx, dword [ebp - 0x294]
call fcn.004066a0
push eax
mov ecx, dword [ebp - 0x294]
add ecx, 0x57d0
call fcn.00405200
push 0x447c68
mov ecx, dword [ebp - 0x294]
add ecx, 0x57d0
call fcn.00405220
push 0x447c6c
mov ecx, dword [ebp - 0x294]
add ecx, 0x57d0
call fcn.00405200
mov ecx, dword [ebp - 0x294]
call fcn.00401b80
push eax
mov ecx, dword [ebp - 0x294]
add ecx, 0x57d0
call fcn.00405200
push 0x447c8c
mov ecx, dword [ebp - 0x294]
add ecx, 0x57d0
call fcn.00405220
push 0x447c90
mov ecx, dword [ebp - 0x294]
add ecx, 0x57d0
call fcn.00405200
mov ecx, dword [ebp - 0x294]
call fcn.00406840
push eax
mov ecx, dword [ebp - 0x294]
add ecx, 0x57d0
call fcn.00405200
push 0x447ccc
mov ecx, dword [ebp - 0x294]
add ecx, 0x57d0
call fcn.00405220
push 0x447cd0
mov ecx, dword [ebp - 0x294]
add ecx, 0x57d0
call fcn.00405200
mov ecx, dword [ebp - 0x294]
call fcn.00406860
push eax
mov ecx, dword [ebp - 0x294]
add ecx, 0x57d0
call fcn.00405200
push 0x447d0c
mov ecx, dword [ebp - 0x294]
add ecx, 0x57d0
call fcn.00405220
push 0x447d10
mov ecx, dword [ebp - 0x294]
add ecx, 0x57d0
call fcn.00405200
mov ecx, dword [ebp - 0x294]
call fcn.004066e0
push eax
mov ecx, dword [ebp - 0x294]
add ecx, 0x57d0
call fcn.00405200
push 0x447d50
mov ecx, dword [ebp - 0x294]
add ecx, 0x57d0
call fcn.00405220
push 0x447d54
mov ecx, dword [ebp - 0x294]
add ecx, 0x57d0
call fcn.00405200
mov ecx, dword [ebp - 0x294]
call fcn.00405050
push eax
mov ecx, dword [ebp - 0x294]
add ecx, 0x57d0
call fcn.00405200
push 0x447d74
mov ecx, dword [ebp - 0x294]
add ecx, 0x57d0
call fcn.00405220
push 0x447d78
mov ecx, dword [ebp - 0x294]
add ecx, 0x57d0
call fcn.00405200
mov ecx, dword [ebp - 0x294]
call fcn.00406720
push eax
mov ecx, dword [ebp - 0x294]
add ecx, 0x57d0
call fcn.00405200
push 0x447db0
mov ecx, dword [ebp - 0x294]
add ecx, 0x57d0
call fcn.00405220
mov eax, dword [ebp - 0x294]
add eax, 0x57d0
push eax
mov ecx, dword [ebp - 0x294]
add ecx, 0x57cc
push ecx
mov ecx, dword [ebp - 0x294]
call fcn.00404940
jmp 0x406fd6
mov dword [ebp - 4], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00401130
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401130
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.004296c6
mov esp, ebp
pop ebp
ret 8