Function at 0x406880
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x390
mov eax, dword [ebp + 8]
lea ecx, [ebp - 2]
call fcn.00408f30
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 3]
call fcn.00408fe0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f0ba]
mov dword [ebp - 7], eax
lea ecx, [ebp - 8]
call fcn.00409090
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x406926
lea eax, [ebp - 7]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x406923
lea ecx, [ebp - 0xd]
call fcn.00409140
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 - 0xc]
lea ecx, [ebp - 0xe]
call fcn.004091f0
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00404f20
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x15]
call fcn.004092a0
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x16]
call fcn.00409350
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f0be]
mov dword [ebp - 0x1a], eax
lea ecx, [ebp - 0x1b]
call fcn.00409400
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x4069ed
lea eax, [ebp - 0x1a]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4069ea
lea ecx, [ebp - 0x21]
call fcn.004094b0
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 - 0x20]
lea ecx, [ebp - 0x22]
call fcn.00409560
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
cmp dword [ebp - 0x14], 0
jne 0x406a17
mov byte [ebp - 1], 0
jmp 0x408f1e
lea ecx, [ebp - 0x23]
call fcn.00409610
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x24]
call fcn.004096c0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f0c2]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x29]
call fcn.00409770
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x406ab1
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x406aae
lea ecx, [ebp - 0x31]
call fcn.00409820
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 - 0x30]
lea ecx, [ebp - 0x32]
call fcn.004098d0
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x39]
call fcn.00409980
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x3a]
call fcn.00409a30
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f0c6]
mov dword [ebp - 0x3e], eax
lea ecx, [ebp - 0x3f]
call fcn.00409ae0
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x406b6b
lea eax, [ebp - 0x3e]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x406b68
lea ecx, [ebp - 0x45]
call fcn.00409b90
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 - 0x44]
lea ecx, [ebp - 0x46]
call fcn.00409c40
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x4d]
call fcn.00409cf0
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x4e]
call fcn.00409da0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f0ca]
mov dword [ebp - 0x52], eax
lea ecx, [ebp - 0x53]
call fcn.00409e50
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x406c24
lea eax, [ebp - 0x52]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x406c21
lea ecx, [ebp - 0x59]
call fcn.00409f00
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.00409fb0
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x38]
jae 0x408e4b
mov eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x64]
mov ecx, dword [ebp + 8]
add eax, ecx
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x65]
call fcn.0040a060
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x66]
call fcn.0040a110
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f0ce]
mov dword [ebp - 0x6a], eax
lea ecx, [ebp - 0x6b]
call fcn.0040a1c0
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x406cfd
lea eax, [ebp - 0x6a]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jne 0x406cfa
lea ecx, [ebp - 0x71]
call fcn.0040a270
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 - 0x70]
lea ecx, [ebp - 0x72]
call fcn.0040a320
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [ebp - 0x60]
cmp dword [eax], 0
jne 0x406d32
mov eax, dword [ebp - 0x60]
cmp dword [eax + 0x10], 0
jne 0x406d32
jmp 0x408e4b
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x60]
mov ecx, dword [ecx + 0xc]
add eax, ecx
mov dword [ebp - 0x78], eax
lea ecx, [ebp - 0x79]
call fcn.0040a3d0
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x7a]
call fcn.0040a480
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f0d2]
mov dword [ebp - 0x7e], eax
lea ecx, [ebp - 0x7f]
call fcn.0040a530
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x406de6
lea eax, [ebp - 0x7e]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0
jne 0x406de0
lea ecx, [ebp - 0x85]
call fcn.0040a5e0
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 - 0x84]
lea ecx, [ebp - 0x86]
call fcn.0040a690
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x87]
call fcn.0040a740
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x88]
call fcn.0040a7f0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f0d6]
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0x8d]
call fcn.0040a8a0
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x406eb5
lea eax, [ebp - 0x8c]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
jne 0x406eaf
lea ecx, [ebp - 0x95]
call fcn.0040a950
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 - 0x94]
lea ecx, [ebp - 0x96]
call fcn.0040aa00
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x9c], eax
lea ecx, [ebp - 0x9d]
call fcn.0040aab0
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x9e]
call fcn.0040ab60
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f0da]
mov dword [ebp - 0xa2], eax
lea ecx, [ebp - 0xa3]
call fcn.0040ac10
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x406f90
lea eax, [ebp - 0xa2]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
jne 0x406f8a
lea ecx, [ebp - 0xa9]
call fcn.0040acc0
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 - 0xa8]
lea ecx, [ebp - 0xaa]
call fcn.0040ad70
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
mov dword [ebp - 0xb0], eax
lea ecx, [ebp - 0xb1]
call fcn.0040ae20
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0xb2]
call fcn.0040aed0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f0de]
mov dword [ebp - 0xb6], eax
lea ecx, [ebp - 0xb7]
call fcn.0040af80
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x40706a
lea eax, [ebp - 0xb6]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0
jne 0x407064
lea ecx, [ebp - 0xbd]
call fcn.0040b030
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.0040b0e0
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
cmp dword [ebp - 0xb0], 0
jne 0x40709d
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0xb0], eax
lea ecx, [ebp - 0xbf]
call fcn.0040b190
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0xc0]
call fcn.0040b240
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f0e2]
mov dword [ebp - 0xc4], eax
lea ecx, [ebp - 0xc5]
call fcn.0040b2f0
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x407152
lea eax, [ebp - 0xc4]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
jne 0x40714c
lea ecx, [ebp - 0xcd]
call fcn.0040b3a0
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.0040b450
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov dword [ebp - 0xd4], 0
lea ecx, [ebp - 0xd5]
call fcn.0040b500
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0xd6]
call fcn.0040b5b0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f0e6]
mov dword [ebp - 0xda], eax
lea ecx, [ebp - 0xdb]
call fcn.0040b660
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x40722b
lea eax, [ebp - 0xda]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0
jne 0x407225
lea ecx, [ebp - 0xe1]
call fcn.0040b710
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 - 0xe0]
lea ecx, [ebp - 0xe2]
call fcn.0040b7c0
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov dword [ebp - 0xe8], 0
lea ecx, [ebp - 0xe9]
call fcn.0040b870
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0xea]
call fcn.0040b920
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f0ea]
mov dword [ebp - 0xee], eax
lea ecx, [ebp - 0xef]
call fcn.0040b9d0
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x407304
lea eax, [ebp - 0xee]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0
jne 0x4072fe
lea ecx, [ebp - 0xf5]
call fcn.0040ba80
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 - 0xf4]
lea ecx, [ebp - 0xf6]
call fcn.0040bb30
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xd4]
add eax, dword [ebp - 0x9c]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xe8]
add eax, dword [ebp - 0xb0]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x100]
mov eax, dword [eax]
and eax, 0x80000000
cmp eax, 0
jne 0x40736d
mov al, 1
test al, al
jne 0x407631
jmp 0x40736d
lea ecx, [ebp - 0x101]
call fcn.0040bbe0
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x102]
call fcn.0040bc90
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f0ee]
mov dword [ebp - 0x106], eax
lea ecx, [ebp - 0x107]
call fcn.0040bd40
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x407422
lea eax, [ebp - 0x106]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
jne 0x40741c
lea ecx, [ebp - 0x10d]
call fcn.0040bdf0
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 - 0x10c]
lea ecx, [ebp - 0x10e]
call fcn.0040bea0
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
call fcn.0040bf50
lea ecx, [ebp - 0x10f]
call fcn.0040c250
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x110]
call fcn.0040c300
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f0f2]
mov dword [ebp - 0x114], eax
lea ecx, [ebp - 0x115]
call fcn.0040c3b0
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x4074fc
lea eax, [ebp - 0x114]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x4074f6
lea ecx, [ebp - 0x11d]
call fcn.0040c460
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 - 0x11c]
lea ecx, [ebp - 0x11e]
call fcn.0040c510
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x4a1514]
mov dword [ebp - 0x330], eax
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
call fcn.0040c5c0
mov edx, eax
mov eax, dword [ebp - 0x330]
mov ecx, dword [ebp - 0x100]
mov ecx, dword [ecx]
and ecx, 0xffff
mov dword [esp], edx
mov dword [esp + 4], ecx
call eax
sub esp, 8
mov dword [ebp - 0x124], eax
lea ecx, [ebp - 0x125]
call fcn.0040c690
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x126]
call fcn.0040c740
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f0f6]
mov dword [ebp - 0x12a], eax
lea ecx, [ebp - 0x12b]
call fcn.0040c7f0
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x407609
lea eax, [ebp - 0x12a]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
jne 0x407603
lea ecx, [ebp - 0x131]
call fcn.0040c8a0
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 - 0x130]
lea ecx, [ebp - 0x132]
call fcn.0040c950
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov ecx, dword [ebp - 0x124]
mov eax, dword [ebp - 0xfc]
mov dword [eax], ecx
lea ecx, [ebp - 0x133]
call fcn.0040ca00
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x134]
call fcn.0040cab0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f0fa]
mov dword [ebp - 0x138], eax
lea ecx, [ebp - 0x139]
call fcn.0040cb60
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x4076e6
lea eax, [ebp - 0x138]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 0
jne 0x4076e0
lea ecx, [ebp - 0x141]
call fcn.0040cc10
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.0040ccc0
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [ebp - 0xfc]
cmp dword [eax], 0
jne 0x407714
jmp 0x408d6e
lea ecx, [ebp - 0x143]
call fcn.0040cd70
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x144]
call fcn.0040ce20
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f0fe]
mov dword [ebp - 0x148], eax
lea ecx, [ebp - 0x149]
call fcn.0040ced0
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x4077c9
lea eax, [ebp - 0x148]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0x150], 0
jne 0x4077c3
lea ecx, [ebp - 0x151]
call fcn.0040cf80
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 - 0x150]
lea ecx, [ebp - 0x152]
call fcn.0040d030
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [ebp - 0xfc]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x100]
cmp eax, dword [ecx]
jne 0x408d4b
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x100]
add eax, dword [ecx]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
add eax, 2
mov dword [ebp - 0x15c], eax
mov eax, dword [0x4a1514]
mov dword [ebp - 0x334], eax
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
call fcn.0040c5c0
mov edx, eax
mov eax, dword [ebp - 0x334]
mov ecx, dword [ebp - 0x15c]
mov dword [esp], edx
mov dword [esp + 4], ecx
call eax
sub esp, 8
mov dword [ebp - 0x160], eax
lea ecx, [ebp - 0x161]
call fcn.0040d0e0
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x162]
call fcn.0040d190
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f102]
mov dword [ebp - 0x166], eax
lea ecx, [ebp - 0x167]
call fcn.0040d240
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x407904
lea eax, [ebp - 0x166]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x16c], 0
jne 0x4078fe
lea ecx, [ebp - 0x16d]
call fcn.0040d2f0
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.0040d3a0
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
xor eax, eax
cmp dword [0x4a1734], 0
mov byte [ebp - 0x335], al
je 0x407977
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x33c], eax
lea eax, [ebp - 0x17e]
mov dword [esp], eax
call fcn.0040d450
lea ecx, [ebp - 0x17e]
call fcn.0040d470
mov ecx, dword [ebp - 0x33c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.msvcrt.dll__stricmp]
cmp eax, 0
sete al
mov byte [ebp - 0x335], al
mov al, byte [ebp - 0x335]
test al, 1
jne 0x40798a
jmp 0x407b3b
lea ecx, [ebp - 0x17f]
call fcn.0040d480
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x180]
call fcn.0040d530
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f106]
mov dword [ebp - 0x184], eax
lea ecx, [ebp - 0x185]
call fcn.0040d5e0
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x407a3f
lea eax, [ebp - 0x184]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x18c], eax
cmp dword [ebp - 0x18c], 0
jne 0x407a39
lea ecx, [ebp - 0x18d]
call fcn.0040d690
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 - 0x18c]
lea ecx, [ebp - 0x18e]
call fcn.0040d740
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [ebp - 0xfc]
lea ecx, [0x40d7f0]
mov dword [eax], ecx
lea ecx, [ebp - 0x18f]
call fcn.0040d800
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x190]
call fcn.0040d8b0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f10a]
mov dword [ebp - 0x194], eax
lea ecx, [ebp - 0x195]
call fcn.0040d960
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x407b1c
lea eax, [ebp - 0x194]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 0x19c], 0
jne 0x407b16
lea ecx, [ebp - 0x19d]
call fcn.0040da10
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 - 0x19c]
lea ecx, [ebp - 0x19e]
call fcn.0040dac0
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
jmp 0x408d46
xor eax, eax
cmp dword [0x4a1734], 0
mov byte [ebp - 0x33d], al
je 0x407b94
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x344], eax
lea eax, [ebp - 0x1ae]
mov dword [esp], eax
call fcn.0040db70
lea ecx, [ebp - 0x1ae]
call fcn.0040db90
mov ecx, dword [ebp - 0x344]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.msvcrt.dll__stricmp]
cmp eax, 0
sete al
mov byte [ebp - 0x33d], al
mov al, byte [ebp - 0x33d]
test al, 1
jne 0x407ba7
jmp 0x407d58
lea ecx, [ebp - 0x1af]
call fcn.0040dba0
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x1b0]
call fcn.0040dc50
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f10e]
mov dword [ebp - 0x1b4], eax
lea ecx, [ebp - 0x1b5]
call fcn.0040dd00
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x407c5c
lea eax, [ebp - 0x1b4]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x1bc], eax
cmp dword [ebp - 0x1bc], 0
jne 0x407c56
lea ecx, [ebp - 0x1bd]
call fcn.0040ddb0
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 - 0x1bc]
lea ecx, [ebp - 0x1be]
call fcn.0040de60
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [ebp - 0xfc]
lea ecx, [0x40df10]
mov dword [eax], ecx
lea ecx, [ebp - 0x1bf]
call fcn.0040df20
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x1c0]
call fcn.0040dfd0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f112]
mov dword [ebp - 0x1c4], eax
lea ecx, [ebp - 0x1c5]
call fcn.0040e080
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x407d39
lea eax, [ebp - 0x1c4]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x1cc], eax
cmp dword [ebp - 0x1cc], 0
jne 0x407d33
lea ecx, [ebp - 0x1cd]
call fcn.0040e130
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 - 0x1cc]
lea ecx, [ebp - 0x1ce]
call fcn.0040e1e0
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
jmp 0x408d41
xor eax, eax
cmp dword [0x4a1734], 0
mov byte [ebp - 0x345], al
je 0x407db1
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x34c], eax
lea eax, [ebp - 0x1dd]
mov dword [esp], eax
call fcn.0040e290
lea ecx, [ebp - 0x1dd]
call fcn.0040e2b0
mov ecx, dword [ebp - 0x34c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.msvcrt.dll__stricmp]
cmp eax, 0
sete al
mov byte [ebp - 0x345], al
mov al, byte [ebp - 0x345]
test al, 1
jne 0x407dc4
jmp 0x407f75
lea ecx, [ebp - 0x1de]
call fcn.0040e2c0
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x1df]
call fcn.0040e370
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f116]
mov dword [ebp - 0x1e3], eax
lea ecx, [ebp - 0x1e4]
call fcn.0040e420
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x407e79
lea eax, [ebp - 0x1e3]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x1e8], eax
cmp dword [ebp - 0x1e8], 0
jne 0x407e73
lea ecx, [ebp - 0x1e9]
call fcn.0040e4d0
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 - 0x1e8]
lea ecx, [ebp - 0x1ea]
call fcn.0040e580
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [ebp - 0xfc]
lea ecx, [0x402670]
mov dword [eax], ecx
lea ecx, [ebp - 0x1eb]
call fcn.0040e630
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x1ec]
call fcn.0040e6e0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f11a]
mov dword [ebp - 0x1f0], eax
lea ecx, [ebp - 0x1f1]
call fcn.0040e790
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x407f56
lea eax, [ebp - 0x1f0]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x1f8], eax
cmp dword [ebp - 0x1f8], 0
jne 0x407f50
lea ecx, [ebp - 0x1f9]
call fcn.0040e840
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 - 0x1f8]
lea ecx, [ebp - 0x1fa]
call fcn.0040e8f0
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
jmp 0x408d3c
xor eax, eax
cmp dword [0x4a1734], 0
mov byte [ebp - 0x34d], al
je 0x407fce
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x354], eax
lea eax, [ebp - 0x208]
mov dword [esp], eax
call fcn.0040e9a0
lea ecx, [ebp - 0x208]
call fcn.0040e9c0
mov ecx, dword [ebp - 0x354]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.msvcrt.dll__stricmp]
cmp eax, 0
sete al
mov byte [ebp - 0x34d], al
mov al, byte [ebp - 0x34d]
test al, 1
jne 0x407fe1
jmp 0x408192
lea ecx, [ebp - 0x209]
call fcn.0040e9d0
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x20a]
call fcn.0040ea80
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f11e]
mov dword [ebp - 0x20e], eax
lea ecx, [ebp - 0x20f]
call fcn.0040eb30
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x408096
lea eax, [ebp - 0x20e]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x408090
lea ecx, [ebp - 0x215]
call fcn.0040ebe0
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 - 0x214]
lea ecx, [ebp - 0x216]
call fcn.0040ec90
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [ebp - 0xfc]
lea ecx, [0x4026a0]
mov dword [eax], ecx
lea ecx, [ebp - 0x217]
call fcn.0040ed40
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x218]
call fcn.0040edf0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f122]
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x21d]
call fcn.0040eea0
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x408173
lea eax, [ebp - 0x21c]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x40816d
lea ecx, [ebp - 0x225]
call fcn.0040ef50
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 - 0x224]
lea ecx, [ebp - 0x226]
call fcn.0040f000
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
jmp 0x408d37
xor eax, eax
cmp dword [0x4a1734], 0
mov byte [ebp - 0x355], al
je 0x4081eb
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x35c], eax
lea eax, [ebp - 0x231]
mov dword [esp], eax
call fcn.0040f0b0
lea ecx, [ebp - 0x231]
call fcn.0040f0d0
mov ecx, dword [ebp - 0x35c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.msvcrt.dll__stricmp]
cmp eax, 0
sete al
mov byte [ebp - 0x355], al
mov al, byte [ebp - 0x355]
test al, 1
jne 0x4081fe
jmp 0x4083af
lea ecx, [ebp - 0x232]
call fcn.0040f0e0
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x233]
call fcn.0040f190
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f126]
mov dword [ebp - 0x237], eax
lea ecx, [ebp - 0x238]
call fcn.0040f240
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x4082b3
lea eax, [ebp - 0x237]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
jne 0x4082ad
lea ecx, [ebp - 0x23d]
call fcn.0040f2f0
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.0040f3a0
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [ebp - 0xfc]
lea ecx, [0x402640]
mov dword [eax], ecx
lea ecx, [ebp - 0x23f]
call fcn.0040f450
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x240]
call fcn.0040f500
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f12a]
mov dword [ebp - 0x244], eax
lea ecx, [ebp - 0x245]
call fcn.0040f5b0
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x408390
lea eax, [ebp - 0x244]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0
jne 0x40838a
lea ecx, [ebp - 0x24d]
call fcn.0040f660
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.0040f710
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
jmp 0x408d32
xor eax, eax
cmp dword [0x4a1734], 0
mov byte [ebp - 0x35d], al
je 0x408408
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x364], eax
lea eax, [ebp - 0x25a]
mov dword [esp], eax
call fcn.0040f7c0
lea ecx, [ebp - 0x25a]
call fcn.0040f7e0
mov ecx, dword [ebp - 0x364]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.msvcrt.dll__stricmp]
cmp eax, 0
sete al
mov byte [ebp - 0x35d], al
mov al, byte [ebp - 0x35d]
test al, 1
jne 0x40841b
jmp 0x4085cc
lea ecx, [ebp - 0x25b]
call fcn.0040f7f0
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x25c]
call fcn.0040f8a0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f12e]
mov dword [ebp - 0x260], eax
lea ecx, [ebp - 0x261]
call fcn.0040f950
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x4084d0
lea eax, [ebp - 0x260]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
jne 0x4084ca
lea ecx, [ebp - 0x269]
call fcn.0040fa00
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 - 0x268]
lea ecx, [ebp - 0x26a]
call fcn.0040fab0
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [ebp - 0xfc]
lea ecx, [0x402650]
mov dword [eax], ecx
lea ecx, [ebp - 0x26b]
call fcn.0040fb60
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x26c]
call fcn.0040fc10
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f132]
mov dword [ebp - 0x270], eax
lea ecx, [ebp - 0x271]
call fcn.0040fcc0
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x4085ad
lea eax, [ebp - 0x270]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x278], 0
jne 0x4085a7
lea ecx, [ebp - 0x279]
call fcn.0040fd70
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 - 0x278]
lea ecx, [ebp - 0x27a]
call fcn.0040fe20
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
jmp 0x408d2d
xor eax, eax
cmp dword [0x4a1734], 0
mov byte [ebp - 0x365], al
je 0x408625
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x36c], eax
lea eax, [ebp - 0x285]
mov dword [esp], eax
call fcn.0040fed0
lea ecx, [ebp - 0x285]
call fcn.0040fef0
mov ecx, dword [ebp - 0x36c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.msvcrt.dll__stricmp]
cmp eax, 0
sete al
mov byte [ebp - 0x365], al
mov al, byte [ebp - 0x365]
test al, 1
jne 0x408638
jmp 0x4087e9
lea ecx, [ebp - 0x286]
call fcn.0040ff00
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x287]
call fcn.0040ffb0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f136]
mov dword [ebp - 0x28b], eax
lea ecx, [ebp - 0x28c]
call fcn.00410060
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x4086ed
lea eax, [ebp - 0x28b]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x290], eax
cmp dword [ebp - 0x290], 0
jne 0x4086e7
lea ecx, [ebp - 0x291]
call fcn.00410110
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 - 0x290]
lea ecx, [ebp - 0x292]
call fcn.004101c0
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [ebp - 0xfc]
lea ecx, [0x402660]
mov dword [eax], ecx
lea ecx, [ebp - 0x293]
call fcn.00410270
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x294]
call fcn.00410320
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f13a]
mov dword [ebp - 0x298], eax
lea ecx, [ebp - 0x299]
call fcn.004103d0
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x4087ca
lea eax, [ebp - 0x298]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x2a0], eax
cmp dword [ebp - 0x2a0], 0
jne 0x4087c4
lea ecx, [ebp - 0x2a1]
call fcn.00410480
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 - 0x2a0]
lea ecx, [ebp - 0x2a2]
call fcn.00410530
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
jmp 0x408d28
xor eax, eax
cmp dword [0x4a1734], 0
mov byte [ebp - 0x36d], al
je 0x40892f
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x374], eax
lea eax, [ebp - 0x2a7]
mov dword [esp], eax
call fcn.004105e0
lea ecx, [ebp - 0x2a7]
call fcn.00410600
mov ecx, dword [ebp - 0x374]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.msvcrt.dll__stricmp]
mov ecx, eax
mov al, 1
cmp ecx, 0
mov byte [ebp - 0x36e], al
je 0x408923
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x378], eax
lea eax, [ebp - 0x2ad]
mov dword [esp], eax
call fcn.00410610
lea ecx, [ebp - 0x2ad]
call fcn.00410630
mov ecx, dword [ebp - 0x378]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.msvcrt.dll__stricmp]
mov ecx, eax
mov al, 1
cmp ecx, 0
mov byte [ebp - 0x36e], al
je 0x408923
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x37c], eax
lea eax, [ebp - 0x2b3]
mov dword [esp], eax
call fcn.00410640
lea ecx, [ebp - 0x2b3]
call fcn.00410660
mov ecx, dword [ebp - 0x37c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.msvcrt.dll__stricmp]
mov ecx, eax
mov al, 1
cmp ecx, 0
mov byte [ebp - 0x36e], al
je 0x408923
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x380], eax
lea eax, [ebp - 0x2be]
mov dword [esp], eax
call fcn.00410670
lea ecx, [ebp - 0x2be]
call fcn.00410690
mov ecx, dword [ebp - 0x380]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.msvcrt.dll__stricmp]
cmp eax, 0
sete al
mov byte [ebp - 0x36e], al
mov al, byte [ebp - 0x36e]
mov byte [ebp - 0x36d], al
mov al, byte [ebp - 0x36d]
test al, 1
jne 0x408942
jmp 0x408af3
lea ecx, [ebp - 0x2bf]
call fcn.004106a0
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x2c0]
call fcn.00410750
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f13e]
mov dword [ebp - 0x2c4], eax
lea ecx, [ebp - 0x2c5]
call fcn.00410800
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x4089f7
lea eax, [ebp - 0x2c4]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x2cc], eax
cmp dword [ebp - 0x2cc], 0
jne 0x4089f1
lea ecx, [ebp - 0x2cd]
call fcn.004108b0
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 - 0x2cc]
lea ecx, [ebp - 0x2ce]
call fcn.00410960
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [ebp - 0xfc]
lea ecx, [0x4026d0]
mov dword [eax], ecx
lea ecx, [ebp - 0x2cf]
call fcn.00410a10
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x2d0]
call fcn.00410ac0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f142]
mov dword [ebp - 0x2d4], eax
lea ecx, [ebp - 0x2d5]
call fcn.00410b70
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x408ad4
lea eax, [ebp - 0x2d4]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x2dc], eax
cmp dword [ebp - 0x2dc], 0
jne 0x408ace
lea ecx, [ebp - 0x2dd]
call fcn.00410c20
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 - 0x2dc]
lea ecx, [ebp - 0x2de]
call fcn.00410cd0
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
jmp 0x408d23
xor eax, eax
cmp dword [0x4a1734], 0
mov byte [ebp - 0x381], al
je 0x408b4c
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x388], eax
lea eax, [ebp - 0x2ea]
mov dword [esp], eax
call fcn.00410d80
lea ecx, [ebp - 0x2ea]
call fcn.00410da0
mov ecx, dword [ebp - 0x388]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.msvcrt.dll__stricmp]
cmp eax, 0
sete al
mov byte [ebp - 0x381], al
mov al, byte [ebp - 0x381]
test al, 1
jne 0x408b5f
jmp 0x408d10
lea ecx, [ebp - 0x2eb]
call fcn.00410db0
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x2ec]
call fcn.00410e60
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f146]
mov dword [ebp - 0x2f0], eax
lea ecx, [ebp - 0x2f1]
call fcn.00410f10
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x408c14
lea eax, [ebp - 0x2f0]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x2f8], eax
cmp dword [ebp - 0x2f8], 0
jne 0x408c0e
lea ecx, [ebp - 0x2f9]
call fcn.00410fc0
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 - 0x2f8]
lea ecx, [ebp - 0x2fa]
call fcn.00411070
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [ebp - 0xfc]
lea ecx, [0x4026f0]
mov dword [eax], ecx
lea ecx, [ebp - 0x2fb]
call fcn.00411120
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x2fc]
call fcn.004111d0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f14a]
mov dword [ebp - 0x300], eax
lea ecx, [ebp - 0x301]
call fcn.00411280
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x408cf1
lea eax, [ebp - 0x300]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x308], eax
cmp dword [ebp - 0x308], 0
jne 0x408ceb
lea ecx, [ebp - 0x309]
call fcn.00411330
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.004113e0
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
jmp 0x408d1e
mov ecx, dword [ebp - 0x160]
mov eax, dword [ebp - 0xfc]
mov dword [eax], ecx
jmp 0x408d23
jmp 0x408d28
jmp 0x408d2d
jmp 0x408d32
jmp 0x408d37
jmp 0x408d3c
jmp 0x408d41
jmp 0x408d46
jmp 0x408d4b
mov eax, dword [ebp - 0xd4]
add eax, 4
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xe8]
add eax, 4
mov dword [ebp - 0xe8], eax
jmp 0x40731e
lea ecx, [ebp - 0x30b]
call fcn.00411490
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x30c]
call fcn.00411540
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f14e]
mov dword [ebp - 0x310], eax
lea ecx, [ebp - 0x311]
call fcn.004115f0
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x408e23
lea eax, [ebp - 0x310]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x318], eax
cmp dword [ebp - 0x318], 0
jne 0x408e1d
lea ecx, [ebp - 0x319]
call fcn.004116a0
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.00411750
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [ebp - 0x64]
add eax, 0x14
mov dword [ebp - 0x64], eax
jmp 0x406c49
lea ecx, [ebp - 0x31b]
call fcn.00411800
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x31c]
call fcn.004118b0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48f152]
mov dword [ebp - 0x320], eax
lea ecx, [ebp - 0x321]
call fcn.00411960
mov ecx, eax
call fcn.004025c0
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x408f00
lea eax, [ebp - 0x320]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x328], eax
cmp dword [ebp - 0x328], 0
jne 0x408efa
lea ecx, [ebp - 0x329]
call fcn.00411a10
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 - 0x328]
lea ecx, [ebp - 0x32a]
call fcn.00411ac0
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov byte [ebp - 1], 1
mov al, byte [ebp - 1]
and al, 1
movzx eax, al
add esp, 0x390
pop ebp
ret