Function at 0x4087ba
Capabilities:
Contain obfuscated stackstrings
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7a95
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x30c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
cmp dword [ebp + 0x10], 0
jbe 0x408801
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x408801
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.00407e79
pop ecx
pop ecx
jmp 0x409dce
cmp dword [ebp + 0x10], 0
jne 0x40912a
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.00401aa2
mov dword [ebp - 0x94], eax
cmp dword [0xaa60f0], 0
jne 0x4090f8
mov dword [ebp - 0x24c], 0x93f3
lea eax, [ebp - 0x24c]
push eax
call fcn.00407c6a
pop ecx
mov dword [ebp - 0x1f4], eax
mov byte [ebp - 0x158], 8
mov byte [ebp - 0x157], 0x1b
mov byte [ebp - 0x156], 2
mov byte [ebp - 0x155], 0x1b
mov byte [ebp - 0x154], 0xc
mov byte [ebp - 0x153], 0x23
mov byte [ebp - 0x152], 1
mov byte [ebp - 0x151], 0x32
mov byte [ebp - 0x150], 0xb
mov byte [ebp - 0x14f], 0x1d
mov byte [ebp - 0x14e], 4
mov byte [ebp - 0x14d], 0x1d
mov byte [ebp - 0x14c], 3
mov byte [ebp - 0x14b], 0x33
mov byte [ebp - 0x14a], 5
mov byte [ebp - 0x149], 0x24
mov byte [ebp - 0x148], 6
mov byte [ebp - 0x147], 1
mov byte [ebp - 0x146], 0x44
mov byte [ebp - 0x145], 0x4d
mov byte [ebp - 0x144], 0x3b
mov byte [ebp - 0x143], 0x3c
mov byte [ebp - 0x142], 1
mov byte [ebp - 0x141], 0x2d
mov byte [ebp - 0x140], 2
mov byte [ebp - 0x13f], 0xd1
mov byte [ebp - 0x13e], 0x2e
mov byte [ebp - 0x13d], 0xe3
mov byte [ebp - 0x13c], 0x8b
mov byte [ebp - 0x13b], 0xec
mov byte [ebp - 0x13a], 0x6f
mov byte [ebp - 0x139], 0x2e
mov byte [ebp - 0x138], 0x20
mov byte [ebp - 0x137], 0x7c
mov byte [ebp - 0x136], 0x68
mov byte [ebp - 0x135], 0x9d
mov byte [ebp - 0x134], 0xd7
mov byte [ebp - 0x133], 0x8c
mov byte [ebp - 0x132], 0x37
mov byte [ebp - 0x131], 0xc5
mov byte [ebp - 0x130], 0xea
mov byte [ebp - 0x12f], 0xe3
mov byte [ebp - 0x12e], 0x77
mov byte [ebp - 0x12d], 0xc6
mov byte [ebp - 0x12c], 0xd1
mov byte [ebp - 0x12b], 0xb4
mov byte [ebp - 0x12a], 0x79
mov byte [ebp - 0x129], 0x41
mov byte [ebp - 0x128], 0xd7
mov byte [ebp - 0x127], 0xfd
mov byte [ebp - 0x126], 0xef
mov byte [ebp - 0x125], 0xc4
mov byte [ebp - 0x124], 0x7a
mov byte [ebp - 0x123], 0xe9
mov byte [ebp - 0x122], 0xa7
mov byte [ebp - 0x121], 0xd0
mov byte [ebp - 0x120], 0x4e
mov byte [ebp - 0x11f], 0x40
mov byte [ebp - 0x11e], 0x79
mov byte [ebp - 0x11d], 0x87
mov byte [ebp - 0x11c], 0xb7
mov byte [ebp - 0x11b], 0xc4
mov byte [ebp - 0x11a], 5
mov byte [ebp - 0x119], 2
mov byte [ebp - 0x118], 0x29
mov byte [ebp - 0x117], 0xe
mov byte [ebp - 0x116], 0x7c
mov byte [ebp - 0x115], 0x13
mov byte [ebp - 0x114], 0xc6
mov byte [ebp - 0x113], 0x2e
mov byte [ebp - 0x112], 0x75
mov byte [ebp - 0x111], 0xcc
mov byte [ebp - 0x110], 0x8f
mov byte [ebp - 0x10f], 0x3f
mov byte [ebp - 0x10e], 0x98
mov byte [ebp - 0x10d], 0x16
mov byte [ebp - 0x10c], 0x77
mov byte [ebp - 0x10b], 0xa9
mov byte [ebp - 0x10a], 0x1e
mov byte [ebp - 0x109], 0x36
mov byte [ebp - 0x108], 0x93
mov byte [ebp - 0x107], 0x32
mov byte [ebp - 0x106], 0x6c
mov byte [ebp - 0x105], 0x10
mov byte [ebp - 0x104], 0xb6
mov byte [ebp - 0x103], 0x2f
mov byte [ebp - 0x102], 0xd4
mov byte [ebp - 0x101], 0
mov byte [ebp - 0x100], 0x34
mov byte [ebp - 0xff], 7
mov byte [ebp - 0xfe], 0x2e
mov byte [ebp - 0xfd], 9
mov byte [ebp - 0xfc], 7
mov byte [ebp - 0xfb], 0xa
mov byte [ebp - 0xfa], 0x2b
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x158]
or eax, 0x74
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x158]
and ecx, 0x74
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x158]
mov byte [ebp + ecx - 0x234], al
mov dword [ebp - 0x1c], 2
and dword [ebp - 0x90], 0
jmp 0x408b30
mov eax, dword [ebp - 0x1c]
inc eax
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5f
jae 0x408be6
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x158]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x1c], eax
jne 0x408b7a
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x158]
inc eax
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x158]
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x1c], eax
jmp 0x408b28
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x157]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x90]
movzx ecx, byte [ebp + ecx - 0x15a]
movsx ecx, byte [ebp + ecx - 0x234]
or eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x157]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x90]
movzx edx, byte [ebp + edx - 0x15a]
movsx edx, byte [ebp + edx - 0x234]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x158]
mov byte [ebp + ecx - 0x234], al
and dword [ebp - 0x90], 0
jmp 0x408b28
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x234], 0
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x31c]
call fcn.0040ae2c
mov edx, dword [ebp - 0x1f4]
mov ecx, eax
call fcn.00401aa2
mov dword [0xaa60f0], eax
lea ecx, [ebp - 0x31c]
call fcn.0040ae5b
and dword [ebp - 0x54], 0
jmp 0x408c30
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0xe
jae 0x408c43
mov eax, dword [ebp - 0x54]
mov byte [ebp + eax - 0x234], 0
jmp 0x408c29
mov byte [ebp - 0x1cc], 5
mov byte [ebp - 0x1cb], 0xe
mov byte [ebp - 0x1ca], 4
mov byte [ebp - 0x1c9], 0x11
mov byte [ebp - 0x1c8], 3
mov byte [ebp - 0x1c7], 0x15
mov byte [ebp - 0x1c6], 1
mov byte [ebp - 0x1c5], 0x13
mov byte [ebp - 0x1c4], 0xa
mov byte [ebp - 0x1c3], 0x17
mov byte [ebp - 0x1c2], 9
mov byte [ebp - 0x1c1], 6
mov byte [ebp - 0x1c0], 0x57
mov byte [ebp - 0x1bf], 0xc3
mov byte [ebp - 0x1be], 0xe
mov byte [ebp - 0x1bd], 0xd1
mov byte [ebp - 0x1bc], 0xf7
mov byte [ebp - 0x1bb], 0xd7
mov byte [ebp - 0x1ba], 0x14
mov byte [ebp - 0x1b9], 0x2a
mov byte [ebp - 0x1b8], 0x39
mov byte [ebp - 0x1b7], 0xa7
mov byte [ebp - 0x1b6], 0xc
mov byte [ebp - 0x1b5], 0x8c
mov byte [ebp - 0x1b4], 8
mov byte [ebp - 0x1b3], 0x54
mov byte [ebp - 0x1b2], 0xd7
mov byte [ebp - 0x1b1], 0xef
mov byte [ebp - 0x1b0], 0xfd
mov byte [ebp - 0x1af], 0xd4
mov byte [ebp - 0x1ae], 3
mov byte [ebp - 0x1ad], 0x7f
mov byte [ebp - 0x1ac], 0x5f
mov byte [ebp - 0x1ab], 0x3d
mov byte [ebp - 0x1aa], 0x5b
mov byte [ebp - 0x1a9], 0xee
mov byte [ebp - 0x1a8], 0xf2
mov byte [ebp - 0x1a7], 0x5f
mov byte [ebp - 0x1a6], 0xde
mov byte [ebp - 0x1a5], 0xc7
mov byte [ebp - 0x1a4], 0xea
mov byte [ebp - 0x1a3], 0x7c
mov byte [ebp - 0x1a2], 0xe1
mov byte [ebp - 0x1a1], 0x73
mov byte [ebp - 0x1a0], 0x87
mov byte [ebp - 0x19f], 0xc
mov byte [ebp - 0x19e], 0x9b
mov byte [ebp - 0x19d], 0x32
mov byte [ebp - 0x19c], 0x1a
mov byte [ebp - 0x19b], 0xba
mov byte [ebp - 0x19a], 0x77
mov byte [ebp - 0x199], 0x34
mov byte [ebp - 0x198], 0x75
mov byte [ebp - 0x197], 0x98
mov byte [ebp - 0x196], 0x50
mov byte [ebp - 0x195], 0xfc
mov byte [ebp - 0x194], 0x9b
mov byte [ebp - 0x193], 0xb8
mov byte [ebp - 0x192], 0xf2
mov byte [ebp - 0x191], 0xe0
mov byte [ebp - 0x190], 0x1a
mov byte [ebp - 0x18f], 0x9b
mov byte [ebp - 0x18e], 0x1a
mov byte [ebp - 0x18d], 0x28
mov byte [ebp - 0x18c], 0xe3
mov byte [ebp - 0x18b], 0xb7
mov byte [ebp - 0x18a], 0x3d
mov byte [ebp - 0x189], 0x3c
mov byte [ebp - 0x188], 0x2d
mov byte [ebp - 0x187], 0x74
mov byte [ebp - 0x186], 0x50
mov byte [ebp - 0x185], 0x5b
mov byte [ebp - 0x184], 6
mov byte [ebp - 0x183], 0xeb
mov byte [ebp - 0x182], 0x71
mov byte [ebp - 0x181], 0x45
mov byte [ebp - 0x180], 0xbe
mov byte [ebp - 0x17f], 0x47
mov byte [ebp - 0x17e], 0x85
mov byte [ebp - 0x17d], 0xd4
mov byte [ebp - 0x17c], 0x5a
mov byte [ebp - 0x17b], 7
mov byte [ebp - 0x17a], 0x49
mov byte [ebp - 0x179], 0xf3
mov byte [ebp - 0x178], 8
mov byte [ebp - 0x177], 0x10
mov byte [ebp - 0x176], 0xde
mov byte [ebp - 0x175], 0xee
mov byte [ebp - 0x174], 0xf9
mov byte [ebp - 0x173], 0xca
mov byte [ebp - 0x172], 0xd5
mov byte [ebp - 0x171], 0x81
mov byte [ebp - 0x170], 0x8a
mov byte [ebp - 0x16f], 0xb8
mov byte [ebp - 0x16e], 0xb6
mov byte [ebp - 0x16d], 0x30
mov byte [ebp - 0x16c], 5
mov byte [ebp - 0x16b], 0xb3
mov byte [ebp - 0x16a], 0x8f
mov byte [ebp - 0x169], 0xc3
mov byte [ebp - 0x168], 0xb
mov byte [ebp - 0x167], 0x10
mov byte [ebp - 0x166], 0xc
mov byte [ebp - 0x165], 0
mov byte [ebp - 0x164], 0xd
mov byte [ebp - 0x163], 0x24
mov byte [ebp - 0x162], 7
mov byte [ebp - 0x161], 0x25
mov byte [ebp - 0x160], 8
mov byte [ebp - 0x15f], 0x1d
mov byte [ebp - 0x15e], 2
mov byte [ebp - 0x15d], 0xa
mov byte [ebp - 0x15c], 6
mov byte [ebp - 0x15b], 0x35
mov byte [ebp - 0x15a], 0
mov byte [ebp - 0x159], 0x13
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x1cc]
or eax, 0x6b
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x1cc]
and ecx, 0x6b
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x1cc]
mov byte [ebp + ecx - 0x204], al
mov dword [ebp - 0x18], 2
and dword [ebp - 0x40], 0
jmp 0x408fbd
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x74
jae 0x40908c
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x1cc]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x18], eax
jne 0x409004
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x1cc]
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x1cc]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x18], eax
jmp 0x408fb5
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x1cb]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x40]
movzx ecx, byte [ebp + ecx - 0x1ce]
movsx ecx, byte [ebp + ecx - 0x204]
add eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x1cb]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x40]
movzx edx, byte [ebp + edx - 0x1ce]
movsx edx, byte [ebp + edx - 0x204]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x1cb]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x40]
movzx edx, byte [ebp + edx - 0x1ce]
movsx edx, byte [ebp + edx - 0x204]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x1cc]
mov byte [ebp + ecx - 0x204], al
and dword [ebp - 0x40], 0
jmp 0x408fb5
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x204], 0
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x304]
call fcn.0040ae2c
mov edx, dword [ebp - 0x1f4]
mov ecx, eax
call fcn.00401aa2
mov dword [0xaa6138], eax
lea ecx, [ebp - 0x304]
call fcn.0040ae5b
and dword [ebp - 0x98], 0
jmp 0x4090df
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0xf
jae 0x4090f8
mov eax, dword [ebp - 0x98]
mov byte [ebp + eax - 0x204], 0
jmp 0x4090d2
mov eax, dword [0xaa60f0]
cmp eax, dword [ebp - 0x94]
je 0x409112
mov eax, dword [0xaa6138]
cmp eax, dword [ebp - 0x94]
jne 0x40912a
mov ecx, dword [ebp + 0xc]
call fcn.0040ac78
push eax
push dword [ebp + 8]
call fcn.00407e79
pop ecx
pop ecx
jmp 0x409dce
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x409dcc
mov eax, dword [ebp - 0x5c]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x409dcc
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x5c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x1d8], 0x298d
mov dword [ebp - 0x248], 0xa80ab8
cmp dword [ebp - 0x1d8], 0x2ba4
jle 0x409212
push 0
push 0x1ad2
push 0x232a
push 0
call dword [0xaa8078]
and dword [ebp - 0x84], 0
jmp 0x4091a5
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0x4ae
jge 0x409212
and dword [ebp - 0x4c], 0
jmp 0x4091be
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x2628
jge 0x409210
and dword [ebp - 0x64], 0
jmp 0x4091d4
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0x259b
jge 0x40920e
mov eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x64]
or eax, dword [ebp - 0x84]
cdq
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x208], edx
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
mov ecx, 0xaa4f58
call fcn.0040ac83
jmp 0x4091cd
jmp 0x4091b7
jmp 0x409198
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0x4550
jne 0x409d83
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x74], 0
jbe 0x409d83
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
cmp dword [ecx + eax + 0x78], 0
je 0x409d83
mov dword [ebp - 0x1f0], 0x1ff1
mov dword [ebp - 0x210], 0xa80ae4
cmp dword [ebp - 0x1f0], 0x223c
jle 0x40934a
and dword [ebp - 0x6c], 0
jmp 0x409273
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x59e2
jge 0x409344
and dword [ebp - 0x88], 0
jmp 0x409296
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0x7306
jge 0x40933f
and dword [ebp - 0x74], 0
jmp 0x4092b3
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0x2775
jge 0x40933a
and dword [ebp - 0x8c], 0
jmp 0x4092d2
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0x7fc6
jge 0x409335
mov eax, dword [ebp - 0x6c]
sub eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x74]
sar eax, cl
mov ecx, dword [ebp - 0x8c]
shl eax, cl
cdq
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x240], edx
push dword [ebp - 0x240]
push dword [ebp - 0x244]
lea ecx, [ebp - 0x2ec]
call fcn.004019f8
pop ecx
pop ecx
mov ecx, eax
call fcn.0040ac78
push eax
call fcn.004a1e87
pop ecx
lea ecx, [ebp - 0x2ec]
call fcn.0040ac6e
jmp 0x4092c5
jmp 0x4092ac
jmp 0x409289
jmp 0x40926c
call dword [0xaa83c0]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x1f0], 0x1eee
jge 0x40936c
push dword [ebp - 0x210]
call fcn.004a1e87
pop ecx
jmp 0x409388
or dword [ebp - 4], 0xffffffff
jmp 0x409392
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x34]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x24], edx
mov eax, 0xffff
mov word [ebp - 0x20], ax
or dword [ebp - 0x38], 0xffffffff
cmp dword [ebp + 0x10], 0
jbe 0x4093d0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x4093cb
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x20], ax
jmp 0x4097a8
mov dword [ebp - 0x1e8], 0x3767
mov dword [ebp - 0x250], 0xa80b34
cmp dword [ebp - 0x1e8], 0x387c
jle 0x40949f
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [0xaa8398]
and dword [ebp - 0x7c], 0
jmp 0x409417
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x4af0
jge 0x40949f
and dword [ebp - 0x50], 0
jmp 0x40942d
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x46e8
jge 0x40949a
and dword [ebp - 0x58], 0
jmp 0x409443
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0x599b
jge 0x409498
and dword [ebp - 0x60], 0
jmp 0x409459
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0x3720
jge 0x409496
mov eax, dword [ebp - 0x7c]
sub eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x58]
imul ecx, dword [ebp - 0x60]
add eax, ecx
cdq
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], edx
push dword [ebp - 0x214]
push dword [ebp - 0x218]
mov ecx, 0xaa4f58
call fcn.0040ac83
jmp 0x409452
jmp 0x40943c
jmp 0x409426
jmp 0x409410
mov dword [ebp - 4], 2
cmp dword [ebp - 0x1e8], 0x3623
jge 0x4094c2
mov edx, dword [ebp - 0x250]
mov ecx, 0xaa4f58
call fcn.0040d509
jmp 0x4094de
or dword [ebp - 4], 0xffffffff
jmp 0x4094e8
mov eax, dword [0xaa617c]
and eax, 1
jne 0x409514
mov eax, dword [0xaa617c]
or eax, 1
mov dword [0xaa617c], eax
mov ecx, 0xaa6154
call fcn.0040afbf
push 0x4b8a61
call fcn.004a1e5d
pop ecx
movzx eax, byte [0xaa60e2]
test eax, eax
je 0x4096b7
mov ecx, 0xaa6154
call fcn.0040b062
movzx eax, al
test eax, eax
jne 0x4096b7
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x1e0]
push eax
mov ecx, 0xaa6154
call fcn.0040b06b
lea eax, [ebp - 0x25c]
push eax
mov ecx, 0xaa6154
call fcn.0040b054
push eax
lea ecx, [ebp - 0x1e0]
call fcn.0040b086
movzx eax, al
test eax, eax
je 0x4096b7
mov dword [ebp - 0x1dc], 0x761a
mov dword [ebp - 0x238], 0xa80b90
cmp dword [ebp - 0x1dc], 0x7777
jle 0x409661
push 0
push 0
call dword [0xaa83a4]
and dword [ebp - 0x68], 0
jmp 0x4095b3
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0x2c6d
jge 0x409661
and dword [ebp - 0x70], 0
jmp 0x4095cd
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x5c6a
jge 0x40965c
and dword [ebp - 0x78], 0
jmp 0x4095e7
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x48b6
jge 0x409657
and dword [ebp - 0x80], 0
jmp 0x4095fd
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0x23a
jge 0x409655
mov eax, dword [ebp - 0x68]
add eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x78]
and ecx, dword [ebp - 0x80]
or eax, ecx
cdq
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], edx
push dword [ebp - 0x220]
push dword [ebp - 0x224]
lea ecx, [ebp - 0x2d4]
call fcn.004019f8
pop ecx
pop ecx
mov ecx, eax
call fcn.0040ac78
push eax
call fcn.004a1e87
pop ecx
lea ecx, [ebp - 0x2d4]
call fcn.0040ac6e
jmp 0x4095f6
jmp 0x4095e0
jmp 0x4095c6
jmp 0x4095ac
lea ecx, [ebp - 0x1e0]
call fcn.0040b080
mov eax, dword [eax + 4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 4
cmp dword [ebp - 0x1dc], 0x730c
jge 0x409691
push dword [ebp - 0x238]
call fcn.004a1e87
pop ecx
jmp 0x4096ad
or dword [ebp - 4], 0xffffffff
jmp 0x4096b7
cmp dword [ebp - 0x38], 0xffffffff
jne 0x4097a8
mov ecx, 0xaa6154
call fcn.0040b0d7
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0xaa6154
call fcn.0040b0db
and dword [ebp - 0x3c], 0
jmp 0x4096e9
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [eax + 0x18]
jae 0x4097a8
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0x3c]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x1ec], eax
cmp dword [ebp - 0x1ec], 0
je 0x4097a3
mov eax, dword [ebp - 0x1ec]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x2bc]
call fcn.0040ae2c
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x2bc]
call fcn.00401aa2
mov dword [ebp - 0x1e4], eax
movzx eax, byte [0xaa60e2]
test eax, eax
je 0x409761
mov ecx, 0xaa6154
call fcn.0040b062
movzx eax, al
test eax, eax
jne 0x40977e
lea eax, [ebp - 0x1e4]
push eax
mov ecx, 0xaa6154
call fcn.0040b099
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov byte [0xaa60e2], 1
cmp dword [ebp - 0x38], 0xffffffff
jne 0x409798
mov eax, dword [ebp - 0x1e4]
cmp eax, dword [ebp - 0x94]
jne 0x409798
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x2bc]
call fcn.0040ae5b
jmp 0x4096e2
cmp dword [ebp + 0x10], 0
jne 0x4097c8
cmp dword [ebp - 0x38], 0xffffffff
je 0x4097c8
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax + 0x24]
mov eax, dword [ebp - 0x38]
mov ax, word [ecx + eax*2]
mov word [ebp - 0x20], ax
movzx eax, word [ebp - 0x20]
cmp eax, 0xffff
je 0x409d83
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax + 0x1c]
movzx eax, word [ebp - 0x20]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax]
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x24]
jbe 0x409d7e
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x24]
add edx, dword [ecx + eax + 0x7c]
cmp dword [ebp - 0x28], edx
jae 0x409d7e
mov eax, dword [0xaa617c]
and eax, 2
jne 0x409847
mov eax, dword [0xaa617c]
or eax, 2
mov dword [0xaa617c], eax
push 0x9f53
call fcn.004456de
pop ecx
mov byte [0xaa61ac], al
mov byte [ebp - 0xf8], 1
mov byte [ebp - 0xf7], 0x76
mov byte [ebp - 0xf6], 2
mov byte [ebp - 0xf5], 0
mov byte [ebp - 0xf4], 0x53
mov byte [ebp - 0xf3], 0x48
mov byte [ebp - 0xf2], 0xb3
mov byte [ebp - 0xf1], 0xa
mov byte [ebp - 0xf0], 0x8c
mov byte [ebp - 0xef], 0xd5
mov byte [ebp - 0xee], 0x38
mov byte [ebp - 0xed], 0xf4
mov byte [ebp - 0xec], 0xe9
mov byte [ebp - 0xeb], 0x40
mov byte [ebp - 0xea], 0x36
mov byte [ebp - 0xe9], 0xe5
mov byte [ebp - 0xe8], 0x73
mov byte [ebp - 0xe7], 0xb7
mov byte [ebp - 0xe6], 0x14
mov byte [ebp - 0xe5], 9
mov byte [ebp - 0xe4], 0xc8
mov byte [ebp - 0xe3], 0xae
mov byte [ebp - 0xe2], 0xbe
mov byte [ebp - 0xe1], 0x81
mov byte [ebp - 0xe0], 0xfb
mov byte [ebp - 0xdf], 0x34
mov byte [ebp - 0xde], 0x72
mov byte [ebp - 0xdd], 0xa1
mov byte [ebp - 0xdc], 0x3b
mov byte [ebp - 0xdb], 0x90
mov byte [ebp - 0xda], 0x31
mov byte [ebp - 0xd9], 0x9e
mov byte [ebp - 0xd8], 7
mov byte [ebp - 0xd7], 0x1e
mov byte [ebp - 0xd6], 0x84
mov byte [ebp - 0xd5], 0x4a
mov byte [ebp - 0xd4], 0xd1
mov byte [ebp - 0xd3], 0xf
mov byte [ebp - 0xd2], 0xfc
mov byte [ebp - 0xd1], 0x34
mov byte [ebp - 0xd0], 0xf1
mov byte [ebp - 0xcf], 0x9a
mov byte [ebp - 0xce], 0x85
mov byte [ebp - 0xcd], 0xb5
mov byte [ebp - 0xcc], 0xc2
mov byte [ebp - 0xcb], 0x36
mov byte [ebp - 0xca], 0x76
mov byte [ebp - 0xc9], 0xd1
mov byte [ebp - 0xc8], 0xdd
mov byte [ebp - 0xc7], 0x65
mov byte [ebp - 0xc6], 0x87
mov byte [ebp - 0xc5], 0xe7
mov byte [ebp - 0xc4], 0x4f
mov byte [ebp - 0xc3], 0xbc
mov byte [ebp - 0xc2], 0x88
mov byte [ebp - 0xc1], 0x9c
mov byte [ebp - 0xc0], 0xb3
mov byte [ebp - 0xbf], 0x9e
mov byte [ebp - 0xbe], 2
mov byte [ebp - 0xbd], 0x81
mov byte [ebp - 0xbc], 1
mov byte [ebp - 0xbb], 0xd8
mov byte [ebp - 0xba], 0xa9
mov byte [ebp - 0xb9], 0x5b
mov byte [ebp - 0xb8], 0x12
mov byte [ebp - 0xb7], 0xa3
mov byte [ebp - 0xb6], 0xb9
mov byte [ebp - 0xb5], 0xe
mov byte [ebp - 0xb4], 0xab
mov byte [ebp - 0xb3], 0x25
mov byte [ebp - 0xb2], 0xaf
mov byte [ebp - 0xb1], 0x8e
mov byte [ebp - 0xb0], 0x75
mov byte [ebp - 0xaf], 0x83
mov byte [ebp - 0xae], 0xf4
mov byte [ebp - 0xad], 0x65
mov byte [ebp - 0xac], 0x4a
mov byte [ebp - 0xab], 0x9c
mov byte [ebp - 0xaa], 0x6a
mov byte [ebp - 0xa9], 0x1c
mov byte [ebp - 0xa8], 0xba
mov byte [ebp - 0xa7], 0x7c
mov byte [ebp - 0xa6], 0xfb
mov byte [ebp - 0xa5], 0x23
mov byte [ebp - 0xa4], 0x29
mov byte [ebp - 0xa3], 0x9c
mov byte [ebp - 0xa2], 0xc
mov byte [ebp - 0xa1], 0x89
mov byte [ebp - 0xa0], 0
mov byte [ebp - 0x9f], 8
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xf8]
or eax, 0x1a
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xf8]
and ecx, 0x1a
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xf8]
mov byte [ebp + ecx - 0x2c], al
mov dword [ebp - 0x14], 2
and dword [ebp - 0x48], 0
jmp 0x409b08
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x5a
jae 0x409bcb
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xf8]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x14], eax
jne 0x409b4f
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xf8]
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xf8]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x14], eax
jmp 0x409b00
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xf7]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x48]
movzx ecx, byte [ebp + ecx - 0xfa]
movsx ecx, byte [ebp + ecx - 0x2c]
add eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xf7]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x48]
movzx edx, byte [ebp + edx - 0xfa]
movsx edx, byte [ebp + edx - 0x2c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xf7]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x48]
movzx edx, byte [ebp + edx - 0xfa]
movsx edx, byte [ebp + edx - 0x2c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xf8]
mov byte [ebp + ecx - 0x2c], al
and dword [ebp - 0x48], 0
jmp 0x409b00
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x2c], 0
mov eax, dword [0xaa617c]
and eax, 4
jne 0x409c06
mov eax, dword [0xaa617c]
or eax, 4
mov dword [0xaa617c], eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0xaa611c
call fcn.0040ae2c
push 0x4b8a52
call fcn.004a1e5d
pop ecx
and dword [ebp - 0x9c], 0
jmp 0x409c1c
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 4
jae 0x409c32
mov eax, dword [ebp - 0x9c]
mov byte [ebp + eax - 0x2c], 0
jmp 0x409c0f
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movsx eax, byte [eax]
movsx ecx, byte [0xaa61ac]
cmp eax, ecx
je 0x409c52
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
jmp 0x409c38
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
push dword [ebp - 0x28]
lea ecx, [ebp - 0x274]
call fcn.0040d7b9
push 0xaa611c
lea ecx, [ebp - 0x274]
call fcn.0040ae65
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x274]
call fcn.0040ae8a
push dword [eax]
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x274]
call fcn.0040ae76
push dword [eax]
lea ecx, [ebp - 0x2a4]
call fcn.0040d7e2
lea eax, [ebp - 0x2a4]
push eax
call fcn.00404b25
pop ecx
mov dword [ebp - 0x1d0], eax
cmp dword [ebp - 0x1d0], 0
je 0x409d35
push dword [ebp - 0x30]
lea ecx, [ebp - 0x28c]
call fcn.0040ae2c
lea edx, [ebp - 0x23c]
lea ecx, [ebp - 0x28c]
call fcn.00403c39
movzx eax, al
test eax, eax
je 0x409d0c
push 0
push dword [ebp - 0x23c]
push 0
push dword [ebp - 0x1d0]
call fcn.004087ba
add esp, 0x10
mov dword [ebp - 0x28], eax
jmp 0x409d28
push 1
push 0
lea eax, [ebp - 0x28c]
push eax
push dword [ebp - 0x1d0]
call fcn.004087ba
add esp, 0x10
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x28c]
call fcn.0040ae5b
jmp 0x409d68
cmp dword [ebp + 0x10], 0
jne 0x409d4b
mov ecx, dword [ebp + 0xc]
call fcn.0040ac78
mov dword [ebp - 0x1d4], eax
jmp 0x409d55
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0x1d4], eax
push dword [ebp - 0x1d4]
push dword [ebp + 8]
call fcn.00407e79
pop ecx
pop ecx
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x2a4]
call fcn.0040ade5
lea ecx, [ebp - 0x274]
call fcn.0040ae5b
mov eax, dword [ebp - 0x28]
jmp 0x409dce
mov dword [ebp - 4], 6
cmp dword [ebp - 0x1d8], 0x27f1
jge 0x409da6
mov edx, dword [ebp - 0x248]
mov ecx, 0xaa4f58
call fcn.0040d509
jmp 0x409dc2
or dword [ebp - 4], 0xffffffff
jmp 0x409dcc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret