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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10068000
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x2dc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
and dword [ebp - 0x1c], 0
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x100196df
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1ec], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x1a0]
movzx eax, byte [eax]
test eax, eax
je 0x1001967c
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x15c]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x100183a8
jmp 0x10019711
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x28]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0x4550
je 0x100183c7
jmp 0x10019711
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
lea eax, [ecx + eax + 0x78]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
cmp dword [eax + 4], 0
jne 0x100183e5
jmp 0x10019711
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x44]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x44]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x48], eax
and dword [ebp - 0x140], 0
jmp 0x10018419
mov eax, dword [ebp - 0x140]
inc eax
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x48]
add eax, 0x28
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x140], eax
jge 0x10018480
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x154]
jb 0x1001847e
mov eax, dword [ebp - 0x44]
push dword [eax + 0x38]
mov eax, dword [ebp - 0x48]
push dword [eax + 8]
call fcn.100175b1
pop ecx
pop ecx
add eax, dword [ebp - 0x154]
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x1b4]
jae 0x1001847e
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x48]
mov eax, dword [eax + 0x14]
sub eax, dword [ecx + 0xc]
mov dword [ebp - 0x24], eax
jmp 0x10018480
jmp 0x10018403
cmp dword [ebp - 0x24], 0
jne 0x1001848b
jmp 0x10019711
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax]
add ecx, dword [ebp - 0x28]
mov dword [ebp - 0x18], ecx
xor ecx, ecx
call fcn.1000d95d
push eax
call fcn.100528e6
pop ecx
mov byte [ebp - 0xd8], 0
mov byte [ebp - 0xd7], 0x36
mov byte [ebp - 0xd6], 0x34
mov byte [ebp - 0xd5], 0x2c
mov byte [ebp - 0xd4], 0x29
mov byte [ebp - 0xd3], 0x7d
mov byte [ebp - 0xd2], 0x2a
mov byte [ebp - 0xd1], 0x3b
mov byte [ebp - 0xd0], 0xb5
mov byte [ebp - 0xcf], 0xab
mov byte [ebp - 0xce], 0x89
mov byte [ebp - 0xcd], 0xa1
mov byte [ebp - 0xcc], 0xb0
mov byte [ebp - 0xcb], 0x7a
mov byte [ebp - 0xca], 0xf6
mov byte [ebp - 0xc9], 0xee
mov byte [ebp - 0xc8], 0x95
mov byte [ebp - 0xc7], 0xb7
mov byte [ebp - 0xc6], 0x9a
mov byte [ebp - 0xc5], 0xbf
mov byte [ebp - 0xc4], 0x17
mov byte [ebp - 0xc3], 0x71
mov byte [ebp - 0xc2], 0x75
mov byte [ebp - 0xc1], 0xc0
mov byte [ebp - 0xc0], 0xd6
mov byte [ebp - 0xbf], 0x7c
mov byte [ebp - 0xbe], 0xae
mov byte [ebp - 0xbd], 0x5a
mov byte [ebp - 0xbc], 0xc8
mov byte [ebp - 0xbb], 0x49
mov byte [ebp - 0xba], 0x55
mov byte [ebp - 0xb9], 0xf8
mov byte [ebp - 0xb8], 0x92
mov byte [ebp - 0xb7], 0x4e
mov byte [ebp - 0xb6], 0x74
mov byte [ebp - 0xb5], 0xe1
mov byte [ebp - 0xb4], 0xf4
mov byte [ebp - 0xb3], 0x76
mov byte [ebp - 0xb2], 0xa5
mov byte [ebp - 0xb1], 0x91
mov byte [ebp - 0xb0], 0xe8
mov byte [ebp - 0xaf], 0xbd
mov byte [ebp - 0xae], 0x77
mov byte [ebp - 0xad], 0xb
mov byte [ebp - 0xac], 0xe
mov byte [ebp - 0xab], 0x7e
mov byte [ebp - 0xaa], 0xdc
mov byte [ebp - 0xa9], 0xa1
mov byte [ebp - 0xa8], 0x25
mov byte [ebp - 0xa7], 0x1e
mov byte [ebp - 0xa6], 4
mov byte [ebp - 0xa5], 0x8a
mov byte [ebp - 0xa4], 0x13
mov byte [ebp - 0xa3], 0x83
mov byte [ebp - 0xa2], 0xa9
mov byte [ebp - 0xa1], 7
mov byte [ebp - 0xa0], 7
mov byte [ebp - 0x9f], 2
mov byte [ebp - 0x9e], 1
mov byte [ebp - 0x9d], 5
mov byte [ebp - 0x9c], 6
mov byte [ebp - 0x9b], 8
mov byte [ebp - 0x9a], 1
mov byte [ebp - 0x99], 1
mov byte [ebp - 0x98], 5
mov byte [ebp - 0x97], 3
mov byte [ebp - 0x96], 2
mov byte [ebp - 0x95], 4
mov byte [ebp - 0x94], 0xf
mov byte [ebp - 0x93], 6
mov byte [ebp - 0x92], 9
mov byte [ebp - 0x91], 9
mov byte [ebp - 0x90], 1
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xd8]
or eax, 7
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xd8]
and ecx, 7
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xd8]
mov byte [ebp + ecx - 0x180], al
mov dword [ebp - 0x30], 2
and dword [ebp - 0x88], 0
jmp 0x100186f7
mov eax, dword [ebp - 0x30]
inc eax
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x49
jae 0x100188ad
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xd8]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x30], eax
jne 0x10018841
mov eax, dword [ebp - 0x30]
movzx eax, byte [ebp + eax - 0xd8]
inc eax
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [ebp + eax - 0xd8]
mov ecx, dword [ebp - 0x30]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x150], 0x5805
mov dword [ebp - 0x1c4], 0x10008788
cmp dword [ebp - 0x150], 0x5a6e
jle 0x100187fa
and dword [ebp - 0x8c], 0
jmp 0x1001877d
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0x3852
jge 0x100187fa
and dword [ebp - 0x80], 0
jmp 0x10018796
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0xb7
jge 0x100187f5
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x80]
sar eax, cl
cdq
mov dword [ebp - 0x1ac], eax
mov dword [ebp - 0x1a8], edx
push dword [ebp - 0x1a8]
push dword [ebp - 0x1ac]
lea ecx, [ebp - 0x2a4]
call fcn.1000d8ea
pop ecx
pop ecx
mov dword [ebp - 0x1bc], eax
mov ecx, dword [ebp - 0x1bc]
call fcn.1001b15a
push eax
call fcn.10052776
pop ecx
lea ecx, [ebp - 0x2a4]
call fcn.1001b150
jmp 0x1001878f
jmp 0x10018770
jmp 0x100186ef
mov eax, dword [ebp - 0x30]
movzx eax, byte [ebp + eax - 0xd7]
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0x88]
movzx ecx, byte [ebp + ecx - 0xda]
movsx ecx, byte [ebp + ecx - 0x180]
or eax, ecx
mov ecx, dword [ebp - 0x30]
movzx ecx, byte [ebp + ecx - 0xd7]
mov edx, dword [ebp - 0x30]
sub edx, dword [ebp - 0x88]
movzx edx, byte [ebp + edx - 0xda]
movsx edx, byte [ebp + edx - 0x180]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x30]
movzx ecx, byte [ebp + ecx - 0xd8]
mov byte [ebp + ecx - 0x180], al
and dword [ebp - 0x88], 0
jmp 0x100186ef
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x180], 0
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp - 0x2bc]
call fcn.1001b28f
mov dword [ebp - 0x1fc], eax
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 4], 2
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x1d0]
call fcn.1000d922
pop ecx
mov dword [ebp - 0x1a4], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2bc]
call fcn.1001b317
and dword [ebp - 0x84], 0
jmp 0x10018921
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0xb
jae 0x1001893a
mov eax, dword [ebp - 0x84]
mov byte [ebp + eax - 0x180], 0
jmp 0x10018914
mov byte [ebp - 0x13c], 0
mov byte [ebp - 0x13b], 0x94
mov byte [ebp - 0x13a], 0x4e
mov byte [ebp - 0x139], 0x93
mov byte [ebp - 0x138], 0x20
mov byte [ebp - 0x137], 0x83
mov byte [ebp - 0x136], 0xdd
mov byte [ebp - 0x135], 0xab
mov byte [ebp - 0x134], 0xc1
mov byte [ebp - 0x133], 8
mov byte [ebp - 0x132], 0x3e
mov byte [ebp - 0x131], 0x5d
mov byte [ebp - 0x130], 0x65
mov byte [ebp - 0x12f], 0x55
mov byte [ebp - 0x12e], 0xfe
mov byte [ebp - 0x12d], 0x18
mov byte [ebp - 0x12c], 0xbf
mov byte [ebp - 0x12b], 0x8b
mov byte [ebp - 0x12a], 0xd9
mov byte [ebp - 0x129], 0x33
mov byte [ebp - 0x128], 7
mov byte [ebp - 0x127], 0x91
mov byte [ebp - 0x126], 0x2a
mov byte [ebp - 0x125], 0x98
mov byte [ebp - 0x124], 0x42
mov byte [ebp - 0x123], 0x4a
mov byte [ebp - 0x122], 0x36
mov byte [ebp - 0x121], 3
mov byte [ebp - 0x120], 0xe1
mov byte [ebp - 0x11f], 0xcb
mov byte [ebp - 0x11e], 0x3d
mov byte [ebp - 0x11d], 0x5b
mov byte [ebp - 0x11c], 0x6c
mov byte [ebp - 0x11b], 0x6c
mov byte [ebp - 0x11a], 0xb4
mov byte [ebp - 0x119], 0x15
mov byte [ebp - 0x118], 0xc5
mov byte [ebp - 0x117], 2
mov byte [ebp - 0x116], 0xd7
mov byte [ebp - 0x115], 0x13
mov byte [ebp - 0x114], 0xd0
mov byte [ebp - 0x113], 0xe
mov byte [ebp - 0x112], 0x6a
mov byte [ebp - 0x111], 0x6b
mov byte [ebp - 0x110], 0x6b
mov byte [ebp - 0x10f], 0xd3
mov byte [ebp - 0x10e], 0xd3
mov byte [ebp - 0x10d], 0xa3
mov byte [ebp - 0x10c], 0x13
mov byte [ebp - 0x10b], 0x78
mov byte [ebp - 0x10a], 0x7b
mov byte [ebp - 0x109], 0xad
mov byte [ebp - 0x108], 0x30
mov byte [ebp - 0x107], 0x3b
mov byte [ebp - 0x106], 0x82
mov byte [ebp - 0x105], 0xcb
mov byte [ebp - 0x104], 0xc8
mov byte [ebp - 0x103], 0x63
mov byte [ebp - 0x102], 0xc5
mov byte [ebp - 0x101], 0x1d
mov byte [ebp - 0x100], 0x29
mov byte [ebp - 0xff], 0x5e
mov byte [ebp - 0xfe], 0x46
mov byte [ebp - 0xfd], 0x6d
mov byte [ebp - 0xfc], 0xb6
mov byte [ebp - 0xfb], 0x4f
mov byte [ebp - 0xfa], 0x62
mov byte [ebp - 0xf9], 0xa5
mov byte [ebp - 0xf8], 0x83
mov byte [ebp - 0xf7], 0x6b
mov byte [ebp - 0xf6], 0xf6
mov byte [ebp - 0xf5], 0x5c
mov byte [ebp - 0xf4], 0xd5
mov byte [ebp - 0xf3], 0x6d
mov byte [ebp - 0xf2], 0xe9
mov byte [ebp - 0xf1], 0x73
mov byte [ebp - 0xf0], 0xb2
mov byte [ebp - 0xef], 9
mov byte [ebp - 0xee], 0x14
mov byte [ebp - 0xed], 0x42
mov byte [ebp - 0xec], 0xad
mov byte [ebp - 0xeb], 9
mov byte [ebp - 0xea], 1
mov byte [ebp - 0xe9], 6
mov byte [ebp - 0xe8], 9
mov byte [ebp - 0xe7], 2
mov byte [ebp - 0xe6], 0xe
mov byte [ebp - 0xe5], 1
mov byte [ebp - 0xe4], 1
mov byte [ebp - 0xe3], 7
mov byte [ebp - 0xe2], 0
mov byte [ebp - 0xe1], 4
mov byte [ebp - 0xe0], 2
mov byte [ebp - 0xdf], 3
mov byte [ebp - 0xde], 6
mov byte [ebp - 0xdd], 8
mov byte [ebp - 0xdc], 2
mov byte [ebp - 0xdb], 5
mov byte [ebp - 0xda], 1
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x13c]
or eax, 0xa5
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x13c]
and ecx, 0xa5
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x13c]
mov byte [ebp + ecx - 0x18c], al
mov dword [ebp - 0x2c], 2
and dword [ebp - 0x78], 0
jmp 0x10018c42
mov eax, dword [ebp - 0x2c]
inc eax
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x63
jae 0x10018d16
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x13c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x2c], eax
jne 0x10018c89
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x13c]
inc eax
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x13c]
mov ecx, dword [ebp - 0x2c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x2c], eax
jmp 0x10018c3a
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x13b]
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x78]
movzx ecx, byte [ebp + ecx - 0x13e]
movsx ecx, byte [ebp + ecx - 0x18c]
or eax, ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0x13b]
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x78]
movzx edx, byte [ebp + edx - 0x13e]
movsx edx, byte [ebp + edx - 0x18c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0x13c]
mov byte [ebp + ecx - 0x18c], al
push 0x5205
push 0x123
push 0x639e
push 0x6d50
push 0
push 1
lea eax, [ebp - 0x78]
push eax
push 0x60f2
push 0x78cc
call fcn.10017a07
add esp, 0x24
jmp 0x10018c3a
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x18c], 0
lea eax, [ebp - 0x18c]
push eax
lea ecx, [ebp - 0x2ec]
call fcn.1001b28f
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x19c], eax
mov dword [ebp - 4], 3
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x19c]
call fcn.1000d922
pop ecx
mov dword [ebp - 0x1f0], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2ec]
call fcn.1001b317
and dword [ebp - 0x6c], 0
jmp 0x10018d81
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x10018d94
mov eax, dword [ebp - 0x6c]
mov byte [ebp + eax - 0x18c], 0
jmp 0x10018d7a
push dword [ebp - 0x1f0]
push dword [ebp - 0x1a4]
call fcn.1001554f
pop ecx
pop ecx
mov dword [ebp - 0x164], eax
push 0x46d9
push 0x50e7
push 0x5adc
push 0x1b2d
push 0x7e31
push 0x532f
push 0x5289
lea eax, [ebp - 0x164]
push eax
push 0x167c
lea eax, [ebp - 0x44]
push eax
push 0x7c50
push 0x7784
push 0x43d9
push 1
push 1
push 0
call fcn.10017dbf
add esp, 0x40
push 1
push 0x51ba
push 0x2379
push 0x35c
lea eax, [ebp - 0x164]
push eax
push 0
push 0x26f0
lea eax, [ebp - 0x18]
push eax
push 0x4c10
push 0x5da
call fcn.1001770f
add esp, 0x28
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x18], 0
jbe 0x10018e87
push 0x6599
push 0xfb5
push 0x5a3f
push 0x7f7d
push 1
push 0
push 0x2496
push 0x37ca
push 0xd2e
push 0x19fc
lea eax, [ebp - 0x60]
push eax
push 0x140c
lea eax, [ebp - 0x18]
push eax
push 0
push 0x4427
call fcn.10017fd3
add esp, 0x3c
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0x60]
mov dword [ebp - 0x4c], eax
and dword [ebp - 0x68], 0
jmp 0x10018ea9
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x4c]
jge 0x10018f6c
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax + 0x14]
sub eax, dword [ecx + 0x18]
cmp dword [ebp - 0x68], eax
jae 0x10018ee0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x68]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x170], eax
jmp 0x10018f06
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x170]
push eax
push 0x55ae
push 0x4367
push 1
push 0x69b2
push 0
call fcn.10018317
add esp, 0x1c
lea eax, [ebp - 0x28]
push eax
push 0x1ab6
push 0x84
lea eax, [ebp - 0x170]
push eax
push 0
push 1
lea eax, [ebp - 0x24]
push eax
push 0x1edf
push 0x4c3c
push 0x26ae
push 0x6290
lea eax, [ebp - 0x14]
push eax
push 0x7b32
push 1
push 0x7f37
call fcn.10017fd3
add esp, 0x3c
push 0x290e
push 0
lea eax, [ebp - 0x14]
push eax
push 0x7a25
call fcn.100177eb
add esp, 0x10
jmp 0x10018ea2
push 1
lea eax, [ebp - 0x18]
push eax
push 0x6b55
push 0x5c27
push 0x785d
push 1
lea eax, [ebp - 0x60]
push eax
push 0x22e3
push 0x2c62
push 0x3e71
call fcn.1001770f
add esp, 0x28
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x18]
sub eax, dword [ebp - 0x60]
mov dword [ebp - 0x4c], eax
and dword [ebp - 0x14c], 0
jmp 0x10018fc0
mov eax, dword [ebp - 0x14c]
inc eax
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14c]
cmp eax, dword [ebp - 0x4c]
jge 0x10018fe3
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
and dword [ecx + eax], 0
mov eax, dword [ebp - 0x14]
add eax, 4
mov dword [ebp - 0x14], eax
jmp 0x10018fb3
mov eax, dword [ebp - 0x4c]
shl eax, 2
mov ecx, dword [ebp - 0x14]
sub ecx, eax
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x20], ecx
lea eax, [ebp - 0x60]
push eax
push 1
push 0x775c
lea eax, [ebp - 0x18]
push eax
call fcn.100177eb
add esp, 0x10
and dword [ebp - 0x7c], 0
jmp 0x10019018
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x4c]
jge 0x10019074
lea eax, [ebp - 0x24]
push eax
push 0x11c2
push 0x3251
lea eax, [ebp - 0x7c]
push eax
push 0x3234
push 0x5b71
lea eax, [ebp - 0x14]
push eax
push 0x6bc5
push 0x7a77
push 0x640d
push 0x4387
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
push 0
push 0
push 1
call fcn.10017dbf
add esp, 0x40
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
jmp 0x10019011
push 0x42ac
lea eax, [ebp - 0x4c]
push eax
push 0x3bc6
push 0x12a1
push 1
push 1
push 0x3b93
push 0x47ce
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x21aa
push 0x7d9
push 0x4604
push 0
push 0x58f2
call fcn.10017fd3
add esp, 0x3c
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x22c]
call fcn.1001b28f
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x22c]
call fcn.1001b332
mov dword [ebp - 0x158], eax
push dword [ebp - 0x158]
mov eax, dword [ebp - 0x158]
shr eax, 1
push eax
call fcn.1001554f
pop ecx
pop ecx
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x40], 2
mov byte [ebp - 0x3f], 0x10
mov byte [ebp - 0x3e], 0
mov byte [ebp - 0x3d], 0x42
mov byte [ebp - 0x3c], 1
mov byte [ebp - 0x3b], 0x4a
mov byte [ebp - 0x3a], 2
mov byte [ebp - 0x39], 0xdb
mov byte [ebp - 0x38], 0x78
mov byte [ebp - 0x37], 3
mov byte [ebp - 0x36], 8
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x40]
or eax, 0x7c
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x40]
and ecx, 0x7c
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x40]
mov byte [ebp + ecx - 0x54], al
mov dword [ebp - 0x20], 2
and dword [ebp - 0x58], 0
jmp 0x10019172
mov eax, dword [ebp - 0x20]
inc eax
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xb
jae 0x10019217
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x40]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x20], eax
jne 0x100191b0
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x40]
inc eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x40]
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x20], eax
jmp 0x1001916a
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x3f]
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x58]
movzx ecx, byte [ebp + ecx - 0x42]
movsx ecx, byte [ebp + ecx - 0x54]
add eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x3f]
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x58]
movzx edx, byte [ebp + edx - 0x42]
movsx edx, byte [ebp + edx - 0x54]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x3f]
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x58]
movzx edx, byte [ebp + edx - 0x42]
movsx edx, byte [ebp + edx - 0x54]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x40]
mov byte [ebp + ecx - 0x54], al
and dword [ebp - 0x58], 0
jmp 0x1001916a
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0x54], 0
cmp dword [ebp - 0x64], 4
jle 0x100192d9
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x28c]
call fcn.1001b28f
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x1d4], eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1c]
or eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x64]
sub eax, 4
push eax
lea eax, [ebp - 0x274]
push eax
call fcn.10015c9b
pop ecx
pop ecx
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x1c]
or eax, 2
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1d4]
mov edx, dword [ebp - 0x1b8]
lea ecx, [ebp - 0x25c]
call fcn.1001d8c9
pop ecx
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0x1c]
or eax, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x16c], eax
jmp 0x10019305
push dword [ebp - 0x64]
lea eax, [ebp - 0x2d4]
push eax
call fcn.10015c9b
pop ecx
pop ecx
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x1c]
or eax, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x1c8], eax
push dword [ebp - 0x1c8]
lea ecx, [ebp - 0x244]
call fcn.1001b2be
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x1c]
and eax, 8
je 0x10019340
and dword [ebp - 0x1c], 0xfffffff7
lea ecx, [ebp - 0x2d4]
call fcn.1001b317
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x1c]
and eax, 4
je 0x1001935b
and dword [ebp - 0x1c], 0xfffffffb
lea ecx, [ebp - 0x25c]
call fcn.1001b317
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x1c]
and eax, 2
je 0x10019376
and dword [ebp - 0x1c], 0xfffffffd
lea ecx, [ebp - 0x274]
call fcn.1001b317
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x1c]
and eax, 1
je 0x10019391
and dword [ebp - 0x1c], 0xfffffffe
lea ecx, [ebp - 0x28c]
call fcn.1001b317
and dword [ebp - 0x70], 0
jmp 0x1001939e
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 5
jae 0x100193ae
mov eax, dword [ebp - 0x70]
mov byte [ebp + eax - 0x54], 0
jmp 0x10019397
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0xc], ecx
push 0
push dword [ebp - 0x64]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x244]
call fcn.1001b336
push 0x4c4
push 0x2712
push 1
push 0x3779
push 0x2aa
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x64]
push eax
push 0x7df1
push 1
push 0x3cde
call fcn.100178b9
add esp, 0x28
push 0x64be
push 0x494a
lea eax, [ebp - 0x28]
push eax
push 0x1968
push 1
push 1
push 0x57d4
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10017a07
add esp, 0x24
push 0x5b28
lea eax, [ebp - 0x14]
push eax
push 0xc78
push 0xfff
push 0x7bd2
push 0x240c
push 0x40b8
push 0x7130
push 0x6b36
push 0x2624
push 0x56b8
push 0x20a3
push 0x5439
push 1
push 0
push 1
call fcn.10017dbf
add esp, 0x40
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x18], 0
jbe 0x100194de
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x18]
xor edx, edx
div dword [ecx + 0x18]
cmp eax, 0xc
jbe 0x100194b2
mov dword [ebp - 0x160], 0xc
jmp 0x100194d0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x18]
xor edx, edx
div dword [ecx + 0x18]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x174], eax
jmp 0x100194e5
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x168], eax
and dword [ebp - 0x74], 0
jmp 0x100194fe
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x74]
cmp ecx, dword [eax + 0x18]
jae 0x10019619
push dword [ebp - 0x168]
mov eax, dword [ebp - 0x168]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.1001554f
pop ecx
pop ecx
mov dword [ebp - 0x148], eax
push dword [ebp - 0x148]
lea eax, [ebp - 0x214]
push eax
call fcn.10015c9b
pop ecx
pop ecx
mov byte [ebp - 4], 0xc
push 0x740d
push 0x94d
lea eax, [ebp - 0x28]
push eax
push 0x5846
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x74]
push eax
push 0x6b56
push 0x1359
lea eax, [ebp - 0x24]
push eax
push 0x2dc4
lea eax, [ebp - 0x18]
push eax
push 0x5d0
push 0x5327
push 1
push 1
push 1
call fcn.10017dbf
add esp, 0x40
push 0
push dword [ebp - 0x148]
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x214]
call fcn.1001b336
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x148]
mov dword [ebp - 0x14], eax
push 0x6562
push 0xd92
lea eax, [ebp - 0x28]
push eax
push 0x509e
push 1
push 1
push 0x4676
lea eax, [ebp - 0x14]
push eax
push 0xbad
push 0x5a29
push 0x5e4c
push 0x1b54
push 0x6131
push 1
lea eax, [ebp - 0x24]
push eax
call fcn.10017fd3
add esp, 0x3c
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x214]
call fcn.1001b317
jmp 0x100194f7
and dword [ebp - 0x5c], 0
jmp 0x10019626
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
sub eax, ecx
cmp dword [ebp - 0x5c], eax
jae 0x1001964d
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x28]
mov byte [ecx + eax], 0
jmp 0x1001961f
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
sub eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 4], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x244]
call fcn.1001b317
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.1001b317
jmp 0x100196dd
mov eax, dword [ebp - 0x1ec]
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x144]
mov ecx, dword [ecx]
mov eax, dword [eax + 0x14]
add eax, dword [ecx + 0x10]
push eax
mov eax, dword [ebp - 0x144]
mov eax, dword [eax]
push dword [eax + 0x14]
call fcn.1001554f
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1f8]
mov dword [ecx], eax
jmp 0x10019711
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x198], eax
push 1
push dword [ebp - 0x194]
push 0x6fa3
push dword [ebp - 0x198]
push 0x1b10
call fcn.100175e0
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret