Function at 0x42b5c0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x100
mov eax, dword [ebp + 8]
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 5]
call fcn.0042bc40
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 6]
call fcn.0042bcf0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f28b]
mov dword [ebp - 0xa], eax
lea ecx, [ebp - 0xb]
call fcn.0042bda0
mov ecx, eax
call fcn.00421730
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x42b679
lea eax, [ebp - 0xa]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x42b676
lea ecx, [ebp - 0x11]
call fcn.0042be50
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401c50
xor eax, eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GlobalFlags]
sub esp, 4
call dword [ebp - 0x10]
lea ecx, [ebp - 0x12]
call fcn.0042bf00
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x4a1514]
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0x1f]
mov dword [esp], eax
call fcn.00415620
lea ecx, [ebp - 0x1f]
call fcn.00415640
mov dword [esp], eax
call fcn.004153f0
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0x2d]
mov dword [esp], eax
call fcn.0042bfb0
lea ecx, [ebp - 0x2d]
call fcn.0042bfd0
mov edx, dword [ebp - 0xe0]
mov ecx, eax
mov eax, dword [ebp - 0xdc]
mov dword [esp], edx
mov dword [esp + 4], ecx
call eax
sub esp, 8
mov dword [0x4a870c], eax
lea ecx, [ebp - 0x2e]
call fcn.0042bfe0
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x2f]
call fcn.0042c090
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f28f]
mov dword [ebp - 0x33], eax
lea ecx, [ebp - 0x34]
call fcn.0042c140
mov ecx, eax
call fcn.00421730
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x42b788
lea eax, [ebp - 0x33]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x42b785
lea ecx, [ebp - 0x39]
call fcn.0042c1f0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401c50
xor eax, eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GlobalFlags]
sub esp, 4
call dword [ebp - 0x38]
lea ecx, [ebp - 0x3a]
call fcn.0042c2a0
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x4a1514]
mov dword [ebp - 0xf4], eax
lea eax, [ebp - 0x47]
mov dword [esp], eax
call fcn.00415620
lea ecx, [ebp - 0x47]
call fcn.00415640
mov dword [esp], eax
call fcn.004153f0
mov dword [ebp - 0xf8], eax
lea eax, [ebp - 0x56]
mov dword [esp], eax
call fcn.0042c350
lea ecx, [ebp - 0x56]
call fcn.0042c370
mov edx, dword [ebp - 0xf8]
mov ecx, eax
mov eax, dword [ebp - 0xf4]
mov dword [esp], edx
mov dword [esp + 4], ecx
call eax
sub esp, 8
mov dword [0x4a8718], eax
mov eax, dword [0x4a1514]
mov dword [ebp - 0xec], eax
lea eax, [ebp - 0x63]
mov dword [esp], eax
call fcn.00415620
lea ecx, [ebp - 0x63]
call fcn.00415640
mov dword [esp], eax
call fcn.004153f0
mov dword [ebp - 0xf0], eax
lea eax, [ebp - 0x70]
mov dword [esp], eax
call fcn.0042c380
lea ecx, [ebp - 0x70]
call fcn.0042c3a0
mov edx, dword [ebp - 0xf0]
mov ecx, eax
mov eax, dword [ebp - 0xec]
mov dword [esp], edx
mov dword [esp + 4], ecx
call eax
sub esp, 8
mov dword [0x4a8710], eax
mov eax, dword [0x4a1514]
mov dword [ebp - 0xe4], eax
lea eax, [ebp - 0x7d]
mov dword [esp], eax
call fcn.00415620
lea ecx, [ebp - 0x7d]
call fcn.00415640
mov dword [esp], eax
call fcn.004153f0
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0x8a]
mov dword [esp], eax
call fcn.0042c3b0
lea ecx, [ebp - 0x8a]
call fcn.0042c3d0
mov edx, dword [ebp - 0xe8]
mov ecx, eax
mov eax, dword [ebp - 0xe4]
mov dword [esp], edx
mov dword [esp + 4], ecx
call eax
sub esp, 8
mov dword [0x4a8714], eax
lea ecx, [ebp - 0x8b]
call fcn.0042c3e0
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x8c]
call fcn.0042c490
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f293]
mov dword [ebp - 0x90], eax
lea ecx, [ebp - 0x91]
call fcn.0042c540
mov ecx, eax
call fcn.00421730
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x42b974
lea eax, [ebp - 0x90]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
jne 0x42b96e
lea ecx, [ebp - 0x99]
call fcn.0042c5f0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401c50
xor eax, eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GlobalFlags]
sub esp, 4
call dword [ebp - 0x98]
lea ecx, [ebp - 0x9a]
call fcn.0042c6a0
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
xor eax, eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
sub esp, 4
mov dword [ebp - 0xb0], eax
lea ecx, [ebp - 0xb1]
call fcn.0042c750
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0xb2]
call fcn.0042c800
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f297]
mov dword [ebp - 0xb6], eax
lea ecx, [ebp - 0xb7]
call fcn.0042c8b0
mov ecx, eax
call fcn.00421730
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x42ba5b
lea eax, [ebp - 0xb6]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0
jne 0x42ba55
lea ecx, [ebp - 0xbd]
call fcn.0042c960
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401c50
xor eax, eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GlobalFlags]
sub esp, 4
call dword [ebp - 0xbc]
lea ecx, [ebp - 0xbe]
call fcn.0042ca10
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x4a870c]
mov esi, dword [ebp - 0xb0]
mov ecx, dword [ebp + 0x10]
movzx edx, cx
mov ecx, dword [ebp + 0xc]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call eax
sub esp, 0xc
mov dword [ebp - 0xa4], eax
cmp eax, 0
je 0x42bb19
mov eax, dword [0x4a8710]
mov edx, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xa4]
mov dword [esp], edx
mov dword [esp + 4], ecx
call eax
sub esp, 8
mov dword [ebp - 0xa0], eax
cmp eax, 0
je 0x42bb19
mov eax, dword [0x4a8714]
mov ecx, dword [ebp - 0xa0]
mov dword [esp], ecx
call eax
sub esp, 4
mov dword [ebp - 0xa8], eax
cmp eax, 0
je 0x42bb19
mov eax, dword [0x4a8718]
mov edx, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xa4]
mov dword [esp], edx
mov dword [esp + 4], ecx
call eax
sub esp, 8
mov dword [ebp - 0xac], eax
lea ecx, [ebp - 0xbf]
call fcn.0042cac0
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0xc0]
call fcn.0042cb70
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f29b]
mov dword [ebp - 0xc4], eax
lea ecx, [ebp - 0xc5]
call fcn.0042cc20
mov ecx, eax
call fcn.00421730
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x42bbce
lea eax, [ebp - 0xc4]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
jne 0x42bbc8
lea ecx, [ebp - 0xcd]
call fcn.0042ccd0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401c50
xor eax, eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GlobalFlags]
sub esp, 4
call dword [ebp - 0xcc]
lea ecx, [ebp - 0xce]
call fcn.0042cd80
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov ecx, dword [ebp - 0xd8]
mov byte [ebp - 0xcf], 0
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0xac]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0042ce30
sub esp, 8
mov byte [ebp - 0xcf], 1
test byte [ebp - 0xcf], 1
jne 0x42bc2f
mov ecx, dword [ebp - 0xd8]
call fcn.00461ca0
mov eax, dword [ebp - 0xd4]
add esp, 0x100
pop esi
pop ebp
ret