Function at 0x443d30
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x8c
mov eax, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 8], 0
lea ecx, [ebp - 9]
call fcn.00444a30
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0xa]
call fcn.00444ae0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x490d74]
mov dword [ebp - 0xe], eax
lea ecx, [ebp - 0xf]
call fcn.00444b90
mov ecx, eax
call fcn.00401c20
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x443de4
lea eax, [ebp - 0xe]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x443de1
lea ecx, [ebp - 0x15]
call fcn.00444c40
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 - 0x14]
lea ecx, [ebp - 0x16]
call fcn.00444cf0
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x17]
call fcn.00444da0
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x18]
call fcn.00444e50
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x490d78]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x1d]
call fcn.00444f00
mov ecx, eax
call fcn.00401c20
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x443e95
lea eax, [ebp - 0x1c]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x443e92
lea ecx, [ebp - 0x25]
call fcn.00444fb0
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 - 0x24]
lea ecx, [ebp - 0x26]
call fcn.00445060
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x27]
call fcn.00445110
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x28]
call fcn.004451c0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x490d7c]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x2d]
call fcn.00445270
mov ecx, eax
call fcn.00401c20
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x443f46
lea eax, [ebp - 0x2c]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x443f43
lea ecx, [ebp - 0x35]
call fcn.00445320
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 - 0x34]
lea ecx, [ebp - 0x36]
call fcn.004453d0
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 8]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x3d]
call fcn.00445480
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x3e]
call fcn.00445530
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x490d80]
mov dword [ebp - 0x42], eax
lea ecx, [ebp - 0x43]
call fcn.004455e0
mov ecx, eax
call fcn.00401c20
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x44401e
lea eax, [ebp - 0x42]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x44401b
lea ecx, [ebp - 0x49]
call fcn.00445690
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 - 0x48]
lea ecx, [ebp - 0x4a]
call fcn.00445740
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x4b]
call fcn.004457f0
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x4c]
call fcn.004458a0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x490d84]
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x51]
call fcn.00445950
mov ecx, eax
call fcn.00401c20
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x4440cf
lea eax, [ebp - 0x50]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x4440cc
lea ecx, [ebp - 0x59]
call fcn.00445a00
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 - 0x58]
lea ecx, [ebp - 0x5a]
call fcn.00445ab0
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
cmp dword [ebp - 0x3c], 0
jne 0x444107
lea ecx, [ebp - 0x5b]
call fcn.00445b60
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x5c]
call fcn.00445c10
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x490d88]
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x61]
call fcn.00445cc0
mov ecx, eax
call fcn.00401c20
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x44418a
lea eax, [ebp - 0x60]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x444187
lea ecx, [ebp - 0x69]
call fcn.00445d70
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 - 0x68]
lea ecx, [ebp - 0x6a]
call fcn.00445e20
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x6b]
call fcn.00445ed0
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x6c]
call fcn.00445f80
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x490d8c]
mov dword [ebp - 0x70], eax
lea ecx, [ebp - 0x71]
call fcn.00446030
mov ecx, eax
call fcn.00401c20
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x44423b
lea eax, [ebp - 0x70]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jne 0x444238
lea ecx, [ebp - 0x79]
call fcn.004460e0
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 - 0x78]
lea ecx, [ebp - 0x7a]
call fcn.00446190
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
xor eax, eax
add esp, 0x8c
pop esi
pop ebp
ret