Function at 0x406730
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4409bb
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.00404ed0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x294]
add ecx, 0x55c4
call fcn.004052a0
mov ecx, dword [ebp - 0x294]
add ecx, 0x55c8
call fcn.004052a0
mov ecx, dword [ebp - 0x294]
add ecx, 0x55cc
call fcn.004052a0
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 0x4067e4
lea ecx, [ebp - 0x228]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00404fb0
push 0
push 0x447b78
lea ecx, [ebp - 0x18]
call fcn.004050b0
test eax, eax
jle 0x406858
push 0
push 0x447b7c
lea ecx, [ebp - 0x18]
call fcn.004050b0
sub eax, 1
push eax
lea edx, [ebp - 0x274]
push edx
lea ecx, [ebp - 0x18]
call fcn.004051c0
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, 0x55c4
call fcn.00404f90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x274]
call fcn.00401130
jmp 0x40686d
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x294]
add ecx, 0x55c4
call fcn.00404f90
push 0x447b80
mov ecx, dword [ebp - 0x294]
add ecx, 0x55c4
call fcn.00404ff0
push str._n_n
mov ecx, dword [ebp - 0x294]
add ecx, 0x55c8
call fcn.00405450
mov eax, dword [ebp - 0x294]
add eax, 0x55c8
push eax
mov ecx, dword [ebp - 0x294]
add ecx, 0x55c4
push ecx
mov ecx, dword [ebp - 0x294]
call fcn.004048e0
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x294]
call fcn.00406500
mov eax, dword [ebp - 0x294]
add eax, 0x55c4
push ecx
mov ecx, esp
mov dword [ebp - 0x278], esp
push eax
call fcn.00404ef0
mov dword [ebp - 0x2a0], eax
mov ecx, dword [ebp - 0x294]
call fcn.00406520
lea ecx, [ebp + 8]
call fcn.00405390
push eax
push 0x104
mov ecx, dword [ebp - 0x294]
add ecx, 0x53bc
push ecx
call fcn.004016e0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x294]
call fcn.00401d00
mov dword [ebp - 0x2a4], eax
cmp dword [ebp - 0x2a4], 0
jne 0x4069bc
mov ecx, dword [ebp - 0x294]
call fcn.00408870
mov ecx, dword [ebp - 0x294]
call fcn.00406420
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 0x44fe98
lea edx, [ebp - 0x290]
push edx
call fcn.0042b7b2
push str.Input_file_:
mov ecx, dword [ebp - 0x294]
add ecx, 0x55c8
call fcn.00404ff0
mov ecx, dword [ebp - 0x294]
call fcn.00406420
push eax
mov ecx, dword [ebp - 0x294]
add ecx, 0x55c8
call fcn.00404ff0
push 0x447be8
mov ecx, dword [ebp - 0x294]
add ecx, 0x55c8
call fcn.00405010
push 0x447bec
mov ecx, dword [ebp - 0x294]
add ecx, 0x55c8
call fcn.00404ff0
mov ecx, dword [ebp - 0x294]
call fcn.00406400
push eax
mov ecx, dword [ebp - 0x294]
add ecx, 0x55c8
call fcn.00404ff0
push 0x447c10
mov ecx, dword [ebp - 0x294]
add ecx, 0x55c8
call fcn.00405010
push 0x447c14
mov ecx, dword [ebp - 0x294]
add ecx, 0x55c8
call fcn.00404ff0
mov ecx, dword [ebp - 0x294]
call fcn.004064a0
push eax
mov ecx, dword [ebp - 0x294]
add ecx, 0x55c8
call fcn.00404ff0
push 0x447c28
mov ecx, dword [ebp - 0x294]
add ecx, 0x55c8
call fcn.00405010
push 0x447c2c
mov ecx, dword [ebp - 0x294]
add ecx, 0x55c8
call fcn.00404ff0
mov ecx, dword [ebp - 0x294]
call fcn.004064e0
push eax
mov ecx, dword [ebp - 0x294]
add ecx, 0x55c8
call fcn.00404ff0
push 0x447c54
mov ecx, dword [ebp - 0x294]
add ecx, 0x55c8
call fcn.00405010
push 0x447c58
mov ecx, dword [ebp - 0x294]
add ecx, 0x55c8
call fcn.00404ff0
mov ecx, dword [ebp - 0x294]
call fcn.00406440
push eax
mov ecx, dword [ebp - 0x294]
add ecx, 0x55c8
call fcn.00404ff0
push 0x447c78
mov ecx, dword [ebp - 0x294]
add ecx, 0x55c8
call fcn.00405010
push 0x447c7c
mov ecx, dword [ebp - 0x294]
add ecx, 0x55c8
call fcn.00404ff0
mov ecx, dword [ebp - 0x294]
call fcn.00401aa0
push eax
mov ecx, dword [ebp - 0x294]
add ecx, 0x55c8
call fcn.00404ff0
push 0x447c9c
mov ecx, dword [ebp - 0x294]
add ecx, 0x55c8
call fcn.00405010
push 0x447ca0
mov ecx, dword [ebp - 0x294]
add ecx, 0x55c8
call fcn.00404ff0
mov ecx, dword [ebp - 0x294]
call fcn.004065e0
push eax
mov ecx, dword [ebp - 0x294]
add ecx, 0x55c8
call fcn.00404ff0
push 0x447cdc
mov ecx, dword [ebp - 0x294]
add ecx, 0x55c8
call fcn.00405010
push 0x447ce0
mov ecx, dword [ebp - 0x294]
add ecx, 0x55c8
call fcn.00404ff0
mov ecx, dword [ebp - 0x294]
call fcn.00406600
push eax
mov ecx, dword [ebp - 0x294]
add ecx, 0x55c8
call fcn.00404ff0
push 0x447d1c
mov ecx, dword [ebp - 0x294]
add ecx, 0x55c8
call fcn.00405010
push 0x447d20
mov ecx, dword [ebp - 0x294]
add ecx, 0x55c8
call fcn.00404ff0
mov ecx, dword [ebp - 0x294]
call fcn.00406480
push eax
mov ecx, dword [ebp - 0x294]
add ecx, 0x55c8
call fcn.00404ff0
push 0x447d60
mov ecx, dword [ebp - 0x294]
add ecx, 0x55c8
call fcn.00405010
push 0x447d64
mov ecx, dword [ebp - 0x294]
add ecx, 0x55c8
call fcn.00404ff0
mov ecx, dword [ebp - 0x294]
call fcn.004064c0
push eax
mov ecx, dword [ebp - 0x294]
add ecx, 0x55c8
call fcn.00404ff0
push 0x447d9c
mov ecx, dword [ebp - 0x294]
add ecx, 0x55c8
call fcn.00405010
mov eax, dword [ebp - 0x294]
add eax, 0x55c8
push eax
mov ecx, dword [ebp - 0x294]
add ecx, 0x55c4
push ecx
mov ecx, dword [ebp - 0x294]
call fcn.004048e0
jmp 0x406d0d
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.00429c7e
mov esp, ebp
pop ebp
ret 8