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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006aa27
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x298
push esi
cmp dword [ebp + 0x10], 0
jbe 0x10016590
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10016590
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.100158ec
pop ecx
pop ecx
jmp 0x10017898
cmp dword [ebp + 0x10], 0
jne 0x1001711e
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.10014249
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x1fc], 0x23e9
cmp dword [ebp - 0x1fc], 0x5b0
jge 0x10016655
lea eax, [ebp - 0x1a4]
push eax
lea eax, [ebp - 0x174]
push eax
push 0x10008348
call fcn.10050b5b
add esp, 0xc
mov eax, dword [ebp - 0x174]
cmp eax, dword [ebp - 0x1a4]
jge 0x100165f7
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x214], 6
push 6
pop eax
sub eax, dword [ebp - 0x174]
inc eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x54], 6
push dword [ebp - 0x54]
push dword [ebp - 0x68]
call fcn.10016521
pop ecx
pop ecx
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x68]
cdq
idiv dword [ebp - 0x19c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x54]
cdq
idiv dword [ebp - 0x19c]
mov dword [ebp - 0x54], eax
push dword [ebp - 0x54]
push dword [ebp - 0x68]
push 0x10008350
call fcn.10050d76
add esp, 0xc
cmp dword [0x1065d57c], 0
jne 0x100170f2
mov dword [ebp - 0x1e8], 0x8d70
lea eax, [ebp - 0x1e8]
push eax
call section..xitcx_1
pop ecx
mov dword [ebp - 0x1b0], eax
mov byte [ebp - 0xc8], 8
mov byte [ebp - 0xc7], 0x87
mov byte [ebp - 0xc6], 5
mov byte [ebp - 0xc5], 0x1d
mov byte [ebp - 0xc4], 3
mov byte [ebp - 0xc3], 0x24
mov byte [ebp - 0xc2], 0xa
mov byte [ebp - 0xc1], 0x13
mov byte [ebp - 0xc0], 0
mov byte [ebp - 0xbf], 2
mov byte [ebp - 0xbe], 6
mov byte [ebp - 0xbd], 0x34
mov byte [ebp - 0xbc], 4
mov byte [ebp - 0xbb], 0x16
mov byte [ebp - 0xba], 2
mov byte [ebp - 0xb9], 0x11
mov byte [ebp - 0xb8], 7
mov byte [ebp - 0xb7], 0x1d
mov byte [ebp - 0xb6], 0x2e
mov byte [ebp - 0xb5], 0xf6
mov byte [ebp - 0xb4], 0x17
mov byte [ebp - 0xb3], 0x4a
mov byte [ebp - 0xb2], 0x65
mov byte [ebp - 0xb1], 0xf7
mov byte [ebp - 0xb0], 0xcb
mov byte [ebp - 0xaf], 0x4e
mov byte [ebp - 0xae], 0xa8
mov byte [ebp - 0xad], 0x1c
mov byte [ebp - 0xac], 0x80
mov byte [ebp - 0xab], 0x16
mov byte [ebp - 0xaa], 0x48
mov byte [ebp - 0xa9], 0x5b
mov byte [ebp - 0xa8], 0x5f
mov byte [ebp - 0xa7], 0x2a
mov byte [ebp - 0xa6], 0xd3
mov byte [ebp - 0xa5], 0xbf
mov byte [ebp - 0xa4], 0x6a
mov byte [ebp - 0xa3], 0x72
mov byte [ebp - 0xa2], 0x19
mov byte [ebp - 0xa1], 0x24
mov byte [ebp - 0xa0], 0x83
mov byte [ebp - 0x9f], 0xa4
mov byte [ebp - 0x9e], 0x11
mov byte [ebp - 0x9d], 0x7e
mov byte [ebp - 0x9c], 0x6a
mov byte [ebp - 0x9b], 0xe6
mov byte [ebp - 0x9a], 0xdb
mov byte [ebp - 0x99], 0xfa
mov byte [ebp - 0x98], 0x2f
mov byte [ebp - 0x97], 0x84
mov byte [ebp - 0x96], 0xeb
mov byte [ebp - 0x95], 9
mov byte [ebp - 0x94], 0xe1
mov byte [ebp - 0x93], 0x6e
mov byte [ebp - 0x92], 0x4a
mov byte [ebp - 0x91], 0x2b
mov byte [ebp - 0x90], 0x7b
mov byte [ebp - 0x8f], 0x8b
mov byte [ebp - 0x8e], 0xe
mov byte [ebp - 0x8d], 0x8d
mov byte [ebp - 0x8c], 0xd3
mov byte [ebp - 0x8b], 0xec
mov byte [ebp - 0x8a], 0xf5
mov byte [ebp - 0x89], 0x55
mov byte [ebp - 0x88], 0x18
mov byte [ebp - 0x87], 1
mov byte [ebp - 0x86], 0xc
mov byte [ebp - 0x85], 9
mov byte [ebp - 0x84], 0xb
mov byte [ebp - 0x83], 0xb
mov byte [ebp - 0x82], 0x16
mov byte [ebp - 0x81], 0xc
mov byte [ebp - 0x80], 0x2f
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xc8]
or eax, 0xe8
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xc8]
and ecx, 0xe8
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xc8]
mov byte [ebp + ecx - 0x1c4], al
mov dword [ebp - 0x14], 2
and dword [ebp - 0x44], 0
jmp 0x100168ce
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x49
jae 0x1001699d
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xc8]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x14], eax
jne 0x10016915
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xc8]
inc eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xc8]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x14], eax
jmp 0x100168c6
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xc7]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x44]
movzx ecx, byte [ebp + ecx - 0xca]
movsx ecx, byte [ebp + ecx - 0x1c4]
add eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xc7]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x44]
movzx edx, byte [ebp + edx - 0xca]
movsx edx, byte [ebp + edx - 0x1c4]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xc7]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x44]
movzx edx, byte [ebp + edx - 0xca]
movsx edx, byte [ebp + edx - 0x1c4]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xc8]
mov byte [ebp + ecx - 0x1c4], al
and dword [ebp - 0x44], 0
jmp 0x100168c6
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x1c4], 0
lea eax, [ebp - 0x1c4]
push eax
lea ecx, [ebp - 0x28c]
call fcn.10018225
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x1dc], eax
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x1b0]
mov ecx, dword [ebp - 0x1dc]
call fcn.10014249
mov dword [0x1065d57c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28c]
call fcn.1000eb23
and dword [ebp - 0x60], 0
jmp 0x10016a05
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0xe
jae 0x10016a18
mov eax, dword [ebp - 0x60]
mov byte [ebp + eax - 0x1c4], 0
jmp 0x100169fe
mov byte [ebp - 0x170], 5
mov byte [ebp - 0x16f], 0xe4
mov byte [ebp - 0x16e], 8
mov byte [ebp - 0x16d], 0xa
mov byte [ebp - 0x16c], 2
mov byte [ebp - 0x16b], 0xa
mov byte [ebp - 0x16a], 0xb
mov byte [ebp - 0x169], 0x16
mov byte [ebp - 0x168], 0xc
mov byte [ebp - 0x167], 0
mov byte [ebp - 0x166], 0xa
mov byte [ebp - 0x165], 0x16
mov byte [ebp - 0x164], 0x47
mov byte [ebp - 0x163], 0x3f
mov byte [ebp - 0x162], 0xfe
mov byte [ebp - 0x161], 0x6c
mov byte [ebp - 0x160], 0x99
mov byte [ebp - 0x15f], 0x7e
mov byte [ebp - 0x15e], 0x66
mov byte [ebp - 0x15d], 0x1b
mov byte [ebp - 0x15c], 0xe9
mov byte [ebp - 0x15b], 0xd5
mov byte [ebp - 0x15a], 0x7d
mov byte [ebp - 0x159], 0x31
mov byte [ebp - 0x158], 0xf6
mov byte [ebp - 0x157], 0x1d
mov byte [ebp - 0x156], 0x32
mov byte [ebp - 0x155], 0x4d
mov byte [ebp - 0x154], 0xec
mov byte [ebp - 0x153], 0
mov byte [ebp - 0x152], 0xd5
mov byte [ebp - 0x151], 0x3c
mov byte [ebp - 0x150], 0xd7
mov byte [ebp - 0x14f], 0xbd
mov byte [ebp - 0x14e], 0x2d
mov byte [ebp - 0x14d], 0x63
mov byte [ebp - 0x14c], 0x36
mov byte [ebp - 0x14b], 0x17
mov byte [ebp - 0x14a], 0xfc
mov byte [ebp - 0x149], 0xa4
mov byte [ebp - 0x148], 0x12
mov byte [ebp - 0x147], 0x97
mov byte [ebp - 0x146], 0xf8
mov byte [ebp - 0x145], 0x1e
mov byte [ebp - 0x144], 0x9f
mov byte [ebp - 0x143], 0xb1
mov byte [ebp - 0x142], 0x44
mov byte [ebp - 0x141], 0x40
mov byte [ebp - 0x140], 0xc1
mov byte [ebp - 0x13f], 0xde
mov byte [ebp - 0x13e], 0x57
mov byte [ebp - 0x13d], 0xa9
mov byte [ebp - 0x13c], 0x54
mov byte [ebp - 0x13b], 0x40
mov byte [ebp - 0x13a], 0x79
mov byte [ebp - 0x139], 0x3f
mov byte [ebp - 0x138], 0x97
mov byte [ebp - 0x137], 0xe6
mov byte [ebp - 0x136], 0xb6
mov byte [ebp - 0x135], 0xf5
mov byte [ebp - 0x134], 0xc1
mov byte [ebp - 0x133], 0xbf
mov byte [ebp - 0x132], 0xde
mov byte [ebp - 0x131], 0xc4
mov byte [ebp - 0x130], 0xe7
mov byte [ebp - 0x12f], 0xd9
mov byte [ebp - 0x12e], 0x92
mov byte [ebp - 0x12d], 0x23
mov byte [ebp - 0x12c], 0xd8
mov byte [ebp - 0x12b], 0xf1
mov byte [ebp - 0x12a], 0xe9
mov byte [ebp - 0x129], 0xa1
mov byte [ebp - 0x128], 0x9a
mov byte [ebp - 0x127], 0xfe
mov byte [ebp - 0x126], 0x9e
mov byte [ebp - 0x125], 0xf9
mov byte [ebp - 0x124], 0x9c
mov byte [ebp - 0x123], 0x31
mov byte [ebp - 0x122], pe_nt_image_headers32
mov byte [ebp - 0x121], 0x14
mov byte [ebp - 0x120], 0x5e
mov byte [ebp - 0x11f], 0x14
mov byte [ebp - 0x11e], 0xbf
mov byte [ebp - 0x11d], 0x76
mov byte [ebp - 0x11c], 3
mov byte [ebp - 0x11b], 4
mov byte [ebp - 0x11a], 1
mov byte [ebp - 0x119], 0x13
mov byte [ebp - 0x118], 4
mov byte [ebp - 0x117], 6
mov byte [ebp - 0x116], 6
mov byte [ebp - 0x115], 0x24
mov byte [ebp - 0x114], 7
mov byte [ebp - 0x113], 0x22
mov byte [ebp - 0x112], 0xd
mov byte [ebp - 0x111], 0x25
mov byte [ebp - 0x110], 0
mov byte [ebp - 0x10f], 0x14
mov byte [ebp - 0x10e], 9
mov byte [ebp - 0x10d], 0x20
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x170]
or eax, 0x81
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x170]
and ecx, 0x81
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x170]
mov byte [ebp + ecx - 0x1d4], al
mov dword [ebp - 0x1e4], 0x1b5c
cmp dword [ebp - 0x1e4], 0x130c
jge 0x10016f90
lea eax, [ebp - 0x20]
push eax
push 0x1000813c
call fcn.10050b5b
pop ecx
pop ecx
push dword [ebp - 0x20]
lea ecx, [ebp - 0x188]
call fcn.1000ebc1
mov dword [ebp - 4], 1
and dword [ebp - 0x70], 0
jmp 0x10016d5e
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x20]
jge 0x10016d83
push dword [ebp - 0x70]
lea ecx, [ebp - 0x188]
call fcn.1000ec02
push eax
push 0x1000813c
call fcn.10050b5b
pop ecx
pop ecx
jmp 0x10016d57
cmp dword [ebp - 0x20], 1
jg 0x10016da4
push 0
lea ecx, [ebp - 0x188]
call fcn.1000ec02
push dword [eax]
push 0x10008358
call fcn.10050d76
pop ecx
pop ecx
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x188]
call fcn.1000ed28
push dword [eax]
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x188]
call fcn.10018350
push dword [eax]
call fcn.100197a9
pop ecx
pop ecx
or dword [ebp - 0x1ec], 0xffffffff
lea eax, [ebp - 0x1ec]
push eax
push dword [ebp - 0x20]
lea ecx, [ebp - 0x194]
call fcn.1001832e
mov byte [ebp - 4], 2
mov dword [ebp - 0x78], 1
jmp 0x10016e04
mov eax, dword [ebp - 0x78]
inc eax
inc eax
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x20]
jge 0x10016e38
lea ecx, [ebp - 0x188]
call fcn.1001835f
mov esi, eax
push dword [ebp - 0x78]
lea ecx, [ebp - 0x194]
call fcn.1000ec02
mov ecx, dword [esi]
mov dword [eax], ecx
lea ecx, [ebp - 0x188]
call fcn.10018366
jmp 0x10016dfc
and dword [ebp - 0x4c], 0
jmp 0x10016e45
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x20]
jge 0x10016e8c
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x194]
call fcn.1000ec02
cmp dword [eax], 0
jge 0x10016e8a
lea ecx, [ebp - 0x188]
call fcn.1001835f
mov esi, eax
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x194]
call fcn.1000ec02
mov ecx, dword [esi]
mov dword [eax], ecx
lea ecx, [ebp - 0x188]
call fcn.10018366
jmp 0x10016e3e
and dword [ebp - 0x178], 0
mov dword [ebp - 0x30], 1
jmp 0x10016ea3
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
inc eax
cmp eax, dword [ebp - 0x20]
jge 0x10016f22
mov eax, dword [ebp - 0x30]
dec eax
push eax
lea ecx, [ebp - 0x194]
call fcn.1000ec02
mov esi, eax
push dword [ebp - 0x30]
lea ecx, [ebp - 0x194]
call fcn.1000ec02
mov ecx, dword [esi]
cmp ecx, dword [eax]
jle 0x10016f04
push dword [ebp - 0x30]
lea ecx, [ebp - 0x194]
call fcn.1000ec02
mov esi, eax
mov eax, dword [ebp - 0x30]
inc eax
push eax
lea ecx, [ebp - 0x194]
call fcn.1000ec02
mov ecx, dword [esi]
cmp ecx, dword [eax]
jge 0x10016f04
mov dword [ebp - 0x198], 1
jmp 0x10016f0b
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x178]
add eax, dword [ebp - 0x198]
mov dword [ebp - 0x178], eax
jmp 0x10016e9c
push dword [ebp - 0x178]
push 0x100081d0
call fcn.10050d76
pop ecx
pop ecx
and dword [ebp - 0x6c], 0
jmp 0x10016f41
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x20]
jge 0x10016f67
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x194]
call fcn.1000ec02
push dword [eax]
push 0x10008328
call fcn.10050d76
pop ecx
pop ecx
jmp 0x10016f3a
push 0x100080a5
call fcn.10050eec
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x194]
call fcn.1000ebfd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x188]
call fcn.1000ebfd
mov dword [ebp - 0x10], 2
and dword [ebp - 0x48], 0
jmp 0x10016fa5
mov eax, dword [ebp - 0x10]
inc eax
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x64
jae 0x10017074
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x170]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x10], eax
jne 0x10016fec
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x170]
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x170]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x10], eax
jmp 0x10016f9d
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x16f]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x48]
movzx ecx, byte [ebp + ecx - 0x172]
movsx ecx, byte [ebp + ecx - 0x1d4]
add eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x16f]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x48]
movzx edx, byte [ebp + edx - 0x172]
movsx edx, byte [ebp + edx - 0x1d4]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x16f]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x48]
movzx edx, byte [ebp + edx - 0x172]
movsx edx, byte [ebp + edx - 0x1d4]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x170]
mov byte [ebp + ecx - 0x1d4], al
and dword [ebp - 0x48], 0
jmp 0x10016f9d
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x1d4], 0
lea eax, [ebp - 0x1d4]
push eax
lea ecx, [ebp - 0x2a4]
call fcn.10018225
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0x1b0]
mov ecx, dword [ebp - 0x1d8]
call fcn.10014249
mov dword [0x10af96c0], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a4]
call fcn.1000eb23
and dword [ebp - 0x7c], 0
jmp 0x100170df
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0xf
jae 0x100170f2
mov eax, dword [ebp - 0x7c]
mov byte [ebp + eax - 0x1d4], 0
jmp 0x100170d8
mov eax, dword [0x1065d57c]
cmp eax, dword [ebp - 0x64]
je 0x10017106
mov eax, dword [0x10af96c0]
cmp eax, dword [ebp - 0x64]
jne 0x1001711e
mov ecx, dword [ebp + 0xc]
call fcn.1000eb7f
push eax
push dword [ebp + 8]
call fcn.100158ec
pop ecx
pop ecx
jmp 0x10017898
mov eax, dword [ebp + 8]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
je 0x10017896
mov eax, dword [ebp - 0x74]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x10017896
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x74]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x50]
cmp dword [eax], 0x4550
jne 0x10017896
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x74], 0
jbe 0x10017896
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x50]
cmp dword [ecx + eax + 0x78], 0
je 0x10017896
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x38]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x24], edx
mov eax, 0xffff
mov word [ebp - 0x1c], ax
or dword [ebp - 0x3c], 0xffffffff
cmp dword [ebp + 0x10], 0
jbe 0x100171bf
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x100171ba
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x1c], ax
jmp 0x10017355
mov eax, dword [0x10af96bc]
and eax, 1
jne 0x100171f6
mov eax, dword [0x10af96bc]
or eax, 1
mov dword [0x10af96bc], eax
mov dword [ebp - 4], 4
mov ecx, 0x10af96e4
call fcn.1000ed5e
push 0x1006ba52
call fcn.10050d4c
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x1065d575]
test eax, eax
je 0x1001725c
mov ecx, 0x10af96e4
call fcn.100182a3
movzx eax, al
test eax, eax
jne 0x1001725c
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x1a0]
push eax
mov ecx, 0x10af96e4
call fcn.1000ed36
lea eax, [ebp - 0x200]
push eax
mov ecx, 0x10af96e4
call fcn.1000ed28
push eax
lea ecx, [ebp - 0x1a0]
call fcn.1000ed4b
movzx eax, al
test eax, eax
je 0x1001725c
lea ecx, [ebp - 0x1a0]
call fcn.100182ac
mov eax, dword [eax + 4]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x10017355
mov ecx, 0x10af96e4
call fcn.1000ec6d
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0x10af96e4
call fcn.100183a9
and dword [ebp - 0x40], 0
jmp 0x1001728e
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [eax + 0x18]
jae 0x10017355
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x38]
add ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0x40]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x1a8], eax
cmp dword [ebp - 0x1a8], 0
je 0x10017350
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [ebp - 0x38]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x274]
call fcn.10018225
mov dword [ebp - 4], 5
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x274]
call fcn.10014249
mov dword [ebp - 0x1ac], eax
movzx eax, byte [0x1065d575]
test eax, eax
je 0x1001730d
mov ecx, 0x10af96e4
call fcn.100182a3
movzx eax, al
test eax, eax
jne 0x1001732a
lea eax, [ebp - 0x1ac]
push eax
mov ecx, 0x10af96e4
call fcn.1001836b
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
mov byte [0x1065d575], 1
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x10017341
mov eax, dword [ebp - 0x1ac]
cmp eax, dword [ebp - 0x64]
jne 0x10017341
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x3c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x274]
call fcn.1000eb23
jmp 0x10017287
cmp dword [ebp + 0x10], 0
jne 0x10017375
cmp dword [ebp - 0x3c], 0xffffffff
je 0x10017375
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x38]
add ecx, dword [eax + 0x24]
mov eax, dword [ebp - 0x3c]
mov ax, word [ecx + eax*2]
mov word [ebp - 0x1c], ax
movzx eax, word [ebp - 0x1c]
cmp eax, 0xffff
je 0x10017896
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x38]
add ecx, dword [eax + 0x1c]
movzx eax, word [ebp - 0x1c]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x1e0]
mov ecx, dword [ebp - 0x38]
add ecx, dword [eax]
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x24]
jbe 0x10017891
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x24]
add edx, dword [ecx + eax + 0x7c]
cmp dword [ebp - 0x28], edx
jae 0x10017891
mov eax, dword [0x10af96bc]
and eax, 2
jne 0x100173ff
mov eax, dword [0x10af96bc]
or eax, 2
mov dword [0x10af96bc], eax
mov dword [ebp - 4], 6
push 0x771d
call fcn.1000de9b
pop ecx
mov byte [0x10af9704], al
or dword [ebp - 4], 0xffffffff
mov byte [ebp - 0x10c], 0
mov byte [ebp - 0x10b], 0x63
mov byte [ebp - 0x10a], 0x3d
mov byte [ebp - 0x109], 0xf3
mov byte [ebp - 0x108], 0x37
mov byte [ebp - 0x107], 0x61
mov byte [ebp - 0x106], 0x82
mov byte [ebp - 0x105], 0x88
mov byte [ebp - 0x104], 0xaf
mov byte [ebp - 0x103], 0xeb
mov byte [ebp - 0x102], 0x4f
mov byte [ebp - 0x101], 0x1a
mov byte [ebp - 0x100], 0xcc
mov byte [ebp - 0xff], 0x54
mov byte [ebp - 0xfe], 0x28
mov byte [ebp - 0xfd], 0xdb
mov byte [ebp - 0xfc], 0xa2
mov byte [ebp - 0xfb], 0x20
mov byte [ebp - 0xfa], 0xb
mov byte [ebp - 0xf9], 0xe8
mov byte [ebp - 0xf8], 0x3c
mov byte [ebp - 0xf7], 0xd0
mov byte [ebp - 0xf6], 0xb1
mov byte [ebp - 0xf5], 0x94
mov byte [ebp - 0xf4], 0xfc
mov byte [ebp - 0xf3], 0x6c
mov byte [ebp - 0xf2], 0xd9
mov byte [ebp - 0xf1], 0xfc
mov byte [ebp - 0xf0], 0x38
mov byte [ebp - 0xef], 0xa5
mov byte [ebp - 0xee], 0x10
mov byte [ebp - 0xed], 0x4b
mov byte [ebp - 0xec], 0x43
mov byte [ebp - 0xeb], 0x4f
mov byte [ebp - 0xea], 0xa6
mov byte [ebp - 0xe9], 0x5c
mov byte [ebp - 0xe8], 0x48
mov byte [ebp - 0xe7], 0xea
mov byte [ebp - 0xe6], 0x66
mov byte [ebp - 0xe5], 0xc3
mov byte [ebp - 0xe4], 0xe
mov byte [ebp - 0xe3], 0xda
mov byte [ebp - 0xe2], 0x35
mov byte [ebp - 0xe1], 0x5c
mov byte [ebp - 0xe0], 0x97
mov byte [ebp - 0xdf], 0x9c
mov byte [ebp - 0xde], 0xc3
mov byte [ebp - 0xdd], 0xd9
mov byte [ebp - 0xdc], 0x3b
mov byte [ebp - 0xdb], 0x95
mov byte [ebp - 0xda], 0x75
mov byte [ebp - 0xd9], 0x95
mov byte [ebp - 0xd8], 0x15
mov byte [ebp - 0xd7], 0xc2
mov byte [ebp - 0xd6], 0x1d
mov byte [ebp - 0xd5], 0xfe
mov byte [ebp - 0xd4], 0x7b
mov byte [ebp - 0xd3], 0xed
mov byte [ebp - 0xd2], 0x31
mov byte [ebp - 0xd1], 0x6e
mov byte [ebp - 0xd0], 0xdb
mov byte [ebp - 0xcf], 0xab
mov byte [ebp - 0xce], 0xa3
mov byte [ebp - 0xcd], 0x4a
mov byte [ebp - 0xcc], 2
mov byte [ebp - 0xcb], 8
mov byte [ebp - 0xca], 1
mov byte [ebp - 0xc9], 0
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x10c]
or eax, 7
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x10c]
and ecx, 7
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x10c]
mov byte [ebp + ecx - 0x34], al
mov dword [ebp - 0x18], 2
and dword [ebp - 0x58], 0
jmp 0x10017626
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x44
jae 0x100176c7
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x10c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x18], eax
jne 0x1001766d
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x10c]
inc eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x10c]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x18], eax
jmp 0x1001761e
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x10b]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x58]
movzx ecx, byte [ebp + ecx - 0x10e]
movsx ecx, byte [ebp + ecx - 0x34]
or eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x10b]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x58]
movzx edx, byte [ebp + edx - 0x10e]
movsx edx, byte [ebp + edx - 0x34]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x10c]
mov byte [ebp + ecx - 0x34], al
and dword [ebp - 0x58], 0
jmp 0x1001761e
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x34], 0
mov eax, dword [0x10af96bc]
and eax, 4
jne 0x1001770d
mov eax, dword [0x10af96bc]
or eax, 4
mov dword [0x10af96bc], eax
mov dword [ebp - 4], 7
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x10af9678
call fcn.10018225
push 0x1006ba43
call fcn.10050d4c
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [ebp - 0x5c], 0
jmp 0x1001771a
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 4
jae 0x1001772a
mov eax, dword [ebp - 0x5c]
mov byte [ebp + eax - 0x34], 0
jmp 0x10017713
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movsx eax, byte [eax]
movsx ecx, byte [0x10af9704]
cmp eax, ecx
je 0x1001774a
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
jmp 0x10017730
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
lea ecx, [ebp - 0x22c]
call fcn.100197cf
mov dword [ebp - 4], 8
push 0x10af9678
lea ecx, [ebp - 0x22c]
call fcn.10018254
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x22c]
call fcn.1000f6a1
push dword [eax]
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x22c]
call fcn.1000f68d
push dword [eax]
lea ecx, [ebp - 0x25c]
call fcn.100197f8
mov byte [ebp - 4], 9
lea eax, [ebp - 0x25c]
push eax
call fcn.10014e66
pop ecx
mov dword [ebp - 0x17c], eax
cmp dword [ebp - 0x17c], 0
je 0x10017840
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x244]
call fcn.10018225
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x1f0]
lea ecx, [ebp - 0x244]
call fcn.10014b9a
movzx eax, al
test eax, eax
je 0x10017813
push 0
push dword [ebp - 0x1f0]
push 0
push dword [ebp - 0x17c]
call fcn.1001654f
add esp, 0x10
mov dword [ebp - 0x28], eax
jmp 0x1001782f
push 1
push 0
lea eax, [ebp - 0x244]
push eax
push dword [ebp - 0x17c]
call fcn.1001654f
add esp, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x244]
call fcn.1000eb23
jmp 0x10017873
cmp dword [ebp + 0x10], 0
jne 0x10017856
mov ecx, dword [ebp + 0xc]
call fcn.1000eb7f
mov dword [ebp - 0x1b4], eax
jmp 0x10017860
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0x1b4], eax
push dword [ebp - 0x1b4]
push dword [ebp + 8]
call fcn.100158ec
pop ecx
pop ecx
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x25c]
call fcn.1000e9fb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.1000eb23
mov eax, dword [ebp - 0x28]
jmp 0x10017898
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret