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

Disassembly:
sub esp, 0x90
mov eax, dword [esp + 0xa0]
shr dword [esp + 0x9c], 1
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 + 0x20], 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 + 0x50], esi
mov dword [esp + 0x68], ebx
cmp eax, dword [ebx + 4]
jle 0x43f170
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 0x44031b
mov eax, dword [esp + 0x68]
sub ecx, edx
mov ebx, dword [eax + 4]
lea eax, [ebx + 0xffff]
sar eax, 0x10
mov dword [esp + 0x54], 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 + 0x50]
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 + 0x50]
mov ecx, dword [ebp + 0x18]
push esi
mov dword [esp + 0x90], edx
mov eax, dword [eax + 0x18]
sub eax, ecx
mov dword [esp + 0x2c], ecx
cdq
push edi
push edx
push eax
call fcn.0059bca0
mov eax, dword [esp + 0x50]
mov ecx, dword [ebp + 0x1c]
push esi
mov dword [esp + 0x94], edx
mov eax, dword [eax + 0x1c]
sub eax, ecx
mov dword [esp + 0x60], 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 + 0x1c], ecx
push edi
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], 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 + 0x58], ecx
cmp ebx, ecx
je 0x44031b
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 + 0x30]
mov dword [esp + 0x2c], ecx
call fcn.0059bca0
push dword [esp + 0x1c]
shrd eax, edx, 0x10
add eax, ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x34], 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 + 0x1c]
shrd eax, edx, 0x10
push ebp
add eax, dword [esp + 0x30]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x9c]
cdq
mov ecx, eax
mov eax, edx
push eax
push ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x34], eax
call fcn.0059bca0
shrd eax, edx, 0x10
add eax, dword [esp + 0x5c]
mov dword [esp + 0x48], eax
mov eax, ebx
sub eax, dword [esp + 0x58]
cdq
push edx
push eax
push 0x10000
push 0
call fcn.0059bbf0
push dword [esp + 0x18]
mov dword [esp + 0x50], eax
mov ebp, edx
push dword [esp + 0x18]
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 + 0x50]
mov eax, dword [eax + 0x18]
cdq
mov ebx, eax
sar esi, 0x10
mov eax, dword [esp + 0x30]
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 + 0x18]
mov dword [esp + 0x78], edx
push dword [esp + 0x18]
push dword [esp + 0x2c]
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 + 0x50]
mov eax, dword [eax + 0x1c]
cdq
mov ebx, eax
sar esi, 0x10
mov eax, dword [esp + 0x64]
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*2]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x6c]
mov dword [esp + 0x6c], eax
je 0x43fb8e
mov eax, dword [esp + 0x68]
push dword [esp + 0x18]
push dword [esp + 0x18]
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 + 0x1c]
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 + 0x58], ebp
mov ebp, dword [esp + 0x30]
jge 0x43f7d6
mov esi, dword [esp + 0x6c]
test esi, esi
jle 0x43fb92
mov eax, dword [esp + 0x74]
cdq
mov dword [esp + 0x3c], eax
mov eax, ebx
mov dword [esp + 0x24], edx
cdq
mov dword [esp + 0x80], eax
lea eax, [ecx + 0xffff]
mov dword [esp + 0x28], eax
lea eax, [ebp + 0xffff]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x2c], eax
nop dword [eax + 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 + 0x2c]
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 + 0x54]
mov dword [esp + 0x70], eax
call fcn.0059bca0
mov esi, eax
mov eax, ebx
shrd esi, edx, 0x10
mov edx, dword [esp + 0x40]
sar eax, 0x10
add esi, 0xffff8000
lea eax, [edx + eax*2]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x28]
sub eax, ebx
sar eax, 0x10
test eax, eax
jle 0x43f778
mov ebx, dword [esp + 0x60]
add esi, dword [esp + 0x48]
add ebx, 0xffff8000
mov dword [esp + 0x38], 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 0x43f51d
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 + 0x4c], eax
mov edi, eax
jmp 0x43f525
xor eax, eax
xor edi, edi
mov dword [esp + 0x34], eax
test esi, esi
jle 0x43f545
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 + 0x14], ebp
jmp 0x43f54b
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x34]
sar eax, 0x10
mov ebp, dword [esp + 0x20]
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 + 0x4c], eax
mov eax, dword [esp + 0x14]
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 + 0x4c]
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 + 0x1c], eax
mov eax, edx
mov ecx, dword [esp + 0x1c]
and eax, 0xff0000
imul eax, edi
add ecx, eax
mov eax, dword [esp + 0x20]
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 + 0x1c], ecx
movzx ecx, al
imul ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x20]
movzx eax, dl
and edx, 0xff00
imul eax, edi
imul edx, edi
add ecx, eax
mov eax, dword [esp + 0x4c]
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 + 0x4c]
and ecx, 0xff00
and eax, 0xff00
or dword [esp + 0x1c], 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 + 0x1c]
and eax, 0xff00
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
mov edi, dword [esp + 0x5c]
add eax, esi
shl eax, 0x18
bswap eax
shr edx, 8
cmp eax, 8
jbe 0x43f743
mov esi, edx
mov eax, edx
shr edx, 3
and edx, 0x1f
shr eax, 5
mov dword [esp + 0x1c], edx
and eax, 0x7e0
movzx edx, word [edi]
mov ecx, edx
shr esi, 8
and ecx, 0x7e0
and esi, 0xf800
add ecx, eax
mov eax, edx
and eax, 0x1f
shr ecx, 5
add eax, dword [esp + 0x1c]
and edx, 0xf800
shr eax, 5
add edx, esi
or ecx, eax
shr edx, 5
or ecx, edx
mov word [edi], cx
mov ebx, dword [esp + 0x60]
add edi, 2
mov esi, dword [esp + 0x38]
add ebx, dword [esp + 0x74]
add esi, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], ebx
mov dword [esp + 0x38], esi
test eax, eax
jg 0x43f4f0
mov ebp, dword [esp + 0x30]
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0x64]
add dword [esp + 0x28], ecx
mov eax, dword [esp + 0x2c]
add ebp, dword [esp + 0x8c]
lea ecx, [edx + edx]
add dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x90]
add dword [esp + 0x44], ecx
add eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x94]
add dword [esp + 0x48], ecx
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], eax
test esi, esi
jg 0x43f460
mov ebx, dword [esp + 0x88]
jmp 0x43fb92
jle 0x43fb92
mov esi, dword [esp + 0x6c]
test esi, esi
jle 0x43fb92
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 + 0x4c], eax
lea eax, [ecx + 0xffff]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x24], eax
nop word [eax + 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 + 0x54]
mov dword [esp + 0x3c], eax
call fcn.0059bca0
mov esi, eax
mov eax, ebx
shrd esi, edx, 0x10
mov edx, dword [esp + 0x40]
sar eax, 0x10
add esi, 0xffff8000
lea eax, [edx + eax*2]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x4c]
sub eax, ebx
sar eax, 0x10
test eax, eax
jle 0x43fb38
add esi, dword [esp + 0x48]
mov ebx, dword [esp + 0x2c]
add ebx, 0xffff8000
mov dword [esp + 0x34], esi
mov dword [esp + 0x60], ebx
nop dword [eax]
mov edx, dword [esp + 0x70]
dec eax
mov dword [esp + 0x98], eax
test ebx, ebx
jle 0x43f8dd
mov ecx, ebx
mov dword [esp + 0x2c], ebx
lea eax, [edx - 1]
sar ecx, 0x10
xor edi, edi
cmp ecx, eax
mov eax, edi
setl al
mov dword [esp + 0x38], eax
mov edi, eax
jmp 0x43f8e5
xor eax, eax
xor edi, edi
mov dword [esp + 0x2c], eax
test esi, esi
jle 0x43f905
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 + 0x38], ebp
jmp 0x43f90b
xor ecx, ecx
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x2c]
sar eax, 0x10
mov ebp, dword [esp + 0x20]
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 + 0x28], eax
mov eax, dword [esp + 0x38]
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 + 0x28]
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 + 0x2c], ebx
shr ecx, 0x10
imul eax, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], eax
mov eax, edx
mov ecx, dword [esp + 0x1c]
and eax, 0xff0000
imul eax, edi
add ecx, eax
mov eax, dword [esp + 0x20]
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 + 0x1c], ecx
movzx ecx, al
imul ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x20]
movzx eax, dl
and edx, 0xff00
imul eax, edi
imul edx, edi
add ecx, eax
mov eax, dword [esp + 0x28]
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 + 0x28]
and ecx, 0xff00
and eax, 0xff00
or dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x18]
imul eax, dword [esp + 0x2c]
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 + 0x1c]
and eax, 0xff00
imul eax, esi
add ecx, eax
mov eax, dword [esp + 0x10]
add eax, edi
and ecx, 0xff0000
add eax, dword [esp + 0x2c]
or edx, ecx
mov edi, dword [esp + 0x5c]
add eax, esi
shl eax, 0x18
bswap eax
shr edx, 8
cmp eax, 8
jbe 0x43fb03
mov esi, edx
mov eax, edx
shr edx, 3
and edx, 0x1f
shr eax, 5
mov dword [esp + 0x1c], edx
and eax, 0x7e0
movzx edx, word [edi]
mov ecx, edx
shr esi, 8
and ecx, 0x7e0
and esi, 0xf800
add ecx, eax
mov eax, edx
and eax, 0x1f
shr ecx, 5
add eax, dword [esp + 0x1c]
and edx, 0xf800
shr eax, 5
add edx, esi
or ecx, eax
shr edx, 5
or ecx, edx
mov word [edi], cx
mov ebx, dword [esp + 0x60]
add edi, 2
mov esi, dword [esp + 0x34]
add ebx, dword [esp + 0x74]
add esi, dword [esp + 0x88]
mov eax, dword [esp + 0x98]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], ebx
mov dword [esp + 0x34], esi
test eax, eax
jg 0x43f8b0
mov ebp, dword [esp + 0x30]
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0x8c]
add ebp, eax
add dword [esp + 0x4c], eax
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x64]
lea ecx, [edx + edx]
add dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x90]
add dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x94]
add dword [esp + 0x48], ecx
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x24], eax
test esi, esi
jg 0x43f820
mov ebx, dword [esp + 0x88]
jmp 0x43fb92
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x54]
sub dword [esp + 0x78], eax
je 0x44031b
mov eax, dword [esp + 0x68]
mov edi, dword [eax + 4]
mov eax, dword [esp + 0x50]
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 + 0x50]
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 + 0x54]
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 + 0x58], eax
jge 0x43ff88
mov esi, dword [esp + 0x78]
test esi, esi
jle 0x44031b
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 + 0x28], 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 + 0x54]
mov dword [esp + 0x4c], eax
call fcn.0059bca0
mov esi, eax
mov ecx, ebx
mov eax, dword [esp + 0x28]
shrd esi, edx, 0x10
mov edx, dword [esp + 0x40]
sub eax, ebx
sar ecx, 0x10
add esi, 0xffff8000
sar eax, 0x10
lea ecx, [edx + ecx*2]
mov dword [esp + 0x54], ecx
test eax, eax
jle 0x43ff3a
add esi, dword [esp + 0x48]
mov ebp, dword [esp + 0x3c]
add ebp, 0xffff8000
mov dword [esp + 0x38], esi
mov dword [esp + 0x2c], ebp
mov edx, dword [esp + 0x70]
dec eax
mov dword [esp + 0x3c], eax
test ebp, ebp
jle 0x43fcf5
mov ecx, ebp
mov dword [esp + 0x24], ebp
sar ecx, 0x10
lea eax, [edx - 1]
xor ebx, ebx
cmp ecx, eax
setl bl
jmp 0x43fcfd
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x64], ebx
test esi, esi
jle 0x43fd1d
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 0x43fd21
xor ecx, ecx
xor edi, edi
mov eax, dword [esp + 0x24]
sar eax, 0x10
sar ecx, 0x10
imul ecx, edx
mov edx, dword [esp + 0x20]
add ecx, eax
mov dword [esp + 0x14], ecx
lea eax, [ecx + ebx]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x18], eax
lea eax, [ecx + edi]
mov ebx, dword [edx + eax*4]
mov ecx, ebp
add eax, dword [esp + 0x64]
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 + 0x58], edx
mov edx, dword [esp + 0x20]
inc eax
sub ebp, eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
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 + 0x58]
shr esi, 0x10
imul esi, eax
mov eax, dword [esp + 0x18]
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 + 0x50], edx
mov edx, dword [esp + 0x20]
add ecx, eax
mov eax, dword [esp + 0x18]
and eax, 0xff00
imul eax, ebp
add ecx, eax
mov eax, dword [esp + 0x14]
mov eax, dword [edx + eax*4]
and eax, 0xff00
imul eax, esi
add ecx, eax
and ecx, 0xff0000
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x58]
and ecx, 0xff0000
imul ecx, dword [esp + 0x10]
mov eax, ebx
and eax, 0xff0000
imul eax, edi
add ecx, eax
mov eax, dword [esp + 0x18]
and eax, 0xff0000
imul eax, ebp
add ecx, eax
mov eax, dword [esp + 0x14]
mov eax, dword [edx + eax*4]
mov edx, dword [esp + 0x58]
and eax, 0xff0000
imul eax, esi
add ecx, eax
movzx eax, bl
mov ebx, dword [esp + 0x14]
and ecx, 0xff0000ff
or dword [esp + 0x50], ecx
imul eax, edi
movzx ecx, dl
imul ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
add ecx, eax
mov eax, dword [esp + 0x18]
movzx eax, al
imul eax, ebp
add ecx, eax
mov eax, dword [edx + ebx*4]
mov ebx, dword [esp + 0x50]
movzx eax, al
imul eax, esi
add ecx, eax
mov eax, dword [esp + 0x10]
add eax, edi
and ecx, 0xff00
mov edi, dword [esp + 0x54]
add eax, ebp
add eax, esi
or ebx, ecx
shl eax, 0x18
bswap eax
shr ebx, 8
cmp eax, 8
jbe 0x43ff08
movzx edx, word [edi]
mov eax, ebx
shr eax, 5
mov ecx, edx
and eax, 0x7e0
and ecx, 0x7e0
add ecx, eax
mov esi, ebx
mov eax, edx
shr ebx, 3
and eax, 0x1f
shr esi, 8
and ebx, 0x1f
shr ecx, 5
and edx, 0xf800
and esi, 0xf800
add eax, ebx
add edx, esi
shr eax, 5
or ecx, eax
shr edx, 5
or ecx, edx
mov word [edi], cx
mov ebp, dword [esp + 0x2c]
add edi, 2
mov esi, dword [esp + 0x38]
add ebp, dword [esp + 0x74]
add esi, dword [esp + 0x88]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x54], edi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x38], esi
test eax, eax
jg 0x43fcd3
mov ebp, dword [esp + 0x30]
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0x60]
add dword [esp + 0x28], eax
add ebp, dword [esp + 0x8c]
mov esi, dword [esp + 0x78]
lea eax, [ecx + ecx]
add dword [esp + 0x40], eax
mov eax, dword [esp + 0x90]
add dword [esp + 0x44], eax
mov eax, dword [esp + 0x94]
add dword [esp + 0x48], eax
mov dword [esp + 0x30], ebp
test esi, esi
jg 0x43fc40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
jle 0x44031b
mov esi, dword [esp + 0x78]
test esi, esi
jle 0x44031b
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 + 0x54]
mov dword [esp + 0x4c], eax
call fcn.0059bca0
mov esi, eax
mov ecx, ebx
shrd esi, edx, 0x10
mov edx, dword [esp + 0x40]
mov eax, ebp
sub eax, ebx
sar ecx, 0x10
add eax, 0xffff
add esi, 0xffff8000
sar eax, 0x10
lea ecx, [edx + ecx*2]
mov dword [esp + 0x54], ecx
test eax, eax
jle 0x4402d4
add esi, dword [esp + 0x48]
mov ebp, dword [esp + 0x3c]
add ebp, 0xffff8000
mov dword [esp + 0x38], esi
mov dword [esp + 0x2c], ebp
mov edx, dword [esp + 0x70]
dec eax
mov dword [esp + 0x28], eax
test ebp, ebp
jle 0x44007f
mov ecx, ebp
mov dword [esp + 0x24], ebp
xor ebx, ebx
sar ecx, 0x10
lea eax, [edx - 1]
cmp ecx, eax
setl bl
mov dword [esp + 0x3c], ebx
mov edi, ebx
jmp 0x440087
xor eax, eax
xor edi, edi
mov dword [esp + 0x24], eax
test esi, esi
jle 0x4400a7
mov eax, dword [esp + 0x9c]
mov ecx, esi
sar ecx, 0x10
dec eax
xor ebx, ebx
cmp ecx, eax
mov ecx, esi
cmovl ebx, edx
mov dword [esp + 0x64], ebx
jmp 0x4400ad
xor ecx, ecx
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
sar eax, 0x10
sar ecx, 0x10
imul ecx, edx
add ecx, eax
mov dword [esp + 0x14], ecx
lea eax, [ecx + edi]
mov eax, dword [ebx + eax*4]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x64]
add eax, ecx
mov ecx, ebp
and ecx, 0xfffe
mov ebp, 0x10000
inc ecx
mov edx, dword [ebx + eax*4]
add eax, edi
mov dword [esp + 0x58], edx
mov edi, 0x10000
mov edx, dword [esp + 0x14]
sub edi, ecx
mov ebx, dword [ebx + eax*4]
mov eax, esi
and eax, 0xfffe
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x20]
inc eax
sub ebp, eax
mov dword [esp + 0x10], eax
mov esi, edi
imul edi, dword [esp + 0x10]
imul esi, ebp
mov eax, dword [ebx + edx*4]
mov edx, dword [esp + 0x58]
shr eax, 0x18
imul ebp, ecx
mov ebx, dword [esp + 0x24]
shr esi, 0x10
imul esi, eax
mov eax, dword [esp + 0x18]
shr eax, 0x18
shr ebp, 0x10
imul ebp, eax
mov eax, edx
shr eax, 0x18
and edx, 0xff00
shr edi, 0x10
imul edi, eax
mov eax, dword [esp + 0x10]
imul eax, ecx
shr ebp, 0x10
shr esi, 0x10
shr edi, 0x10
imul edx, edi
mov dword [esp + 0x10], eax
mov ecx, eax
shr ecx, 0x10
mov eax, ebx
shr eax, 0x18
imul ecx, eax
mov eax, ebx
and eax, 0xff00
mov dword [esp + 0x3c], esi
shr ecx, 0x10
imul eax, ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x18]
and ecx, 0xff00
imul ecx, ebp
add eax, edx
mov edx, dword [esp + 0x20]
add eax, ecx
mov ecx, dword [esp + 0x14]
mov ecx, dword [edx + ecx*4]
mov edx, ebx
and ecx, 0xff00
imul ecx, esi
add eax, ecx
and eax, 0xff0000
and edx, 0xff0000
imul edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x58]
and ecx, 0xff0000
mov ebx, dword [esp + 0x20]
imul ecx, edi
add edx, ecx
mov ecx, dword [esp + 0x18]
and ecx, 0xff0000
imul ecx, ebp
add edx, ecx
mov ecx, dword [esp + 0x14]
mov ecx, dword [ebx + ecx*4]
mov ebx, dword [esp + 0x24]
and ecx, 0xff0000
imul ecx, esi
mov esi, dword [esp + 0x20]
add edx, ecx
mov ecx, dword [esp + 0x58]
movzx ecx, cl
and edx, 0xff0000ff
imul ecx, edi
or eax, edx
movzx edx, bl
imul edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
add edx, ecx
mov ecx, dword [esp + 0x18]
movzx ecx, cl
imul ecx, ebp
add edx, ecx
mov ecx, dword [esi + ebx*4]
mov ebx, dword [esp + 0x54]
movzx ecx, cl
imul ecx, dword [esp + 0x3c]
add edx, ecx
mov ecx, dword [esp + 0x10]
add ecx, edi
and edx, 0xff00
add ecx, ebp
or eax, edx
add ecx, dword [esp + 0x3c]
shl ecx, 0x18
bswap ecx
shr eax, 8
cmp ecx, 8
jbe 0x4402a2
movzx esi, word [ebx]
mov ecx, eax
shr ecx, 5
mov edx, esi
and ecx, 0x7e0
and edx, 0x7e0
add edx, ecx
mov edi, eax
mov ecx, esi
shr eax, 3
and ecx, 0x1f
shr edi, 8
and eax, 0x1f
shr edx, 5
and esi, 0xf800
and edi, 0xf800
add ecx, eax
add esi, edi
shr ecx, 5
or edx, ecx
shr esi, 5
or edx, esi
mov word [ebx], dx
mov ebp, dword [esp + 0x2c]
add ebx, 2
mov esi, dword [esp + 0x38]
add ebp, dword [esp + 0x74]
add esi, dword [esp + 0x88]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x38], esi
test eax, eax
jg 0x440057
mov ebp, dword [esp + 0x30]
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0x34]
add ebp, dword [esp + 0x8c]
add eax, dword [esp + 0x60]
mov esi, dword [esp + 0x78]
lea ecx, [edx + edx]
add dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x90]
add dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x94]
add dword [esp + 0x48], ecx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], eax
test esi, esi
jg 0x43ffc5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret