Function at 0x407512
Capabilities:
Contain obfuscated stackstrings
Query environment variable

Disassembly:
mov eax, 0x46223c
call fcn.00433ae8
sub esp, 0x1b8
push ebx
push esi
push edi
mov dword [ebp - 0x1c], ecx
call fcn.0040104a
mov edi, eax
lea eax, [ebp - 0xd]
push 1
mov esi, 0x484b48
push eax
push esi
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x14], edi
call fcn.0040175f
mov eax, dword [eax + 8]
and dword [ebp - 4], 0
test eax, eax
mov ebx, 0x469558
je 0x40755b
mov ebx, eax
lea eax, [ebp - 0x16]
push 1
push eax
push 0x47b454
lea ecx, [ebp - 0x140]
call fcn.0040175f
mov eax, dword [eax + 8]
mov byte [ebp - 4], 1
test eax, eax
jne 0x407581
mov eax, 0x469558
mov dword [ebp - 0x24], eax
push ebx
lea eax, [ebp - 0x24]
push 0x47b420
push eax
mov dword [ebp - 0x20], 0xce
call fcn.004084c8
and byte [ebp - 4], 0
add esp, 0xc
lea ecx, [ebp - 0x140]
call fcn.00401bc2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.00401bc2
push esi
lea ecx, [edi + 0x18]
call fcn.004026b9
lea eax, [ebp - 0x16]
push 0
mov esi, 0x483644
mov ebx, 0x469540
mov edi, 0x469538
push eax
push esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x54], edi
call fcn.00408d40
lea eax, [ebp - 0xd]
push 1
push eax
lea ecx, [ebp - 0xf0]
push dword [0x4695b0]
mov dword [ebp - 4], 2
call fcn.0040175f
lea eax, [ebp - 0x15]
push 1
push eax
lea ecx, [ebp - 0x118]
push dword [0x4695ac]
mov byte [ebp - 4], 3
call fcn.0040175f
lea eax, [ebp - 0x74]
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x118]
push eax
push 5
mov byte [ebp - 4], 4
call fcn.0040845f
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 3
call fcn.00401bc2
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 2
call fcn.00401bc2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.00401bc2
lea eax, [ebp - 0x15]
push 0
push eax
push esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x54], edi
call fcn.00408d40
lea eax, [ebp - 0x16]
push 1
push eax
lea ecx, [ebp - 0x118]
push dword [0x4695b8]
mov dword [ebp - 4], 5
call fcn.0040175f
lea eax, [ebp - 0xd]
push 1
push eax
lea ecx, [ebp - 0xf0]
push dword [0x4695ac]
mov byte [ebp - 4], 6
call fcn.0040175f
lea eax, [ebp - 0x74]
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0xf0]
push eax
push 6
mov byte [ebp - 4], 7
call fcn.0040845f
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 6
call fcn.00401bc2
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 5
call fcn.00401bc2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.00401bc2
mov ecx, dword [ebp - 0x14]
push 6
call fcn.00408397
test al, al
jne 0x40779e
lea eax, [ebp - 0x15]
push 1
push eax
lea ecx, [ebp - 0xf0]
push dword [0x4695b8]
call fcn.0040175f
mov eax, dword [eax + 8]
mov dword [ebp - 4], 8
test eax, eax
mov esi, 0x469558
je 0x407741
mov esi, eax
lea eax, [ebp - 0x16]
push 1
push eax
push 0x47b454
lea ecx, [ebp - 0x140]
call fcn.0040175f
mov eax, dword [eax + 8]
mov byte [ebp - 4], 9
test eax, eax
jne 0x407767
mov eax, 0x469558
mov dword [ebp - 0x24], eax
push esi
lea eax, [ebp - 0x24]
push 0x47b3b4
push eax
mov dword [ebp - 0x20], 0xde
call fcn.004084c8
add esp, 0xc
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 8
call fcn.00401bc2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
jmp 0x4077f7
mov ecx, dword [ebp - 0x1c]
call fcn.0040858f
test al, al
jne 0x407803
lea eax, [ebp - 0x15]
push 1
push eax
push 0x47b454
lea ecx, [ebp - 0x140]
call fcn.0040175f
mov eax, dword [eax + 8]
mov dword [ebp - 4], 0xa
test eax, eax
jne 0x4077d3
mov eax, 0x469558
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push 0x47b370
push eax
mov dword [ebp - 0x20], 0xe6
call fcn.004084c8
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
lea ecx, [ebp - 0x140]
call fcn.00401bc2
xor eax, eax
jmp 0x408330
lea eax, [ebp - 0x15]
push 0
push eax
push esi
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0xf8], edi
call fcn.00408d40
lea eax, [ebp - 0x16]
push 1
push eax
lea ecx, [ebp - 0x140]
push dword [0x4695bc]
mov dword [ebp - 4], 0xb
call fcn.0040175f
lea eax, [ebp - 0x76]
push 1
push eax
lea ecx, [ebp - 0xf0]
push dword [0x4695ac]
mov byte [ebp - 4], 0xc
call fcn.0040175f
lea eax, [ebp - 0x118]
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x1c4]
push eax
mov byte [ebp - 4], 0xd
call fcn.00429f0a
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0xe
push ecx
mov ecx, eax
call fcn.004087ff
lea ecx, [ebp - 0x1c4]
mov byte [ebp - 4], 0x13
call fcn.00401bc2
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0x12
call fcn.00401bc2
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x11
call fcn.00401bc2
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0x10
call fcn.00401bc2
xor eax, eax
cmp dword [ebp - 0x190], eax
jne 0x407930
lea eax, [ebp - 0xd]
push 1
push eax
push 0x47b454
lea ecx, [ebp - 0xc8]
call fcn.0040175f
mov eax, dword [eax + 8]
mov byte [ebp - 4], 0x14
test eax, eax
jne 0x407900
mov eax, 0x469558
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push 0x47b308
push eax
mov dword [ebp - 0x20], 0xef
call fcn.004084c8
pop ecx
mov byte [ebp - 4], 0x10
pop ecx
lea ecx, [ebp - 0xc8]
call fcn.00401bc2
xor esi, esi
jmp 0x40831f
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x40], eax
cmp dword [0x485f58], eax
jne 0x407973
cmp dword [0x485f54], eax
jne 0x407973
lea eax, [ebp - 0x19c]
lea ecx, [ebp - 0x198]
neg eax
sbb eax, eax
push 0x47b304
and eax, ecx
push eax
call fcn.00409a77
pop ecx
test al, al
pop ecx
je 0x407973
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x40], 1
lea eax, [ebp - 0xd]
push 1
push eax
lea ecx, [ebp - 0x74]
push dword [0x4695c0]
call fcn.0040175f
lea eax, [ebp - 0xe]
push 1
push eax
lea ecx, [ebp - 0x4c]
push dword [0x4695c4]
mov byte [ebp - 4], 0x15
call fcn.0040175f
mov ecx, dword [ebp - 0x14]
push 0xa
lea eax, [ebp - 0x74]
push 0x1f40
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 0x16
call fcn.0042a082
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x15
mov dword [ecx + 0x48], eax
lea ecx, [ebp - 0x4c]
call fcn.00401bc2
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x10
call fcn.00401bc2
lea eax, [ebp - 0xe]
push 1
push eax
lea ecx, [ebp - 0x74]
push dword [0x4695d0]
call fcn.0040175f
lea eax, [ebp - 0xd]
push 1
push eax
lea ecx, [ebp - 0x4c]
push dword [0x4695ac]
mov byte [ebp - 4], 0x17
call fcn.0040175f
mov ecx, dword [ebp - 0x14]
push 0xa
lea eax, [ebp - 0x74]
push 1
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 0x18
call fcn.0042a082
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0x17
call fcn.00401bc2
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x10
call fcn.00401bc2
push 1
pop ecx
cmp dword [ebp - 0x1c], ecx
jne 0x407a59
xor eax, eax
cmp dword [0x485f58], eax
jne 0x407a51
cmp dword [0x485f54], eax
je 0x407a61
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x38], ecx
jmp 0x407a67
push 2
pop eax
cmp dword [ebp - 0x1c], eax
je 0x407a51
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x38], eax
lea eax, [ebp - 0xe]
push 0
push eax
push esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x54], edi
call fcn.00408d40
lea eax, [ebp - 0xd]
push 1
push eax
lea ecx, [ebp - 0xa0]
push dword [0x4695d8]
mov byte [ebp - 4], 0x19
call fcn.0040175f
lea eax, [ebp - 0xf]
push 1
push eax
lea ecx, [ebp - 0x4c]
push dword [0x4695ac]
mov byte [ebp - 4], 0x1a
call fcn.0040175f
lea eax, [ebp - 0x74]
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x4c]
push eax
push 1
mov byte [ebp - 4], 0x1b
call fcn.0040845f
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x1a
call fcn.00401bc2
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x19
call fcn.00401bc2
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x10
call fcn.00401bc2
lea eax, [ebp - 0xf]
push 0
push eax
push esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x54], edi
call fcn.00408d40
lea eax, [ebp - 0xe]
push 1
push eax
lea ecx, [ebp - 0x4c]
push dword [0x4695d4]
mov byte [ebp - 4], 0x1c
call fcn.0040175f
lea eax, [ebp - 0xd]
push 1
push eax
lea ecx, [ebp - 0xa0]
push dword [0x4695ac]
mov byte [ebp - 4], 0x1d
call fcn.0040175f
lea eax, [ebp - 0x74]
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xa0]
push eax
push 2
mov byte [ebp - 4], 0x1e
call fcn.0040845f
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0xa0]
call fcn.00401bc2
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x1c
call fcn.00401bc2
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x10
call fcn.00401bc2
lea eax, [ebp - 0xf]
push 0
push eax
push esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x54], edi
call fcn.00408d40
lea eax, [ebp - 0xe]
push 1
push eax
lea ecx, [ebp - 0x4c]
push dword [0x4695e0]
mov byte [ebp - 4], 0x1f
call fcn.0040175f
lea eax, [ebp - 0xd]
push 1
push eax
lea ecx, [ebp - 0xa0]
push dword [0x4695ac]
mov byte [ebp - 4], 0x20
call fcn.0040175f
lea eax, [ebp - 0x74]
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xa0]
push eax
push 3
mov byte [ebp - 4], 0x21
call fcn.0040845f
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x20
call fcn.00401bc2
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x1f
call fcn.00401bc2
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x10
call fcn.00401bc2
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0xc8]
push 8
push eax
call fcn.004083bc
cmp dword [eax + 0xc], 0
lea ecx, [ebp - 0xc8]
sete byte [ebp - 0xd]
call fcn.00401f95
cmp byte [ebp - 0xd], 0
je 0x407dbf
lea eax, [ebp - 0xf]
push 0
push eax
push esi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x2c], edi
call fcn.00408d40
lea eax, [ebp - 0xe]
push 1
push eax
lea ecx, [ebp - 0xc8]
push dword [0x4695c8]
mov byte [ebp - 4], 0x22
call fcn.0040175f
lea eax, [ebp - 0xd]
push 1
push eax
lea ecx, [ebp - 0xa0]
push dword [0x4695ac]
mov byte [ebp - 4], 0x23
call fcn.0040175f
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0xa0]
push eax
push 8
mov byte [ebp - 4], 0x24
call fcn.0040845f
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x23
call fcn.00401bc2
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0x22
call fcn.00401bc2
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x10
call fcn.00401bc2
lea eax, [ebp - 0xf]
push 0
push eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x74], 0x469580
mov dword [ebp - 0x54], 0x469578
call fcn.00402b2c
lea eax, [ebp - 0x174]
push 0x400
push eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x25
call fcn.004024e5
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0x26
call fcn.0040305e
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
push 8
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0xc8]
push eax
call fcn.004083bc
push 0x400
mov ecx, eax
push dword [ebp - 0x20]
mov byte [ebp - 4], 0x27
call fcn.0040305e
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0xc8]
call fcn.00401f95
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0x25
call fcn.004025f7
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x74]
push 0
push eax
push 8
call fcn.0040833f
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x14], 5
je 0x407db3
lea eax, [ebp - 0xc8]
push 8
push eax
call fcn.004083bc
push 1
mov ecx, eax
mov byte [ebp - 4], 0x28
call fcn.0040305e
mov ecx, dword [ebp - 0x14]
push eax
push 0x47b300
call fcn.0042928a
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0x25
call fcn.00401f95
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x10
call fcn.00401f95
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x14], 0
jne 0x407e3c
lea eax, [ebp - 0xf]
push 1
push eax
lea ecx, [ebp - 0xa0]
push dword [0x4695cc]
call fcn.0040175f
lea eax, [ebp - 0xe]
push 1
push eax
lea ecx, [ebp - 0xc8]
push dword [0x4695ac]
mov byte [ebp - 4], 0x29
call fcn.0040175f
mov ecx, dword [ebp - 0x14]
push 0xa
lea eax, [ebp - 0xa0]
push 0
push eax
lea eax, [ebp - 0xc8]
push eax
mov byte [ebp - 4], 0x2a
call fcn.0042a082
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x29
mov dword [ecx + 0x14], eax
lea ecx, [ebp - 0xc8]
call fcn.00401bc2
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x10
call fcn.00401bc2
lea eax, [ebp - 0xf]
push 0
push eax
push esi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x2c], edi
call fcn.00408d40
lea eax, [ebp - 0xe]
push 1
push eax
lea ecx, [ebp - 0xa0]
push dword [0x4695dc]
mov byte [ebp - 4], 0x2b
call fcn.0040175f
lea eax, [ebp - 0xd]
push 1
push eax
lea ecx, [ebp - 0xc8]
push dword [0x4695ac]
mov byte [ebp - 4], 0x2c
call fcn.0040175f
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xc8]
push eax
push 0xe
mov byte [ebp - 4], 0x2d
call fcn.0040845f
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0x2c
call fcn.00401bc2
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x2b
call fcn.00401bc2
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x10
call fcn.00401bc2
lea eax, [ebp - 0xf]
push 0
push eax
push esi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x2c], edi
call fcn.00408d40
lea eax, [ebp - 0xe]
push 1
push eax
push 0x47b2f0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x2e
call fcn.0040175f
lea eax, [ebp - 0xd]
push 1
push eax
lea ecx, [ebp - 0xc8]
push dword [0x4695ac]
mov byte [ebp - 4], 0x2f
call fcn.0040175f
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xc8]
push eax
push 0xf
mov byte [ebp - 4], 0x30
call fcn.0040845f
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0xc8]
call fcn.00401bc2
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x2e
call fcn.00401bc2
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x10
call fcn.00401bc2
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x168]
push 0xf
push eax
call fcn.004083bc
cmp dword [ebp - 0x15c], 3
mov byte [ebp - 4], 0x31
jbe 0x4081e5
mov eax, 0x47b2e8
mov dword [ebp - 0x4c], 0x469580
mov ecx, eax
mov dword [ebp - 0x2c], 0x469578
test ecx, ecx
jne 0x407fa2
mov eax, esi
lea ecx, [ebp - 0xf]
push 0
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.00403ed5
lea eax, [ebp - 0x4c]
push 0
push eax
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0x32
call fcn.004024b0
neg eax
sbb al, al
lea ecx, [ebp - 0x4c]
inc al
mov byte [ebp - 4], 0x31
mov byte [ebp - 0xd], al
call fcn.00401f95
cmp byte [ebp - 0xd], 0
je 0x407fed
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x58], 1
jmp 0x408172
mov eax, 0x47b2e0
mov dword [ebp - 0x74], 0x469580
mov ecx, eax
mov dword [ebp - 0x54], 0x469578
test ecx, ecx
jne 0x408008
mov eax, esi
lea ecx, [ebp - 0xf]
push 0
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.00403ed5
lea eax, [ebp - 0x74]
push 0
push eax
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0x33
call fcn.004024b0
test eax, eax
je 0x408090
mov eax, 0x47b2d4
mov dword [ebp - 0x4c], 0x469580
mov ecx, eax
mov dword [ebp - 0x2c], 0x469578
test ecx, ecx
jne 0x40804b
mov eax, esi
lea ecx, [ebp - 0xe]
push 0
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.00403ed5
lea eax, [ebp - 0x4c]
push 0
push eax
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0x34
call fcn.004024b0
neg eax
sbb al, al
lea ecx, [ebp - 0x4c]
inc al
mov byte [ebp - 4], 0x33
mov byte [ebp - 0xd], al
call fcn.00401f95
cmp byte [ebp - 0xd], 0
jne 0x408090
and byte [ebp - 0xd], 0
jmp 0x408094
mov byte [ebp - 0xd], 1
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x31
call fcn.00401f95
cmp byte [ebp - 0xd], 0
je 0x4080b2
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x59], 1
jmp 0x408172
mov eax, 0x47b2cc
mov dword [ebp - 0x74], 0x469580
mov ecx, eax
mov dword [ebp - 0x54], 0x469578
test ecx, ecx
jne 0x4080cd
mov eax, esi
lea ecx, [ebp - 0xf]
push 0
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.00403ed5
lea eax, [ebp - 0x74]
push 0
push eax
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0x35
call fcn.004024b0
test eax, eax
je 0x408155
mov eax, 0x47b2c0
mov dword [ebp - 0x4c], 0x469580
mov ecx, eax
mov dword [ebp - 0x2c], 0x469578
test ecx, ecx
jne 0x408110
mov eax, esi
lea ecx, [ebp - 0xe]
push 0
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.00403ed5
lea eax, [ebp - 0x4c]
push 0
push eax
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0x36
call fcn.004024b0
neg eax
sbb al, al
lea ecx, [ebp - 0x4c]
inc al
mov byte [ebp - 4], 0x35
mov byte [ebp - 0xd], al
call fcn.00401f95
cmp byte [ebp - 0xd], 0
jne 0x408155
and byte [ebp - 0xd], 0
jmp 0x408159
mov byte [ebp - 0xd], 1
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x31
call fcn.00401f95
cmp byte [ebp - 0xd], 0
je 0x408172
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x5a], 1
lea eax, [ebp - 0xf]
push 1
push eax
push 0x47b2ac
lea ecx, [ebp - 0xa0]
call fcn.0040175f
lea eax, [ebp - 0xe]
push 1
push eax
lea ecx, [ebp - 0xc8]
push dword [0x4695ac]
mov byte [ebp - 4], 0x37
call fcn.0040175f
mov ecx, dword [ebp - 0x14]
push 0xa
lea eax, [ebp - 0xa0]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0xc8]
push eax
mov byte [ebp - 4], 0x38
call fcn.0042a082
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x37
mov dword [ecx + 0x5c], eax
lea ecx, [ebp - 0xc8]
call fcn.00401bc2
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x31
call fcn.00401bc2
lea eax, [ebp - 0xf]
push 0
push eax
push esi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x2c], edi
call fcn.00408d40
lea eax, [ebp - 0xe]
push 1
push eax
lea ecx, [ebp - 0xa0]
push dword [0x4695e4]
mov byte [ebp - 4], 0x39
call fcn.0040175f
lea eax, [ebp - 0xd]
push 1
push eax
lea ecx, [ebp - 0xc8]
push dword [0x4695c4]
mov byte [ebp - 4], 0x3a
call fcn.0040175f
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xc8]
push eax
push 0x11
mov byte [ebp - 4], 0x3b
call fcn.0040845f
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0x3a
call fcn.00401bc2
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x39
call fcn.00401bc2
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x31
call fcn.00401bc2
lea eax, [ebp - 0xf]
push 0
push eax
push esi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x2c], edi
call fcn.00408d40
push 1
lea eax, [ebp - 0xe]
pop esi
lea ecx, [ebp - 0xa0]
push esi
push eax
push dword [0x4695e8]
mov byte [ebp - 4], 0x3c
call fcn.0040175f
lea eax, [ebp - 0x75]
push esi
push eax
lea ecx, [ebp - 0xc8]
push dword [0x4695ac]
mov byte [ebp - 4], 0x3d
call fcn.0040175f
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xc8]
push eax
push 0x16
mov byte [ebp - 4], 0x3e
call fcn.0040845f
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0x3d
call fcn.00401bc2
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x3c
call fcn.00401bc2
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x31
call fcn.00401bc2
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0x10
call fcn.00401f95
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x19c]
call fcn.00401f95
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret