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

Disassembly:
sub esp, 0x8c
mov eax, dword [esp + 0x9c]
shr dword [esp + 0x98], 1
push ebx
push ebp
mov ecx, dword [eax + 0x18]
push esi
mov esi, dword [eax + 0x10]
mov eax, dword [eax]
push edi
mov edi, dword [esp + 0xa0]
mov edx, edi
mov dword [esp + 0x98], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x94], esi
mov ecx, dword [edi + 4]
lea ebx, [edi + 0x20]
cmp ecx, dword [edi + 0x24]
lea ebp, [edi + 0x40]
mov eax, dword [edi + 0x44]
cmovle edx, ebx
cmovle ebx, edi
mov edi, ebp
mov ecx, ebx
mov dword [esp + 0x60], ecx
cmp dword [edx + 4], eax
mov eax, dword [ebx + 4]
cmovle ebp, edx
cmovg edi, edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x68], ebp
cmp eax, dword [ebp + 4]
jle 0x42ed8d
mov ecx, ebp
mov dword [esp + 0x60], ebp
mov ebp, ebx
mov dword [esp + 0x68], ebx
mov edx, dword [ecx + 4]
mov ecx, dword [edi + 4]
mov dword [esp + 0x28], edx
lea eax, [edx + 0xffff]
lea ebx, [ecx + 0xffff]
sar eax, 0x10
sar ebx, 0x10
mov dword [esp + 0x2c], eax
mov dword [esp + 0x70], ebx
cmp eax, ebx
je 0x42ffdc
mov ebp, dword [ebp + 4]
sub ecx, edx
lea eax, [ebp + 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 ebx, eax
mov edi, edx
mov eax, dword [esp + 0x60]
push edi
push ebx
mov ecx, dword [eax]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x38], ecx
mov eax, dword [eax]
sub eax, ecx
cdq
push edx
push eax
call fcn.0059bca0
mov eax, dword [esp + 0x60]
push edi
mov dword [esp + 0x94], edx
push ebx
mov ecx, dword [eax + 0x18]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], ecx
mov eax, dword [eax + 0x18]
sub eax, ecx
cdq
push edx
push eax
call fcn.0059bca0
mov eax, dword [esp + 0x60]
push edi
mov dword [esp + 0x90], edx
push ebx
mov ecx, dword [eax + 0x1c]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x6c], ecx
mov eax, dword [eax + 0x1c]
sub eax, ecx
cdq
push edx
push eax
call fcn.0059bca0
mov edi, dword [esp + 0x28]
sub ebp, edi
mov dword [esp + 0x60], edx
mov eax, ebp
cdq
mov ecx, eax
mov ebx, edx
mov eax, dword [esp + 0x90]
cdq
push ebx
mov ebp, eax
mov dword [esp + 0x18], ecx
mov eax, edx
mov dword [esp + 0x1c], ebx
push ecx
push eax
push ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], eax
call fcn.0059bca0
mov ebp, dword [esp + 0x68]
mov ebx, dword [esp + 0x30]
shrd eax, edx, 0x10
mov ebp, dword [ebp]
add eax, ebx
mov dword [esp + 0x58], eax
cmp ebp, eax
je 0x42ffdc
mov eax, dword [esp + 0x2c]
shl eax, 0x10
sub eax, edi
cdq
mov ecx, edx
mov dword [esp + 0x3c], eax
push ecx
push eax
push dword [esp + 0x30]
mov dword [esp + 0x1c], ecx
push dword [esp + 0x2c]
call fcn.0059bca0
push dword [esp + 0x10]
shrd eax, edx, 0x10
push dword [esp + 0x40]
add eax, ebx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x94]
cdq
mov edi, edx
mov ebx, eax
push edi
push ebx
call fcn.0059bca0
push dword [esp + 0x10]
shrd eax, edx, 0x10
push dword [esp + 0x40]
add eax, dword [esp + 0x3c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x68]
cdq
mov ecx, eax
mov eax, edx
push eax
push ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], eax
call fcn.0059bca0
shrd eax, edx, 0x10
add eax, dword [esp + 0x64]
mov dword [esp + 0x4c], eax
mov eax, ebp
sub eax, dword [esp + 0x58]
cdq
push edx
push eax
push 0x10000
push 0
call fcn.0059bbf0
push dword [esp + 0x18]
mov dword [esp + 0x54], eax
push dword [esp + 0x18]
mov dword [esp + 0x64], edx
push edi
push ebx
call fcn.0059bca0
push dword [esp + 0x5c]
mov ecx, eax
mov edi, edx
mov eax, dword [esp + 0x6c]
push dword [esp + 0x54]
shrd ecx, edi, 0x10
mov eax, dword [eax + 0x18]
cdq
mov ebp, eax
sar edi, 0x10
mov eax, dword [esp + 0x3c]
sub ebp, ecx
mov ebx, edx
cdq
sbb ebx, edi
sub ebp, eax
sbb ebx, edx
push ebx
push ebp
call fcn.0059bca0
push dword [esp + 0x18]
mov dword [esp + 0x70], edx
push dword [esp + 0x18]
push dword [esp + 0x30]
push dword [esp + 0x2c]
call fcn.0059bca0
push dword [esp + 0x5c]
mov ecx, eax
mov edi, edx
mov eax, dword [esp + 0x6c]
push dword [esp + 0x54]
shrd ecx, edi, 0x10
mov eax, dword [eax + 0x1c]
cdq
mov ebp, eax
sar edi, 0x10
mov eax, dword [esp + 0x6c]
sub ebp, ecx
mov ebx, edx
cdq
sbb ebx, edi
sub ebp, eax
sbb ebx, edx
push ebx
push ebp
call fcn.0059bca0
mov eax, dword [esp + 0xa4]
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x2c]
mov ecx, edx
imul ecx, dword [esp + 0xa8]
lea eax, [eax + ecx*2]
mov dword [esp + 0x2c], eax
sub ebp, edx
je 0x42f7d6
push dword [esp + 0x18]
mov eax, dword [esp + 0x6c]
push dword [esp + 0x18]
push 0x10000
mov eax, dword [eax]
sub eax, dword [esp + 0x3c]
cdq
push 0
mov ebx, eax
mov edi, edx
call fcn.0059bbf0
push edx
push eax
push edi
push ebx
call fcn.0059bca0
push dword [esp + 0x10]
mov eax, edx
push dword [esp + 0x40]
mov dword [esp + 0x30], eax
cdq
push edx
push eax
call fcn.0059bca0
mov ecx, dword [esp + 0x68]
mov edi, eax
shrd edi, edx, 0x10
add edi, dword [esp + 0x30]
mov eax, dword [ecx]
cmp dword [esp + 0x58], eax
jge 0x42f410
test ebp, ebp
jle 0x42f7da
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x38]
cdq
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x44], edx
cdq
mov dword [esp + 0x88], eax
lea eax, [edi + 0xffff]
mov dword [esp + 0x64], eax
lea eax, [ecx + 0xffff]
mov dword [esp + 0x84], edx
mov dword [esp + 0x20], eax
nop
dec ebp
mov dword [esp + 0x34], ebp
mov ebp, eax
and ebp, 0xffff0000
mov eax, ebp
sub eax, ecx
cdq
mov edi, edx
mov ebx, eax
push edi
push ebx
push dword [esp + 0x4c]
push dword [esp + 0x8c]
call fcn.0059bca0
push edi
push ebx
push dword [esp + 0x8c]
shrd eax, edx, 0x10
push dword [esp + 0x94]
add eax, dword [esp + 0x58]
mov dword [esp + 0x50], eax
call fcn.0059bca0
mov ecx, eax
mov eax, ebp
shrd ecx, edx, 0x10
mov edx, dword [esp + 0x2c]
add ecx, dword [esp + 0x4c]
sar eax, 0x10
lea eax, [edx + eax*2]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x64]
sub eax, ebp
sar eax, 0x10
test eax, eax
jle 0x42f3b8
mov ebp, dword [esp + 0x40]
lea edx, [ecx - 0x8000]
add ebp, 0xffff8000
mov dword [esp + 0x5c], edx
mov dword [esp + 0x40], ebp
nop dword [eax]
dec eax
mov dword [esp + 0x7c], eax
test ebp, ebp
jle 0x42f13e
mov ecx, ebp
mov dword [esp + 0x30], ebp
sar ecx, 0x10
lea eax, [esi - 1]
xor ebx, ebx
cmp ecx, eax
setl bl
jmp 0x42f146
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x30], eax
test edx, edx
jle 0x42f162
mov eax, dword [esp + 0x98]
mov ecx, edx
sar ecx, 0x10
dec eax
xor edi, edi
cmp ecx, eax
mov ecx, edx
cmovl edi, esi
jmp 0x42f166
xor ecx, ecx
xor edi, edi
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
sar eax, 0x10
sar ecx, 0x10
imul ecx, esi
mov esi, dword [esp + 0x1c]
add ecx, eax
mov dword [esp + 0x14], ecx
lea eax, [ecx + ebx]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x10], eax
lea eax, [ecx + edi]
mov ecx, dword [edx + eax*4]
add eax, ebx
mov dword [esp + 0x3c], ecx
mov ecx, ebp
mov ebp, dword [esp + 0x5c]
and ecx, 0xfffe
inc ecx
and ebp, 0xfffe
mov ebx, dword [edx + eax*4]
inc ebp
mov eax, dword [esp + 0x14]
mov edx, 0x10000
sub edx, ebp
mov dword [esp + 0x18], ebx
mov ebx, 0x10000
sub ebx, ecx
mov eax, dword [esi + eax*4]
mov edi, ebx
shr eax, 0x18
imul edi, edx
imul edx, ecx
imul ebx, ebp
imul ebp, ecx
mov ecx, dword [esp + 0x18]
shr edi, 0x10
imul edi, eax
mov eax, dword [esp + 0x10]
shr eax, 0x18
shr edx, 0x10
imul edx, eax
mov eax, dword [esp + 0x3c]
shr eax, 0x18
shr ebx, 0x10
imul ebx, eax
mov eax, ecx
shr eax, 0x18
shr edx, 0x10
shr ebp, 0x10
imul ebp, eax
mov eax, dword [esp + 0x3c]
movzx eax, al
mov dword [esp + 0x30], edx
movzx edx, cl
and ecx, 0xff0000
shr ebx, 0x10
imul eax, ebx
shr ebp, 0x10
imul edx, ebp
shr edi, 0x10
mov dword [esp + 0x74], edi
mov edi, dword [esp + 0x14]
imul ecx, ebp
add edx, eax
mov eax, dword [esp + 0x10]
movzx eax, al
imul eax, dword [esp + 0x30]
add edx, eax
mov eax, dword [esi + edi*4]
movzx eax, al
imul eax, dword [esp + 0x74]
add edx, eax
mov eax, dword [esp + 0x3c]
and eax, 0xff0000
and edx, 0xff00
imul eax, ebx
add ecx, eax
mov eax, dword [esp + 0x10]
and eax, 0xff0000
imul eax, dword [esp + 0x30]
add ecx, eax
mov eax, edi
mov eax, dword [esi + eax*4]
mov esi, dword [esp + 0xb0]
and eax, 0xff0000
imul eax, dword [esp + 0x74]
mov edi, dword [esi]
add ecx, eax
mov eax, dword [esp + 0x3c]
or edx, ecx
and eax, 0xff00
shr edx, 8
movzx ecx, dl
and edx, 0xff0000
imul edx, dword [esi + 4]
imul ecx, dword [esi + 0xc]
imul eax, ebx
mov ebx, dword [esp + 0x14]
and ecx, 0xff00
or ecx, edx
mov edx, dword [esp + 0x18]
and edx, 0xff00
shr ecx, 8
imul edx, ebp
mov ebp, dword [esp + 0x1c]
add edx, eax
mov eax, dword [esp + 0x10]
and eax, 0xff00
imul eax, dword [esp + 0x30]
add edx, eax
mov eax, dword [ebp + ebx*4]
and eax, 0xff00
mov ebp, dword [esp + 0x40]
imul eax, dword [esp + 0x74]
add edx, eax
mov eax, ecx
and edx, 0xff0000
and eax, 0xff0000
bswap edx
imul edx, dword [esi + 8]
imul eax, edi
mov esi, dword [esp + 0x78]
and edx, 0xff0000
bswap edx
imul edx, edi
and eax, 0xff0000ff
and edx, 0xff0000
or edx, eax
movzx eax, cl
imul eax, edi
and eax, 0xff00
or edx, eax
shr edx, 8
mov edi, edx
mov eax, edx
shr edx, 3
and edx, 0x1f
shr eax, 5
mov dword [esp + 0x18], edx
and eax, 0x7e0
movzx edx, word [esi]
mov ecx, edx
shr edi, 8
and ecx, 0x7e0
and edi, 0xf800
add ecx, eax
mov eax, edx
and eax, 0x1f
shr ecx, 5
add eax, dword [esp + 0x18]
and edx, 0xf800
shr eax, 5
add edx, edi
or ecx, eax
shr edx, 5
or ecx, edx
mov word [esi], cx
add esi, 2
add ebp, dword [esp + 0x6c]
mov dword [esp + 0x78], esi
mov dword [esp + 0x40], ebp
mov edx, dword [esp + 0x5c]
add edx, dword [esp + 0x50]
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x94]
mov dword [esp + 0x5c], edx
test eax, eax
jg 0x42f120
mov ebx, dword [esp + 0xa8]
mov edx, dword [esp + 0x28]
add dword [esp + 0x64], edx
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x20]
lea edx, [ebx + ebx]
add dword [esp + 0x2c], edx
mov edx, dword [esp + 0x8c]
add dword [esp + 0x48], edx
add ecx, dword [esp + 0x90]
add eax, dword [esp + 0x90]
mov edx, dword [esp + 0x60]
add dword [esp + 0x4c], edx
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x20], eax
test ebp, ebp
jg 0x42f090
jmp 0x42f7d6
jle 0x42f7da
test ebp, ebp
jle 0x42f7da
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x38]
cdq
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x7c], edx
cdq
mov dword [esp + 0x80], eax
lea eax, [ecx + 0xffff]
mov dword [esp + 0x30], eax
lea eax, [edi + 0xffff]
mov dword [esp + 0x84], edx
mov dword [esp + 0x74], eax
nop dword [eax]
dec ebp
mov dword [esp + 0x34], ebp
mov ebp, eax
and ebp, 0xffff0000
mov eax, ebp
sub eax, ecx
cdq
mov edi, edx
mov ebx, eax
push edi
push ebx
push dword [esp + 0x84]
push dword [esp + 0x94]
call fcn.0059bca0
push edi
push ebx
push dword [esp + 0x8c]
shrd eax, edx, 0x10
push dword [esp + 0x8c]
add eax, dword [esp + 0x58]
mov dword [esp + 0x54], eax
call fcn.0059bca0
mov ecx, eax
mov eax, ebp
shrd ecx, edx, 0x10
mov edx, dword [esp + 0x2c]
add ecx, dword [esp + 0x4c]
sar eax, 0x10
lea eax, [edx + eax*2]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x30]
sub eax, ebp
sar eax, 0x10
test eax, eax
jle 0x42f788
mov ebp, dword [esp + 0x44]
lea edx, [ecx - 0x8000]
add ebp, 0xffff8000
mov dword [esp + 0x5c], edx
mov dword [esp + 0x78], ebp
nop
dec eax
mov dword [esp + 0x44], eax
test ebp, ebp
jle 0x42f50e
mov ecx, ebp
mov dword [esp + 0x20], ebp
sar ecx, 0x10
lea eax, [esi - 1]
xor ebx, ebx
cmp ecx, eax
setl bl
jmp 0x42f516
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x20], eax
test edx, edx
jle 0x42f532
mov eax, dword [esp + 0x98]
mov ecx, edx
sar ecx, 0x10
dec eax
xor edi, edi
cmp ecx, eax
mov ecx, edx
cmovl edi, esi
jmp 0x42f536
xor ecx, ecx
xor edi, edi
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
sar eax, 0x10
sar ecx, 0x10
imul ecx, esi
mov esi, dword [esp + 0x1c]
add ecx, eax
mov dword [esp + 0x10], ecx
lea eax, [ecx + ebx]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x14], eax
lea eax, [ecx + edi]
mov ecx, dword [edx + eax*4]
add eax, ebx
mov dword [esp + 0x18], ecx
mov ecx, ebp
mov ebp, dword [esp + 0x5c]
and ecx, 0xfffe
inc ecx
and ebp, 0xfffe
mov ebx, dword [edx + eax*4]
inc ebp
mov eax, dword [esp + 0x10]
mov edx, 0x10000
sub edx, ebp
mov dword [esp + 0x3c], ebx
mov ebx, 0x10000
sub ebx, ecx
mov eax, dword [esi + eax*4]
mov edi, ebx
shr eax, 0x18
imul edi, edx
imul edx, ecx
imul ebx, ebp
imul ebp, ecx
mov ecx, dword [esp + 0x3c]
shr edi, 0x10
imul edi, eax
mov eax, dword [esp + 0x14]
shr eax, 0x18
shr edx, 0x10
imul edx, eax
mov eax, dword [esp + 0x18]
shr eax, 0x18
shr ebx, 0x10
imul ebx, eax
mov eax, ecx
shr eax, 0x18
shr edx, 0x10
shr ebp, 0x10
imul ebp, eax
mov eax, dword [esp + 0x18]
movzx eax, al
mov dword [esp + 0x64], edx
movzx edx, cl
and ecx, 0xff0000
shr ebx, 0x10
imul eax, ebx
shr ebp, 0x10
imul edx, ebp
shr edi, 0x10
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x10]
imul ecx, ebp
add edx, eax
mov eax, dword [esp + 0x14]
movzx eax, al
imul eax, dword [esp + 0x64]
add edx, eax
mov eax, dword [esi + edi*4]
movzx eax, al
imul eax, dword [esp + 0x20]
add edx, eax
mov eax, dword [esp + 0x18]
and eax, 0xff0000
and edx, 0xff00
imul eax, ebx
add ecx, eax
mov eax, dword [esp + 0x14]
and eax, 0xff0000
imul eax, dword [esp + 0x64]
add ecx, eax
mov eax, edi
mov eax, dword [esi + eax*4]
mov esi, dword [esp + 0xb0]
and eax, 0xff0000
imul eax, dword [esp + 0x20]
mov edi, dword [esi]
add ecx, eax
mov eax, dword [esp + 0x18]
or edx, ecx
and eax, 0xff00
shr edx, 8
movzx ecx, dl
and edx, 0xff0000
imul edx, dword [esi + 4]
imul ecx, dword [esi + 0xc]
imul eax, ebx
mov ebx, dword [esp + 0x10]
and ecx, 0xff00
or ecx, edx
mov edx, dword [esp + 0x3c]
and edx, 0xff00
shr ecx, 8
imul edx, ebp
mov ebp, dword [esp + 0x1c]
add edx, eax
mov eax, dword [esp + 0x14]
and eax, 0xff00
imul eax, dword [esp + 0x64]
add edx, eax
mov eax, dword [ebp + ebx*4]
and eax, 0xff00
mov ebp, dword [esp + 0x78]
imul eax, dword [esp + 0x20]
add edx, eax
mov eax, ecx
and edx, 0xff0000
and eax, 0xff0000
bswap edx
imul edx, dword [esi + 8]
imul eax, edi
mov esi, dword [esp + 0x40]
and edx, 0xff0000
bswap edx
imul edx, edi
and eax, 0xff0000ff
and edx, 0xff0000
or edx, eax
movzx eax, cl
imul eax, edi
and eax, 0xff00
or edx, eax
shr edx, 8
mov edi, edx
mov eax, edx
shr edx, 3
and edx, 0x1f
shr eax, 5
mov dword [esp + 0x3c], edx
and eax, 0x7e0
movzx edx, word [esi]
mov ecx, edx
shr edi, 8
and ecx, 0x7e0
and edi, 0xf800
add ecx, eax
mov eax, edx
and eax, 0x1f
shr ecx, 5
add eax, dword [esp + 0x3c]
and edx, 0xf800
shr eax, 5
add edx, edi
or ecx, eax
shr edx, 5
or ecx, edx
mov word [esi], cx
add esi, 2
add ebp, dword [esp + 0x6c]
mov dword [esp + 0x40], esi
mov dword [esp + 0x78], ebp
mov edx, dword [esp + 0x5c]
add edx, dword [esp + 0x50]
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x94]
mov dword [esp + 0x5c], edx
test eax, eax
jg 0x42f4f0
mov ebx, dword [esp + 0xa8]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x90]
add ecx, eax
add dword [esp + 0x30], eax
mov eax, dword [esp + 0x74]
lea edx, [ebx + ebx]
add dword [esp + 0x2c], edx
mov edx, dword [esp + 0x8c]
add dword [esp + 0x48], edx
add eax, dword [esp + 0x28]
mov edx, dword [esp + 0x60]
add dword [esp + 0x4c], edx
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x74], eax
test ebp, ebp
jg 0x42f460
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x54]
sub dword [esp + 0x70], eax
je 0x42ffdc
mov eax, dword [esp + 0x24]
mov ebx, dword [ecx + 4]
mov ebp, dword [ecx]
mov eax, dword [eax + 4]
sub eax, ebx
cdq
push edx
push eax
push 0x10000
push 0
call fcn.0059bbf0
mov edi, eax
mov ecx, edx
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
sub eax, ebp
cdq
push edx
push eax
push ecx
push edi
call fcn.0059bca0
mov eax, dword [esp + 0x54]
mov ecx, edx
shl eax, 0x10
sub eax, ebx
mov dword [esp + 0x78], ecx
imul ecx
mov ecx, eax
shrd ecx, edx, 0x10
cmp dword [esp + 0x58], ebp
jge 0x42fc0d
mov ebx, dword [esp + 0x70]
test ebx, ebx
jle 0x42ffdc
mov eax, dword [esp + 0x6c]
cdq
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x7c], edx
cdq
mov dword [esp + 0x80], eax
lea eax, [ecx + 0xffff]
mov ecx, dword [esp + 0x38]
add eax, ebp
mov dword [esp + 0x84], edx
mov dword [esp + 0x34], eax
nop dword [eax + eax]
lea ebp, [ecx + 0xffff]
dec ebx
and ebp, 0xffff0000
mov dword [esp + 0x70], ebx
mov eax, ebp
sub eax, ecx
cdq
mov edi, edx
mov ebx, eax
push edi
push ebx
push dword [esp + 0x84]
push dword [esp + 0x94]
call fcn.0059bca0
push edi
push ebx
push dword [esp + 0x8c]
shrd eax, edx, 0x10
push dword [esp + 0x8c]
add eax, dword [esp + 0x58]
mov dword [esp + 0x54], eax
call fcn.0059bca0
mov edi, eax
mov ecx, ebp
mov eax, dword [esp + 0x34]
shrd edi, edx, 0x10
mov edx, dword [esp + 0x2c]
sub eax, ebp
add edi, dword [esp + 0x4c]
sar ecx, 0x10
sar eax, 0x10
lea ecx, [edx + ecx*2]
mov dword [esp + 0x20], ecx
test eax, eax
jle 0x42fbbe
mov ebx, dword [esp + 0x44]
lea ebp, [edi - 0x8000]
add ebx, 0xffff8000
mov dword [esp + 0x54], ebp
mov dword [esp + 0x40], ebx
dec eax
mov dword [esp + 0x44], eax
test ebx, ebx
jle 0x42f931
mov ecx, ebx
mov dword [esp + 0x28], ebx
sar ecx, 0x10
lea eax, [esi - 1]
xor edx, edx
cmp ecx, eax
setl dl
jmp 0x42f939
xor eax, eax
xor edx, edx
mov dword [esp + 0x28], eax
test ebp, ebp
jle 0x42f953
mov eax, dword [esp + 0x98]
mov ecx, ebp
sar ecx, 0x10
dec eax
xor edi, edi
cmp ecx, eax
cmovl edi, esi
jmp 0x42f957
xor ebp, ebp
xor edi, edi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
sar eax, 0x10
sar ebp, 0x10
imul ebp, esi
add ebp, eax
mov dword [esp + 0x58], ebp
lea eax, [edx + ebp]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x10], eax
lea eax, [edi + ebp]
mov ecx, dword [ecx + eax*4]
mov edi, ebx
add eax, edx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x1c]
and edi, 0xfffe
inc edi
mov edx, 0x10000
sub edx, edi
mov ebx, edx
mov eax, dword [ecx + eax*4]
mov ecx, 0x10000
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x54]
and eax, 0xfffe
inc eax
sub ecx, eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
imul ebx, ecx
mov eax, dword [eax + ebp*4]
mov ebp, edi
shr eax, 0x18
shr ebx, 0x10
imul ebx, eax
mov eax, dword [esp + 0x10]
imul ebp, ecx
mov ecx, dword [esp + 0x18]
shr eax, 0x18
shr ebx, 0x10
mov dword [esp + 0x28], ebx
mov ebx, ecx
imul ebx, edx
mov edx, dword [esp + 0x24]
imul ecx, edi
shr ebp, 0x10
imul ebp, eax
mov eax, dword [esp + 0x14]
shr eax, 0x18
mov edi, dword [esp + 0x1c]
shr ebx, 0x10
imul ebx, eax
mov eax, edx
shr eax, 0x18
shr ecx, 0x10
imul ecx, eax
mov eax, dword [esp + 0x14]
movzx eax, al
movzx edx, dl
shr ebx, 0x10
imul eax, ebx
shr ecx, 0x10
imul edx, ecx
shr ebp, 0x10
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x58]
add edx, eax
mov eax, dword [esp + 0x10]
movzx eax, al
imul eax, ebp
add edx, eax
mov eax, dword [edi + ecx*4]
mov ecx, dword [esp + 0x24]
movzx eax, al
and ecx, 0xff0000
imul eax, dword [esp + 0x28]
add edx, eax
mov eax, dword [esp + 0x14]
and edx, 0xff00
imul ecx, dword [esp + 0x18]
and eax, 0xff0000
mov esi, edi
imul eax, ebx
add ecx, eax
mov eax, dword [esp + 0x10]
and eax, 0xff0000
imul eax, ebp
add ecx, eax
mov eax, dword [esp + 0x58]
mov eax, dword [esi + eax*4]
mov esi, dword [esp + 0xb0]
and eax, 0xff0000
imul eax, dword [esp + 0x28]
mov edi, dword [esi]
add ecx, eax
mov eax, dword [esp + 0x14]
or edx, ecx
and eax, 0xff00
shr edx, 8
movzx ecx, dl
and edx, 0xff0000
imul edx, dword [esi + 4]
imul ecx, dword [esi + 0xc]
imul eax, ebx
mov ebx, dword [esp + 0x58]
and ecx, 0xff00
or ecx, edx
mov edx, dword [esp + 0x24]
and edx, 0xff00
shr ecx, 8
imul edx, dword [esp + 0x18]
add edx, eax
mov eax, dword [esp + 0x10]
and eax, 0xff00
imul eax, ebp
mov ebp, dword [esp + 0x1c]
add edx, eax
mov eax, dword [ebp + ebx*4]
and eax, 0xff00
imul eax, dword [esp + 0x28]
add edx, eax
mov eax, ecx
and edx, 0xff0000
and eax, 0xff0000
bswap edx
imul edx, dword [esi + 8]
imul eax, edi
mov esi, dword [esp + 0x20]
and edx, 0xff0000
bswap edx
imul edx, edi
and eax, 0xff0000ff
and edx, 0xff0000
or edx, eax
movzx eax, cl
imul eax, edi
and eax, 0xff00
or edx, eax
shr edx, 8
mov ebx, edx
mov edi, edx
shr edx, 3
and edx, 0x1f
shr edi, 5
mov dword [esp + 0x24], edx
and edi, 0x7e0
movzx edx, word [esi]
mov ecx, edx
shr ebx, 8
mov eax, edx
and ecx, 0x1f
add ecx, dword [esp + 0x24]
and eax, 0x7e0
add eax, edi
shr ecx, 5
and ebx, 0xf800
shr eax, 5
and edx, 0xf800
or ecx, eax
add edx, ebx
shr edx, 5
mov ebx, dword [esp + 0x40]
or ecx, edx
mov ebp, dword [esp + 0x54]
add ebx, dword [esp + 0x6c]
add ebp, dword [esp + 0x50]
mov eax, dword [esp + 0x44]
mov word [esi], cx
add esi, 2
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x94]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x54], ebp
test eax, eax
jg 0x42f913
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0x78]
add dword [esp + 0x34], eax
mov ecx, dword [esp + 0x38]
add ecx, dword [esp + 0x90]
lea eax, [edx + edx]
add dword [esp + 0x2c], eax
mov eax, dword [esp + 0x8c]
add dword [esp + 0x48], eax
mov eax, dword [esp + 0x60]
add dword [esp + 0x4c], eax
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x38], ecx
test ebx, ebx
jg 0x42f880
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret
jle 0x42ffdc
mov ebx, dword [esp + 0x70]
test ebx, ebx
jle 0x42ffdc
mov eax, dword [esp + 0x6c]
cdq
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x7c], edx
cdq
mov dword [esp + 0x80], eax
lea eax, [ecx + 0xffff]
add eax, ebp
mov dword [esp + 0x84], edx
mov dword [esp + 0x74], eax
nop
mov ebp, eax
dec ebx
and ebp, 0xffff0000
mov dword [esp + 0x70], ebx
mov eax, ebp
sub eax, dword [esp + 0x38]
cdq
mov edi, edx
mov ebx, eax
push edi
push ebx
push dword [esp + 0x84]
push dword [esp + 0x94]
call fcn.0059bca0
push edi
push ebx
push dword [esp + 0x8c]
shrd eax, edx, 0x10
push dword [esp + 0x8c]
add eax, dword [esp + 0x58]
mov dword [esp + 0x54], eax
call fcn.0059bca0
mov edi, eax
mov ecx, ebp
mov eax, dword [esp + 0x38]
shrd edi, edx, 0x10
mov edx, dword [esp + 0x2c]
sub eax, ebp
add edi, dword [esp + 0x4c]
add eax, 0xffff
sar ecx, 0x10
sar eax, 0x10
lea ecx, [edx + ecx*2]
mov dword [esp + 0x20], ecx
test eax, eax
jle 0x42ff98
mov ebx, dword [esp + 0x44]
lea ebp, [edi - 0x8000]
add ebx, 0xffff8000
mov dword [esp + 0x34], ebp
mov dword [esp + 0x40], ebx
dec eax
mov dword [esp + 0x44], eax
test ebx, ebx
jle 0x42fd04
mov ecx, ebx
mov dword [esp + 0x28], ebx
sar ecx, 0x10
lea eax, [esi - 1]
xor edx, edx
cmp ecx, eax
setl dl
jmp 0x42fd0c
xor eax, eax
xor edx, edx
mov dword [esp + 0x28], eax
test ebp, ebp
jle 0x42fd26
mov eax, dword [esp + 0x98]
mov ecx, ebp
sar ecx, 0x10
dec eax
xor edi, edi
cmp ecx, eax
cmovl edi, esi
jmp 0x42fd2a
xor ebp, ebp
xor edi, edi
mov eax, dword [esp + 0x28]
sar eax, 0x10
mov ecx, dword [esp + 0x1c]
sar ebp, 0x10
imul ebp, esi
add ebp, eax
mov dword [esp + 0x58], ebp
lea eax, [edx + ebp]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x10], eax
lea eax, [edi + ebp]
mov ecx, dword [ecx + eax*4]
mov edi, ebx
add eax, edx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x1c]
and edi, 0xfffe
inc edi
mov edx, 0x10000
sub edx, edi
mov ebx, edx
mov eax, dword [ecx + eax*4]
mov ecx, 0x10000
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
and eax, 0xfffe
inc eax
sub ecx, eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
imul ebx, ecx
mov eax, dword [eax + ebp*4]
mov ebp, edi
shr eax, 0x18
shr ebx, 0x10
imul ebx, eax
mov eax, dword [esp + 0x10]
shr eax, 0x18
imul ebp, ecx
mov ecx, dword [esp + 0x18]
shr ebx, 0x10
mov dword [esp + 0x54], ebx
mov ebx, ecx
imul ebx, edx
mov edx, dword [esp + 0x24]
shr ebp, 0x10
imul ebp, eax
mov eax, dword [esp + 0x14]
shr eax, 0x18
imul ecx, edi
shr ebx, 0x10
imul ebx, eax
mov eax, edx
shr eax, 0x18
and edx, 0xff0000
shr ebp, 0x10
shr ecx, 0x10
imul ecx, eax
mov eax, dword [esp + 0x14]
and eax, 0xff0000
shr ebx, 0x10
imul eax, ebx
shr ecx, 0x10
imul edx, ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x1c]
add edx, eax
mov eax, dword [esp + 0x10]
and eax, 0xff0000
imul eax, ebp
add edx, eax
mov eax, dword [esp + 0x58]
mov eax, dword [ecx + eax*4]
and eax, 0xff0000
imul eax, dword [esp + 0x54]
add edx, eax
mov eax, dword [esp + 0x24]
movzx ecx, al
and edx, 0xff0000ff
imul ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
movzx eax, al
imul eax, ebx
mov edi, dword [esp + 0x58]
mov esi, dword [esp + 0x1c]
add ecx, eax
mov eax, dword [esp + 0x10]
movzx eax, al
imul eax, ebp
add ecx, eax
mov eax, dword [esi + edi*4]
mov esi, dword [esp + 0xb0]
movzx eax, al
imul eax, dword [esp + 0x54]
mov edi, dword [esi]
add ecx, eax
mov eax, dword [esp + 0x14]
and ecx, 0xff00
and eax, 0xff00
or edx, ecx
imul eax, ebx
mov ecx, dword [esi + 0xc]
shr edx, 8
imul ecx, edx
and edx, 0xff0000
imul edx, dword [esi + 4]
mov ebx, dword [esp + 0x58]
and ecx, 0xff00
or ecx, edx
mov edx, dword [esp + 0x24]
and edx, 0xff00
shr ecx, 8
imul edx, dword [esp + 0x18]
add edx, eax
mov eax, dword [esp + 0x10]
and eax, 0xff00
imul eax, ebp
mov ebp, dword [esp + 0x1c]
add edx, eax
mov eax, dword [ebp + ebx*4]
and eax, 0xff00
mov ebx, dword [esp + 0x20]
imul eax, dword [esp + 0x54]
add edx, eax
mov eax, ecx
and edx, 0xff0000
and eax, 0xff0000
bswap edx
imul edx, dword [esi + 8]
imul eax, edi
and edx, 0xff0000
bswap edx
imul edx, edi
and eax, 0xff0000ff
and edx, 0xff0000
or edx, eax
movzx eax, cl
imul eax, edi
and eax, 0xff00
or edx, eax
shr edx, 8
mov edi, edx
mov eax, edx
shr edx, 3
and edx, 0x1f
shr eax, 5
mov dword [esp + 0x24], edx
and eax, 0x7e0
movzx edx, word [ebx]
mov ecx, edx
shr edi, 8
and ecx, 0x7e0
and edi, 0xf800
add ecx, eax
mov eax, edx
and eax, 0x1f
shr ecx, 5
add eax, dword [esp + 0x24]
and edx, 0xf800
shr eax, 5
or ecx, eax
add edx, edi
mov ebp, dword [esp + 0x34]
add ebp, dword [esp + 0x50]
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x94]
shr edx, 5
or ecx, edx
mov dword [esp + 0x34], ebp
mov word [ebx], cx
add ebx, 2
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x40]
add ebx, dword [esp + 0x6c]
mov dword [esp + 0x40], ebx
test eax, eax
jg 0x42fce6
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0x90]
add dword [esp + 0x38], eax
mov eax, dword [esp + 0x74]
add eax, dword [esp + 0x78]
lea ecx, [edx + edx]
add dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x8c]
add dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x60]
add dword [esp + 0x4c], ecx
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x74], eax
test ebx, ebx
jg 0x42fc50
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret