Function at 0x403660
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x1c
cmp dword [0x42842c], 3
jle 0x4036b0
mov dword [esp + 8], 0x227
mov dword [esp + 4], 0x403655
mov dword [esp], 0x428cb8
call sub.msvcrt.dll_sprintf
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x428cb8
mov dword [esp], 0x4283f0
call dword [0x439258]
add esp, 0x1c
ret
mov dword [esp + 0x18], 0x4012d4
mov dword [esp + 0x14], 0x402570
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 5
mov dword [esp + 8], 5
mov dword [esp + 4], 0x401f30
mov dword [esp], 0x428cb8
call sub.msvcrt.dll_sprintf
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x428cb8
mov dword [esp], 0x4283f0
call dword [0x439258]
mov dword [esp + 4], 0x401fd0
mov dword [esp], 0x428cb8
call sub.msvcrt.dll_sprintf
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x428cb8
mov dword [esp], 0x4283f0
call dword [0x439258]
call fcn.0041ade0
mov dword [esp + 4], 0x401d30
mov dword [esp], 0x428cb8
call sub.msvcrt.dll_sprintf
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x428cb8
mov dword [esp], 0x4283f0
call dword [0x439258]
mov dword [esp + 8], 0x401dab
mov dword [esp + 4], 0x401d54
mov dword [esp], 0x428cb8
call sub.msvcrt.dll_sprintf
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x428cb8
mov dword [esp], 0x4283f0
call dword [0x439258]
mov dword [esp + 8], 0x401dbb
mov dword [esp + 4], 0x401d54
mov dword [esp], 0x428cb8
call sub.msvcrt.dll_sprintf
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x428cb8
mov dword [esp], 0x4283f0
call dword [0x439258]
mov dword [esp + 8], 0x401dd0
mov dword [esp + 4], 0x401d54
mov dword [esp], 0x428cb8
call sub.msvcrt.dll_sprintf
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x428cb8
mov dword [esp], 0x4283f0
call dword [0x439258]
mov dword [esp + 8], 0x401e0d
mov dword [esp + 4], 0x401d54
mov dword [esp], 0x428cb8
call sub.msvcrt.dll_sprintf
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x428cb8
mov dword [esp], 0x4283f0
call dword [0x439258]
mov dword [esp + 8], 0x401e16
mov dword [esp + 4], 0x401d54
mov dword [esp], 0x428cb8
call sub.msvcrt.dll_sprintf
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x428cb8
mov dword [esp], 0x4283f0
call dword [0x439258]
mov dword [esp + 8], 0x401e1e
mov dword [esp + 4], 0x401d54
mov dword [esp], 0x428cb8
call sub.msvcrt.dll_sprintf
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x428cb8
mov dword [esp], 0x4283f0
call dword [0x439258]
mov dword [esp + 8], 0x401e2d
mov dword [esp + 4], 0x401d54
mov dword [esp], 0x428cb8
call sub.msvcrt.dll_sprintf
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x428cb8
mov dword [esp], 0x4283f0
call dword [0x439258]
mov dword [esp + 8], 0x401e37
mov dword [esp + 4], 0x401d54
mov dword [esp], 0x428cb8
call sub.msvcrt.dll_sprintf
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x428cb8
mov dword [esp], 0x4283f0
call dword [0x439258]
mov dword [esp + 8], 0x401e42
mov dword [esp + 4], 0x401d54
mov dword [esp], 0x428cb8
call sub.msvcrt.dll_sprintf
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x428cb8
mov dword [esp], 0x4283f0
call dword [0x439258]
mov dword [esp + 8], 0x401e70
mov dword [esp + 4], 0x401d54
mov dword [esp], 0x428cb8
call sub.msvcrt.dll_sprintf
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x428cb8
mov dword [esp], 0x4283f0
call dword [0x439258]
mov dword [esp + 8], 0x401eb0
mov dword [esp + 4], 0x401d54
mov dword [esp], 0x428cb8
call sub.msvcrt.dll_sprintf
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x428cb8
mov dword [esp], 0x4283f0
call dword [0x439258]
mov dword [esp + 8], 0x401ee2
mov dword [esp + 4], 0x401d54
mov dword [esp], 0x428cb8
call sub.msvcrt.dll_sprintf
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x428cb8
mov dword [esp], 0x4283f0
call dword [0x439258]
mov dword [esp + 0x14], 0x401f16
mov dword [esp + 0x10], 0x402570
mov dword [esp + 0xc], 9
mov dword [esp + 8], 2
mov dword [esp + 4], 0x401ef0
mov dword [esp], 0x428cb8
call sub.msvcrt.dll_sprintf
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x428cb8
mov dword [esp], 0x4283f0
call dword [0x439258]
mov dword [esp + 4], 0x401d70
mov dword [esp], 0x428cb8
call sub.msvcrt.dll_sprintf
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x428cb8
mov dword [esp], 0x4283f0
call dword [0x439258]
mov dword [esp], 0x401533
call sub.msvcrt.dll_getenv
test eax, eax
je 0x403af7
cmp byte [eax], 0
jne 0x403afc
mov eax, 0x401da4
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x401533
mov dword [esp + 4], 0x401d99
mov dword [esp], 0x428cb8
call sub.msvcrt.dll_sprintf
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x428cb8
mov dword [esp], 0x4283f0
call dword [0x439258]
mov dword [esp], 0x401539
call sub.msvcrt.dll_getenv
test eax, eax
je 0x403b52
cmp byte [eax], 0
jne 0x403b57
mov eax, 0x401da4
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x401539
mov dword [esp + 4], 0x401d99
mov dword [esp], 0x428cb8
call sub.msvcrt.dll_sprintf
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x428cb8
mov dword [esp], 0x4283f0
call dword [0x439258]
mov dword [esp], 0x401542
call sub.msvcrt.dll_getenv
test eax, eax
je 0x403bad
cmp byte [eax], 0
jne 0x403bb2
mov eax, 0x401da4
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x401542
mov dword [esp + 4], 0x401d99
mov dword [esp], 0x428cb8
call sub.msvcrt.dll_sprintf
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x428cb8
mov dword [esp], 0x4283f0
call dword [0x439258]
mov dword [esp], 0x40154a
call sub.msvcrt.dll_getenv
test eax, eax
je 0x403c08
cmp byte [eax], 0
jne 0x403c0d
mov eax, 0x401da4
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x40154a
mov dword [esp + 4], 0x401d99
mov dword [esp], 0x428cb8
call sub.msvcrt.dll_sprintf
jmp 0x403688