Function at 0x1008e470
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x184
mov eax, dword [0x10188068]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x8c], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp + 0x50]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp + 0x58]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp + 0x5c]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp + 0x60]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp + 0x64]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp + 0x68]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp + 0x6c]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp + 0x70]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp + 0x74]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp + 0x7c]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp + 0x94]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp + 0x98]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp + 0x9c]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp + 0xa0]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp + 0xa4]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp + 0xa8]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp + 0xac]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp + 0xb0]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp + 0xb4]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0xb8]
mov edi, dword [ebp + 0x28]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp + 0xbc]
push 0x280
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x130], eax
call fcn.100fcb64
push 0x320
mov dword [ebp - 0xb0], eax
call fcn.100fcb64
push 0x40
mov dword [ebp - 0xb8], eax
call fcn.100fcb64
mov ebx, eax
push 0x50
mov dword [ebp - 0xd0], ebx
call fcn.100fcb64
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0xbc], 0
mov ecx, dword [ebp - 0xcc]
shl ecx, 3
push ecx
push 0xffffffffffffffff
push dword [ebp - 0xfc]
mov dword [eax], 0
call fcn.1002ae80
mov ecx, dword [ebp - 0x10c]
lea eax, [esi + esi*2]
movsx edx, word [ecx + eax*2]
lea eax, [ecx + eax*2]
movsx esi, word [eax + 2]
xorps xmm0, xmm0
movups xmmword [ebx], xmm0
mov dword [ebp - 0xf8], eax
add esp, 0x1c
mov eax, dword [ebp - 0xd4]
movups xmmword [ebx + 0x10], xmm0
mov dword [ebp - 0x150], edx
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x110], esi
mov dword [ebp - 0xa4], 0
movups xmmword [ebx + 0x20], xmm0
movups xmmword [ebx + 0x30], xmm0
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
movups xmmword [eax + 0x20], xmm0
movups xmmword [eax + 0x30], xmm0
movups xmmword [eax + 0x40], xmm0
test edx, edx
jle 0x1008e6ba
mov edi, dword [ebp - 0xa0]
xor eax, eax
mov ecx, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x10c]
xor ebx, ebx
mov dword [ebp - 0x98], ebx
cmp dword [ebp - 0xcc], ebx
jle 0x1008f196
nop
lea eax, [ebx + ebx*2]
movsx edx, word [ecx + eax*2 + 2]
lea ecx, [ecx + eax*2]
mov eax, edx
mov dword [ebp - 0xe4], ecx
sub eax, esi
movsx esi, word [ecx]
imul eax, eax
mov ecx, esi
sub ecx, dword [ebp - 0x150]
imul ecx, ecx
imul eax, eax, 0xa5
sar eax, 8
add eax, ecx
cmp eax, 0xcea4
jge 0x1008f174
mov ecx, dword [ebp - 0x134]
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x100]
push eax
push edx
push esi
call fcn.100993c0
xor ecx, ecx
mov edi, dword [ebp - 0x100]
mov esi, dword [ebp - 0x108]
or eax, 0xffffffff
mov dword [ebp - 0xc4], ecx
xorps xmm0, xmm0
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe4]
sar edi, 4
movsx edx, word [ecx + 2]
movsx ecx, word [ecx]
movsx eax, word [eax + 2]
sub edx, eax
sar esi, 4
mov eax, dword [ebp - 0xe4]
imul edx, edx
mov dword [ebp - 0xec], 0xfffffc00
movups xmmword [ebp - 0x20], xmm0
movsx eax, word [eax]
sub ecx, eax
movq qword [ebp - 0x10], xmm0
imul ecx, ecx
add ecx, edx
push ecx
call fcn.10098400
add esp, 4
mov dword [ebp - 0x11c], eax
xor eax, eax
cmp edi, 0xffffffff
cmove edi, eax
cmp esi, 0xffffffff
cmove esi, eax
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 0x18]
cmp edi, ecx
jne 0x1008e7b9
lea edi, [ecx - 1]
mov eax, dword [eax + 0x1c]
cmp esi, eax
jne 0x1008e7c3
lea esi, [eax - 1]
test edi, edi
js 0x1008ed9b
cmp edi, ecx
jae 0x1008ed9b
test esi, esi
js 0x1008ed9b
cmp esi, eax
jae 0x1008ed9b
imul ecx, esi
add ecx, edi
mov edi, dword [ebp - 0x80]
mov eax, dword [edi + 0x4c]
movzx esi, word [eax + ecx*2]
movzx eax, word [eax + ecx*2 + 2]
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0xf4], eax
cmp esi, eax
jae 0x1008ed9e
nop dword [eax + eax]
mov eax, dword [edi + 0x50]
movzx esi, byte [eax + esi]
mov eax, dword [ebp - 0xa0]
cmp word [eax + esi*2], 0
jne 0x1008ed80
mov ecx, dword [ebp - 0x114]
lea eax, [esi + esi*2]
movsx ebx, word [ecx + eax*2]
lea ecx, [ecx + eax*2]
movsx eax, word [ecx + 2]
sub eax, dword [ebp - 0x108]
sub ebx, dword [ebp - 0x100]
mov edx, dword [ebp - 0x98]
mov edi, dword [ebp - 0x164]
imul eax, eax
imul ebx, ebx
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0xe0], 0x2d
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x9c], 0
add ebx, eax
mov eax, dword [ebp - 0xcc]
imul eax, esi
mov dword [ebp - 0xa8], ebx
add eax, edx
lea eax, [eax + eax*2]
lea edi, [edi + eax*4]
cmp ebx, 0x144
jg 0x1008eb7c
cmp byte [edi], 0
jge 0x1008e8d0
mov ecx, dword [ebp - 0x80]
lea eax, [esi + esi*2]
shl eax, 4
push 4
push edi
add eax, dword [ecx + 0x68]
mov ecx, dword [ebp - 0x8c]
push eax
lea eax, [edx + edx*2]
shl eax, 4
add eax, dword [ecx + 0x68]
push eax
call fcn.10089eb0
add esp, 0x10
mov al, byte [edi + 6]
mov dl, byte [edi]
mov dh, byte [edi + 1]
mov byte [ebp - 0x86], al
mov al, byte [edi + 3]
mov byte [ebp - 0x85], al
mov al, byte [edi + 9]
mov byte [ebp - 0x88], al
mov al, byte [edi + 2]
mov byte [ebp - 0x8d], al
mov al, byte [edi + 8]
mov byte [ebp - 0x87], al
mov al, byte [edi + 7]
mov byte [ebp - 0xaa], al
movsx eax, al
movsx ecx, dl
add ecx, eax
mov byte [ebp - 0xa9], dh
movsx eax, dh
add ecx, eax
movsx eax, byte [ebp - 0x87]
add ecx, eax
movsx eax, byte [ebp - 0x8d]
add ecx, eax
movsx eax, byte [ebp - 0x88]
add ecx, eax
movsx eax, byte [ebp - 0x85]
add ecx, eax
movsx eax, byte [ebp - 0x86]
add ecx, eax
lea eax, [ecx + ecx*8]
mov ecx, 0x20
lea eax, [eax*8 + 0x7f]
sar eax, 8
sub eax, 0x13
cmp eax, 0x20
cmovg eax, ecx
test dl, dl
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0xe0], eax
jg 0x1008e9b0
mov eax, dword [ebp - 0x8c]
lea ecx, [edx + edx*4]
mov eax, dword [eax + 0x60]
movzx ecx, byte [eax + ecx*4]
cmp ecx, 0xff
jae 0x1008e9b0
mov edx, dword [ebp + 0x40]
mov eax, dword [ebp - 0x94]
cmp word [edx + ecx*2], 0xfff0
mov ecx, 1
mov edx, dword [ebp - 0x98]
cmovge eax, ecx
mov dword [ebp - 0x94], eax
cmp byte [ebp - 0xa9], 0
jg 0x1008e9e1
mov eax, dword [ebp - 0x8c]
lea ecx, [edx + edx*4]
mov eax, dword [eax + 0x60]
movzx eax, byte [eax + ecx*4 + 1]
cmp eax, 0xff
jae 0x1008e9e1
mov ecx, dword [ebp + 0x40]
cmp word [ecx + eax*2], 0xfff0
jl 0x1008e9e1
inc dword [ebp - 0x94]
cmp byte [ebp - 0x8d], 0
jg 0x1008ea12
mov eax, dword [ebp - 0x8c]
lea ecx, [edx + edx*4]
mov eax, dword [eax + 0x60]
movzx eax, byte [eax + ecx*4 + 2]
cmp eax, 0xff
jae 0x1008ea12
mov ecx, dword [ebp + 0x40]
cmp word [ecx + eax*2], 0xfff0
jl 0x1008ea12
inc dword [ebp - 0x94]
cmp byte [ebp - 0x85], 0
jg 0x1008ea43
mov eax, dword [ebp - 0x8c]
lea ecx, [edx + edx*4]
mov eax, dword [eax + 0x60]
movzx eax, byte [eax + ecx*4 + 3]
cmp eax, 0xff
jae 0x1008ea43
mov ecx, dword [ebp + 0x40]
cmp word [ecx + eax*2], 0xfff0
jl 0x1008ea43
inc dword [ebp - 0x94]
cmp byte [ebp - 0x86], 0
mov edx, dword [ebp - 0x9c]
jg 0x1008ea7c
mov eax, dword [ebp - 0x80]
lea ecx, [esi + esi*4]
mov eax, dword [eax + 0x60]
movzx eax, byte [eax + ecx*4]
cmp eax, 0xff
jae 0x1008ea7c
mov ecx, dword [ebp + 0x44]
cmp word [ecx + eax*2], 0xfff0
mov eax, 1
cmovge edx, eax
mov dword [ebp - 0x9c], edx
cmp byte [ebp - 0xaa], 0
jg 0x1008eaab
mov eax, dword [ebp - 0x80]
lea ecx, [esi + esi*4]
mov eax, dword [eax + 0x60]
movzx eax, byte [eax + ecx*4 + 1]
cmp eax, 0xff
jae 0x1008eaab
mov ecx, dword [ebp + 0x44]
cmp word [ecx + eax*2], 0xfff0
jl 0x1008eaab
inc edx
mov dword [ebp - 0x9c], edx
cmp byte [ebp - 0x87], 0
jg 0x1008eada
mov eax, dword [ebp - 0x80]
lea ecx, [esi + esi*4]
mov eax, dword [eax + 0x60]
movzx eax, byte [eax + ecx*4 + 2]
cmp eax, 0xff
jae 0x1008eada
mov ecx, dword [ebp + 0x44]
cmp word [ecx + eax*2], 0xfff0
jl 0x1008eada
inc edx
mov dword [ebp - 0x9c], edx
cmp byte [ebp - 0x88], 0
jg 0x1008eb09
mov eax, dword [ebp - 0x80]
lea ecx, [esi + esi*4]
mov eax, dword [eax + 0x60]
movzx eax, byte [eax + ecx*4 + 3]
cmp eax, 0xff
jae 0x1008eb09
mov ecx, dword [ebp + 0x44]
cmp word [ecx + eax*2], 0xfff0
jl 0x1008eb09
inc edx
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x94]
mov ecx, 0x73
add eax, edx
mov edx, dword [ebp - 0xe0]
lea eax, [eax + eax*8]
add eax, eax
sub ecx, eax
lea eax, [ebx - 0x91]
sar ecx, 4
add edx, ecx
mov dword [ebp - 0xe0], edx
cmp eax, 0xb3
ja 0x1008eb6e
cmp edx, 0xfffffff6
jle 0x1008eb4d
mov eax, 0x90
mov dword [ebp - 0xa8], eax
jmp 0x1008eb74
mov eax, dword [ebp - 0xa8]
cmp ebx, 0xa9
jg 0x1008eb74
cmp edx, 0xffffffee
mov ecx, 0x90
cmovg eax, ecx
mov dword [ebp - 0xa8], eax
jmp 0x1008eb74
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xb4]
mov ebx, eax
cmp ebx, 0x90
jg 0x1008ed77
movzx eax, byte [ecx + 4]
sub eax, dword [ebp + 0x4c]
mov ecx, dword [ebp - 0xe4]
movzx eax, al
mov ebx, eax
movzx edx, byte [ecx + 4]
sub ebx, edx
sub edx, eax
cmp dl, bl
cmovb ebx, edx
xor eax, eax
movzx ecx, bl
mov ebx, dword [ebp - 0x98]
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0xb4], eax
cmp ecx, 0x11
ja 0x1008ed7d
mov eax, dword [ebp - 0x8c]
push ebx
push dword [eax]
call fcn.10087760
movzx eax, al
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x80]
push esi
push dword [eax]
call fcn.10087760
mov ecx, dword [ebp - 0x104]
add esp, 0x10
movzx eax, al
test ecx, ecx
jne 0x1008ec0a
cmp eax, 1
jne 0x1008ec36
mov dword [ebp - 0xb4], 2
jmp 0x1008ec36
cmp ecx, 1
jne 0x1008ec36
test eax, eax
jne 0x1008ec1f
mov dword [ebp - 0xb4], 2
jmp 0x1008ec36
mov edx, dword [ebp - 0xb4]
cmp eax, 1
mov eax, 1
cmove edx, eax
mov dword [ebp - 0xb4], edx
mov eax, dword [ebp - 0x8c]
lea ecx, [ebx + ebx*2]
add ecx, ecx
mov eax, dword [eax + 0x68]
movzx eax, byte [eax + ecx*8 + 9]
movsx ecx, byte [edi + 6]
mov dword [ebp - 0x104], eax
movsx eax, byte [edi]
add ecx, eax
movsx eax, byte [edi + 1]
add ecx, ecx
mov dword [ebp - 0x140], ecx
movsx ecx, byte [edi + 7]
add ecx, eax
movsx eax, byte [edi + 2]
add ecx, ecx
mov dword [ebp - 0x144], ecx
movsx ecx, byte [edi + 8]
add ecx, eax
movsx eax, byte [edi + 3]
add ecx, ecx
mov dword [ebp - 0x148], ecx
movsx ecx, byte [edi + 9]
add ecx, eax
mov eax, dword [ebp - 0xa0]
add ecx, ecx
mov dword [ebp - 0x14c], ecx
cmp word [eax + esi*2], 0
jne 0x1008ed7d
mov eax, dword [ebp - 0xa8]
cmp eax, 0x90
jg 0x1008ed7d
push eax
call fcn.100983a0
mov edi, dword [ebp - 0x13c]
mov ecx, 0x28
sub ecx, eax
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xb4]
add esp, 4
imul edx, ecx, 0x19
lea ecx, [edi*8]
sub ecx, edi
add ecx, ecx
sub edx, ecx
imul ecx, dword [ebp - 0xe0], 0x2b
add ecx, edx
cmp dword [ebp - 0x104], 0x36
lea edx, [ecx + 0x4c]
cmovbe edx, ecx
mov ecx, eax
sub ecx, 0
je 0x1008ed16
sub ecx, 1
je 0x1008ed11
lea ecx, [edx - 0x45]
jmp 0x1008ed19
lea ecx, [edx + 0x14]
jmp 0x1008ed19
lea ecx, [edx + 0x15]
mov edi, dword [ebp - 0x80]
cmp ecx, dword [ebp - 0xec]
jle 0x1008ed80
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x9c]
add eax, dword [ebp - 0x94]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0xec], ecx
mov dword [ebp - 0xe8], esi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], eax
jmp 0x1008ed80
mov ebx, dword [ebp - 0x98]
mov edi, dword [ebp - 0x80]
mov esi, dword [ebp - 0xd8]
inc esi
mov dword [ebp - 0xd8], esi
cmp esi, dword [ebp - 0xf4]
jl 0x1008e810
jmp 0x1008ed9e
mov edi, dword [ebp - 0x80]
mov eax, dword [ebp - 0x8c]
lea esi, [ebx + ebx*2]
mov ecx, dword [ebp - 0xe8]
shl esi, 4
mov dword [ebp - 0xf4], esi
mov eax, dword [eax + 0x68]
movzx eax, byte [esi + eax + 9]
cmp ecx, 0xffffffff
je 0x1008f13c
mov edx, dword [ebp - 0xfc]
movzx eax, word [ebp - 0x100]
mov word [edx + ebx*8], cx
mov word [edx + ebx*8 + 2], ax
movzx eax, word [ebp - 0x108]
mov word [edx + ebx*8 + 4], ax
mov ax, word [ebp - 0x20]
mov word [edx + ebx*8 + 6], ax
mov eax, dword [ebp - 0xec]
sar eax, 5
cmp eax, 0x20
jl 0x1008ee07
mov eax, 0x1f
jmp 0x1008ee11
test eax, eax
mov edx, 1
cmovs eax, edx
mov edx, dword [ebp - 0xa0]
mov edi, dword [ebp - 0xa4]
shl eax, 9
inc eax
mov dword [ebp - 0xd8], 0
add eax, ebx
mov word [edx + ecx*2], ax
cmp edi, 0x14
jne 0x1008ee96
mov ecx, dword [ebp - 0xb0]
xor esi, esi
mov dword [ebp - 0xd8], 1
mov edx, 0x100000
xor edi, edi
nop
movzx eax, word [ecx + 0xe]
movzx ebx, word [ecx]
cmp bx, ax
jle 0x1008ee5f
movzx eax, word [ecx]
cwde
cmp eax, edx
cmovl esi, edi
inc edi
add ecx, 0x20
cmp eax, edx
cmovge eax, edx
mov edx, eax
cmp edi, 0x14
jl 0x1008ee50
cmp edx, dword [ebp - 0x20]
mov edi, dword [ebp - 0xa4]
mov ebx, dword [ebp - 0x98]
cmovl edi, esi
mov esi, dword [ebp - 0xf4]
cmp edi, 0x14
mov dword [ebp - 0xa4], edi
jge 0x1008ef56
mov ecx, dword [ebp - 0xb0]
mov eax, edi
mov edx, dword [ebp - 0xb8]
xorps xmm0, xmm0
shl eax, 5
add ecx, eax
lea eax, [edi + edi*4]
lea edx, [edx + eax*8]
mov edi, dword [ebp - 0x114]
mov eax, dword [ebp - 0x11c]
movups xmmword [ecx], xmm0
movups xmmword [ecx + 0x10], xmm0
movups xmmword [edx], xmm0
movups xmmword [edx + 0x10], xmm0
movq qword [edx + 0x20], xmm0
mov word [ecx + 0x1c], ax
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ecx + 0x68]
movzx eax, byte [esi + eax]
mov word [edx + 0xc], ax
mov eax, dword [ecx + 0x68]
mov ecx, dword [ebp - 0xe8]
movzx eax, byte [esi + eax + 3]
mov word [edx + 0xe], ax
mov eax, dword [ebp - 0xe4]
movzx eax, byte [eax + 5]
mov word [edx + 0x10], ax
lea eax, [ecx + ecx*2]
movzx eax, byte [edi + eax*2 + 5]
lea ecx, [ecx + ecx*2]
mov edi, dword [ebp - 0x80]
add ecx, ecx
mov word [edx + 0x12], ax
mov eax, dword [edi + 0x68]
movzx eax, byte [eax + ecx*8]
mov word [edx + 0x14], ax
mov eax, dword [edi + 0x68]
movzx eax, byte [eax + ecx*8 + 3]
mov ecx, 0x100
mov word [edx + 0x16], ax
add edx, 0x20
mov eax, 4
mov word [edx - 8], cx
lea edx, [edx + 2]
mov word [edx - 2], cx
sub eax, 1
jne 0x1008ef44
jmp 0x1008ef59
mov edi, dword [ebp - 0x80]
mov eax, dword [ebp - 0xe8]
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 0x8c]
shl ecx, 4
add ecx, dword [edi + 0x68]
mov edx, dword [eax + 0x68]
add edx, esi
movzx eax, byte [ecx + 3]
movzx esi, byte [edx + 3]
add esi, eax
movzx eax, byte [ecx]
add esi, eax
movzx eax, byte [edx]
mov edx, dword [ebp - 0x1c]
add esi, eax
cmp esi, 0x8c
jae 0x1008f04c
mov ecx, dword [ebp - 0xd0]
mov eax, dword [ebp - 0x20]
inc dword [ecx]
add dword [ecx + 8], edx
mov edx, dword [ebp - 0x18]
add dword [ecx + 0xc], edx
mov edx, dword [ebp - 0x14]
add dword [ecx + 0x10], edx
mov edx, dword [ebp - 0x10]
add dword [ecx + 0x14], edx
mov edx, dword [ebp - 0xc]
add dword [ecx + 0x18], edx
add dword [ecx + 4], eax
mov edx, dword [ebp - 8]
add dword [ecx + 0x1c], edx
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ebp - 0xa4]
inc dword [ecx + eax*4]
cmp edx, 0x14
jge 0x1008f0fd
mov esi, dword [ebp - 0xb0]
mov ecx, edx
mov ax, word [ebp - 0x20]
shl ecx, 5
mov word [ecx + esi], ax
movzx eax, word [ebp - 0x1c]
mov word [ecx + esi + 2], ax
movzx eax, word [ebp - 0x18]
mov word [ecx + esi + 4], ax
movzx eax, word [ebp - 0x14]
mov word [ecx + esi + 6], ax
movzx eax, word [ebp - 0x10]
mov word [ecx + esi + 8], ax
movzx eax, word [ebp - 0xc]
mov word [ecx + esi + 0xa], ax
movzx eax, word [ebp - 8]
mov word [ecx + esi + 0xc], ax
lea eax, [edx + edx*4]
mov ecx, dword [ebp - 0xc4]
mov esi, 1
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0xb8]
mov word [ecx + eax*2], si
jmp 0x1008f0fd
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0x20]
inc dword [eax + 0x20]
add dword [eax + 0x28], edx
mov edx, dword [ebp - 0x18]
add dword [eax + 0x2c], edx
mov edx, dword [ebp - 0x14]
add dword [eax + 0x30], edx
mov edx, dword [ebp - 0x10]
add dword [eax + 0x34], edx
mov edx, dword [ebp - 0xc]
add dword [eax + 0x38], edx
add dword [eax + 0x24], ecx
mov edx, dword [ebp - 8]
add dword [eax + 0x3c], edx
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ebp - 0xa4]
inc dword [ecx + eax*4 + 0xc]
cmp edx, 0x14
jge 0x1008f0fd
mov esi, dword [ebp - 0xb0]
mov ecx, edx
mov ax, word [ebp - 0x20]
shl ecx, 5
mov word [ecx + esi + 0xe], ax
movzx eax, word [ebp - 0x1c]
mov word [ecx + esi + 0x10], ax
movzx eax, word [ebp - 0x18]
mov word [ecx + esi + 0x12], ax
movzx eax, word [ebp - 0x14]
mov word [ecx + esi + 0x14], ax
movzx eax, word [ebp - 0x10]
mov word [ecx + esi + 0x16], ax
movzx eax, word [ebp - 0xc]
mov word [ecx + esi + 0x18], ax
movzx eax, word [ebp - 8]
mov word [ecx + esi + 0x1a], ax
lea eax, [edx + edx*4]
mov ecx, dword [ebp - 0xc4]
mov esi, 1
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0xb8]
mov word [ecx + eax*2 + 6], si
cmp edx, 0x14
lea eax, [edx + 1]
cmovge eax, edx
cmp dword [ebp - 0xd8], 0
mov edx, eax
mov eax, 0x14
cmovne edx, eax
mov eax, dword [ebp - 0xec]
add dword [ebp - 0xc0], eax
add eax, 0xffffffa2
add dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xa4], edx
inc dword [eax]
jmp 0x1008f174
mov ecx, dword [ebp + 0x40]
movsx ecx, word [ecx + ebx*2]
test ecx, ecx
js 0x1008f174
inc dword [ebp - 0xbc]
cmp eax, 0x25
mov edx, dword [ebp - 0x84]
sbb eax, eax
and eax, 0xffffffdf
add eax, 0x35
add edx, eax
mov dword [ebp - 0x84], edx
cmp ecx, 0x27
jle 0x1008f174
add edx, 0xc
mov dword [ebp - 0x84], edx
mov ecx, dword [ebp - 0x10c]
inc ebx
mov esi, dword [ebp - 0x110]
mov dword [ebp - 0x98], ebx
cmp ebx, dword [ebp - 0xcc]
jl 0x1008e6d0
mov edx, dword [ebp + 0x1c]
test edx, edx
jle 0x1008f1fa
mov ebx, dword [ebp - 0xa0]
xor ecx, ecx
mov eax, dword [ebp + 0x44]
mov esi, edx
sub ebx, eax
nop dword [eax]
cmp word [ebx + eax], 0
jne 0x1008f1ec
movsx edx, word [eax]
test edx, edx
js 0x1008f1ec
mov eax, dword [edi + 0x68]
inc dword [ebp - 0xbc]
mov edi, dword [ebp - 0x80]
cmp byte [ecx + eax + 9], 0x25
sbb eax, eax
and eax, 0xffffffdf
add eax, 0x35
add dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x44]
cmp edx, 0x27
jle 0x1008f1ec
add dword [ebp - 0x84], 0xc
add eax, 2
add ecx, 0x30
mov dword [ebp + 0x44], eax
sub esi, 1
jne 0x1008f1b0
mov eax, dword [ebp - 0xc0]
sub eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x114]
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0x14]
push 0x9c
movsx esi, word [edx]
movsx edi, word [edx + 2]
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*2]
movsx eax, word [ecx]
sub esi, eax
mov dword [ebp - 0x11c], ecx
movsx eax, word [ecx + 2]
sub edi, eax
call fcn.100fcb64
sub edi, dword [ebp + 0x84]
mov ebx, eax
mov edx, dword [ebp + 0x8c]
add esp, 4
sub esi, dword [ebp + 0x80]
add edx, edi
add esi, dword [ebp + 0x88]
imul eax, edx, 0x15a7
imul ecx, esi, 0x15a7
mov dword [ebp - 0x84], ebx
sar eax, 3
sub eax, 0x3333
sar ecx, 3
mov dword [ebx + 4], eax
sub ecx, 0x3333
mov eax, dword [ebp + 0x4c]
movzx edi, al
mov eax, 0x100
sub eax, edi
mov dword [ebx], ecx
cmp edi, eax
mov dword [ebp - 0x110], edi
mov ecx, edi
cmovge ecx, eax
imul eax, esi, 0x147b
shl ecx, 9
sub ecx, 0x3333
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x84]
sar eax, 3
sub eax, 0x3333
mov dword [ebx + 0xc], eax
imul eax, edx, 0x147b
mov edx, dword [ebp - 0xbc]
sar eax, 3
sub eax, 0x3333
mov dword [ebx + 0x10], eax
mov ebx, dword [ebp + 0x20]
add ebx, dword [ebp + 0x24]
imul eax, ebx, 0x222
imul edi, ebx, 0x23
sub eax, 0x3333
mov dword [ecx + 0x14], eax
imul eax, edx, 0x3333
sar eax, 2
sub eax, 0x3333
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax]
lea ecx, [edx + eax*2]
mov eax, ecx
shl eax, 4
sub eax, ecx
add eax, edi
cdq
push edx
mov esi, eax
mov edx, 0x12221
mov eax, dword [ebp - 0xc0]
imul edx
push esi
push edx
push eax
call fcn.10029e40
mov ecx, dword [ebp - 0x84]
shrd eax, edx, 1
sub eax, 0x3333
sar edx, 1
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xbc]
mov eax, dword [eax]
lea ecx, [ecx + eax*2]
mov eax, ecx
shl eax, 4
sub eax, ecx
add eax, edi
cdq
push edx
mov esi, eax
mov edx, 0x12221
mov eax, dword [ebp - 0xf0]
imul edx
push esi
push edx
push eax
call fcn.10029e40
mov ecx, dword [ebp - 0x84]
shrd eax, edx, 1
sub eax, 0x3333
sar edx, 1
mov dword [ecx + 0x20], eax
mov eax, ebx
cdq
mov ebx, 0x2e6b
mov edi, eax
mov esi, edx
mov eax, dword [ebp - 0xc0]
imul ebx
push esi
push edi
push edx
push eax
call fcn.10029e40
mov ecx, dword [ebp - 0x84]
shrd eax, edx, 4
push esi
sub eax, 0x3333
sar edx, 4
mov dword [ecx + 0x24], eax
mov eax, dword [ebp - 0xf0]
imul ebx
push edi
push edx
push eax
call fcn.10029e40
mov esi, dword [ebp - 0x84]
mov ecx, dword [ebp - 0xc8]
shrd eax, edx, 4
mov ebx, dword [ebp - 0xd0]
sub eax, 0x3333
sar edx, 4
mov dword [esi + 0x28], eax
imul eax, dword [ecx], 0x3333
sar eax, 2
sub eax, 0x3333
mov dword [esi + 0x2c], eax
mov eax, dword [ecx]
imul eax, eax
imul eax, eax, 0xa4
sub eax, 0x3333
mov dword [esi + 0x30], eax
imul eax, dword [ebx], 0x6666
sar eax, 2
sub eax, 0x3333
mov dword [esi + 0x34], eax
imul eax, dword [ebx + 4], 0x1a
sar eax, 2
sub eax, 0x3333
mov dword [esi + 0x38], eax
imul eax, dword [ebx + 8], 0x147b
sar eax, 2
sub eax, 0x3333
mov dword [esi + 0x3c], eax
imul eax, dword [ebx + 0xc], 0x3333
sar eax, 2
sub eax, 0x3333
mov ecx, dword [ebp - 0xd4]
mov dword [esi + 0x40], eax
imul eax, dword [ebx + 0x10], 0x20c
mov edi, dword [ebp + 0x1c]
sar eax, 2
sub eax, 0x3333
mov dword [esi + 0x44], eax
imul eax, dword [ebx + 0x14], 0x20c
sar eax, 2
sub eax, 0x3333
mov dword [esi + 0x48], eax
imul eax, dword [ebx + 0x18], 0x20c
sar eax, 2
sub eax, 0x3333
mov dword [esi + 0x4c], eax
imul eax, dword [ebx + 0x1c], 0x20c
sar eax, 2
sub eax, 0x3333
mov dword [esi + 0x50], eax
imul eax, dword [ebx + 0x20], 0x6666
sar eax, 2
sub eax, 0x3333
mov dword [esi + 0x54], eax
imul eax, dword [ebx + 0x24], 0x1a
sar eax, 2
sub eax, 0x3333
mov dword [esi + 0x58], eax
imul eax, dword [ebx + 0x28], 0x147b
sar eax, 2
sub eax, 0x3333
mov dword [esi + 0x5c], eax
imul eax, dword [ebx + 0x2c], 0x3333
sar eax, 2
sub eax, 0x3333
mov dword [esi + 0x60], eax
imul eax, dword [ebx + 0x30], 0x20c
sar eax, 2
sub eax, 0x3333
mov dword [esi + 0x64], eax
imul eax, dword [ebx + 0x34], 0x20c
sar eax, 2
sub eax, 0x3333
mov dword [esi + 0x68], eax
imul eax, dword [ebx + 0x38], 0x20c
sar eax, 2
sub eax, 0x3333
mov dword [esi + 0x6c], eax
imul eax, dword [ebx + 0x3c], 0x20c
sar eax, 2
sub eax, 0x3333
mov dword [esi + 0x70], eax
imul eax, dword [ecx], 0x3333
sar eax, 1
sub eax, 0x3333
mov dword [esi + 0x74], eax
imul eax, dword [ecx + 4], 0x3333
sar eax, 1
sub eax, 0x3333
mov dword [esi + 0x78], eax
imul eax, dword [ecx + 8], 0x3333
sar eax, 1
sub eax, 0x3333
mov dword [esi + 0x7c], eax
imul eax, dword [ecx + 0xc], 0x3333
sar eax, 1
sub eax, 0x3333
mov dword [esi + 0x80], eax
imul eax, dword [ecx + 0x10], 0x3333
sar eax, 1
sub eax, 0x3333
mov dword [esi + 0x84], eax
imul eax, dword [ecx + 0x14], 0x3333
sar eax, 1
sub eax, 0x3333
mov dword [esi + 0x88], eax
imul eax, dword [ebp - 0xcc], 0x1111
sar eax, 2
sub eax, 0x3333
mov dword [esi + 0x8c], eax
imul eax, edi, 0x1111
sar eax, 2
sub eax, 0x3333
mov dword [esi + 0x90], eax
mov eax, dword [ebp - 0x80]
mov al, byte [eax + 0x2c]
test al, al
jne 0x1008f5e3
mov eax, 0x3c
jmp 0x1008f5e6
movzx eax, al
imul ecx, eax, 0xccd
mov edx, 0x14ccd
mov eax, edx
sar ecx, 1
sub eax, ecx
mov dword [esi + 0x94], eax
mov eax, dword [ebp - 0x8c]
mov al, byte [eax + 0x2c]
test al, al
jne 0x1008f611
mov eax, 0x3c
jmp 0x1008f614
movzx eax, al
imul eax, eax, 0xccd
sar eax, 1
sub edx, eax
mov dword [esi + 0x98], edx
mov edx, dword [ebp - 0x120]
test edx, edx
je 0x1008f896
mov ebx, dword [ebp - 0xa4]
mov eax, 0x14
cmp ebx, 0x14
cmovg ebx, eax
test ebx, ebx
jle 0x1008f886
mov esi, dword [ebp - 0xb8]
mov edi, dword [ebp - 0xb0]
add esi, 8
add edi, 0x10
nop dword [eax]
movsx eax, word [edi - 2]
movsx ecx, word [edi - 0x10]
add ecx, eax
imul eax, ecx, 0x49
movsx ecx, word [edi - 0xe]
sar eax, 1
sub eax, 0x3333
mov dword [ebp - 0x7c], eax
movsx eax, word [edi]
add ecx, eax
imul eax, ecx, 0x3333
movsx ecx, word [edi - 0xc]
sar eax, 1
sub eax, 0x3333
mov dword [ebp - 0x78], eax
movsx eax, word [edi + 2]
add ecx, eax
movsx eax, word [edi + 4]
shl ecx, 0xf
sub ecx, 0x3333
mov dword [ebp - 0x74], ecx
movsx ecx, word [edi - 0xa]
add ecx, eax
imul eax, ecx, 0x147b
movsx ecx, word [edi - 8]
sar eax, 2
sub eax, 0x3333
mov dword [ebp - 0x70], eax
movsx eax, word [edi + 6]
add ecx, eax
imul eax, ecx, 0x147b
movsx ecx, word [edi + 8]
sar eax, 2
sub eax, 0x3333
mov dword [ebp - 0x6c], eax
movsx eax, word [edi - 6]
add ecx, eax
imul eax, ecx, 0x147b
movsx ecx, word [edi + 0xa]
sar eax, 2
sub eax, 0x3333
mov dword [ebp - 0x68], eax
movsx eax, word [edi - 4]
add ecx, eax
imul eax, ecx, 0x147b
mov ecx, 0x18000
sar eax, 2
sub eax, 0x3333
mov dword [ebp - 0x64], eax
movsx eax, word [edi + 0xc]
imul eax, eax, 0x147b
sar eax, 3
cmp eax, 0x18000
cmovg eax, ecx
movsx ecx, word [esi - 8]
sub eax, 0x3333
mov dword [ebp - 0x60], eax
movsx eax, word [esi - 2]
add ecx, eax
movsx eax, word [esi]
shl ecx, 0x10
sub ecx, 0x3333
mov dword [ebp - 0x5c], ecx
movsx ecx, word [esi - 6]
add ecx, eax
movsx eax, word [esi + 2]
shl ecx, 0x10
sub ecx, 0x3333
mov dword [ebp - 0x58], ecx
movsx ecx, word [esi - 4]
add ecx, eax
movsx eax, word [esi + 4]
imul eax, eax, 0x333
shl ecx, 0x10
sub ecx, 0x3333
mov dword [ebp - 0x54], ecx
sub eax, 0x3333
mov dword [ebp - 0x50], eax
movsx eax, word [esi + 6]
imul eax, eax, 0x333
sub eax, 0x3333
mov dword [ebp - 0x4c], eax
mov ecx, edx
movsx eax, word [esi + 0xc]
imul eax, eax, 0x333
sub eax, 0x3333
mov dword [ebp - 0x48], eax
movsx eax, word [esi + 0xe]
imul eax, eax, 0x333
sub eax, 0x3333
mov dword [ebp - 0x44], eax
movsx eax, word [esi + 0x10]
imul eax, eax, 0x188
sar eax, 1
sub eax, 0x3333
mov dword [ebp - 0x40], eax
movsx eax, word [esi + 0x12]
imul eax, eax, 0x188
sar eax, 1
sub eax, 0x3333
mov dword [ebp - 0x3c], eax
movsx eax, word [esi + 0x14]
imul eax, eax, 0x188
sar eax, 1
sub eax, 0x3333
mov dword [ebp - 0x38], eax
movsx eax, word [esi + 0x16]
imul eax, eax, 0x188
sar eax, 1
sub eax, 0x3333
mov dword [ebp - 0x34], eax
movsx eax, word [esi + 0x18]
imul eax, eax, 0x188
sar eax, 1
sub eax, 0x3333
mov dword [ebp - 0x30], eax
movsx eax, word [esi + 0x1a]
imul eax, eax, 0x188
sar eax, 1
sub eax, 0x3333
mov dword [ebp - 0x2c], eax
movsx eax, word [esi + 0x1c]
imul eax, eax, 0x188
sar eax, 1
sub eax, 0x3333
mov dword [ebp - 0x28], eax
movsx eax, word [esi + 0x1e]
imul eax, eax, 0x188
sar eax, 1
sub eax, 0x3333
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x7c]
push eax
call fcn.10099940
mov edx, dword [ebp - 0x120]
lea edi, [edi + 0x20]
lea esi, [esi + 0x28]
sub ebx, 1
jne 0x1008f660
mov esi, dword [ebp - 0x84]
mov edi, dword [ebp + 0x1c]
push esi
mov ecx, edx
call fcn.100995c0
mov ebx, dword [ebp - 0xd0]
jmp 0x1008f89b
mov eax, 0x64
mov ecx, dword [ebp - 0x130]
test ecx, ecx
je 0x1008f8a7
mov dword [ecx], eax
mov ecx, dword [ebp - 0xdc]
cmp eax, dword [ecx]
jle 0x1008fa7e
cmp dword [ebp + 0x90], 0
mov dword [ecx], eax
je 0x1008f9b9
mov eax, dword [ebp - 0x12c]
xor esi, esi
test eax, eax
je 0x1008f94f
xor edx, edx
test edi, edi
jle 0x1008f94d
mov ebx, dword [ebp - 0x124]
mov ecx, ebx
mov edi, dword [ebp - 0x138]
mov eax, dword [ebp - 0x128]
sub edi, ebx
sub eax, ebx
mov ebx, eax
mov eax, dword [ebp - 0xa0]
cmp word [eax + edx*2], 0
je 0x1008f93b
cmp dword [ebp - 0x138], 0
je 0x1008f914
mov al, byte [eax + edx*2]
dec al
mov byte [edi + ecx], al
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0x124], 0
je 0x1008f91f
mov byte [ecx], dl
cmp dword [ebp - 0x128], 0
je 0x1008f933
mov ax, word [eax + edx*2]
shr ax, 9
mov byte [ebx + ecx], al
mov eax, dword [ebp - 0xa0]
inc esi
inc ecx
inc edx
cmp edx, dword [ebp + 0x1c]
jl 0x1008f8f6
mov ebx, dword [ebp - 0xd0]
mov eax, dword [ebp - 0x12c]
mov dword [eax], esi
mov ecx, dword [ebp - 0x118]
test ecx, ecx
je 0x1008f95e
mov eax, dword [ebp + 0x4c]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x134]
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.100993d0
mov ecx, dword [ebp - 0x154]
test ecx, ecx
je 0x1008f99f
mov eax, dword [ebp - 0x118]
add eax, 0x200
sar eax, 0xa
mov dword [ecx], eax
mov ecx, dword [ebp - 0x158]
test ecx, ecx
je 0x1008f9b9
mov eax, dword [ebp - 0xdc]
add eax, 0x200
sar eax, 0xa
mov dword [ecx], eax
mov ecx, dword [ebp - 0x15c]
mov eax, dword [ebp - 0x110]
mov edx, dword [ebp - 0x160]
mov esi, dword [ebp - 0xfc]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xf8]
mov edi, dword [ebp - 0x170]
movsx eax, word [ecx]
mov dword [edx], eax
movsx eax, word [ecx + 2]
mov ecx, dword [ebp - 0x184]
mov edx, dword [ebp - 0x168]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x11c]
movsx eax, word [ecx]
mov dword [edx], eax
movsx eax, word [ecx + 2]
mov ecx, dword [ebp - 0x16c]
mov dword [ecx], eax
mov ecx, 0x200
mov eax, dword [ebp - 0x174]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xa4]
mov dword [eax], esi
mov eax, esi
shl eax, 5
push eax
push dword [ebp - 0xb0]
push dword [ebp - 0x178]
call fcn.1002afe0
lea eax, [esi + esi*4]
shl eax, 3
push eax
push dword [ebp - 0xb8]
push dword [ebp - 0x17c]
call fcn.1002afe0
mov esi, dword [ebp - 0x84]
add esp, 0x18
mov edi, dword [ebp - 0x180]
mov edx, esi
sub edx, edi
mov ecx, 0x27
nop dword [eax]
mov eax, dword [edx + edi]
lea edi, [edi + 4]
mov dword [edi - 4], eax
sub ecx, 1
jne 0x1008fa70
push dword [ebp - 0xb0]
call fcn.100fcb6d
push dword [ebp - 0xb8]
call fcn.100fcb6d
push esi
call fcn.100fcb6d
mov eax, dword [ebp - 0xd4]
push eax
call fcn.100fcb6d
push ebx
call fcn.100fcb6d
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.10029ae5
mov esp, ebp
pop ebp
ret 0xb8