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

Disassembly:
sub esp, 0x34
mov eax, dword [esp + 0x38]
push ebx
mov ecx, dword [esp + 0x40]
push ebp
push esi
mov esi, dword [eax + 8]
mov eax, dword [eax + 0x6c]
push edi
and eax, 4
mov dword [esp + 0x1c], eax
je 0x1008cbf0
lea edi, [ecx + 0x124]
lea edx, [ecx + 0x1b4]
mov dword [esp + 0x34], edi
jmp 0x1008cbfc
mov edi, ecx
lea edx, [ecx + 0x194]
mov dword [esp + 0x34], edi
mov ecx, dword [ecx + 0xec]
dec ecx
cmp ecx, 4
ja case.0x1008cc0c.4
jmp dword [ecx*4 + 0x1008e0ac]
mov edx, dword [esp + 0x68]
mov ebx, dword [edi]
mov ebp, dword [edi + 4]
mov edi, dword [esp + 0x54]
mov edx, dword [edx]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x64]
shl edi, 4
mov edx, dword [edx]
mov dword [esp + 0x78], edi
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x60]
shl ecx, 4
mov edx, dword [edx]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x5c]
test eax, eax
mov edx, dword [edx]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x58]
mov edx, dword [edx]
mov dword [esp + 0x68], edx
je 0x1008ccd1
mov eax, ebp
or eax, ebx
test al, 3
je 0x1008cca7
push 0
mov eax, edi
mov edi, dword [esp + 0x84]
push esi
push ebp
push ebx
push eax
lea edx, [edi + 0x60]
push ecx
push edx
lea edx, [edi + 0x40]
imul eax, esi
push edx
lea edx, [edi + 0x20]
push edx
mov edx, dword [esp + 0x90]
push edx
mov edx, edi
sub edx, eax
sub edx, ecx
push edx
call fcn.1008e2d0
add esp, 0x2c
jmp 0x1008cd7d
mov eax, ebp
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, edi
imul eax, esi
mov dword [esp + 0x64], eax
mov eax, ebx
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0x64]
mov edi, eax
sar edi, 2
jmp 0x1008cd73
mov eax, ebx
mov edx, ebp
and eax, 1
and edx, 1
lea eax, [edx + eax*2]
sub eax, 0
je 0x1008cd56
dec eax
je 0x1008cd32
dec eax
je 0x1008cd0e
lea eax, [ebp - 1]
cdq
sub eax, edx
sar eax, 1
add eax, edi
imul eax, esi
mov dword [esp + 0x6c], eax
lea eax, [ebx - 1]
cdq
sub eax, edx
mov edx, dword [esp + 0x6c]
mov edi, eax
mov eax, dword [esp + 0x70]
sar edi, 1
jmp 0x1008cd77
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
add eax, edi
imul eax, esi
mov dword [esp + 0x6c], eax
lea eax, [ebx - 1]
cdq
sub eax, edx
mov edx, dword [esp + 0x6c]
mov edi, eax
mov eax, dword [esp + 0x64]
sar edi, 1
jmp 0x1008cd77
lea eax, [ebp - 1]
cdq
sub eax, edx
sar eax, 1
add eax, edi
imul eax, esi
mov dword [esp + 0x6c], eax
mov eax, ebx
cdq
sub eax, edx
mov edx, dword [esp + 0x6c]
mov edi, eax
mov eax, dword [esp + 0x4c]
sar edi, 1
jmp 0x1008cd77
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
add eax, edi
imul eax, esi
mov dword [esp + 0x64], eax
mov eax, ebx
cdq
sub eax, edx
mov edx, dword [esp + 0x64]
mov edi, eax
sar edi, 1
mov eax, dword [esp + 0x6c]
add eax, edx
add edi, eax
add edi, ecx
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x68]
imul eax, esi
mov edx, dword [esp + 0x7c]
add eax, ecx
mov ecx, dword [esp + 0x74]
push esi
add eax, ecx
push edi
push eax
push edx
mov dword [esp + 0x7c], eax
call dword [0x1019878c]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x8c]
lea eax, [edi + 8]
push esi
add ecx, 8
push eax
add edx, 0x80
push ecx
push edx
call dword [0x1019878c]
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x88]
add eax, 8
lea edx, [edi + esi*8]
imul eax, esi
add eax, ecx
mov ecx, dword [esp + 0x94]
add eax, ecx
push esi
push edx
mov dword [esp + 0x94], eax
push eax
mov eax, dword [esp + 0xa8]
add eax, 0x100
push eax
call dword [0x1019878c]
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0xac]
lea ecx, [edi + esi*8 + 8]
push esi
add edx, 8
push ecx
add eax, 0x180
push edx
push eax
call dword [0x1019878c]
mov eax, dword [esp + 0x5c]
add esp, 0x40
test eax, eax
je 0x1008ce43
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
mov ebp, eax
mov eax, dword [esp + 0x5c]
jmp 0x1008d084
mov eax, dword [esp + 0x78]
mov ebx, dword [edx]
mov ebp, dword [edx + 4]
mov edi, dword [esp + 0x54]
mov edx, dword [eax]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x78], edx
mov ecx, dword [esp + 0x50]
mov edx, dword [eax]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x4c], edx
mov edx, dword [eax]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x74], edx
mov edx, dword [eax]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x5c], edx
mov edx, dword [eax]
mov eax, dword [esp + 0x1c]
shl edi, 4
shl ecx, 4
test eax, eax
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], edx
je 0x1008cf0e
mov eax, ebp
or eax, ebx
test al, 3
je 0x1008cee4
push 0
mov eax, edi
mov edi, dword [esp + 0x84]
push esi
push ebp
push ebx
push eax
lea edx, [edi + 0x60]
push ecx
push edx
lea edx, [edi + 0x40]
imul eax, esi
push edx
lea edx, [edi + 0x20]
push edx
mov edx, dword [esp + 0x80]
push edx
mov edx, edi
sub edx, eax
sub edx, ecx
push edx
call fcn.1008e2d0
add esp, 0x2c
jmp 0x1008cfba
mov eax, ebp
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, edi
imul eax, esi
mov dword [esp + 0x78], eax
mov eax, ebx
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0x78]
mov edi, eax
sar edi, 2
jmp 0x1008cfb0
mov eax, ebx
mov edx, ebp
and eax, 1
and edx, 1
lea eax, [edx + eax*2]
sub eax, 0
je 0x1008cf93
dec eax
je 0x1008cf6f
dec eax
je 0x1008cf4b
lea eax, [ebp - 1]
cdq
sub eax, edx
sar eax, 1
add eax, edi
imul eax, esi
mov dword [esp + 0x5c], eax
lea eax, [ebx - 1]
cdq
sub eax, edx
mov edx, dword [esp + 0x5c]
mov edi, eax
mov eax, dword [esp + 0x78]
sar edi, 1
jmp 0x1008cfb4
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
add eax, edi
imul eax, esi
mov dword [esp + 0x5c], eax
lea eax, [ebx - 1]
cdq
sub eax, edx
mov edx, dword [esp + 0x5c]
mov edi, eax
mov eax, dword [esp + 0x74]
sar edi, 1
jmp 0x1008cfb4
lea eax, [ebp - 1]
cdq
sub eax, edx
sar eax, 1
add eax, edi
imul eax, esi
mov dword [esp + 0x5c], eax
mov eax, ebx
cdq
sub eax, edx
mov edx, dword [esp + 0x5c]
mov edi, eax
mov eax, dword [esp + 0x4c]
sar edi, 1
jmp 0x1008cfb4
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
add eax, edi
imul eax, esi
mov dword [esp + 0x78], eax
mov eax, ebx
cdq
sub eax, edx
mov edx, dword [esp + 0x78]
mov edi, eax
sar edi, 1
mov eax, dword [esp + 0x5c]
add eax, edx
add edi, eax
add edi, ecx
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x60]
imul eax, esi
mov edx, dword [esp + 0x7c]
add eax, ecx
mov ecx, dword [esp + 0x64]
push esi
add eax, ecx
push edi
push eax
push edx
mov dword [esp + 0x6c], eax
call dword [0x1019878c]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x8c]
lea eax, [edi + 8]
push esi
add ecx, 8
push eax
add edx, 0x80
push ecx
push edx
call dword [0x1019878c]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x80]
add eax, 8
lea edx, [edi + esi*8]
imul eax, esi
add eax, ecx
mov ecx, dword [esp + 0x84]
add eax, ecx
push esi
push edx
mov dword [esp + 0x84], eax
push eax
mov eax, dword [esp + 0xa8]
add eax, 0x100
push eax
call dword [0x1019878c]
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0xac]
lea ecx, [edi + esi*8 + 8]
push esi
add edx, 8
push ecx
add eax, 0x180
push edx
push eax
call dword [0x1019878c]
mov eax, dword [esp + 0x5c]
add esp, 0x40
test eax, eax
je 0x1008d080
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
mov ebp, eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
shr esi, 1
push 0
add ecx, 0x200
push esi
push ecx
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x64]
push eax
push ecx
mov ecx, ebp
and ecx, 3
push edx
mov eax, dword [esp + 0x6c]
mov edx, dword [ecx*4 + 0x100f4268]
push eax
sar ebp, 1
add ebp, edx
mov edx, ebx
and edx, 3
push ebp
sar ebx, 1
add ebx, dword [edx*4 + 0x100f4268]
push ebx
call fcn.1008ca90
add esp, 0x28
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov ebp, dword [edx]
mov edx, dword [edx + 4]
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x1c]
test edx, edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x48], ebp
je 0x1008d785
mov edx, eax
or edx, ecx
test dl, 3
je 0x1008d3e7
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x80]
shl edx, 4
mov edi, edx
mov eax, dword [esp + 0x50]
sub edi, edx
mov dword [esp + 0x68], edx
imul edi, esi
add edi, ebx
mov ebx, dword [esp + 0x10]
shl eax, 4
lea ebx, [ebx + edx*4]
mov edx, dword [esp + 0x5c]
sar ebx, 2
imul ebx, esi
mov dword [esp + 0x60], eax
lea eax, [ecx + eax*4]
sar eax, 2
add ebx, eax
mov eax, dword [edx]
add ebx, eax
mov eax, dword [esp + 0x10]
mov ebp, dword [0x1012f334]
and eax, 3
shl eax, 2
and ecx, 3
or eax, ecx
cmp eax, 0xf
ja case.default.0x1008d170
jmp dword [eax*4 + 0x1008e0c0]
push esi
push ebx
push edi
call dword [0x10198790]
lea eax, [ebx + 8]
push esi
lea ecx, [edi + 8]
push eax
push ecx
call dword [0x10198790]
lea edx, [ebx + esi*8]
push esi
lea eax, [edi + esi*8]
push edx
push eax
call dword [0x10198790]
lea ecx, [ebx + esi*8 + 8]
push esi
lea edx, [edi + esi*8 + 8]
push ecx
push edx
call dword [0x10198790]
mov ebp, dword [esp + 0xb0]
add esp, 0x30
mov dword [esp + 0x64], ebp
jmp 0x1008d42f
push 0
push esi
push 0x10
push ebx
push edi
call dword [ebp + 4]
mov ebp, dword [esp + 0x94]
add esp, 0x14
mov dword [esp + 0x64], ebp
jmp 0x1008d42f
push 0
push esi
push 0x10
push ebx
push edi
call dword [ebp]
mov ebp, dword [esp + 0x94]
add esp, 0x14
mov dword [esp + 0x64], ebp
jmp 0x1008d42f
push 0
push esi
push 0x10
push ebx
push edi
call dword [ebp + 8]
mov ebp, dword [esp + 0x94]
add esp, 0x14
mov dword [esp + 0x64], ebp
jmp 0x1008d42f
push 0
push esi
push 0x10
push ebx
push edi
call dword [ebp + 0x10]
mov ebp, dword [esp + 0x94]
add esp, 0x14
mov dword [esp + 0x64], ebp
jmp 0x1008d42f
push 0
push esi
push 0x11
push ebx
mov ebx, dword [esp + 0x90]
lea eax, [ebx + 0x20]
push eax
call dword [ebp + 4]
push 0
push esi
lea eax, [ebx + 0x20]
push 0x10
push eax
push edi
call dword [ebp + 0x10]
mov ebp, ebx
add esp, 0x28
mov dword [esp + 0x64], ebp
jmp 0x1008d42f
push 0
push esi
push 0x11
push ebx
mov ebx, dword [esp + 0x90]
lea eax, [ebx + 0x20]
push eax
call dword [ebp]
push 0
push esi
lea eax, [ebx + 0x20]
push 0x10
push eax
push edi
call dword [ebp + 0x10]
mov ebp, ebx
add esp, 0x28
mov dword [esp + 0x64], ebp
jmp 0x1008d42f
push 0
push esi
push 0x11
push ebx
mov ebx, dword [esp + 0x90]
lea eax, [ebx + 0x20]
push eax
call dword [ebp + 8]
push 0
push esi
lea eax, [ebx + 0x20]
push 0x10
push eax
push edi
call dword [ebp + 0x10]
mov ebp, ebx
add esp, 0x28
mov dword [esp + 0x64], ebp
jmp 0x1008d42f
push 0
push esi
push 0x10
push ebx
push edi
call dword [ebp + 0xc]
mov ebp, dword [esp + 0x94]
add esp, 0x14
mov dword [esp + 0x64], ebp
jmp 0x1008d42f
push 0
push esi
push 0x11
push ebx
mov ebx, dword [esp + 0x90]
lea eax, [ebx + 0x20]
push eax
call dword [ebp + 4]
push 0
push esi
lea eax, [ebx + 0x20]
push 0x10
push eax
push edi
call dword [ebp + 0xc]
mov ebp, ebx
add esp, 0x28
mov dword [esp + 0x64], ebp
jmp 0x1008d42f
push 0
push esi
push 0x11
push ebx
mov ebx, dword [esp + 0x90]
lea eax, [ebx + 0x20]
push eax
call dword [ebp]
push 0
push esi
lea eax, [ebx + 0x20]
push 0x10
push eax
push edi
call dword [ebp + 0xc]
mov ebp, ebx
add esp, 0x28
mov dword [esp + 0x64], ebp
jmp 0x1008d42f
push 0
push esi
push 0x11
push ebx
mov ebx, dword [esp + 0x90]
lea eax, [ebx + 0x20]
push eax
call dword [ebp + 8]
push 0
push esi
lea eax, [ebx + 0x20]
push 0x10
push eax
push edi
call dword [ebp + 0xc]
mov ebp, ebx
add esp, 0x28
mov dword [esp + 0x64], ebp
jmp 0x1008d42f
push 0
push esi
push 0x10
push ebx
push edi
call dword [ebp + 0x14]
mov ebp, dword [esp + 0x94]
add esp, 0x14
mov dword [esp + 0x64], ebp
jmp 0x1008d42f
push 0
push esi
push 0x11
push ebx
mov ebx, dword [esp + 0x90]
lea eax, [ebx + 0x20]
push eax
call dword [ebp + 4]
jmp 0x1008d3ca
push 0
push esi
push 0x11
push ebx
mov ebx, dword [esp + 0x90]
lea eax, [ebx + 0x20]
push eax
call dword [ebp]
jmp 0x1008d3ca
push 0
push esi
push 0x11
push ebx
mov ebx, dword [esp + 0x90]
lea eax, [ebx + 0x20]
push eax
call dword [ebp + 8]
push 0
push esi
lea eax, [ebx + 0x20]
push 0x10
push eax
push edi
call dword [ebp + 0x14]
add esp, 0x28
mov ebp, dword [esp + 0x80]
mov dword [esp + 0x64], ebp
jmp 0x1008d42f
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
cdq
and edx, 3
add eax, edx
mov ebp, eax
mov eax, ecx
shl edi, 4
sar ebp, 2
add ebp, edi
mov ecx, dword [esp + 0x5c]
imul ebp, esi
cdq
and edx, 3
mov dword [esp + 0x68], edi
shl ebx, 4
add eax, edx
mov edx, dword [ecx]
mov dword [esp + 0x60], ebx
add ebx, ebp
mov ebp, dword [esp + 0x80]
sar eax, 2
add eax, ebx
add eax, edx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov edx, eax
or edx, ecx
test dl, 3
je 0x1008d71b
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x60]
mov edi, edx
mov ebx, dword [0x1012f334]
sub edi, edx
lea eax, [ecx + eax*4]
imul edi, esi
sar eax, 2
lea edi, [edi + ebp + 0x10]
and ecx, 3
mov dword [esp + 0x68], edi
mov edi, dword [esp + 0x4c]
add ebp, 0x20
lea edi, [edi + edx*4]
mov edx, dword [esp + 0x6c]
sar edi, 2
imul edi, esi
add edi, eax
mov eax, dword [edx]
add edi, eax
mov eax, dword [esp + 0x4c]
and eax, 3
shl eax, 2
or eax, ecx
cmp eax, 0xf
ja case.default.0x1008d499
jmp dword [eax*4 + 0x1008e100]
mov ebx, dword [esp + 0x68]
push esi
push edi
push ebx
call dword [0x10198790]
lea eax, [edi + 8]
push esi
lea ecx, [ebx + 8]
push eax
push ecx
call dword [0x10198790]
lea edx, [edi + esi*8]
push esi
lea eax, [ebx + esi*8]
push edx
push eax
call dword [0x10198790]
lea ecx, [edi + esi*8 + 8]
push esi
lea edx, [ebx + esi*8 + 8]
push ecx
push edx
call dword [0x10198790]
mov eax, dword [esp + 0xb0]
add esp, 0x30
lea ebx, [eax + 0x10]
jmp 0x1008d74c
mov eax, dword [esp + 0x68]
push 0
push esi
push 0x10
push edi
push eax
call dword [ebx + 4]
mov eax, dword [esp + 0x94]
add esp, 0x14
lea ebx, [eax + 0x10]
jmp 0x1008d74c
mov ecx, dword [esp + 0x68]
push 0
push esi
push 0x10
push edi
push ecx
call dword [ebx]
mov eax, dword [esp + 0x94]
add esp, 0x14
lea ebx, [eax + 0x10]
jmp 0x1008d74c
mov edx, dword [esp + 0x68]
push 0
push esi
push 0x10
push edi
push edx
call dword [ebx + 8]
mov eax, dword [esp + 0x94]
add esp, 0x14
lea ebx, [eax + 0x10]
jmp 0x1008d74c
mov eax, dword [esp + 0x68]
push 0
push esi
push 0x10
push edi
push eax
call dword [ebx + 0x10]
mov eax, dword [esp + 0x94]
add esp, 0x14
lea ebx, [eax + 0x10]
jmp 0x1008d74c
push 0
push esi
push 0x11
push edi
push ebp
call dword [ebx + 4]
mov ecx, dword [esp + 0x7c]
push 0
push esi
push 0x10
push ebp
push ecx
call dword [ebx + 0x10]
mov eax, dword [esp + 0xa8]
add esp, 0x28
lea ebx, [eax + 0x10]
jmp 0x1008d74c
push 0
push esi
push 0x11
push edi
push ebp
call dword [ebx]
mov edx, dword [esp + 0x7c]
push 0
push esi
push 0x10
push ebp
push edx
call dword [ebx + 0x10]
mov eax, dword [esp + 0xa8]
add esp, 0x28
lea ebx, [eax + 0x10]
jmp 0x1008d74c
push 0
push esi
push 0x11
push edi
push ebp
call dword [ebx + 8]
mov eax, dword [esp + 0x7c]
push 0
push esi
push 0x10
push ebp
push eax
call dword [ebx + 0x10]
mov eax, dword [esp + 0xa8]
add esp, 0x28
lea ebx, [eax + 0x10]
jmp 0x1008d74c
mov ecx, dword [esp + 0x68]
push 0
push esi
push 0x10
push edi
push ecx
call dword [ebx + 0xc]
mov eax, dword [esp + 0x94]
add esp, 0x14
lea ebx, [eax + 0x10]
jmp 0x1008d74c
push 0
push esi
push 0x11
push edi
push ebp
call dword [ebx + 4]
mov edx, dword [esp + 0x7c]
push 0
push esi
push 0x10
push ebp
push edx
call dword [ebx + 0xc]
mov eax, dword [esp + 0xa8]
add esp, 0x28
lea ebx, [eax + 0x10]
jmp 0x1008d74c
push 0
push esi
push 0x11
push edi
push ebp
call dword [ebx]
mov eax, dword [esp + 0x7c]
push 0
push esi
push 0x10
push ebp
push eax
call dword [ebx + 0xc]
mov eax, dword [esp + 0xa8]
add esp, 0x28
lea ebx, [eax + 0x10]
jmp 0x1008d74c
push 0
push esi
push 0x11
push edi
push ebp
call dword [ebx + 8]
mov ecx, dword [esp + 0x7c]
push 0
push esi
push 0x10
push ebp
push ecx
call dword [ebx + 0xc]
mov eax, dword [esp + 0xa8]
add esp, 0x28
lea ebx, [eax + 0x10]
jmp 0x1008d74c
mov edx, dword [esp + 0x68]
push 0
push esi
push 0x10
push edi
push edx
call dword [ebx + 0x14]
mov eax, dword [esp + 0x94]
add esp, 0x14
lea ebx, [eax + 0x10]
jmp 0x1008d74c
push 0
push esi
push 0x11
push edi
push ebp
call dword [ebx + 4]
mov eax, dword [esp + 0x7c]
push 0
push esi
push 0x10
push ebp
push eax
call dword [ebx + 0x14]
mov eax, dword [esp + 0xa8]
add esp, 0x28
lea ebx, [eax + 0x10]
jmp 0x1008d74c
push 0
push esi
push 0x11
push edi
push ebp
call dword [ebx]
mov ecx, dword [esp + 0x7c]
push 0
push esi
push 0x10
push ebp
push ecx
call dword [ebx + 0x14]
mov eax, dword [esp + 0xa8]
add esp, 0x28
lea ebx, [eax + 0x10]
jmp 0x1008d74c
push 0
push esi
push 0x11
push edi
push ebp
call dword [ebx + 8]
mov edx, dword [esp + 0x7c]
push 0
push esi
push 0x10
push ebp
push edx
call dword [ebx + 0x14]
add esp, 0x28
mov eax, dword [esp + 0x80]
lea ebx, [eax + 0x10]
jmp 0x1008d74c
cdq
mov ebp, dword [esp + 0x68]
and edx, 3
add eax, edx
mov edi, eax
mov eax, ecx
sar edi, 2
add edi, ebp
mov ecx, dword [esp + 0x6c]
imul edi, esi
cdq
and edx, 3
add eax, edx
mov ebx, eax
mov eax, dword [esp + 0x60]
sar ebx, 2
add eax, edi
add ebx, eax
mov eax, dword [ecx]
add ebx, eax
mov eax, dword [esp + 0x48]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x4c]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x14]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
jmp 0x1008d8ae
mov ebx, dword [esp + 0x54]
mov edx, ecx
mov edi, eax
and edx, 1
and edi, 1
shl ebx, 4
lea edx, [edi + edx*2]
mov edi, dword [esp + 0x50]
shl edi, 4
sub edx, 0
je 0x1008d812
dec edx
je 0x1008d7f0
dec edx
je 0x1008d7ce
dec eax
cdq
sub eax, edx
sar eax, 1
add eax, ebx
imul eax, esi
mov dword [esp + 0x64], eax
lea eax, [ecx - 1]
cdq
sub eax, edx
mov edx, dword [esp + 0x64]
mov ecx, edi
add ecx, edx
mov edx, dword [esp + 0x68]
jmp 0x1008d831
cdq
sub eax, edx
sar eax, 1
add eax, ebx
imul eax, esi
mov dword [esp + 0x68], eax
lea eax, [ecx - 1]
cdq
sub eax, edx
mov edx, dword [esp + 0x68]
mov ecx, edi
add ecx, edx
mov edx, dword [esp + 0x60]
jmp 0x1008d831
dec eax
cdq
sub eax, edx
sar eax, 1
add eax, ebx
imul eax, esi
mov dword [esp + 0x68], eax
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x68]
mov ecx, edi
add ecx, edx
mov edx, dword [esp + 0x64]
jmp 0x1008d831
cdq
sub eax, edx
sar eax, 1
add eax, ebx
imul eax, esi
mov dword [esp + 0x68], eax
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x68]
mov ecx, edi
add ecx, edx
mov edx, dword [esp + 0x5c]
sar eax, 1
add eax, ecx
mov ecx, dword [edx]
add eax, ecx
mov ecx, ebp
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x4c]
mov edx, eax
and ecx, 1
and edx, 1
lea ecx, [edx + ecx*2]
sub ecx, 0
je 0x1008d88d
dec ecx
je 0x1008d87c
dec ecx
je 0x1008d86b
dec eax
cdq
sub eax, edx
mov ecx, eax
lea eax, [ebp - 1]
cdq
sub eax, edx
mov edx, dword [esp + 0x78]
jmp 0x1008d89b
cdq
sub eax, edx
mov ecx, eax
lea eax, [ebp - 1]
cdq
sub eax, edx
mov edx, dword [esp + 0x70]
jmp 0x1008d89b
dec eax
cdq
sub eax, edx
mov ecx, eax
mov eax, ebp
cdq
sub eax, edx
mov edx, dword [esp + 0x74]
jmp 0x1008d89b
cdq
sub eax, edx
mov ecx, eax
mov eax, ebp
cdq
sub eax, edx
mov edx, dword [esp + 0x6c]
sar ecx, 1
add ecx, ebx
mov ebx, eax
imul ecx, esi
mov eax, dword [edx]
add edi, ecx
sar ebx, 1
add ebx, edi
add ebx, eax
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x7c]
xor edi, edi
mov dword [esp + 0x68], edx
lea ecx, [eax + eax]
mov dword [esp + 0x18], ecx
mov ecx, edi
mov edx, edi
sar ecx, 1
mov eax, ecx
and edx, 1
imul eax, esi
add eax, edx
push esi
shl eax, 3
lea ebp, [eax + ebx]
push ebp
mov ebp, dword [esp + 0x6c]
add eax, ebp
mov ebp, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x60]
lea ecx, [ecx + eax*2]
mov eax, dword [esp + 0x24]
imul ecx, esi
add ecx, eax
add ecx, edx
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
lea ecx, [eax + ecx*8]
push ecx
push ebp
call dword [0x1019879c]
add esp, 0x14
inc edi
add ebp, 0x80
cmp edi, 4
mov dword [esp + 0x68], ebp
jl 0x1008d8c3
mov eax, dword [esp + 0x14]
mov edx, eax
and edx, 3
sar eax, 1
add eax, dword [edx*4 + 0x100f4268]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov ecx, eax
and ecx, 3
sar eax, 1
add eax, dword [ecx*4 + 0x100f4268]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov edx, eax
and edx, 3
sar eax, 1
add eax, dword [edx*4 + 0x100f4268]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x4c]
mov ecx, eax
and ecx, 3
sar eax, 1
add eax, dword [ecx*4 + 0x100f4268]
jmp 0x1008df8a
mov eax, dword [esp + 0x50]
xor ebx, ebx
sub edi, edx
mov dword [esp + 0x24], ebx
lea ecx, [eax + eax]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x18], ecx
lea ecx, [edx + 4]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x3c], edi
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x2c]
mov ebp, dword [edx + ebx*8]
mov ecx, dword [ecx + eax]
mov edi, dword [eax - 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edx
je 0x1008de1a
mov eax, ebp
cdq
sub eax, edx
mov edx, dword [esp + 0x14]
sar eax, 1
add edx, eax
mov eax, ecx
mov dword [esp + 0x14], edx
cdq
sub eax, edx
mov edx, dword [esp + 0x10]
sar eax, 1
add edx, eax
mov eax, edi
mov dword [esp + 0x10], edx
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
add edx, eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x20], edx
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add edx, eax
mov eax, ecx
or eax, ebp
mov dword [esp + 0x24], edx
test al, 3
je 0x1008dd17
mov eax, dword [esp + 0x54]
mov edx, ebx
sar edx, 1
and ebx, 1
lea eax, [edx + eax*2]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x40], eax
add edx, ebx
shl eax, 3
mov edi, eax
mov dword [esp + 0x28], ebx
sub edi, eax
lea eax, [ecx + eax*4]
sar eax, 2
imul edi, esi
imul eax, esi
shl edx, 3
mov dword [esp + 0x18], edx
add edi, dword [esp + 0x80]
lea edx, [ebp + edx*4]
mov ebx, dword [0x1012f334]
sar edx, 2
and ecx, 3
add eax, edx
mov edx, dword [esp + 0x5c]
and ebp, 3
shl ecx, 2
add eax, dword [edx]
or ecx, ebp
cmp ecx, 0xf
ja case.default.0x1008da8e
jmp dword [ecx*4 + 0x1008e140]
push esi
push eax
push edi
call dword [0x10198790]
mov ebp, dword [esp + 0x8c]
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x4c]
add esp, 0xc
jmp 0x1008dd6e
push 0
push esi
push 8
push eax
push edi
call dword [ebx + 0x1c]
mov ebp, dword [esp + 0x94]
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x54]
add esp, 0x14
jmp 0x1008dd6e
push 0
push esi
push 8
push eax
push edi
call dword [ebx + 0x18]
mov ebp, dword [esp + 0x94]
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x54]
add esp, 0x14
jmp 0x1008dd6e
push 0
push esi
push 8
push eax
push edi
call dword [ebx + 0x20]
mov ebp, dword [esp + 0x94]
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x54]
add esp, 0x14
jmp 0x1008dd6e
push 0
push esi
push 8
push eax
push edi
call dword [ebx + 0x28]
mov ebp, dword [esp + 0x94]
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x54]
add esp, 0x14
jmp 0x1008dd6e
push 0
push esi
push 9
push eax
mov eax, dword [esp + 0x90]
lea ebp, [eax + 0x20]
push ebp
call dword [ebx + 0x1c]
push 0
push esi
push 8
push ebp
push edi
call dword [ebx + 0x28]
mov ebp, dword [esp + 0xa8]
mov ebx, dword [esp + 0x60]
mov edi, dword [esp + 0x68]
add esp, 0x28
jmp 0x1008dd6e
mov ecx, dword [esp + 0x80]
push 0
push esi
push 9
lea ebp, [ecx + 0x20]
push eax
push ebp
call dword [ebx + 0x18]
push 0
push esi
push 8
push ebp
push edi
call dword [ebx + 0x28]
mov ebp, dword [esp + 0xa8]
mov ebx, dword [esp + 0x60]
mov edi, dword [esp + 0x68]
add esp, 0x28
jmp 0x1008dd6e
mov edx, dword [esp + 0x80]
push 0
push esi
push 9
lea ebp, [edx + 0x20]
push eax
push ebp
call dword [ebx + 0x20]
push 0
push esi
push 8
push ebp
push edi
call dword [ebx + 0x28]
mov ebp, dword [esp + 0xa8]
mov ebx, dword [esp + 0x60]
mov edi, dword [esp + 0x68]
add esp, 0x28
jmp 0x1008dd6e
push 0
push esi
push 8
push eax
push edi
call dword [ebx + 0x24]
mov ebp, dword [esp + 0x94]
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x54]
add esp, 0x14
jmp 0x1008dd6e
push 0
push esi
push 9
push eax
mov eax, dword [esp + 0x90]
lea ebp, [eax + 0x20]
push ebp
call dword [ebx + 0x1c]
push 0
push esi
push 8
push ebp
push edi
call dword [ebx + 0x24]
mov ebp, dword [esp + 0xa8]
mov ebx, dword [esp + 0x60]
mov edi, dword [esp + 0x68]
add esp, 0x28
jmp 0x1008dd6e
mov ecx, dword [esp + 0x80]
push 0
push esi
push 9
lea ebp, [ecx + 0x20]
push eax
push ebp
call dword [ebx + 0x18]
push 0
push esi
push 8
push ebp
push edi
call dword [ebx + 0x24]
mov ebp, dword [esp + 0xa8]
mov ebx, dword [esp + 0x60]
mov edi, dword [esp + 0x68]
add esp, 0x28
jmp 0x1008dd6e
mov edx, dword [esp + 0x80]
push 0
push esi
push 9
lea ebp, [edx + 0x20]
push eax
push ebp
call dword [ebx + 0x20]
push 0
push esi
push 8
push ebp
push edi
call dword [ebx + 0x24]
mov ebp, dword [esp + 0xa8]
mov ebx, dword [esp + 0x60]
mov edi, dword [esp + 0x68]
add esp, 0x28
jmp 0x1008dd6e
push 0
push esi
push 8
push eax
push edi
call dword [ebx + 0x2c]
mov ebp, dword [esp + 0x94]
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x54]
add esp, 0x14
jmp 0x1008dd6e
push 0
push esi
push 9
push eax
mov eax, dword [esp + 0x90]
lea ebp, [eax + 0x20]
push ebp
call dword [ebx + 0x1c]
jmp 0x1008dcf9
mov ecx, dword [esp + 0x80]
push 0
push esi
push 9
lea ebp, [ecx + 0x20]
push eax
push ebp
call dword [ebx + 0x18]
jmp 0x1008dcf9
mov edx, dword [esp + 0x80]
push 0
push esi
push 9
lea ebp, [edx + 0x20]
push eax
push ebp
call dword [ebx + 0x20]
push 0
push esi
push 8
push ebp
push edi
call dword [ebx + 0x2c]
add esp, 0x28
mov ebp, dword [esp + 0x80]
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x40]
jmp 0x1008dd6e
mov edx, dword [esp + 0x54]
mov eax, ebx
sar eax, 1
lea edi, [eax + edx*2]
mov edx, dword [esp + 0x18]
mov eax, ebx
and eax, 1
mov dword [esp + 0x28], eax
add eax, edx
shl eax, 3
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
and edx, 3
add eax, edx
mov ecx, eax
lea eax, [edi*8]
sar ecx, 2
add ecx, eax
mov eax, ebp
imul ecx, esi
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0x18]
mov ebp, eax
mov eax, dword [esp + 0x5c]
sar ebp, 2
add edx, ecx
mov ecx, dword [eax]
add ebp, edx
add ebp, ecx
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov ecx, eax
or ecx, edx
test cl, 3
je 0x1008dde1
push 0
mov ecx, dword [esp + 0x84]
push esi
push eax
mov eax, dword [esp + 0x54]
lea edx, [ecx + 0x10]
push eax
lea eax, [edi*8]
push eax
mov eax, dword [esp + 0x2c]
push eax
lea eax, [ecx + 0x30]
push eax
lea eax, [ecx + 0x20]
push eax
mov dword [esp + 0x6c], edx
push edx
mov edx, dword [esp + 0x90]
mov eax, dword [edx]
mov edx, edi
imul edx, esi
push eax
mov eax, dword [esp + 0x78]
neg eax
add eax, eax
sub eax, edx
mov edx, dword [esp + 0x50]
sub eax, edx
lea ecx, [ecx + eax*8 + 0x10]
push ecx
call fcn.1008e590
mov ecx, dword [esp + 0x78]
add esp, 0x2c
jmp 0x1008deda
cdq
and edx, 3
add eax, edx
mov ecx, eax
lea eax, [edi*8]
sar ecx, 2
add ecx, eax
mov eax, dword [esp + 0x48]
imul ecx, esi
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0x6c]
sar eax, 2
add ecx, eax
mov eax, dword [edx]
add ecx, eax
mov eax, dword [esp + 0x18]
add ecx, eax
jmp 0x1008deda
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
add eax, ebp
mov edi, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
add edx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x4c]
add eax, edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x24], eax
mov eax, ebx
add edi, ecx
push esi
sar eax, 1
mov dword [esp + 0x14], edi
push ecx
lea edi, [eax + edx*2]
mov edx, dword [esp + 0x20]
mov eax, ebx
push ebp
and eax, 1
push 8
mov dword [esp + 0x38], eax
add eax, edx
mov edx, dword [esp + 0x74]
push edi
mov dword [esp + 0x54], eax
push eax
mov eax, dword [esp + 0x80]
mov ecx, dword [eax]
mov eax, dword [edx]
push ecx
mov ecx, dword [esp + 0x7c]
push eax
mov eax, dword [esp + 0x7c]
mov edx, dword [ecx]
mov ecx, dword [eax]
push edx
push ecx
call fcn.1008e180
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x68]
mov ebp, eax
mov eax, dword [esp + 0x70]
push esi
push edx
mov edx, dword [esp + 0xa8]
push eax
push 8
push edi
mov eax, dword [edx]
push ecx
mov ecx, dword [esp + 0xb4]
push eax
mov eax, dword [esp + 0xb4]
mov edx, dword [ecx]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0xb4]
push ecx
mov eax, dword [edx]
push eax
call fcn.1008e180
add esp, 0x50
mov ecx, eax
imul edi, esi
mov edx, dword [esp + 0x58]
push esi
push ecx
mov ecx, dword [esp + 0x58]
push ebp
mov ebp, dword [esp + 0x34]
lea eax, [ecx + ecx]
add edi, eax
mov dword [esp + 0x24], eax
mov eax, dword [edx]
mov edx, dword [esp + 0x3c]
add edi, ebp
lea ecx, [eax + edi*8]
push ecx
push edx
call dword [0x1019879c]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
add esp, 0x14
inc ebx
add edx, 8
add ecx, 0x80
cmp ebx, 4
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ecx
jl 0x1008d9ab
mov eax, dword [esp + 0x14]
mov ecx, eax
and ecx, 0xf
sar eax, 3
add eax, dword [ecx*4 + 0x100f4208]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov edx, eax
and edx, 0xf
sar eax, 3
add eax, dword [edx*4 + 0x100f4208]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
mov ecx, eax
and ecx, 0xf
sar eax, 3
add eax, dword [ecx*4 + 0x100f4208]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x24]
mov edx, eax
and edx, 0xf
sar eax, 3
add eax, dword [edx*4 + 0x100f4208]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x80]
mov edi, esi
imul esi, ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x50]
shr edi, 1
lea ebp, [ecx*8]
mov ecx, dword [esp + 0x10]
push edi
push 0
lea ebx, [eax*8]
push edi
lea eax, [edx + 8]
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
push ebp
mov edx, dword [ecx + 4]
push ebx
shl esi, 3
shr esi, 1
push edx
push eax
add esi, ebx
call fcn.1008e230
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x90]
add esp, 0x20
push eax
mov eax, dword [esp + 0x54]
push 0
push edi
push eax
mov eax, dword [edx + 4]
push ecx
mov ecx, dword [esp + 0x98]
push ebp
push ebx
push eax
push ecx
call fcn.1008e230
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0xa4]
add esp, 0x20
add ecx, 0x200
push eax
mov eax, dword [edx + 4]
add eax, esi
push eax
push ecx
call dword [0x1019879c]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x70]
add esp, 0x14
push edi
push 0
push edi
push edx
mov edx, dword [ecx + 8]
push eax
mov eax, dword [esp + 0x94]
push ebp
push ebx
add eax, 8
push edx
push eax
call fcn.1008e230
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
add esp, 0x20
push eax
mov eax, dword [esp + 0x74]
push 0
push edi
push ecx
push edx
push ebp
push ebx
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0xa0]
push ecx
push edx
call fcn.1008e230
add esp, 0x20
mov edx, dword [esp + 0x84]
add edx, 0x280
push eax
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 8]
add ecx, esi
push ecx
push edx
call dword [0x1019879c]
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret