Function at 0x469970
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 + 0x6c], 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 + 0x28], 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 + 0x54], esi
mov dword [esp + 0x68], ebx
cmp eax, dword [ebx + 4]
jle 0x4699e1
mov ebp, ebx
mov dword [esp + 0x68], 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 + 0x6c], eax
mov dword [esp + 0x78], ebx
cmp eax, ebx
je 0x46ad49
mov eax, dword [esp + 0x68]
sub ecx, edx
mov ebx, dword [eax + 4]
lea eax, [ebx + 0xffff]
sar eax, 0x10
mov dword [esp + 0x58], 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 + 0x54]
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 + 0x54]
mov ecx, dword [ebp + 0x18]
push esi
mov dword [esp + 0x98], edx
mov eax, dword [eax + 0x18]
sub eax, ecx
mov dword [esp + 0x20], ecx
cdq
push edi
push edx
push eax
call fcn.0059bca0
mov eax, dword [esp + 0x54]
mov ecx, dword [ebp + 0x1c]
push esi
mov dword [esp + 0x94], edx
mov eax, dword [eax + 0x1c]
sub eax, ecx
mov dword [esp + 0x24], ecx
cdq
push edi
push edx
push eax
call fcn.0059bca0
mov esi, dword [ebp + 4]
sub ebx, esi
mov dword [esp + 0x8c], edx
mov eax, ebx
cdq
mov ecx, eax
mov ebx, edx
mov eax, dword [esp + 0x94]
cdq
push ebx
push ecx
mov edi, edx
mov dword [esp + 0x2c], ecx
push edi
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], eax
call fcn.0059bca0
mov ebp, dword [esp + 0x10]
mov ecx, eax
mov eax, dword [esp + 0x68]
shrd ecx, edx, 0x10
add ecx, ebp
mov ebx, dword [eax]
mov dword [esp + 0x5c], ecx
cmp ebx, ecx
je 0x46ad49
mov eax, dword [esp + 0x6c]
shl eax, 0x10
sub eax, esi
cdq
mov ecx, edx
mov dword [esp + 0x34], eax
push ecx
push eax
push edi
push dword [esp + 0x24]
mov dword [esp + 0x40], ecx
call fcn.0059bca0
push dword [esp + 0x30]
shrd eax, edx, 0x10
add eax, ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x44], 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 + 0x24]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x94]
cdq
mov ecx, eax
mov eax, edx
push eax
push ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x28], eax
call fcn.0059bca0
shrd eax, edx, 0x10
add eax, dword [esp + 0x20]
mov dword [esp + 0x50], 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 + 0x30], eax
mov ebp, edx
push dword [esp + 0x28]
push esi
push edi
call fcn.0059bca0
mov ecx, eax
mov esi, edx
mov eax, dword [esp + 0x68]
shrd ecx, esi, 0x10
push ebp
push dword [esp + 0x30]
mov eax, dword [eax + 0x18]
cdq
mov ebx, eax
sar esi, 0x10
mov eax, dword [esp + 0x24]
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 + 0x78], edx
push dword [esp + 0x28]
push dword [esp + 0x20]
push dword [esp + 0x70]
call fcn.0059bca0
mov ecx, eax
mov esi, edx
mov eax, dword [esp + 0x68]
shrd ecx, esi, 0x10
push ebp
push dword [esp + 0x30]
mov eax, dword [eax + 0x1c]
cdq
mov ebx, eax
sar esi, 0x10
mov eax, dword [esp + 0x28]
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 + 0x6c]
mov ebx, edx
imul ecx, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x88], ebx
lea eax, [eax + ecx*4]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x6c]
mov dword [esp + 0x6c], eax
je 0x46a4ce
mov eax, dword [esp + 0x68]
push dword [esp + 0x14]
push dword [esp + 0x28]
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 + 0x38]
mov dword [esp + 0x6c], 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 + 0x40]
jge 0x46a0b3
mov esi, dword [esp + 0x6c]
test esi, esi
jle 0x46a4d2
mov eax, dword [esp + 0x74]
cdq
mov dword [esp + 0x3c], eax
mov eax, ebx
mov dword [esp + 0x18], edx
cdq
mov dword [esp + 0x80], eax
lea eax, [ecx + 0xffff]
mov dword [esp + 0x1c], eax
lea eax, [ebp + 0xffff]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x38], eax
nop dword [eax]
mov ebx, eax
dec esi
and ebx, 0xffff0000
mov dword [esp + 0x6c], esi
mov eax, ebx
sub eax, ebp
cdq
mov esi, edx
mov edi, eax
push esi
push edi
push dword [esp + 0x20]
push dword [esp + 0x48]
call fcn.0059bca0
push esi
push edi
push dword [esp + 0x84]
shrd eax, edx, 0x10
push dword [esp + 0x8c]
add eax, dword [esp + 0x5c]
mov dword [esp + 0x70], eax
call fcn.0059bca0
mov esi, eax
mov eax, ebx
shrd esi, edx, 0x10
mov edx, dword [esp + 0x48]
sar eax, 0x10
add esi, 0xffff8000
lea eax, [edx + eax*4]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
sub eax, ebx
sar eax, 0x10
test eax, eax
jle 0x46a051
mov ebx, dword [esp + 0x60]
add esi, dword [esp + 0x50]
add ebx, 0xffff8000
mov dword [esp + 0x44], esi
mov dword [esp + 0x60], ebx
nop dword [eax]
mov edx, dword [esp + 0x70]
dec eax
mov dword [esp + 0x84], eax
test ebx, ebx
jle 0x469d8d
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 + 0x2c], eax
mov edi, eax
jmp 0x469d95
xor eax, eax
xor edi, edi
mov dword [esp + 0x34], eax
test esi, esi
jle 0x469db5
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 + 0x24], ebp
jmp 0x469dbb
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x34]
sar eax, 0x10
mov ebp, dword [esp + 0x28]
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 + 0x2c], eax
mov eax, dword [esp + 0x24]
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 + 0x24], 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 + 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 + 0x24]
shr eax, 0x18
shr ecx, 0x10
imul ecx, eax
mov eax, dword [esp + 0x24]
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 + 0x28]
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 + 0x24]
and ecx, 0xff0000ff
mov dword [esp + 0x30], ecx
movzx ecx, al
imul ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x28]
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 + 0x14]
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 + 0x24]
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 + 0x20]
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 0x46a01c
mov edi, dword [esp + 0xb4]
mov ecx, edx
movzx eax, dl
and ecx, 0xff00
and edx, 0xff0000
imul eax, dword [edi + 0xc]
imul edx, dword [edi + 4]
mov esi, dword [edi]
and eax, 0xff00
or eax, edx
mov edx, dword [edi + 8]
shr eax, 8
mov edi, 0xff
movzx ebx, al
and eax, 0xff0000
imul eax, esi
imul edx, ecx
mov ecx, dword [ebp]
imul ebx, esi
and edx, 0xff0000
bswap edx
and ebx, 0xff00
imul edx, esi
or ebx, eax
mov eax, ecx
and eax, 0xff0000
shr ebx, 8
add eax, ebx
movzx esi, bl
shr eax, 0x10
and edx, 0xff0000
cmp eax, edi
bswap edx
cmovbe edi, eax
mov eax, ecx
and eax, 0xff00
add eax, edx
mov edx, 0xff
shr eax, 8
cmp eax, edx
cmovbe edx, eax
movzx eax, cl
add eax, esi
mov ecx, 0xff
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 + 0x60]
add ebp, 4
mov esi, dword [esp + 0x44]
add ebx, dword [esp + 0x74]
add esi, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x60], ebx
mov dword [esp + 0x44], esi
test eax, eax
jg 0x469d60
mov ebp, dword [esp + 0x40]
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0x64]
add dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x38]
add ebp, dword [esp + 0x94]
lea ecx, [edx*4]
add dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x90]
add dword [esp + 0x4c], ecx
add eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x8c]
add dword [esp + 0x50], ecx
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x38], eax
test esi, esi
jg 0x469cd0
mov ebx, dword [esp + 0x88]
jmp 0x46a4d2
jle 0x46a4d2
mov esi, dword [esp + 0x6c]
test esi, esi
jle 0x46a4d2
mov eax, dword [esp + 0x74]
cdq
mov dword [esp + 0x80], eax
mov eax, ebx
mov dword [esp + 0x84], edx
cdq
mov dword [esp + 0x3c], eax
lea eax, [ebp + 0xffff]
mov dword [esp + 0x2c], eax
lea eax, [ecx + 0xffff]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x18], eax
mov ebx, eax
dec esi
and ebx, 0xffff0000
mov dword [esp + 0x6c], esi
mov eax, ebx
sub eax, ebp
cdq
mov esi, edx
mov edi, eax
push esi
push edi
push dword [esp + 0x8c]
push dword [esp + 0x8c]
call fcn.0059bca0
push esi
push edi
push dword [esp + 0x84]
shrd eax, edx, 0x10
push dword [esp + 0x48]
add eax, dword [esp + 0x5c]
mov dword [esp + 0x48], eax
call fcn.0059bca0
mov esi, eax
mov eax, ebx
shrd esi, edx, 0x10
mov edx, dword [esp + 0x48]
sar eax, 0x10
add esi, 0xffff8000
lea eax, [edx + eax*4]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
sub eax, ebx
sar eax, 0x10
test eax, eax
jle 0x46a474
add esi, dword [esp + 0x50]
mov ebx, dword [esp + 0x38]
add ebx, 0xffff8000
mov dword [esp + 0x34], esi
mov dword [esp + 0x60], ebx
mov edx, dword [esp + 0x70]
dec eax
mov dword [esp + 0x98], eax
test ebx, ebx
jle 0x46a1b0
mov ecx, ebx
mov dword [esp + 0x38], ebx
lea eax, [edx - 1]
sar ecx, 0x10
xor edi, edi
cmp ecx, eax
mov eax, edi
setl al
mov dword [esp + 0x44], eax
mov edi, eax
jmp 0x46a1b8
xor eax, eax
xor edi, edi
mov dword [esp + 0x38], eax
test esi, esi
jle 0x46a1d8
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 + 0x44], ebp
jmp 0x46a1de
xor ecx, ecx
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x38]
sar eax, 0x10
mov ebp, dword [esp + 0x28]
sar ecx, 0x10
imul ecx, edx
add ecx, eax
mov dword [esp + 0x24], ecx
lea eax, [ecx + edi]
mov eax, dword [ebp + eax*4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x44]
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 + 0x24]
imul edi, dword [esp + 0x10]
imul esi, ebx
imul ebx, ecx
mov eax, dword [ebp + eax*4]
mov ebp, dword [esp + 0x1c]
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 + 0x38], 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 + 0x28]
add ecx, ebp
mov ebp, dword [esp + 0x24]
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 + 0x28]
movzx eax, dl
and edx, 0xff00
imul eax, edi
imul edx, edi
add ecx, eax
mov eax, dword [esp + 0x1c]
movzx eax, al
imul eax, ebx
mov ebx, dword [esp + 0x24]
add ecx, eax
mov eax, dword [ebp + ebx*4]
movzx eax, al
imul eax, esi
add ecx, eax
mov eax, dword [esp + 0x1c]
and ecx, 0xff00
and eax, 0xff00
or dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x14]
imul eax, dword [esp + 0x38]
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 + 0x20]
imul eax, esi
add ecx, eax
mov eax, dword [esp + 0x10]
add eax, edi
and ecx, 0xff0000
add eax, dword [esp + 0x38]
or edx, ecx
add eax, esi
shr edx, 8
shl eax, 0x18
bswap eax
cmp eax, 8
jbe 0x46a43f
mov edi, dword [esp + 0xb4]
mov ecx, edx
movzx eax, dl
and ecx, 0xff00
and edx, 0xff0000
imul eax, dword [edi + 0xc]
imul edx, dword [edi + 4]
mov esi, dword [edi]
and eax, 0xff00
or eax, edx
mov edx, dword [edi + 8]
shr eax, 8
mov edi, 0xff
movzx ebx, al
and eax, 0xff0000
imul eax, esi
imul edx, ecx
mov ecx, dword [ebp]
imul ebx, esi
and edx, 0xff0000
bswap edx
and ebx, 0xff00
imul edx, esi
or ebx, eax
mov eax, ecx
and eax, 0xff0000
shr ebx, 8
add eax, ebx
movzx esi, bl
shr eax, 0x10
and edx, 0xff0000
cmp eax, edi
bswap edx
cmovbe edi, eax
mov eax, ecx
and eax, 0xff00
add eax, edx
mov edx, 0xff
shr eax, 8
cmp eax, edx
cmovbe edx, eax
movzx eax, cl
add eax, esi
mov ecx, 0xff
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 + 0x60]
add ebp, 4
mov esi, dword [esp + 0x34]
add ebx, dword [esp + 0x74]
add esi, dword [esp + 0x88]
mov eax, dword [esp + 0x98]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x60], ebx
mov dword [esp + 0x34], esi
test eax, eax
jg 0x46a183
mov ebp, dword [esp + 0x40]
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0x94]
add ebp, eax
add dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x64]
lea ecx, [edx*4]
add dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x90]
add dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x8c]
add dword [esp + 0x50], ecx
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x18], eax
test esi, esi
jg 0x46a0f7
mov ebx, dword [esp + 0x88]
jmp 0x46a4d2
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x58]
sub dword [esp + 0x78], eax
je 0x46ad49
mov eax, dword [esp + 0x68]
mov edi, dword [eax + 4]
mov eax, dword [esp + 0x54]
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 + 0x54]
mov edx, dword [esp + 0x68]
mov eax, dword [eax]
sub eax, dword [edx]
cdq
push edx
push eax
push ecx
push esi
call fcn.0059bca0
mov eax, dword [esp + 0x58]
mov ecx, edx
shl eax, 0x10
sub eax, edi
mov dword [esp + 0x60], ecx
imul ecx
mov ecx, eax
shrd ecx, edx, 0x10
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
add ecx, eax
cmp dword [esp + 0x5c], eax
jge 0x46a955
mov esi, dword [esp + 0x78]
test esi, esi
jle 0x46ad49
mov eax, dword [esp + 0x74]
cdq
mov dword [esp + 0x84], eax
mov eax, ebx
mov dword [esp + 0x98], edx
cdq
mov dword [esp + 0x7c], eax
lea eax, [ecx + 0xffff]
mov dword [esp + 0x80], edx
mov dword [esp + 0x20], eax
nop dword [eax]
lea ebx, [ebp + 0xffff]
dec esi
and ebx, 0xffff0000
mov dword [esp + 0x78], 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 + 0x90]
call fcn.0059bca0
push esi
push edi
push dword [esp + 0x88]
shrd eax, edx, 0x10
push dword [esp + 0x88]
add eax, dword [esp + 0x5c]
mov dword [esp + 0x4c], eax
call fcn.0059bca0
mov edi, eax
mov ecx, ebx
mov eax, dword [esp + 0x20]
shrd edi, edx, 0x10
mov edx, dword [esp + 0x48]
sub eax, ebx
sar ecx, 0x10
add edi, 0xffff8000
sar eax, 0x10
lea ecx, [edx + ecx*4]
mov dword [esp + 0x1c], ecx
test eax, eax
jle 0x46a903
add edi, dword [esp + 0x50]
mov ebp, dword [esp + 0x3c]
add ebp, 0xffff8000
mov dword [esp + 0x44], edi
mov dword [esp + 0x38], ebp
mov edx, dword [esp + 0x70]
dec eax
mov dword [esp + 0x34], eax
test ebp, ebp
jle 0x46a63b
mov ecx, ebp
mov dword [esp + 0x18], ebp
xor ebx, ebx
sar ecx, 0x10
lea eax, [edx - 1]
cmp ecx, eax
setl bl
mov dword [esp + 0x3c], ebx
mov esi, ebx
jmp 0x46a643
xor eax, eax
xor esi, esi
mov dword [esp + 0x18], eax
test edi, edi
jle 0x46a663
mov eax, dword [esp + 0x9c]
mov ecx, edi
sar ecx, 0x10
dec eax
xor ebx, ebx
cmp ecx, eax
mov ecx, edi
cmovl ebx, edx
mov dword [esp + 0x64], ebx
jmp 0x46a669
xor ecx, ecx
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x18]
and edi, 0xfffe
sar eax, 0x10
inc edi
sar ecx, 0x10
imul ecx, edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x10], edi
add ecx, eax
mov dword [esp + 0x58], ecx
mov ebx, dword [edx + ecx*4]
lea eax, [ecx + esi]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x64]
add eax, ecx
shr ebx, 0x18
mov ecx, dword [edx + eax*4]
add eax, esi
mov esi, ebp
mov dword [esp + 0x5c], ecx
and esi, 0xfffe
mov ecx, 0x10000
inc esi
sub ecx, edi
mov eax, dword [edx + eax*4]
mov edx, 0x10000
sub edx, esi
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
mov ebp, edx
imul ebp, ecx
shr eax, 0x18
imul edi, edx
mov edx, dword [esp + 0x3c]
shr ebp, 0x10
imul ebp, ebx
mov ebx, esi
imul ebx, ecx
shr edi, 0x10
shr ebp, 0x10
shr ebx, 0x10
imul ebx, eax
mov eax, dword [esp + 0x5c]
shr eax, 0x18
imul edi, eax
mov eax, dword [esp + 0x10]
imul eax, esi
shr ebx, 0x10
mov dword [esp + 0x18], ebp
shr edi, 0x10
mov dword [esp + 0x10], eax
mov esi, eax
shr esi, 0x10
mov eax, edx
shr eax, 0x18
imul esi, eax
mov eax, edx
and eax, 0xff00
shr esi, 0x10
imul eax, esi
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x54]
and eax, 0xff00
imul eax, edi
add ecx, eax
mov eax, dword [esp + 0x14]
and eax, 0xff00
imul eax, ebx
add ecx, eax
mov eax, dword [esp + 0x58]
mov eax, dword [esi + eax*4]
and eax, 0xff00
imul eax, ebp
add ecx, eax
and ecx, 0xff0000
mov dword [esp + 0x54], ecx
mov ecx, edx
mov eax, dword [esp + 0x5c]
and ecx, 0xff0000
imul ecx, dword [esp + 0x10]
and eax, 0xff0000
imul eax, edi
add ecx, eax
mov eax, dword [esp + 0x14]
and eax, 0xff0000
imul eax, ebx
add ecx, eax
mov eax, dword [esp + 0x58]
mov eax, dword [esi + eax*4]
mov esi, dword [esp + 0x54]
and eax, 0xff0000
imul eax, ebp
mov ebp, dword [esp + 0x28]
add ecx, eax
mov eax, dword [esp + 0x5c]
movzx eax, al
and ecx, 0xff0000ff
imul eax, edi
or esi, ecx
movzx ecx, dl
imul ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x58]
add ecx, eax
mov eax, dword [esp + 0x14]
movzx eax, al
imul eax, ebx
add ecx, eax
mov eax, dword [ebp + edx*4]
mov ebp, dword [esp + 0x1c]
movzx eax, al
imul eax, dword [esp + 0x18]
add ecx, eax
mov eax, dword [esp + 0x10]
add eax, edi
and ecx, 0xff00
add eax, ebx
or esi, ecx
add eax, dword [esp + 0x18]
shl eax, 0x18
shr esi, 8
bswap eax
mov dword [esp + 0x54], esi
cmp eax, 8
jbe 0x46a8d1
mov edi, dword [esp + 0xb4]
mov edx, dword [esp + 0x54]
mov ecx, edx
movzx eax, dl
and ecx, 0xff00
and edx, 0xff0000
imul eax, dword [edi + 0xc]
imul edx, dword [edi + 4]
mov esi, dword [edi]
and eax, 0xff00
or eax, edx
mov edx, dword [edi + 8]
shr eax, 8
mov edi, 0xff
movzx ebx, al
and eax, 0xff0000
imul eax, esi
imul edx, ecx
mov ecx, dword [ebp]
imul ebx, esi
and edx, 0xff0000
bswap edx
and ebx, 0xff00
imul edx, esi
or ebx, eax
mov eax, ecx
and eax, 0xff0000
shr ebx, 8
add eax, ebx
movzx esi, bl
shr eax, 0x10
and edx, 0xff0000
cmp eax, edi
bswap edx
cmovbe edi, eax
mov eax, ecx
and eax, 0xff00
add eax, edx
mov edx, 0xff
shr eax, 8
cmp eax, edx
cmovbe edx, eax
movzx eax, cl
add eax, esi
mov ecx, 0xff
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 + 0x44]
add ebp, 4
add edi, dword [esp + 0x88]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x38]
add ebp, dword [esp + 0x74]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x44], edi
test eax, eax
jg 0x46a613
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0x60]
add dword [esp + 0x20], eax
add ebp, dword [esp + 0x94]
mov esi, dword [esp + 0x78]
lea eax, [ecx*4]
add dword [esp + 0x48], eax
mov eax, dword [esp + 0x90]
add dword [esp + 0x4c], eax
mov eax, dword [esp + 0x8c]
add dword [esp + 0x50], eax
mov dword [esp + 0x40], ebp
test esi, esi
jg 0x46a580
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
jle 0x46ad49
mov esi, dword [esp + 0x78]
test esi, esi
jle 0x46ad49
mov eax, dword [esp + 0x74]
cdq
mov dword [esp + 0x84], eax
mov eax, ebx
mov dword [esp + 0x98], edx
cdq
mov dword [esp + 0x7c], eax
lea eax, [ecx + 0xffff]
mov dword [esp + 0x80], edx
mov dword [esp + 0x34], eax
mov ebx, eax
dec esi
and ebx, 0xffff0000
mov dword [esp + 0x78], 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 + 0x90]
call fcn.0059bca0
push esi
push edi
push dword [esp + 0x88]
shrd eax, edx, 0x10
push dword [esp + 0x88]
add eax, dword [esp + 0x5c]
mov dword [esp + 0x4c], eax
call fcn.0059bca0
mov edi, eax
mov ecx, ebx
shrd edi, edx, 0x10
mov edx, dword [esp + 0x48]
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 + 0x2c], ecx
test eax, eax
jle 0x46acfe
add edi, dword [esp + 0x50]
mov ebp, dword [esp + 0x3c]
add ebp, 0xffff8000
mov dword [esp + 0x44], edi
mov dword [esp + 0x38], ebp
mov edx, dword [esp + 0x70]
dec eax
mov dword [esp + 0x24], eax
test ebp, ebp
jle 0x46aa4c
mov ecx, ebp
mov dword [esp + 0x18], ebp
xor ebx, ebx
sar ecx, 0x10
lea eax, [edx - 1]
cmp ecx, eax
setl bl
mov dword [esp + 0x3c], ebx
mov esi, ebx
jmp 0x46aa54
xor eax, eax
xor esi, esi
mov dword [esp + 0x18], eax
xor ebx, ebx
test edi, edi
jle 0x46aa78
mov eax, dword [esp + 0x9c]
mov ecx, edi
sar ecx, 0x10
dec eax
cmp ecx, eax
cmovl ebx, edx
mov dword [esp + 0x3c], ebx
mov ebx, edi
mov ecx, dword [esp + 0x3c]
jmp 0x46aa7a
xor ecx, ecx
mov eax, dword [esp + 0x18]
and edi, 0xfffe
sar eax, 0x10
inc edi
sar ebx, 0x10
imul ebx, edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x5c], edi
add ebx, eax
mov dword [esp + 0x1c], ebx
lea eax, [ebx + esi]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x14], eax
lea eax, [ebx + ecx]
mov ecx, dword [edx + eax*4]
add eax, esi
mov dword [esp + 0x58], ecx
mov esi, ebp
and esi, 0xfffe
mov ecx, 0x10000
sub ecx, edi
inc esi
mov eax, dword [edx + eax*4]
mov edx, 0x10000
mov dword [esp + 0x18], eax
sub edx, esi
mov eax, dword [esp + 0x28]
mov ebp, edx
imul ebp, ecx
imul edi, edx
mov edx, dword [esp + 0x18]
mov eax, dword [eax + ebx*4]
mov ebx, esi
imul ebx, ecx
mov ecx, dword [esp + 0x58]
shr eax, 0x18
shr ebp, 0x10
imul ebp, eax
mov eax, dword [esp + 0x14]
shr eax, 0x18
shr ebx, 0x10
imul ebx, eax
mov eax, ecx
shr eax, 0x18
and ecx, 0xff0000
shr edi, 0x10
imul edi, eax
mov eax, dword [esp + 0x5c]
imul eax, esi
shr ebx, 0x10
mov dword [esp + 0x20], ebx
shr edi, 0x10
imul ecx, edi
mov esi, eax
mov dword [esp + 0x5c], eax
mov eax, edx
shr esi, 0x10
shr eax, 0x18
imul esi, eax
mov eax, edx
and eax, 0xff0000
shr ebp, 0x10
movzx edx, dl
mov dword [esp + 0x64], edi
shr esi, 0x10
imul eax, esi
add eax, ecx
mov ecx, dword [esp + 0x14]
and ecx, 0xff0000
imul ecx, ebx
mov ebx, dword [esp + 0x28]
add eax, ecx
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ebx + ecx*4]
and ecx, 0xff0000
imul ecx, ebp
add eax, ecx
mov ecx, dword [esp + 0x58]
and eax, 0xff0000ff
movzx ecx, cl
imul edx, esi
imul ecx, edi
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
add edx, ecx
mov ecx, dword [esp + 0x14]
movzx ecx, cl
imul ecx, dword [esp + 0x20]
add edx, ecx
mov ecx, dword [edi + ebx*4]
movzx ecx, cl
imul ecx, ebp
add edx, ecx
mov ecx, dword [esp + 0x58]
and edx, 0xff00
and ecx, 0xff00
imul ecx, dword [esp + 0x64]
or eax, edx
mov edx, dword [esp + 0x18]
and edx, 0xff00
imul edx, esi
add edx, ecx
mov ecx, dword [esp + 0x14]
and ecx, 0xff00
imul ecx, dword [esp + 0x20]
add edx, ecx
mov ecx, dword [edi + ebx*4]
and ecx, 0xff00
imul ecx, ebp
add edx, ecx
mov ecx, dword [esp + 0x64]
add ecx, esi
and edx, 0xff0000
add ecx, dword [esp + 0x20]
or eax, edx
add ecx, ebp
shr eax, 8
mov ebp, dword [esp + 0x2c]
shl ecx, 0x18
bswap ecx
cmp ecx, 8
jbe 0x46accc
mov edi, dword [esp + 0xb4]
mov edx, eax
movzx ecx, al
and edx, 0xff00
and eax, 0xff0000
imul eax, dword [edi + 4]
imul ecx, dword [edi + 0xc]
mov esi, dword [edi]
mov edi, dword [edi + 8]
imul edi, edx
mov edx, 0xff
and ecx, 0xff00
or ecx, eax
shr ecx, 8
movzx ebx, cl
and edi, 0xff0000
imul ebx, esi
and ecx, 0xff0000
imul ecx, esi
bswap edi
imul edi, esi
and ebx, 0xff00
or ebx, ecx
mov ecx, dword [ebp]
shr ebx, 8
mov eax, ecx
and eax, 0xff0000
movzx esi, bl
add eax, ebx
and edi, 0xff0000
shr eax, 0x10
mov ebx, 0xff
cmp eax, ebx
bswap edi
cmovbe ebx, eax
mov eax, ecx
and eax, 0xff00
add eax, edi
shr eax, 8
cmp eax, edx
cmovbe edx, eax
movzx eax, cl
add eax, esi
mov ecx, 0xff
cmp eax, ecx
cmovbe ecx, eax
or ebx, 0xffffff00
shl ebx, 8
or ebx, edx
shl ebx, 8
or ebx, ecx
mov dword [ebp], ebx
mov edi, dword [esp + 0x44]
add ebp, 4
add edi, dword [esp + 0x88]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x38]
add ebp, dword [esp + 0x74]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x44], edi
test eax, eax
jg 0x46aa24
mov ebp, dword [esp + 0x40]
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0x34]
add ebp, dword [esp + 0x94]
add eax, dword [esp + 0x60]
mov esi, dword [esp + 0x78]
lea ecx, [edx*4]
add dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x90]
add dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x8c]
add dword [esp + 0x50], ecx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x34], eax
test esi, esi
jg 0x46a992
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret