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

Disassembly:
sub esp, 0x90
mov eax, dword [esp + 0xa0]
shr dword [esp + 0x9c], 2
push ebx
push ebp
mov ecx, dword [eax + 0x10]
push esi
mov esi, dword [esp + 0xa0]
mov edx, esi
mov dword [esp + 0x68], ecx
mov ecx, dword [eax + 0x18]
mov eax, dword [eax]
mov dword [esp + 0x98], ecx
lea ebx, [esi + 0x40]
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0x24]
push edi
lea edi, [esi + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x44]
cmovle edx, edi
cmovle edi, esi
mov esi, ebx
mov ebp, edi
cmp dword [edx + 4], eax
mov eax, dword [edi + 4]
cmovle ebx, edx
cmovg esi, edx
mov dword [esp + 0x88], esi
mov dword [esp + 0x20], ebx
cmp eax, dword [ebx + 4]
jle 0x465a44
mov ebp, ebx
mov dword [esp + 0x20], edi
mov edx, dword [ebp + 4]
mov ecx, dword [esi + 4]
lea eax, [edx + 0xffff]
lea ebx, [ecx + 0xffff]
sar eax, 0x10
sar ebx, 0x10
mov dword [esp + 0x28], eax
mov dword [esp + 0x74], ebx
cmp eax, ebx
je 0x466c3d
mov eax, dword [esp + 0x20]
sub ecx, edx
mov ebx, dword [eax + 4]
lea eax, [ebx + 0xffff]
sar eax, 0x10
mov dword [esp + 0x64], eax
mov eax, ecx
cdq
push edx
push eax
push 0x10000
push 0
call fcn.0059bbf0
mov ecx, dword [ebp]
mov edi, eax
mov eax, dword [esp + 0x88]
mov esi, edx
push esi
push edi
mov dword [esp + 0x18], ecx
mov eax, dword [eax]
sub eax, ecx
cdq
push edx
push eax
call fcn.0059bca0
mov eax, dword [esp + 0x88]
mov ecx, dword [ebp + 0x18]
push esi
mov dword [esp + 0x90], edx
mov eax, dword [eax + 0x18]
sub eax, ecx
mov dword [esp + 0x30], ecx
cdq
push edi
push edx
push eax
call fcn.0059bca0
mov eax, dword [esp + 0x88]
mov ecx, dword [ebp + 0x1c]
push esi
mov dword [esp + 0x94], edx
mov eax, dword [eax + 0x1c]
sub eax, ecx
mov dword [esp + 0x64], ecx
cdq
push edi
push edx
push eax
call fcn.0059bca0
mov esi, dword [ebp + 4]
sub ebx, esi
mov dword [esp + 0x94], edx
mov eax, ebx
cdq
mov ecx, eax
mov ebx, edx
mov eax, dword [esp + 0x8c]
cdq
push ebx
push ecx
mov edi, edx
mov dword [esp + 0x20], ecx
push edi
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], eax
call fcn.0059bca0
mov ebp, dword [esp + 0x10]
mov ecx, eax
mov eax, dword [esp + 0x20]
shrd ecx, edx, 0x10
add ecx, ebp
mov ebx, dword [eax]
mov dword [esp + 0x5c], ecx
cmp ebx, ecx
je 0x466c3d
mov eax, dword [esp + 0x28]
shl eax, 0x10
sub eax, esi
cdq
mov ecx, edx
mov dword [esp + 0x3c], eax
push ecx
push eax
push edi
push dword [esp + 0x30]
mov dword [esp + 0x40], ecx
call fcn.0059bca0
push dword [esp + 0x30]
shrd eax, edx, 0x10
add eax, ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x94]
cdq
push ebp
mov esi, edx
mov edi, eax
push esi
push edi
call fcn.0059bca0
push dword [esp + 0x30]
shrd eax, edx, 0x10
push ebp
add eax, dword [esp + 0x34]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x9c]
cdq
mov ecx, eax
mov eax, edx
push eax
push ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x34], eax
call fcn.0059bca0
shrd eax, edx, 0x10
add eax, dword [esp + 0x60]
mov dword [esp + 0x54], eax
mov eax, ebx
sub eax, dword [esp + 0x5c]
cdq
push edx
push eax
push 0x10000
push 0
call fcn.0059bbf0
push dword [esp + 0x14]
mov dword [esp + 0x5c], eax
mov ebp, edx
push dword [esp + 0x1c]
push esi
push edi
call fcn.0059bca0
mov ecx, eax
mov esi, edx
mov eax, dword [esp + 0x20]
shrd ecx, esi, 0x10
push ebp
push dword [esp + 0x5c]
mov eax, dword [eax + 0x18]
cdq
mov ebx, eax
sar esi, 0x10
mov eax, dword [esp + 0x34]
sub ebx, ecx
mov edi, edx
cdq
sbb edi, esi
sub ebx, eax
sbb edi, edx
push edi
push ebx
call fcn.0059bca0
push dword [esp + 0x14]
mov dword [esp + 0x74], edx
push dword [esp + 0x1c]
push dword [esp + 0x2c]
push dword [esp + 0x50]
call fcn.0059bca0
mov ecx, eax
mov esi, edx
mov eax, dword [esp + 0x20]
shrd ecx, esi, 0x10
push ebp
push dword [esp + 0x5c]
mov eax, dword [eax + 0x1c]
cdq
mov ebx, eax
sar esi, 0x10
mov eax, dword [esp + 0x68]
sub ebx, ecx
mov edi, edx
cdq
sbb edi, esi
sub ebx, eax
sbb edi, edx
push edi
push ebx
call fcn.0059bca0
mov ecx, dword [esp + 0x28]
mov ebx, edx
imul ecx, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x84], ebx
lea eax, [eax + ecx*4]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x28]
mov dword [esp + 0x28], eax
je 0x466481
mov eax, dword [esp + 0x20]
push dword [esp + 0x14]
push dword [esp + 0x1c]
mov ebp, dword [eax]
mov eax, ebp
sub eax, dword [esp + 0x18]
cdq
push 0x10000
push 0
mov edi, eax
mov esi, edx
call fcn.0059bbf0
push edx
push eax
push esi
push edi
call fcn.0059bca0
push dword [esp + 0x30]
mov eax, edx
push dword [esp + 0x40]
mov dword [esp + 0x4c], eax
cdq
push edx
push eax
call fcn.0059bca0
mov ecx, eax
shrd ecx, edx, 0x10
add ecx, dword [esp + 0x10]
cmp dword [esp + 0x5c], ebp
mov ebp, dword [esp + 0x38]
jge 0x4660b9
mov esi, dword [esp + 0x28]
test esi, esi
jle 0x466485
mov eax, dword [esp + 0x70]
cdq
mov dword [esp + 0x48], eax
mov eax, ebx
mov dword [esp + 0x24], edx
cdq
mov dword [esp + 0x7c], eax
lea eax, [ecx + 0xffff]
mov dword [esp + 0x2c], eax
lea eax, [ebp + 0xffff]
mov dword [esp + 0x78], edx
mov dword [esp + 0x34], eax
mov ebx, eax
dec esi
and ebx, 0xffff0000
mov dword [esp + 0x28], esi
mov eax, ebx
sub eax, ebp
cdq
mov esi, edx
mov edi, eax
push esi
push edi
push dword [esp + 0x2c]
push dword [esp + 0x54]
call fcn.0059bca0
push esi
push edi
push dword [esp + 0x80]
shrd eax, edx, 0x10
push dword [esp + 0x88]
add eax, dword [esp + 0x60]
mov dword [esp + 0x78], eax
call fcn.0059bca0
mov esi, eax
mov eax, ebx
shrd esi, edx, 0x10
mov edx, dword [esp + 0x4c]
sar eax, 0x10
add esi, 0xffff8000
lea eax, [edx + eax*4]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x2c]
sub eax, ebx
sar eax, 0x10
test eax, eax
jle 0x466057
mov ebx, dword [esp + 0x68]
add esi, dword [esp + 0x54]
add ebx, 0xffff8000
mov dword [esp + 0x40], esi
mov dword [esp + 0x68], ebx
nop
mov edx, dword [esp + 0x6c]
dec eax
mov dword [esp + 0x80], eax
test ebx, ebx
jle 0x465ded
mov ecx, ebx
mov dword [esp + 0x3c], ebx
lea eax, [edx - 1]
sar ecx, 0x10
xor edi, edi
cmp ecx, eax
mov eax, edi
setl al
mov dword [esp + 0x58], eax
mov edi, eax
jmp 0x465df5
xor eax, eax
xor edi, edi
mov dword [esp + 0x3c], eax
test esi, esi
jle 0x465e15
mov eax, dword [esp + 0x9c]
mov ecx, esi
sar ecx, 0x10
dec eax
xor ebp, ebp
cmp ecx, eax
mov ecx, esi
cmovl ebp, edx
mov dword [esp + 0x18], ebp
jmp 0x465e1b
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x3c]
sar eax, 0x10
mov ebp, dword [esp + 0x1c]
sar ecx, 0x10
imul ecx, edx
add ecx, eax
mov dword [esp + 0x14], ecx
lea eax, [ecx + edi]
mov eax, dword [ebp + eax*4]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x18]
add eax, ecx
mov ecx, ebx
and ecx, 0xfffe
mov ebx, 0x10000
inc ecx
mov edx, dword [ebp + eax*4]
add eax, edi
mov edi, 0x10000
sub edi, ecx
mov eax, dword [ebp + eax*4]
mov dword [esp + 0x18], eax
mov eax, esi
and eax, 0xfffe
mov esi, edi
inc eax
sub ebx, eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
imul edi, dword [esp + 0x10]
imul esi, ebx
imul ebx, ecx
mov eax, dword [ebp + eax*4]
mov ebp, dword [esp + 0x58]
shr eax, 0x18
shr esi, 0x10
imul esi, eax
mov eax, ebp
shr eax, 0x18
and ebp, 0xff0000
shr ebx, 0x10
imul ebx, eax
mov eax, edx
shr eax, 0x18
shr edi, 0x10
imul edi, eax
mov eax, dword [esp + 0x10]
imul eax, ecx
shr ebx, 0x10
imul ebp, ebx
shr edi, 0x10
shr esi, 0x10
mov dword [esp + 0x10], eax
mov ecx, eax
mov eax, dword [esp + 0x18]
shr eax, 0x18
shr ecx, 0x10
imul ecx, eax
mov eax, dword [esp + 0x18]
and eax, 0xff0000
mov dword [esp + 0x3c], ebx
shr ecx, 0x10
imul eax, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x30], eax
mov eax, edx
mov ecx, dword [esp + 0x30]
and eax, 0xff0000
imul eax, edi
add ecx, eax
mov eax, dword [esp + 0x1c]
add ecx, ebp
mov ebp, dword [esp + 0x14]
mov eax, dword [eax + ebp*4]
and eax, 0xff0000
imul eax, esi
add ecx, eax
mov eax, dword [esp + 0x18]
and ecx, 0xff0000ff
mov dword [esp + 0x30], ecx
movzx ecx, al
imul ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x1c]
movzx eax, dl
and edx, 0xff00
imul eax, edi
imul edx, edi
add ecx, eax
mov eax, dword [esp + 0x58]
movzx eax, al
imul eax, ebx
mov ebx, dword [esp + 0x14]
add ecx, eax
mov eax, dword [ebp + ebx*4]
movzx eax, al
imul eax, esi
add ecx, eax
mov eax, dword [esp + 0x58]
and ecx, 0xff00
and eax, 0xff00
or dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x18]
imul eax, dword [esp + 0x3c]
and ecx, 0xff00
imul ecx, dword [esp + 0x10]
add ecx, edx
mov edx, ebp
add ecx, eax
mov ebp, ebx
mov eax, dword [edx + ebp*4]
mov edx, dword [esp + 0x30]
and eax, 0xff00
mov ebp, dword [esp + 0x60]
imul eax, esi
add ecx, eax
mov eax, dword [esp + 0x10]
add eax, edi
and ecx, 0xff0000
add eax, dword [esp + 0x3c]
or edx, ecx
add eax, esi
shr edx, 8
shl eax, 0x18
bswap eax
cmp eax, 8
jbe 0x466022
mov ebx, dword [ebp]
mov ecx, edx
mov eax, ebx
movzx esi, dl
and eax, 0xff0000
and ecx, 0xff00
add eax, edx
mov edi, 0xff
shr eax, 0x10
mov edx, 0xff
cmp eax, edi
cmovbe edi, eax
mov eax, ebx
and eax, 0xff00
add eax, ecx
mov ecx, 0xff
shr eax, 8
cmp eax, edx
cmovbe edx, eax
movzx eax, bl
add eax, esi
cmp eax, ecx
cmovbe ecx, eax
or edi, 0xffffff00
shl edi, 8
or edi, edx
shl edi, 8
or edi, ecx
mov dword [ebp], edi
mov ebx, dword [esp + 0x68]
add ebp, 4
mov esi, dword [esp + 0x40]
add ebx, dword [esp + 0x70]
add esi, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
mov dword [esp + 0x60], ebp
mov dword [esp + 0x68], ebx
mov dword [esp + 0x40], esi
test eax, eax
jg 0x465dc0
mov ebp, dword [esp + 0x38]
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0x44]
add dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x34]
add ebp, dword [esp + 0x8c]
lea ecx, [edx*4]
add dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x90]
add dword [esp + 0x50], ecx
add eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x94]
add dword [esp + 0x54], ecx
mov esi, dword [esp + 0x28]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], eax
test esi, esi
jg 0x465d35
mov ebx, dword [esp + 0x84]
jmp 0x466485
jle 0x466485
mov esi, dword [esp + 0x28]
test esi, esi
jle 0x466485
mov eax, dword [esp + 0x70]
cdq
mov dword [esp + 0x7c], eax
mov eax, ebx
mov dword [esp + 0x80], edx
cdq
mov dword [esp + 0x48], eax
lea eax, [ebp + 0xffff]
mov dword [esp + 0x58], eax
lea eax, [ecx + 0xffff]
mov dword [esp + 0x78], edx
mov dword [esp + 0x24], eax
nop word [eax + eax]
mov ebx, eax
dec esi
and ebx, 0xffff0000
mov dword [esp + 0x28], esi
mov eax, ebx
sub eax, ebp
cdq
mov esi, edx
mov edi, eax
push esi
push edi
push dword [esp + 0x88]
push dword [esp + 0x88]
call fcn.0059bca0
push esi
push edi
push dword [esp + 0x80]
shrd eax, edx, 0x10
push dword [esp + 0x54]
add eax, dword [esp + 0x60]
mov dword [esp + 0x44], eax
call fcn.0059bca0
mov esi, eax
mov eax, ebx
shrd esi, edx, 0x10
mov edx, dword [esp + 0x4c]
sar eax, 0x10
add esi, 0xffff8000
lea eax, [edx + eax*4]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x58]
sub eax, ebx
sar eax, 0x10
test eax, eax
jle 0x466427
add esi, dword [esp + 0x54]
mov ebx, dword [esp + 0x34]
add ebx, 0xffff8000
mov dword [esp + 0x3c], esi
mov dword [esp + 0x68], ebx
nop dword [eax]
mov edx, dword [esp + 0x6c]
dec eax
mov dword [esp + 0x98], eax
test ebx, ebx
jle 0x4661bd
mov ecx, ebx
mov dword [esp + 0x34], ebx
lea eax, [edx - 1]
sar ecx, 0x10
xor edi, edi
cmp ecx, eax
mov eax, edi
setl al
mov dword [esp + 0x40], eax
mov edi, eax
jmp 0x4661c5
xor eax, eax
xor edi, edi
mov dword [esp + 0x34], eax
test esi, esi
jle 0x4661e5
mov eax, dword [esp + 0x9c]
mov ecx, esi
sar ecx, 0x10
dec eax
xor ebp, ebp
cmp ecx, eax
mov ecx, esi
cmovl ebp, edx
mov dword [esp + 0x40], ebp
jmp 0x4661eb
xor ecx, ecx
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x34]
sar eax, 0x10
mov ebp, dword [esp + 0x1c]
sar ecx, 0x10
imul ecx, edx
add ecx, eax
mov dword [esp + 0x18], ecx
lea eax, [ecx + edi]
mov eax, dword [ebp + eax*4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
add eax, ecx
mov ecx, ebx
and ecx, 0xfffe
mov ebx, 0x10000
inc ecx
mov edx, dword [ebp + eax*4]
add eax, edi
mov edi, 0x10000
sub edi, ecx
mov eax, dword [ebp + eax*4]
mov dword [esp + 0x14], eax
mov eax, esi
and eax, 0xfffe
mov esi, edi
inc eax
sub ebx, eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
imul edi, dword [esp + 0x10]
imul esi, ebx
imul ebx, ecx
mov eax, dword [ebp + eax*4]
mov ebp, dword [esp + 0x2c]
shr eax, 0x18
shr esi, 0x10
imul esi, eax
mov eax, ebp
shr eax, 0x18
and ebp, 0xff0000
shr ebx, 0x10
imul ebx, eax
mov eax, edx
shr eax, 0x18
shr edi, 0x10
imul edi, eax
mov eax, dword [esp + 0x10]
imul eax, ecx
shr ebx, 0x10
imul ebp, ebx
shr edi, 0x10
shr esi, 0x10
mov dword [esp + 0x10], eax
mov ecx, eax
mov eax, dword [esp + 0x14]
shr eax, 0x18
shr ecx, 0x10
imul ecx, eax
mov eax, dword [esp + 0x14]
and eax, 0xff0000
mov dword [esp + 0x34], ebx
shr ecx, 0x10
imul eax, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x30], eax
mov eax, edx
mov ecx, dword [esp + 0x30]
and eax, 0xff0000
imul eax, edi
add ecx, eax
mov eax, dword [esp + 0x1c]
add ecx, ebp
mov ebp, dword [esp + 0x18]
mov eax, dword [eax + ebp*4]
and eax, 0xff0000
imul eax, esi
add ecx, eax
mov eax, dword [esp + 0x14]
and ecx, 0xff0000ff
mov dword [esp + 0x30], ecx
movzx ecx, al
imul ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x1c]
movzx eax, dl
and edx, 0xff00
imul eax, edi
imul edx, edi
add ecx, eax
mov eax, dword [esp + 0x2c]
movzx eax, al
imul eax, ebx
mov ebx, dword [esp + 0x18]
add ecx, eax
mov eax, dword [ebp + ebx*4]
movzx eax, al
imul eax, esi
add ecx, eax
mov eax, dword [esp + 0x2c]
and ecx, 0xff00
and eax, 0xff00
or dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x14]
imul eax, dword [esp + 0x34]
and ecx, 0xff00
imul ecx, dword [esp + 0x10]
add ecx, edx
mov edx, ebp
add ecx, eax
mov ebp, ebx
mov eax, dword [edx + ebp*4]
mov edx, dword [esp + 0x30]
and eax, 0xff00
mov ebp, dword [esp + 0x60]
imul eax, esi
add ecx, eax
mov eax, dword [esp + 0x10]
add eax, edi
and ecx, 0xff0000
add eax, dword [esp + 0x34]
or edx, ecx
add eax, esi
shr edx, 8
shl eax, 0x18
bswap eax
cmp eax, 8
jbe 0x4663f2
mov ebx, dword [ebp]
mov ecx, edx
mov eax, ebx
movzx esi, dl
and eax, 0xff0000
and ecx, 0xff00
add eax, edx
mov edi, 0xff
shr eax, 0x10
mov edx, 0xff
cmp eax, edi
cmovbe edi, eax
mov eax, ebx
and eax, 0xff00
add eax, ecx
mov ecx, 0xff
shr eax, 8
cmp eax, edx
cmovbe edx, eax
movzx eax, bl
add eax, esi
cmp eax, ecx
cmovbe ecx, eax
or edi, 0xffffff00
shl edi, 8
or edi, edx
shl edi, 8
or edi, ecx
mov dword [ebp], edi
mov ebx, dword [esp + 0x68]
add ebp, 4
mov esi, dword [esp + 0x3c]
add ebx, dword [esp + 0x70]
add esi, dword [esp + 0x84]
mov eax, dword [esp + 0x98]
mov dword [esp + 0x60], ebp
mov dword [esp + 0x68], ebx
mov dword [esp + 0x3c], esi
test eax, eax
jg 0x466190
mov ebp, dword [esp + 0x38]
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0x8c]
add ebp, eax
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x44]
lea ecx, [edx*4]
add dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x90]
add dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x94]
add dword [esp + 0x54], ecx
mov esi, dword [esp + 0x28]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x24], eax
test esi, esi
jg 0x466100
mov ebx, dword [esp + 0x84]
jmp 0x466485
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x64]
sub dword [esp + 0x74], eax
je 0x466c3d
mov eax, dword [esp + 0x20]
mov edi, dword [eax + 4]
mov eax, dword [esp + 0x88]
mov eax, dword [eax + 4]
sub eax, edi
cdq
push edx
push eax
push 0x10000
push 0
call fcn.0059bbf0
mov esi, eax
mov ecx, edx
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x20]
mov eax, dword [eax]
sub eax, dword [edx]
cdq
push edx
push eax
push ecx
push esi
call fcn.0059bca0
mov eax, dword [esp + 0x64]
mov ecx, edx
shl eax, 0x10
sub eax, edi
mov dword [esp + 0x3c], ecx
imul ecx
mov ecx, eax
shrd ecx, edx, 0x10
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
add ecx, eax
cmp dword [esp + 0x5c], eax
jge 0x466897
mov esi, dword [esp + 0x74]
test esi, esi
jle 0x466c3d
mov eax, dword [esp + 0x70]
cdq
mov dword [esp + 0x80], eax
mov eax, ebx
mov dword [esp + 0x98], edx
cdq
mov dword [esp + 0x78], eax
lea eax, [ecx + 0xffff]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x2c], eax
nop
lea ebx, [ebp + 0xffff]
dec esi
and ebx, 0xffff0000
mov dword [esp + 0x74], esi
mov eax, ebx
sub eax, ebp
cdq
mov esi, edx
mov edi, eax
push esi
push edi
push dword [esp + 0xa0]
push dword [esp + 0x8c]
call fcn.0059bca0
push esi
push edi
push dword [esp + 0x84]
shrd eax, edx, 0x10
push dword [esp + 0x84]
add eax, dword [esp + 0x60]
mov dword [esp + 0x58], eax
call fcn.0059bca0
mov esi, eax
mov ecx, ebx
mov eax, dword [esp + 0x2c]
shrd esi, edx, 0x10
mov edx, dword [esp + 0x4c]
sub eax, ebx
sar ecx, 0x10
add esi, 0xffff8000
sar eax, 0x10
lea ecx, [edx + ecx*4]
mov dword [esp + 0x64], ecx
test eax, eax
jle 0x466845
add esi, dword [esp + 0x54]
mov ebp, dword [esp + 0x48]
add ebp, 0xffff8000
mov dword [esp + 0x40], esi
mov dword [esp + 0x34], ebp
mov edx, dword [esp + 0x6c]
dec eax
mov dword [esp + 0x48], eax
test ebp, ebp
jle 0x4665e5
mov ecx, ebp
mov dword [esp + 0x24], ebp
sar ecx, 0x10
lea eax, [edx - 1]
xor ebx, ebx
cmp ecx, eax
setl bl
jmp 0x4665ed
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x44], ebx
test esi, esi
jle 0x46660d
mov eax, dword [esp + 0x9c]
mov ecx, esi
sar ecx, 0x10
dec eax
xor edi, edi
cmp ecx, eax
mov ecx, esi
cmovl edi, edx
jmp 0x466611
xor ecx, ecx
xor edi, edi
mov eax, dword [esp + 0x24]
sar eax, 0x10
sar ecx, 0x10
imul ecx, edx
mov edx, dword [esp + 0x1c]
add ecx, eax
mov dword [esp + 0x18], ecx
lea eax, [ecx + ebx]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x14], eax
lea eax, [ecx + edi]
mov ebx, dword [edx + eax*4]
mov ecx, ebp
add eax, dword [esp + 0x44]
and ecx, 0xfffe
inc ecx
mov edi, 0x10000
sub edi, ecx
mov ebp, 0x10000
mov edx, dword [edx + eax*4]
mov eax, esi
and eax, 0xfffe
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x1c]
inc eax
sub ebp, eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
mov esi, edi
imul edi, dword [esp + 0x10]
imul esi, ebp
imul ebp, ecx
mov eax, dword [edx + eax*4]
shr eax, 0x18
mov edx, dword [esp + 0x5c]
shr esi, 0x10
imul esi, eax
mov eax, dword [esp + 0x14]
shr eax, 0x18
shr ebp, 0x10
imul ebp, eax
mov eax, ebx
shr eax, 0x18
shr edi, 0x10
imul edi, eax
mov eax, dword [esp + 0x10]
imul eax, ecx
shr ebp, 0x10
shr esi, 0x10
shr edi, 0x10
mov dword [esp + 0x10], eax
mov ecx, eax
shr ecx, 0x10
mov eax, edx
shr eax, 0x18
and edx, 0xff00
imul ecx, eax
mov eax, ebx
and eax, 0xff00
imul eax, edi
shr ecx, 0x10
imul edx, ecx
mov dword [esp + 0x10], ecx
mov ecx, edx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x1c]
add ecx, eax
mov eax, dword [esp + 0x14]
and eax, 0xff00
imul eax, ebp
add ecx, eax
mov eax, dword [esp + 0x18]
mov eax, dword [edx + eax*4]
and eax, 0xff00
imul eax, esi
add ecx, eax
and ecx, 0xff0000
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x5c]
and ecx, 0xff0000
imul ecx, dword [esp + 0x10]
mov eax, ebx
and eax, 0xff0000
imul eax, edi
add ecx, eax
mov eax, dword [esp + 0x14]
and eax, 0xff0000
imul eax, ebp
add ecx, eax
mov eax, dword [esp + 0x18]
mov eax, dword [edx + eax*4]
mov edx, dword [esp + 0x5c]
and eax, 0xff0000
imul eax, esi
add ecx, eax
movzx eax, bl
mov ebx, dword [esp + 0x18]
and ecx, 0xff0000ff
or dword [esp + 0x20], ecx
imul eax, edi
movzx ecx, dl
imul ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
add ecx, eax
mov eax, dword [esp + 0x14]
movzx eax, al
imul eax, ebp
add ecx, eax
mov eax, dword [edx + ebx*4]
mov ebx, dword [esp + 0x20]
movzx eax, al
imul eax, esi
add ecx, eax
mov eax, dword [esp + 0x10]
add eax, edi
and ecx, 0xff00
add eax, ebp
or ebx, ecx
mov ebp, dword [esp + 0x64]
add eax, esi
shl eax, 0x18
shr ebx, 8
bswap eax
mov dword [esp + 0x20], ebx
cmp eax, 8
jbe 0x466813
mov ecx, ebx
movzx esi, bl
mov ebx, dword [ebp]
and ecx, 0xff00
mov eax, ebx
mov edi, 0xff
and eax, 0xff0000
mov edx, 0xff
add eax, dword [esp + 0x20]
shr eax, 0x10
cmp eax, edi
cmovbe edi, eax
mov eax, ebx
and eax, 0xff00
add eax, ecx
mov ecx, 0xff
shr eax, 8
cmp eax, edx
cmovbe edx, eax
movzx eax, bl
add eax, esi
cmp eax, ecx
cmovbe ecx, eax
or edi, 0xffffff00
shl edi, 8
or edi, edx
shl edi, 8
or edi, ecx
mov dword [ebp], edi
mov esi, dword [esp + 0x40]
add ebp, 4
add esi, dword [esp + 0x84]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x64], ebp
mov ebp, dword [esp + 0x34]
add ebp, dword [esp + 0x70]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x40], esi
test eax, eax
jg 0x4665c3
mov ebp, dword [esp + 0x38]
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0x3c]
add dword [esp + 0x2c], eax
add ebp, dword [esp + 0x8c]
mov esi, dword [esp + 0x74]
lea eax, [ecx*4]
add dword [esp + 0x4c], eax
mov eax, dword [esp + 0x90]
add dword [esp + 0x50], eax
mov eax, dword [esp + 0x94]
add dword [esp + 0x54], eax
mov dword [esp + 0x38], ebp
test esi, esi
jg 0x466530
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
jle 0x466c3d
mov esi, dword [esp + 0x74]
test esi, esi
jle 0x466c3d
mov eax, dword [esp + 0x70]
cdq
mov dword [esp + 0x80], eax
mov eax, ebx
mov dword [esp + 0x98], edx
cdq
mov dword [esp + 0x78], eax
lea eax, [ecx + 0xffff]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x64], eax
push dword [esp + 0x98]
mov ebx, eax
dec esi
push dword [esp + 0x84]
and ebx, 0xffff0000
mov dword [esp + 0x7c], esi
mov eax, ebx
sub eax, ebp
cdq
mov esi, edx
mov edi, eax
push esi
push edi
call fcn.0059bca0
push dword [esp + 0x7c]
shrd eax, edx, 0x10
push dword [esp + 0x7c]
add eax, dword [esp + 0x58]
push esi
push edi
mov dword [esp + 0x58], eax
call fcn.0059bca0
mov edi, eax
mov ecx, ebx
shrd edi, edx, 0x10
mov edx, dword [esp + 0x4c]
mov eax, ebp
sub eax, ebx
sar ecx, 0x10
add eax, 0xffff
add edi, 0xffff8000
sar eax, 0x10
lea ecx, [edx + ecx*4]
mov dword [esp + 0x5c], ecx
test eax, eax
jle 0x466bf2
add edi, dword [esp + 0x54]
mov ebp, dword [esp + 0x48]
add ebp, 0xffff8000
mov dword [esp + 0x68], edi
mov dword [esp + 0x40], ebp
nop dword [eax]
mov edx, dword [esp + 0x6c]
dec eax
mov dword [esp + 0x2c], eax
test ebp, ebp
jle 0x466982
mov ecx, ebp
mov dword [esp + 0x24], ebp
sar ecx, 0x10
lea eax, [edx - 1]
xor ebx, ebx
cmp ecx, eax
setl bl
jmp 0x46698a
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], ebx
test edi, edi
jle 0x4669ae
mov eax, dword [esp + 0x9c]
mov ecx, edi
sar ecx, 0x10
dec eax
xor esi, esi
cmp ecx, eax
mov ecx, edi
cmovl esi, edx
mov dword [esp + 0x44], esi
jmp 0x4669b4
xor ecx, ecx
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
sar eax, 0x10
sar ecx, 0x10
imul ecx, edx
add ecx, eax
mov dword [esp + 0x14], ecx
lea eax, [ecx + ebx]
mov edx, dword [esi + eax*4]
mov eax, dword [esp + 0x44]
add eax, ecx
mov dword [esp + 0x24], edx
mov ecx, ebp
mov ebp, 0x10000
and ecx, 0xfffe
inc ecx
mov ebx, dword [esi + eax*4]
add eax, dword [esp + 0x34]
mov dword [esp + 0x48], ecx
mov eax, dword [esi + eax*4]
mov dword [esp + 0x28], eax
mov eax, edi
and eax, 0xfffe
mov edi, 0x10000
inc eax
sub edi, ecx
mov ecx, dword [esp + 0x1c]
sub ebp, eax
mov dword [esp + 0x10], eax
mov esi, edi
mov eax, dword [esp + 0x14]
imul edi, dword [esp + 0x10]
imul esi, ebp
mov eax, dword [ecx + eax*4]
mov ecx, dword [esp + 0x48]
imul ebp, ecx
shr eax, 0x18
shr esi, 0x10
imul esi, eax
mov eax, edx
shr eax, 0x18
and edx, 0xff0000
shr ebp, 0x10
imul ebp, eax
mov eax, ebx
shr eax, 0x18
shr edi, 0x10
imul edi, eax
mov eax, dword [esp + 0x10]
imul eax, ecx
shr ebp, 0x10
imul edx, ebp
shr edi, 0x10
shr esi, 0x10
mov dword [esp + 0x10], eax
mov ecx, eax
mov eax, dword [esp + 0x28]
shr ecx, 0x10
shr eax, 0x18
imul ecx, eax
mov eax, dword [esp + 0x28]
and eax, 0xff0000
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], edi
shr ecx, 0x10
imul eax, ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
and ecx, 0xff0000
imul ecx, edi
add eax, ecx
mov ecx, dword [esp + 0x14]
add eax, edx
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + ecx*4]
and ecx, 0xff0000
imul ecx, esi
add eax, ecx
mov ecx, dword [esp + 0x28]
and eax, 0xff0000ff
movzx edx, cl
imul edx, dword [esp + 0x10]
movzx ecx, bl
and ebx, 0xff00
imul ecx, edi
mov edi, dword [esp + 0x1c]
imul ebx, dword [esp + 0x44]
add edx, ecx
mov ecx, dword [esp + 0x24]
movzx ecx, cl
imul ecx, ebp
mov ebp, dword [esp + 0x14]
add edx, ecx
mov ecx, dword [edi + ebp*4]
movzx ecx, cl
imul ecx, esi
add edx, ecx
mov ecx, dword [esp + 0x28]
and ecx, 0xff00
and edx, 0xff00
imul ecx, dword [esp + 0x10]
or eax, edx
mov edx, ebp
mov ebp, dword [esp + 0x5c]
add ecx, ebx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
and ecx, 0xff00
imul ecx, dword [esp + 0x48]
add ebx, ecx
mov ecx, dword [edi + edx*4]
and ecx, 0xff00
imul ecx, esi
add ebx, ecx
mov ecx, dword [esp + 0x10]
add ecx, dword [esp + 0x44]
and ebx, 0xff0000
add ecx, dword [esp + 0x48]
or eax, ebx
add ecx, esi
shr eax, 8
shl ecx, 0x18
bswap ecx
cmp ecx, 8
jbe 0x466bc0
mov ebx, dword [ebp]
mov edx, eax
mov ecx, ebx
movzx esi, al
and ecx, 0xff0000
and edx, 0xff00
add ecx, eax
mov edi, 0xff
shr ecx, 0x10
mov eax, ebx
cmp ecx, edi
cmovbe edi, ecx
and eax, 0xff00
add eax, edx
mov ecx, 0xff
shr eax, 8
mov edx, 0xff
cmp eax, edx
cmovbe edx, eax
movzx eax, bl
add eax, esi
cmp eax, ecx
cmovbe ecx, eax
or edi, 0xffffff00
shl edi, 8
or edi, edx
shl edi, 8
or edi, ecx
mov dword [ebp], edi
mov edi, dword [esp + 0x68]
add ebp, 4
add edi, dword [esp + 0x84]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x5c], ebp
mov ebp, dword [esp + 0x40]
add ebp, dword [esp + 0x70]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x68], edi
test eax, eax
jg 0x466960
mov ebp, dword [esp + 0x38]
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0x64]
add ebp, dword [esp + 0x8c]
add eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x74]
lea ecx, [edx*4]
add dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x90]
add dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x94]
add dword [esp + 0x54], ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x64], eax
test esi, esi
jg 0x4668d1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret