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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9267
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x288
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
cmp dword [ebp + 0x10], 0
jbe 0x4086cc
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x4086cc
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.00407e50
pop ecx
pop ecx
jmp 0x4098de
cmp dword [ebp + 0x10], 0
jne 0x4090f7
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.00401aa2
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x194], 0x1432
mov dword [ebp - 0x1cc], 0xa7b320
cmp dword [ebp - 0x194], 0x17eb
jle 0x4087a9
push 0
call dword [0xaa0534]
and dword [ebp - 0x9c], 0
jmp 0x408729
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0x7383
jge 0x4087a9
and dword [ebp - 0x98], 0
jmp 0x40874b
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0x7bd9
jge 0x4087a4
mov eax, dword [ebp - 0x9c]
or eax, dword [ebp - 0x98]
cdq
mov dword [ebp - 0x1bc], eax
mov dword [ebp - 0x1b8], edx
push dword [ebp - 0x1b8]
push dword [ebp - 0x1bc]
lea ecx, [ebp - 0x280]
call fcn.004019f8
pop ecx
pop ecx
mov ecx, eax
call fcn.0040a69a
push eax
call fcn.004a3677
pop ecx
lea ecx, [ebp - 0x280]
call fcn.0040a690
jmp 0x40873e
jmp 0x40871c
cmp dword [0xa9dd70], 0
jne 0x409083
mov dword [ebp - 0x1d8], 0xb247
lea eax, [ebp - 0x1d8]
push eax
call fcn.00407d74
pop ecx
mov dword [ebp - 0x178], eax
mov byte [ebp - 0x170], 0
mov byte [ebp - 0x16f], 0x88
mov byte [ebp - 0x16e], 0x4f
mov byte [ebp - 0x16d], 0x8e
mov byte [ebp - 0x16c], 0xc7
mov byte [ebp - 0x16b], 0x4b
mov byte [ebp - 0x16a], 0xc8
mov byte [ebp - 0x169], 0xab
mov byte [ebp - 0x168], 0x46
mov byte [ebp - 0x167], 0x85
mov byte [ebp - 0x166], 0x57
mov byte [ebp - 0x165], 0xb1
mov byte [ebp - 0x164], 8
mov byte [ebp - 0x163], 0xa0
mov byte [ebp - 0x162], 0x5e
mov byte [ebp - 0x161], 0x35
mov byte [ebp - 0x160], 0xc2
mov byte [ebp - 0x15f], 0xd8
mov byte [ebp - 0x15e], 0xbd
mov byte [ebp - 0x15d], 0x27
mov byte [ebp - 0x15c], 0x49
mov byte [ebp - 0x15b], 0x8f
mov byte [ebp - 0x15a], 0x1c
mov byte [ebp - 0x159], 0x6b
mov byte [ebp - 0x158], 0x17
mov byte [ebp - 0x157], 0x1a
mov byte [ebp - 0x156], 0xcf
mov byte [ebp - 0x155], 0x47
mov byte [ebp - 0x154], 0x52
mov byte [ebp - 0x153], 0x62
mov byte [ebp - 0x152], 0xc6
mov byte [ebp - 0x151], 0x27
mov byte [ebp - 0x150], 0x4e
mov byte [ebp - 0x14f], 0xec
mov byte [ebp - 0x14e], 0x4a
mov byte [ebp - 0x14d], 0x69
mov byte [ebp - 0x14c], 0xf6
mov byte [ebp - 0x14b], 0x93
mov byte [ebp - 0x14a], 0x9b
mov byte [ebp - 0x149], 0xa1
mov byte [ebp - 0x148], 0xda
mov byte [ebp - 0x147], 0x12
mov byte [ebp - 0x146], 0x21
mov byte [ebp - 0x145], 0x8e
mov byte [ebp - 0x144], 0x9e
mov byte [ebp - 0x143], 0x2b
mov byte [ebp - 0x142], 0x42
mov byte [ebp - 0x141], 0xa8
mov byte [ebp - 0x140], 0x8b
mov byte [ebp - 0x13f], 0xa
mov byte [ebp - 0x13e], 0x18
mov byte [ebp - 0x13d], 0x95
mov byte [ebp - 0x13c], 0x24
mov byte [ebp - 0x13b], 0xa6
mov byte [ebp - 0x13a], 0xf
mov byte [ebp - 0x139], 0x57
mov byte [ebp - 0x138], 0xcc
mov byte [ebp - 0x137], 0x48
mov byte [ebp - 0x136], 0xac
mov byte [ebp - 0x135], 0x84
mov byte [ebp - 0x134], 0x82
mov byte [ebp - 0x133], 0x77
mov byte [ebp - 0x132], 0xe
mov byte [ebp - 0x131], 0xe9
mov byte [ebp - 0x130], 0x3c
mov byte [ebp - 0x12f], 0x74
mov byte [ebp - 0x12e], 0xcc
mov byte [ebp - 0x12d], 0xdc
mov byte [ebp - 0x12c], 0x50
mov byte [ebp - 0x12b], 0x89
mov byte [ebp - 0x12a], 0x68
mov byte [ebp - 0x129], 0x1a
mov byte [ebp - 0x128], 0x94
mov byte [ebp - 0x127], 0xbe
mov byte [ebp - 0x126], 0x61
mov byte [ebp - 0x125], 1
mov byte [ebp - 0x124], 0xd
mov byte [ebp - 0x123], 0xdf
mov byte [ebp - 0x122], 0x95
mov byte [ebp - 0x121], 0x8a
mov byte [ebp - 0x120], 0x5a
mov byte [ebp - 0x11f], 0x40
mov byte [ebp - 0x11e], 5
mov byte [ebp - 0x11d], 0x35
mov byte [ebp - 0x11c], 1
mov byte [ebp - 0x11b], 0x17
mov byte [ebp - 0x11a], 3
mov byte [ebp - 0x119], 0x33
mov byte [ebp - 0x118], 8
mov byte [ebp - 0x117], 0x39
mov byte [ebp - 0x116], 0xb
mov byte [ebp - 0x115], 0x17
mov byte [ebp - 0x114], 7
mov byte [ebp - 0x113], 0x11
mov byte [ebp - 0x112], 9
mov byte [ebp - 0x111], 7
mov byte [ebp - 0x110], 4
mov byte [ebp - 0x10f], 0xb
mov byte [ebp - 0x10e], 0xc
mov byte [ebp - 0x10d], 0x32
mov byte [ebp - 0x10c], 6
mov byte [ebp - 0x10b], 0x24
mov byte [ebp - 0x10a], 2
mov byte [ebp - 0x109], 7
mov byte [ebp - 0x108], 0xa
mov byte [ebp - 0x107], 0x31
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x170]
or eax, 0xcf
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x170]
and ecx, 0xcf
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x170]
mov byte [ebp + ecx - 0x1a4], al
mov dword [ebp - 0x18], 2
and dword [ebp - 0x40], 0
jmp 0x408b0c
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x6a
jae 0x408bdb
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x170]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x18], eax
jne 0x408b53
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x170]
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x170]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x18], eax
jmp 0x408b04
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x16f]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x40]
movzx ecx, byte [ebp + ecx - 0x172]
movsx ecx, byte [ebp + ecx - 0x1a4]
add eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x16f]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x40]
movzx edx, byte [ebp + edx - 0x172]
movsx edx, byte [ebp + edx - 0x1a4]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x16f]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x40]
movzx edx, byte [ebp + edx - 0x172]
movsx edx, byte [ebp + edx - 0x1a4]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x170]
mov byte [ebp + ecx - 0x1a4], al
and dword [ebp - 0x40], 0
jmp 0x408b04
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x1a4], 0
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x268]
call fcn.0040a84e
mov edx, dword [ebp - 0x178]
mov ecx, eax
call fcn.00401aa2
mov dword [0xa9dd70], eax
lea ecx, [ebp - 0x268]
call fcn.0040a87d
and dword [ebp - 0x64], 0
jmp 0x408c25
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0xe
jae 0x408c38
mov eax, dword [ebp - 0x64]
mov byte [ebp + eax - 0x1a4], 0
jmp 0x408c1e
mov byte [ebp - 0x104], 4
mov byte [ebp - 0x103], 0x70
mov byte [ebp - 0x102], 0xb
mov byte [ebp - 0x101], 7
mov byte [ebp - 0x100], 0
mov byte [ebp - 0xff], 0x30
mov byte [ebp - 0xfe], 0xd
mov byte [ebp - 0xfd], 0x14
mov byte [ebp - 0xfc], 5
mov byte [ebp - 0xfb], 0x32
mov byte [ebp - 0xfa], 0x4a
mov byte [ebp - 0xf9], 0x61
mov byte [ebp - 0xf8], 0x42
mov byte [ebp - 0xf7], 0xf7
mov byte [ebp - 0xf6], 0xc3
mov byte [ebp - 0xf5], 8
mov byte [ebp - 0xf4], 0xad
mov byte [ebp - 0xf3], 0x5d
mov byte [ebp - 0xf2], 0xc6
mov byte [ebp - 0xf1], 0x5b
mov byte [ebp - 0xf0], 0x33
mov byte [ebp - 0xef], 0xb
mov byte [ebp - 0xee], 0xd7
mov byte [ebp - 0xed], 0x64
mov byte [ebp - 0xec], 0x44
mov byte [ebp - 0xeb], 0x49
mov byte [ebp - 0xea], 0xf8
mov byte [ebp - 0xe9], 0x49
mov byte [ebp - 0xe8], 0x94
mov byte [ebp - 0xe7], 0xb2
mov byte [ebp - 0xe6], 5
mov byte [ebp - 0xe5], 0xc9
mov byte [ebp - 0xe4], 0x53
mov byte [ebp - 0xe3], 0x51
mov byte [ebp - 0xe2], 0x5d
mov byte [ebp - 0xe1], 0x6a
mov byte [ebp - 0xe0], 0x18
mov byte [ebp - 0xdf], 0x9c
mov byte [ebp - 0xde], 0x8f
mov byte [ebp - 0xdd], 0x73
mov byte [ebp - 0xdc], 5
mov byte [ebp - 0xdb], 0xf5
mov byte [ebp - 0xda], 0xe5
mov byte [ebp - 0xd9], 0x7b
mov byte [ebp - 0xd8], 0x3d
mov byte [ebp - 0xd7], 0x8b
mov byte [ebp - 0xd6], 0x51
mov byte [ebp - 0xd5], 0xfa
mov byte [ebp - 0xd4], 0x32
mov byte [ebp - 0xd3], 0xc2
mov byte [ebp - 0xd2], 0x38
mov byte [ebp - 0xd1], 0xb3
mov byte [ebp - 0xd0], 0xf2
mov byte [ebp - 0xcf], 0x94
mov byte [ebp - 0xce], 0x79
mov byte [ebp - 0xcd], 0xf8
mov byte [ebp - 0xcc], 0xfc
mov byte [ebp - 0xcb], 0x72
mov byte [ebp - 0xca], 0xbf
mov byte [ebp - 0xc9], 0x87
mov byte [ebp - 0xc8], 0xb4
mov byte [ebp - 0xc7], 0xab
mov byte [ebp - 0xc6], 0x6f
mov byte [ebp - 0xc5], 0xfd
mov byte [ebp - 0xc4], 0x82
mov byte [ebp - 0xc3], 0xe0
mov byte [ebp - 0xc2], 0xcf
mov byte [ebp - 0xc1], 0x44
mov byte [ebp - 0xc0], 0xc6
mov byte [ebp - 0xbf], 0x7e
mov byte [ebp - 0xbe], 0x36
mov byte [ebp - 0xbd], 0xc8
mov byte [ebp - 0xbc], 0x17
mov byte [ebp - 0xbb], 0x52
mov byte [ebp - 0xba], 0x54
mov byte [ebp - 0xb9], 0x77
mov byte [ebp - 0xb8], 0xf9
mov byte [ebp - 0xb7], 0xa4
mov byte [ebp - 0xb6], 0xed
mov byte [ebp - 0xb5], 0x5b
mov byte [ebp - 0xb4], 0x97
mov byte [ebp - 0xb3], 0x85
mov byte [ebp - 0xb2], 0x1a
mov byte [ebp - 0xb1], 0xaa
mov byte [ebp - 0xb0], 0x85
mov byte [ebp - 0xaf], 3
mov byte [ebp - 0xae], 4
mov byte [ebp - 0xad], 1
mov byte [ebp - 0xac], 0x13
mov byte [ebp - 0xab], 0xa
mov byte [ebp - 0xaa], 0x17
mov byte [ebp - 0xa9], 8
mov byte [ebp - 0xa8], 0xa
mov byte [ebp - 0xa7], 2
mov byte [ebp - 0xa6], 0xa
mov byte [ebp - 0xa5], 7
mov byte [ebp - 0xa4], 0x17
mov byte [ebp - 0xa3], 9
mov byte [ebp - 0xa2], 0x11
mov byte [ebp - 0xa1], 6
mov byte [ebp - 0xa0], 0x33
mov byte [ebp - 0x9f], 0xc
mov byte [ebp - 0x9e], 0x23
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x104]
or eax, 4
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x104]
and ecx, 4
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x104]
mov byte [ebp + ecx - 0x1b4], al
mov dword [ebp - 0x14], 2
and dword [ebp - 0x48], 0
jmp 0x408f57
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x67
jae 0x409026
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x104]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x14], eax
jne 0x408f9e
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x104]
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x104]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x14], eax
jmp 0x408f4f
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x103]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x48]
movzx ecx, byte [ebp + ecx - 0x106]
movsx ecx, byte [ebp + ecx - 0x1b4]
add eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x103]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x48]
movzx edx, byte [ebp + edx - 0x106]
movsx edx, byte [ebp + edx - 0x1b4]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x103]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x48]
movzx edx, byte [ebp + edx - 0x106]
movsx edx, byte [ebp + edx - 0x1b4]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x104]
mov byte [ebp + ecx - 0x1b4], al
and dword [ebp - 0x48], 0
jmp 0x408f4f
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x1b4], 0
lea eax, [ebp - 0x1b4]
push eax
lea ecx, [ebp - 0x298]
call fcn.0040a84e
mov edx, dword [ebp - 0x178]
mov ecx, eax
call fcn.00401aa2
mov dword [0xa9dda0], eax
lea ecx, [ebp - 0x298]
call fcn.0040a87d
and dword [ebp - 0x70], 0
jmp 0x409070
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0xf
jae 0x409083
mov eax, dword [ebp - 0x70]
mov byte [ebp + eax - 0x1b4], 0
jmp 0x409069
and dword [ebp - 4], 0
cmp dword [ebp - 0x194], 0x1325
jge 0x40909f
push dword [ebp - 0x1cc]
call fcn.004a3677
pop ecx
jmp 0x4090bb
or dword [ebp - 4], 0xffffffff
jmp 0x4090c5
mov eax, dword [0xa9dd70]
cmp eax, dword [ebp - 0x8c]
je 0x4090df
mov eax, dword [0xa9dda0]
cmp eax, dword [ebp - 0x8c]
jne 0x4090f7
mov ecx, dword [ebp + 0xc]
call fcn.0040a69a
push eax
push dword [ebp + 8]
call fcn.00407e50
pop ecx
pop ecx
jmp 0x4098de
mov eax, dword [ebp + 8]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
je 0x4098dc
mov eax, dword [ebp - 0x74]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x4098dc
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x74]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0x4550
jne 0x4098dc
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x74], 0
jbe 0x4098dc
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
cmp dword [ecx + eax + 0x78], 0
je 0x4098dc
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
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 0x409198
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x409193
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x20], ax
jmp 0x40931e
mov eax, dword [0xa9de4c]
and eax, 1
jne 0x4091c4
mov eax, dword [0xa9de4c]
or eax, 1
mov dword [0xa9de4c], eax
mov ecx, 0xa9ddd4
call fcn.0040a9e1
push 0x4ba099
call fcn.004a364d
pop ecx
movzx eax, byte [0xa9dd62]
test eax, eax
je 0x40922d
mov ecx, 0xa9ddd4
call fcn.0040aa84
movzx eax, al
test eax, eax
jne 0x40922d
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x188]
push eax
mov ecx, 0xa9ddd4
call fcn.0040aa8d
lea eax, [ebp - 0x1f0]
push eax
mov ecx, 0xa9ddd4
call fcn.0040aa76
push eax
lea ecx, [ebp - 0x188]
call fcn.0040aaa8
movzx eax, al
test eax, eax
je 0x40922d
lea ecx, [ebp - 0x188]
call fcn.0040aaa2
mov eax, dword [eax + 4]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
jne 0x40931e
mov ecx, 0xa9ddd4
call fcn.0040aaf9
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0xa9ddd4
call fcn.0040aafd
and dword [ebp - 0x30], 0
jmp 0x40925f
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [eax + 0x18]
jae 0x40931e
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0x30]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x180], eax
cmp dword [ebp - 0x180], 0
je 0x409319
mov eax, dword [ebp - 0x180]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x250]
call fcn.0040a84e
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x250]
call fcn.00401aa2
mov dword [ebp - 0x17c], eax
movzx eax, byte [0xa9dd62]
test eax, eax
je 0x4092d7
mov ecx, 0xa9ddd4
call fcn.0040aa84
movzx eax, al
test eax, eax
jne 0x4092f4
lea eax, [ebp - 0x17c]
push eax
mov ecx, 0xa9ddd4
call fcn.0040aabb
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov byte [0xa9dd62], 1
cmp dword [ebp - 0x38], 0xffffffff
jne 0x40930e
mov eax, dword [ebp - 0x17c]
cmp eax, dword [ebp - 0x8c]
jne 0x40930e
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x250]
call fcn.0040a87d
jmp 0x409258
cmp dword [ebp + 0x10], 0
jne 0x40933e
cmp dword [ebp - 0x38], 0xffffffff
je 0x40933e
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 0x4098dc
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 - 0x1e4], eax
mov dword [ebp - 0x184], 0x74fa
mov dword [ebp - 0x1c0], 0xa7b37c
cmp dword [ebp - 0x184], 0x76a4
jle 0x409445
push 0
push 0x1ab9
push 0x4fd
push 0xa73
call dword [0xaa0074]
and dword [ebp - 0x84], 0
jmp 0x4093b4
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0x4af5
jge 0x409435
and dword [ebp - 0x7c], 0
jmp 0x4093cd
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x12a9
jge 0x409430
and dword [ebp - 0x94], 0
jmp 0x4093ec
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0x2e80
jge 0x40942e
mov ecx, dword [ebp - 0x7c]
sub ecx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x84]
sar eax, cl
cdq
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1dc], edx
push dword [ebp - 0x1dc]
push dword [ebp - 0x1e0]
mov ecx, 0xa9cbd8
call fcn.0040a6a5
jmp 0x4093df
jmp 0x4093c6
jmp 0x4093a7
push 0
push 0
push 1
push 0
push 0
call dword [0xaa051c]
mov eax, dword [ebp - 0x1e4]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 2
cmp dword [ebp - 0x184], 0x74c3
jge 0x409476
mov edx, dword [ebp - 0x1c0]
mov ecx, 0xa9cbd8
call fcn.0040cf2b
jmp 0x409492
or dword [ebp - 4], 0xffffffff
jmp 0x40949c
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x24]
jbe 0x4098d7
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 0x4098d7
mov eax, dword [0xa9de4c]
and eax, 2
jne 0x4094e8
mov eax, dword [0xa9de4c]
or eax, 2
mov dword [0xa9de4c], eax
push 0xc7df
call fcn.0049e337
pop ecx
mov byte [0xa9ddb8], al
mov byte [ebp - 0x60], 1
mov byte [ebp - 0x5f], 0x91
mov byte [ebp - 0x5e], 0
mov byte [ebp - 0x5d], 8
mov byte [ebp - 0x5c], 0x10
mov byte [ebp - 0x5b], 0x79
mov byte [ebp - 0x5a], 0xb7
mov byte [ebp - 0x59], 0xa4
mov byte [ebp - 0x58], 9
mov byte [ebp - 0x57], 0x32
mov byte [ebp - 0x56], 0xf1
mov byte [ebp - 0x55], 3
mov byte [ebp - 0x54], 0x17
mov byte [ebp - 0x53], 0x1a
mov byte [ebp - 0x52], 0x42
mov byte [ebp - 0x51], 0x3b
mov byte [ebp - 0x50], 0xb3
mov byte [ebp - 0x4f], 0xb3
mov byte [ebp - 0x4e], 0xfe
mov byte [ebp - 0x4d], 0x69
mov byte [ebp - 0x4c], 0x70
mov byte [ebp - 0x4b], 2
mov byte [ebp - 0x4a], 8
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x60]
or eax, 0xfd
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x60]
and ecx, 0xfd
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x60]
mov byte [ebp + ecx - 0x3c], al
mov dword [ebp - 0x1c], 2
and dword [ebp - 0x88], 0
jmp 0x40958e
mov eax, dword [ebp - 0x1c]
inc eax
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x17
jae 0x409724
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x60]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x1c], eax
jne 0x4095cf
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x60]
inc eax
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x60]
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x1c], eax
jmp 0x409586
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x5f]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x88]
movzx ecx, byte [ebp + ecx - 0x62]
movsx ecx, byte [ebp + ecx - 0x3c]
or eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x5f]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x88]
movzx edx, byte [ebp + edx - 0x62]
movsx edx, byte [ebp + edx - 0x3c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x60]
mov byte [ebp + ecx - 0x3c], al
mov dword [ebp - 0x18c], 0xd51
mov dword [ebp - 0x1d4], 0xa7b3e0
cmp dword [ebp - 0x18c], 0xda1
jle 0x4096cf
and dword [ebp - 0x80], 0
jmp 0x409648
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0x848
jge 0x4096cf
and dword [ebp - 0x78], 0
jmp 0x40965e
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x429e
jge 0x4096ca
and dword [ebp - 0x6c], 0
jmp 0x409674
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x16f8
jge 0x4096c8
and dword [ebp - 0x68], 0
jmp 0x40968a
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0xa47
jge 0x4096c6
mov ecx, dword [ebp - 0x6c]
add ecx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x78]
shl eax, cl
and eax, dword [ebp - 0x80]
cdq
mov dword [ebp - 0x1c8], eax
mov dword [ebp - 0x1c4], edx
push dword [ebp - 0x1c4]
push dword [ebp - 0x1c8]
mov ecx, 0xa9cbd8
call fcn.0040a6a5
jmp 0x409683
jmp 0x40966d
jmp 0x409657
jmp 0x409641
and dword [ebp - 0x88], 0
mov dword [ebp - 4], 4
cmp dword [ebp - 0x18c], 0xc07
jge 0x4096f9
mov edx, dword [ebp - 0x1d4]
mov ecx, 0xa9cbd8
call fcn.0040cf2b
jmp 0x409715
or dword [ebp - 4], 0xffffffff
jmp 0x40971f
jmp 0x409586
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x3c], 0
mov eax, dword [0xa9de4c]
and eax, 4
jne 0x40975f
mov eax, dword [0xa9de4c]
or eax, 4
mov dword [0xa9de4c], eax
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0xa9de14
call fcn.0040a84e
push 0x4ba08a
call fcn.004a364d
pop ecx
and dword [ebp - 0x90], 0
jmp 0x409775
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 4
jae 0x40978b
mov eax, dword [ebp - 0x90]
mov byte [ebp + eax - 0x3c], 0
jmp 0x409768
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movsx eax, byte [eax]
movsx ecx, byte [0xa9ddb8]
cmp eax, ecx
je 0x4097ab
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
jmp 0x409791
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
lea ecx, [ebp - 0x208]
call fcn.0040d1db
push 0xa9de14
lea ecx, [ebp - 0x208]
call fcn.0040a887
lea eax, [ebp - 0x1ec]
push eax
lea ecx, [ebp - 0x208]
call fcn.0040a8ac
push dword [eax]
lea eax, [ebp - 0x1e8]
push eax
lea ecx, [ebp - 0x208]
call fcn.0040a898
push dword [eax]
lea ecx, [ebp - 0x238]
call fcn.0040d204
lea eax, [ebp - 0x238]
push eax
call fcn.00404c0f
pop ecx
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x174], 0
je 0x40988e
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x220]
call fcn.0040a84e
lea edx, [ebp - 0x1d0]
lea ecx, [ebp - 0x220]
call fcn.00403e03
movzx eax, al
test eax, eax
je 0x409865
push 0
push dword [ebp - 0x1d0]
push 0
push dword [ebp - 0x174]
call fcn.00408685
add esp, 0x10
mov dword [ebp - 0x28], eax
jmp 0x409881
push 1
push 0
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x174]
call fcn.00408685
add esp, 0x10
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x220]
call fcn.0040a87d
jmp 0x4098c1
cmp dword [ebp + 0x10], 0
jne 0x4098a4
mov ecx, dword [ebp + 0xc]
call fcn.0040a69a
mov dword [ebp - 0x190], eax
jmp 0x4098ae
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0x190], eax
push dword [ebp - 0x190]
push dword [ebp + 8]
call fcn.00407e50
pop ecx
pop ecx
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x238]
call fcn.0040a807
lea ecx, [ebp - 0x208]
call fcn.0040a87d
mov eax, dword [ebp - 0x28]
jmp 0x4098de
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