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

Disassembly:
sub esp, 0xdc
mov eax, dword [esp + 0xec]
shr dword [esp + 0xe8], 2
push ebx
push ebp
mov ecx, dword [eax + 0x10]
push esi
mov esi, dword [esp + 0xec]
mov edx, esi
mov dword [esp + 0xdc], ecx
mov ecx, dword [eax + 0x14]
mov eax, dword [eax]
mov dword [esp + 0xe4], ecx
lea ebp, [esi + 0x20]
mov ecx, dword [esi + 0x24]
lea ebx, [esi + 0x40]
cmp dword [esi + 4], ecx
mov ecx, dword [esi + 0x44]
cmovle edx, ebp
mov dword [esp + 0xe0], eax
cmovle ebp, esi
push edi
mov edi, ebx
cmp dword [edx + 4], ecx
mov ecx, ebp
mov eax, dword [ebp + 4]
cmovle ebx, edx
mov dword [esp + 0x10], ecx
cmovg edi, edx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x3c], edi
cmp eax, dword [ebx + 4]
jle 0x4726d7
mov ecx, ebx
mov dword [esp + 0x10], ebx
mov ebx, ebp
mov dword [esp + 0x9c], ebp
mov esi, dword [esp + 0x100]
mov eax, dword [ecx + 8]
imul eax, dword [esi]
shr eax, 8
mov dword [ecx + 8], eax
mov eax, dword [esi + 4]
imul eax, dword [ecx + 0xc]
shr eax, 8
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 8]
imul eax, dword [ecx + 0x10]
shr eax, 8
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0xc]
imul eax, dword [ecx + 0x14]
shr eax, 8
mov dword [ecx + 0x14], eax
mov eax, dword [esi]
imul eax, dword [ebx + 8]
shr eax, 8
mov dword [ebx + 8], eax
mov eax, dword [esi + 4]
imul eax, dword [ebx + 0xc]
shr eax, 8
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0x10]
imul eax, dword [esi + 8]
shr eax, 8
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0x14]
imul eax, dword [esi + 0xc]
shr eax, 8
mov dword [ebx + 0x14], eax
mov eax, dword [esi]
imul eax, dword [edi + 8]
shr eax, 8
mov dword [edi + 8], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 4]
imul eax, dword [edi + 0xc]
shr eax, 8
mov dword [edi + 0xc], eax
mov dword [esp + 0x64], eax
mov eax, dword [edi + 0x10]
imul eax, dword [esi + 8]
shr eax, 8
mov dword [edi + 0x10], eax
mov dword [esp + 0x78], eax
mov eax, dword [edi + 0x14]
imul eax, dword [esi + 0xc]
shr eax, 8
mov dword [edi + 0x14], eax
mov dword [esp + 0xac], eax
mov eax, dword [ecx + 4]
mov ecx, dword [edi + 4]
mov dword [esp + 0x40], eax
lea edx, [eax + 0xffff]
lea eax, [ecx + 0xffff]
sar edx, 0x10
sar eax, 0x10
mov dword [esp + 0x70], edx
mov dword [esp + 0xa8], eax
cmp edx, eax
je 0x473c59
mov ebp, dword [ebx + 4]
sub ecx, dword [esp + 0x40]
lea eax, [ebp + 0xffff]
sar eax, 0x10
mov dword [esp + 0x6c], 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 + 0x10]
push edi
push ebx
mov ecx, dword [eax]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x20], ecx
mov eax, dword [eax]
sub eax, ecx
cdq
push edx
push eax
call fcn.0059bca0
mov eax, dword [esp + 0x10]
push edi
mov dword [esp + 0xcc], edx
push ebx
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x24]
sub eax, ecx
mov dword [esp + 0x28], ecx
cdq
push edx
push eax
call fcn.0059bca0
mov eax, dword [esp + 0x10]
push edi
mov dword [esp + 0xd4], edx
push ebx
mov ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x6c]
sub eax, ecx
mov dword [esp + 0x2c], ecx
cdq
push edx
push eax
call fcn.0059bca0
mov eax, dword [esp + 0x10]
push edi
mov dword [esp + 0xd0], edx
push ebx
mov ecx, dword [eax + 0x10]
mov eax, dword [esp + 0x80]
sub eax, ecx
mov dword [esp + 0x50], ecx
cdq
push edx
push eax
call fcn.0059bca0
mov eax, dword [esp + 0x10]
push edi
mov dword [esp + 0xd8], edx
push ebx
mov ecx, dword [eax + 0x14]
mov eax, dword [esp + 0xb4]
sub eax, ecx
mov dword [esp + 0x70], ecx
cdq
push edx
push eax
call fcn.0059bca0
mov eax, dword [esp + 0x10]
mov dword [esp + 0xdc], edx
mov ecx, dword [eax + 0x18]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x78], ecx
mov eax, dword [eax + 0x18]
sub eax, ecx
push edi
cdq
push ebx
push edx
push eax
call fcn.0059bca0
mov eax, dword [esp + 0x10]
push edi
mov dword [esp + 0xdc], edx
push ebx
mov ecx, dword [eax + 0x1c]
mov eax, dword [esp + 0x44]
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 + 0x40]
sub ebp, edi
mov dword [esp + 0xac], edx
mov eax, ebp
cdq
mov ecx, eax
mov ebx, edx
mov eax, dword [esp + 0xc8]
cdq
push ebx
mov ebp, eax
mov dword [esp + 0x38], ecx
mov eax, edx
mov dword [esp + 0x34], ebx
push ecx
push eax
push ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x3c], eax
call fcn.0059bca0
mov ebp, dword [esp + 0x9c]
mov ecx, eax
mov ebx, dword [esp + 0x18]
shrd ecx, edx, 0x10
mov eax, dword [ebp]
add ecx, ebx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x1c], eax
cmp eax, ecx
je 0x473c59
mov eax, dword [esp + 0x70]
shl eax, 0x10
sub eax, edi
cdq
mov ecx, edx
mov dword [esp + 0x28], eax
push ecx
push eax
push dword [esp + 0x34]
mov dword [esp + 0x44], ecx
push dword [esp + 0x6c]
call fcn.0059bca0
push dword [esp + 0x38]
shrd eax, edx, 0x10
push dword [esp + 0x2c]
add eax, ebx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xd8]
cdq
mov edi, edx
mov ebx, eax
push edi
push ebx
call fcn.0059bca0
push dword [esp + 0x38]
shrd eax, edx, 0x10
push dword [esp + 0x2c]
add eax, dword [esp + 0x28]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xd4]
cdq
mov ecx, eax
mov eax, edx
push eax
push ecx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x70], eax
call fcn.0059bca0
push dword [esp + 0x38]
shrd eax, edx, 0x10
push dword [esp + 0x2c]
add eax, dword [esp + 0x2c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xdc]
cdq
mov ecx, eax
mov eax, edx
push eax
push ecx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
call fcn.0059bca0
push dword [esp + 0x38]
shrd eax, edx, 0x10
push dword [esp + 0x2c]
add eax, dword [esp + 0x50]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xe4]
cdq
mov ecx, eax
mov eax, edx
push eax
push ecx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
call fcn.0059bca0
push dword [esp + 0x38]
shrd eax, edx, 0x10
push dword [esp + 0x2c]
add eax, dword [esp + 0x70]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0xe0]
cdq
mov ecx, eax
mov eax, edx
push eax
push ecx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
call fcn.0059bca0
shrd eax, edx, 0x10
add eax, dword [esp + 0x78]
push dword [esp + 0x38]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0xb0]
push dword [esp + 0x2c]
cdq
mov ecx, eax
mov eax, edx
push eax
push ecx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0x8c], eax
call fcn.0059bca0
shrd eax, edx, 0x10
add eax, dword [esp + 0x64]
mov dword [esp + 0x10], eax
mov eax, dword [ebp]
sub eax, dword [esp + 0x40]
cdq
push edx
push eax
push 0x10000
push 0
call fcn.0059bbf0
push dword [esp + 0x30]
mov dword [esp + 0x18], eax
push dword [esp + 0x38]
mov dword [esp + 0x34], edx
push edi
push ebx
call fcn.0059bca0
push dword [esp + 0x2c]
mov ecx, eax
mov edi, edx
mov eax, dword [ebp + 8]
push dword [esp + 0x18]
cdq
shrd ecx, edi, 0x10
mov ebp, eax
mov ebx, edx
mov eax, dword [esp + 0x28]
sar edi, 0x10
sub ebp, ecx
cdq
sbb ebx, edi
sub ebp, eax
sbb ebx, edx
push ebx
push ebp
call fcn.0059bca0
push dword [esp + 0x30]
mov dword [esp + 0xa4], edx
push dword [esp + 0x38]
push dword [esp + 0x68]
push dword [esp + 0x80]
call fcn.0059bca0
push dword [esp + 0x2c]
mov ecx, eax
mov edi, edx
mov eax, dword [esp + 0xa0]
push dword [esp + 0x18]
shrd ecx, edi, 0x10
mov eax, dword [eax + 0xc]
cdq
mov ebp, eax
sar edi, 0x10
mov eax, dword [esp + 0x2c]
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 + 0x30]
mov dword [esp + 0xa8], edx
push dword [esp + 0x38]
push dword [esp + 0x9c]
push dword [esp + 0x9c]
call fcn.0059bca0
push dword [esp + 0x2c]
mov ecx, eax
mov edi, edx
mov eax, dword [esp + 0xa0]
push dword [esp + 0x18]
shrd ecx, edi, 0x10
mov eax, dword [eax + 0x10]
cdq
mov ebp, eax
sar edi, 0x10
mov eax, dword [esp + 0x50]
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 + 0x30]
mov dword [esp + 0x78], edx
push dword [esp + 0x38]
push dword [esp + 0x94]
push dword [esp + 0x94]
call fcn.0059bca0
push dword [esp + 0x2c]
mov ecx, eax
mov edi, edx
mov eax, dword [esp + 0xa0]
push dword [esp + 0x18]
shrd ecx, edi, 0x10
mov eax, dword [eax + 0x14]
cdq
mov ebp, eax
sar edi, 0x10
mov eax, dword [esp + 0x70]
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 + 0x30]
mov dword [esp + 0x64], edx
push dword [esp + 0x38]
push dword [esp + 0x8c]
push dword [esp + 0x8c]
call fcn.0059bca0
push dword [esp + 0x2c]
mov ecx, eax
mov edi, edx
mov eax, dword [esp + 0xa0]
push dword [esp + 0x18]
shrd ecx, edi, 0x10
mov eax, dword [eax + 0x18]
cdq
mov ebp, eax
sar edi, 0x10
mov eax, dword [esp + 0x80]
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 + 0x30]
mov dword [esp + 0x6c], edx
push dword [esp + 0x38]
push dword [esp + 0x84]
push dword [esp + 0xa4]
call fcn.0059bca0
mov ecx, eax
mov edi, edx
mov eax, dword [esp + 0x9c]
push dword [esp + 0x2c]
shrd ecx, edi, 0x10
push dword [esp + 0x18]
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 ecx, dword [esp + 0x70]
mov ebp, edx
imul ecx, dword [esp + 0xf8]
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x2c], ebp
lea eax, [eax + ecx*4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x6c]
sub eax, dword [esp + 0x70]
mov dword [esp + 0x48], eax
je 0x4734a9
push dword [esp + 0x30]
mov eax, dword [esp + 0x20]
push dword [esp + 0x38]
sub eax, dword [esp + 0x20]
cdq
push 0x10000
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 + 0x38]
mov eax, edx
push dword [esp + 0x2c]
mov dword [esp + 0x6c], eax
cdq
push edx
push eax
call fcn.0059bca0
mov edi, eax
mov eax, dword [esp + 0x1c]
shrd edi, edx, 0x10
add edi, dword [esp + 0x18]
cmp dword [esp + 0x40], eax
jge 0x4730e3
mov ebx, dword [esp + 0x48]
test ebx, ebx
jle 0x4734a9
mov eax, dword [esp + 0xa0]
cdq
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x98], edx
cdq
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x80], edx
cdq
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x88], edx
cdq
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x90], edx
cdq
mov dword [esp + 0xb0], eax
mov eax, ebp
mov dword [esp + 0x78], edx
cdq
mov dword [esp + 0xb8], eax
lea eax, [edi + 0xffff]
mov dword [esp + 0xb4], edx
lea edx, [ecx + 0xffff]
mov dword [esp + 0x20], eax
mov dword [esp + 0x70], edx
nop dword [eax + eax]
mov ebp, edx
dec ebx
and ebp, 0xffff0000
mov dword [esp + 0x48], ebx
mov eax, ebp
sub eax, ecx
cdq
mov edi, edx
mov ebx, eax
push edi
push ebx
push dword [esp + 0xa0]
push dword [esp + 0x88]
call fcn.0059bca0
push edi
push ebx
push dword [esp + 0x88]
shrd eax, edx, 0x10
push dword [esp + 0x90]
add eax, dword [esp + 0x5c]
mov dword [esp + 0x28], eax
call fcn.0059bca0
push edi
push ebx
push dword [esp + 0x90]
shrd eax, edx, 0x10
push dword [esp + 0x98]
add eax, dword [esp + 0x60]
mov dword [esp + 0x48], eax
call fcn.0059bca0
push edi
push ebx
push dword [esp + 0x98]
shrd eax, edx, 0x10
push dword [esp + 0xa0]
add eax, dword [esp + 0x64]
mov dword [esp + 0x44], eax
call fcn.0059bca0
push edi
push ebx
push dword [esp + 0x80]
shrd eax, edx, 0x10
push dword [esp + 0xbc]
add eax, dword [esp + 0x68]
mov dword [esp + 0x40], eax
call fcn.0059bca0
push edi
push ebx
push dword [esp + 0xbc]
shrd eax, edx, 0x10
push dword [esp + 0xc4]
add eax, dword [esp + 0x6c]
mov dword [esp + 0x34], eax
call fcn.0059bca0
mov ecx, eax
mov eax, ebp
shrd ecx, edx, 0x10
mov edx, dword [esp + 0x14]
add ecx, dword [esp + 0x10]
sar eax, 0x10
mov dword [esp + 0x1c], ecx
lea ebx, [edx + eax*4]
mov eax, dword [esp + 0x20]
sub eax, ebp
mov dword [esp + 0x28], ebx
mov ebp, dword [esp + 0x2c]
sar eax, 0x10
test eax, eax
jle 0x473058
dec eax
shr ecx, 0x10
imul ecx, dword [esp + 0xe0]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x24]
shr eax, 0x10
add ecx, eax
cmp ecx, dword [esp + 0xe8]
jae 0x472ffa
mov eax, dword [esp + 0xe4]
mov edx, dword [eax + ecx*4]
mov eax, edx
shr eax, 0x18
mov dword [esp + 0xbc], edx
cmp eax, 8
jbe 0x472ffa
mov edi, dword [esi]
imul edi, dword [esp + 0x18]
mov ebx, dword [esi + 0xc]
imul ebx, dword [esp + 0x30]
mov ecx, dword [esi + 4]
imul ecx, dword [esp + 0x38]
mov ebp, dword [esi + 8]
imul ebp, dword [esp + 0x34]
shr ebx, 0x18
shr edi, 0x18
imul edi, eax
movzx eax, dl
imul ebx, eax
mov eax, edx
and eax, 0xff0000
shr ecx, 0x18
imul ecx, eax
mov eax, dword [esp + 0xbc]
and eax, 0xff00
shr ebp, 0x18
imul ebp, eax
and ebx, 0xff00
shr edi, 8
or ebx, ecx
mov dword [esp + 0xc0], edi
mov ecx, dword [esp + 0x28]
shr ebx, 8
mov edx, ebx
and ebp, 0xff0000
and edx, 0xff0000
mov ecx, dword [ecx]
mov eax, ecx
imul edx, edi
and eax, 0xff0000
bswap ebp
imul ebp, edi
movzx edi, bl
mov ebx, 0xff
imul edi, dword [esp + 0xc0]
shr edx, 8
add eax, edx
mov edx, 0xff
shr eax, 0x10
shr ebp, 8
and ebp, 0xff00
shr edi, 8
cmp eax, ebx
cmovbe ebx, eax
mov eax, ecx
and eax, 0xff00
add eax, ebp
mov ebp, dword [esp + 0x2c]
shr eax, 8
cmp eax, edx
cmovbe edx, eax
movzx eax, cl
add eax, edi
mov ecx, 0xff
cmp eax, ecx
cmovbe ecx, eax
mov eax, dword [esp + 0x28]
or ebx, 0xffffff00
shl ebx, 8
or ebx, edx
shl ebx, 8
or ebx, ecx
mov dword [eax], ebx
mov ebx, eax
mov eax, dword [esp + 0x18]
add ebx, 4
add eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
add ecx, ebp
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0xa4]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
add eax, dword [esp + 0x74]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x60]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x68]
add dword [esp + 0x24], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], ecx
test eax, eax
jg 0x472ec3
mov ebx, dword [esp + 0xf8]
mov eax, dword [esp + 0x64]
add dword [esp + 0x20], eax
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x70]
lea eax, [ebx*4]
add dword [esp + 0x14], eax
mov eax, dword [esp + 0xd0]
add dword [esp + 0x4c], eax
mov eax, dword [esp + 0xcc]
add dword [esp + 0x50], eax
mov eax, dword [esp + 0xd4]
add dword [esp + 0x54], eax
mov eax, dword [esp + 0xdc]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0xd8]
add dword [esp + 0x5c], eax
add ecx, dword [esp + 0xc8]
add edx, dword [esp + 0xc8]
mov eax, dword [esp + 0xac]
add dword [esp + 0x10], eax
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x70], edx
test ebx, ebx
jg 0x472dc0
jmp 0x4734a9
jle 0x4734a9
mov ebx, dword [esp + 0x48]
test ebx, ebx
jle 0x4734a9
mov eax, dword [esp + 0xa0]
cdq
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xc4], edx
cdq
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0xbc], edx
cdq
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xb4], edx
cdq
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x98], edx
cdq
mov dword [esp + 0x84], eax
mov eax, ebp
mov dword [esp + 0x80], edx
cdq
mov dword [esp + 0x8c], eax
lea eax, [ecx + 0xffff]
mov dword [esp + 0x30], eax
lea eax, [edi + 0xffff]
mov dword [esp + 0x88], edx
mov dword [esp + 0x70], eax
mov ebp, eax
dec ebx
and ebp, 0xffff0000
mov dword [esp + 0x48], ebx
mov eax, ebp
sub eax, ecx
cdq
mov edi, edx
mov ebx, eax
push edi
push ebx
push dword [esp + 0xcc]
push dword [esp + 0xcc]
call fcn.0059bca0
push edi
push ebx
push dword [esp + 0xc4]
shrd eax, edx, 0x10
push dword [esp + 0xc4]
add eax, dword [esp + 0x5c]
mov dword [esp + 0x30], eax
call fcn.0059bca0
push edi
push ebx
push dword [esp + 0xbc]
shrd eax, edx, 0x10
push dword [esp + 0xbc]
add eax, dword [esp + 0x60]
mov dword [esp + 0x34], eax
call fcn.0059bca0
push edi
push ebx
push dword [esp + 0xa0]
shrd eax, edx, 0x10
push dword [esp + 0x88]
add eax, dword [esp + 0x64]
mov dword [esp + 0x28], eax
call fcn.0059bca0
push edi
push ebx
push dword [esp + 0x88]
shrd eax, edx, 0x10
push dword [esp + 0x90]
add eax, dword [esp + 0x68]
mov dword [esp + 0x48], eax
call fcn.0059bca0
push edi
push ebx
push dword [esp + 0x90]
shrd eax, edx, 0x10
push dword [esp + 0x98]
add eax, dword [esp + 0x6c]
mov dword [esp + 0x44], eax
call fcn.0059bca0
mov ecx, eax
mov eax, ebp
shrd ecx, edx, 0x10
mov edx, dword [esp + 0x14]
add ecx, dword [esp + 0x10]
sar eax, 0x10
mov dword [esp + 0x1c], ecx
lea ebx, [edx + eax*4]
mov edx, dword [esp + 0x30]
mov eax, edx
mov dword [esp + 0x28], ebx
sub eax, ebp
mov ebp, dword [esp + 0x2c]
sar eax, 0x10
test eax, eax
jle 0x473423
nop word [eax + eax]
dec eax
shr ecx, 0x10
imul ecx, dword [esp + 0xe0]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x34]
shr eax, 0x10
add ecx, eax
cmp ecx, dword [esp + 0xe8]
jae 0x4733c4
mov eax, dword [esp + 0xe4]
mov edx, dword [eax + ecx*4]
mov eax, edx
shr eax, 0x18
mov dword [esp + 0x90], edx
cmp eax, 8
jbe 0x4733c4
mov edi, dword [esi]
imul edi, dword [esp + 0x20]
mov ebx, dword [esi + 0xc]
imul ebx, dword [esp + 0x38]
mov ecx, dword [esi + 4]
imul ecx, dword [esp + 0x24]
mov ebp, dword [esi + 8]
imul ebp, dword [esp + 0x18]
shr ebx, 0x18
shr edi, 0x18
imul edi, eax
movzx eax, dl
imul ebx, eax
mov eax, edx
and eax, 0xff0000
shr ecx, 0x18
imul ecx, eax
mov eax, dword [esp + 0x90]
and eax, 0xff00
shr ebp, 0x18
imul ebp, eax
and ebx, 0xff00
shr edi, 8
or ebx, ecx
mov dword [esp + 0x94], edi
mov ecx, dword [esp + 0x28]
shr ebx, 8
mov edx, ebx
and ebp, 0xff0000
and edx, 0xff0000
mov ecx, dword [ecx]
mov eax, ecx
imul edx, edi
and eax, 0xff0000
bswap ebp
imul ebp, edi
movzx edi, bl
mov ebx, 0xff
imul edi, dword [esp + 0x94]
shr edx, 8
add eax, edx
mov edx, 0xff
shr eax, 0x10
shr ebp, 8
and ebp, 0xff00
shr edi, 8
cmp eax, ebx
cmovbe ebx, eax
mov eax, ecx
and eax, 0xff00
add eax, ebp
mov ebp, dword [esp + 0x2c]
shr eax, 8
cmp eax, edx
cmovbe edx, eax
movzx eax, cl
add eax, edi
mov ecx, 0xff
cmp eax, ecx
cmovbe ecx, eax
mov eax, dword [esp + 0x28]
or ebx, 0xffffff00
shl ebx, 8
or ebx, edx
shl ebx, 8
or ebx, ecx
mov dword [eax], ebx
mov ebx, eax
mov eax, dword [esp + 0x20]
add ebx, 4
add eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
add ecx, ebp
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0xa4]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x74]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0x60]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x68]
add dword [esp + 0x34], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], ecx
test eax, eax
jg 0x473290
mov edx, dword [esp + 0x30]
add edx, dword [esp + 0xc8]
mov ebx, dword [esp + 0xf8]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x70]
add ecx, dword [esp + 0xc8]
add eax, dword [esp + 0x64]
mov dword [esp + 0x30], edx
lea edx, [ebx*4]
add dword [esp + 0x14], edx
mov edx, dword [esp + 0xd0]
add dword [esp + 0x4c], edx
mov edx, dword [esp + 0xcc]
add dword [esp + 0x50], edx
mov edx, dword [esp + 0xd4]
add dword [esp + 0x54], edx
mov edx, dword [esp + 0xdc]
add dword [esp + 0x58], edx
mov edx, dword [esp + 0xd8]
add dword [esp + 0x5c], edx
mov edx, dword [esp + 0xac]
add dword [esp + 0x10], edx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x70], eax
test ebx, ebx
jg 0x473180
mov eax, dword [esp + 0x6c]
sub dword [esp + 0xa8], eax
je 0x473c59
mov eax, dword [esp + 0x9c]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x3c]
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 + 0x3c]
mov eax, dword [eax]
sub eax, dword [esp + 0x1c]
cdq
push edx
push eax
push ecx
push edi
call fcn.0059bca0
mov eax, dword [esp + 0x6c]
mov ecx, edx
shl eax, 0x10
sub eax, ebx
mov dword [esp + 0x70], ecx
imul ecx
mov edi, eax
mov eax, dword [esp + 0x1c]
shrd edi, edx, 0x10
add edi, eax
cmp dword [esp + 0x40], eax
jge 0x4738bb
mov ebx, dword [esp + 0xa8]
test ebx, ebx
jle 0x473c59
mov eax, dword [esp + 0xa0]
cdq
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xc4], edx
cdq
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0xbc], edx
cdq
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xb4], edx
cdq
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x98], edx
cdq
mov dword [esp + 0x84], eax
mov eax, ebp
mov dword [esp + 0x80], edx
cdq
mov dword [esp + 0x8c], eax
lea eax, [edi + 0xffff]
mov dword [esp + 0x88], edx
mov dword [esp + 0x48], eax
lea ebp, [ecx + 0xffff]
dec ebx
and ebp, 0xffff0000
mov dword [esp + 0xa8], ebx
mov eax, ebp
sub eax, ecx
cdq
mov edi, edx
mov ebx, eax
push edi
push ebx
push dword [esp + 0xcc]
push dword [esp + 0xcc]
call fcn.0059bca0
push edi
push ebx
push dword [esp + 0xc4]
shrd eax, edx, 0x10
push dword [esp + 0xc4]
add eax, dword [esp + 0x5c]
mov dword [esp + 0x50], eax
call fcn.0059bca0
push edi
push ebx
push dword [esp + 0xbc]
shrd eax, edx, 0x10
push dword [esp + 0xbc]
add eax, dword [esp + 0x60]
mov dword [esp + 0x7c], eax
call fcn.0059bca0
push edi
push ebx
push dword [esp + 0xa0]
shrd eax, edx, 0x10
push dword [esp + 0x88]
add eax, dword [esp + 0x64]
mov dword [esp + 0x30], eax
call fcn.0059bca0
push edi
push ebx
push dword [esp + 0x88]
shrd eax, edx, 0x10
push dword [esp + 0x90]
add eax, dword [esp + 0x68]
mov dword [esp + 0x34], eax
call fcn.0059bca0
push edi
push ebx
push dword [esp + 0x90]
shrd eax, edx, 0x10
push dword [esp + 0x98]
add eax, dword [esp + 0x6c]
mov dword [esp + 0x28], eax
call fcn.0059bca0
mov edi, eax
mov ecx, ebp
mov eax, dword [esp + 0x48]
shrd edi, edx, 0x10
mov edx, dword [esp + 0x14]
sub eax, ebp
add edi, dword [esp + 0x10]
sar ecx, 0x10
sar eax, 0x10
mov dword [esp + 0x1c], edi
lea ebx, [edx + ecx*4]
mov dword [esp + 0x3c], ebx
test eax, eax
jle 0x473836
dec eax
mov ecx, edi
shr ecx, 0x10
imul ecx, dword [esp + 0xe0]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x18]
shr eax, 0x10
add ecx, eax
cmp ecx, dword [esp + 0xe8]
jae 0x4737ed
mov eax, dword [esp + 0xe4]
mov edx, dword [eax + ecx*4]
mov eax, edx
shr eax, 0x18
mov dword [esp + 0x90], edx
cmp eax, 8
jbe 0x4737ed
mov edi, dword [esi]
imul edi, dword [esp + 0x40]
mov ebx, dword [esi + 0xc]
imul ebx, dword [esp + 0x24]
mov ecx, dword [esi + 4]
imul ecx, dword [esp + 0x6c]
mov ebp, dword [esi + 8]
imul ebp, dword [esp + 0x20]
shr ebx, 0x18
shr edi, 0x18
imul edi, eax
movzx eax, dl
imul ebx, eax
mov eax, edx
and eax, 0xff0000
shr ecx, 0x18
imul ecx, eax
mov eax, dword [esp + 0x90]
and eax, 0xff00
shr ebp, 0x18
imul ebp, eax
and ebx, 0xff00
shr edi, 8
or ebx, ecx
mov dword [esp + 0x94], edi
mov ecx, dword [esp + 0x3c]
shr ebx, 8
mov edx, ebx
and ebp, 0xff0000
and edx, 0xff0000
mov ecx, dword [ecx]
mov eax, ecx
imul edx, edi
and eax, 0xff0000
bswap ebp
imul ebp, edi
movzx edi, bl
mov ebx, 0xff
imul edi, dword [esp + 0x94]
shr edx, 8
add eax, edx
mov edx, 0xff
shr eax, 0x10
shr ebp, 8
shr edi, 8
and ebp, 0xff00
cmp eax, ebx
cmovbe ebx, eax
mov eax, ecx
and eax, 0xff00
add eax, ebp
shr eax, 8
cmp eax, edx
cmovbe edx, eax
movzx eax, cl
add eax, edi
mov ecx, 0xff
mov edi, dword [esp + 0x1c]
cmp eax, ecx
cmovbe ecx, eax
mov eax, dword [esp + 0x3c]
or ebx, 0xffffff00
shl ebx, 8
or ebx, edx
shl ebx, 8
or ebx, ecx
mov dword [eax], ebx
mov ebx, eax
mov eax, dword [esp + 0xa0]
add ebx, 4
add dword [esp + 0x40], eax
mov eax, dword [esp + 0xa4]
add dword [esp + 0x6c], eax
mov eax, dword [esp + 0x74]
add dword [esp + 0x20], eax
mov eax, dword [esp + 0x60]
add dword [esp + 0x24], eax
mov eax, dword [esp + 0x68]
add dword [esp + 0x18], eax
add edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x1c], edi
test eax, eax
jg 0x4736b7
mov edx, dword [esp + 0xf8]
mov eax, dword [esp + 0x70]
add dword [esp + 0x48], eax
mov ecx, dword [esp + 0x44]
add ecx, dword [esp + 0xc8]
lea eax, [edx*4]
add dword [esp + 0x14], eax
mov eax, dword [esp + 0xd0]
add dword [esp + 0x4c], eax
mov eax, dword [esp + 0xcc]
add dword [esp + 0x50], eax
mov eax, dword [esp + 0xd4]
add dword [esp + 0x54], eax
mov eax, dword [esp + 0xdc]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0xd8]
add dword [esp + 0x5c], eax
mov eax, dword [esp + 0xac]
add dword [esp + 0x10], eax
mov ebx, dword [esp + 0xa8]
mov dword [esp + 0x44], ecx
test ebx, ebx
jg 0x4735b1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xdc
ret
jle 0x473c59
mov ecx, dword [esp + 0xa8]
test ecx, ecx
jle 0x473c59
mov eax, dword [esp + 0xa0]
cdq
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xc4], edx
cdq
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0xbc], edx
cdq
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xb4], edx
cdq
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x98], edx
cdq
mov dword [esp + 0x84], eax
mov eax, ebp
mov dword [esp + 0x80], edx
cdq
mov dword [esp + 0x8c], eax
lea eax, [edi + 0xffff]
mov dword [esp + 0x88], edx
mov dword [esp + 0x64], eax
nop dword [eax]
mov ebp, eax
dec ecx
and ebp, 0xffff0000
mov dword [esp + 0xa8], ecx
mov eax, ebp
sub eax, dword [esp + 0x44]
cdq
mov edi, edx
mov ebx, eax
push edi
push ebx
push dword [esp + 0xcc]
push dword [esp + 0xcc]
call fcn.0059bca0
push edi
push ebx
push dword [esp + 0xc4]
shrd eax, edx, 0x10
push dword [esp + 0xc4]
add eax, dword [esp + 0x5c]
mov dword [esp + 0x50], eax
call fcn.0059bca0
push edi
push ebx
push dword [esp + 0xbc]
shrd eax, edx, 0x10
push dword [esp + 0xbc]
add eax, dword [esp + 0x60]
mov dword [esp + 0x7c], eax
call fcn.0059bca0
push edi
push ebx
push dword [esp + 0xa0]
shrd eax, edx, 0x10
push dword [esp + 0x88]
add eax, dword [esp + 0x64]
mov dword [esp + 0x30], eax
call fcn.0059bca0
push edi
push ebx
push dword [esp + 0x88]
shrd eax, edx, 0x10
push dword [esp + 0x90]
add eax, dword [esp + 0x68]
mov dword [esp + 0x34], eax
call fcn.0059bca0
push edi
push ebx
push dword [esp + 0x90]
shrd eax, edx, 0x10
push dword [esp + 0x98]
add eax, dword [esp + 0x6c]
mov dword [esp + 0x28], eax
call fcn.0059bca0
mov edi, eax
mov ecx, ebp
mov eax, dword [esp + 0x44]
shrd edi, edx, 0x10
mov edx, dword [esp + 0x14]
sub eax, ebp
add edi, dword [esp + 0x10]
add eax, 0xffff
sar ecx, 0x10
sar eax, 0x10
mov dword [esp + 0x1c], edi
lea ebx, [edx + ecx*4]
mov dword [esp + 0x3c], ebx
test eax, eax
jle 0x473bdf
nop dword [eax]
dec eax
mov ecx, edi
shr ecx, 0x10
imul ecx, dword [esp + 0xe0]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x18]
shr eax, 0x10
add ecx, eax
cmp ecx, dword [esp + 0xe8]
jae 0x473b96
mov eax, dword [esp + 0xe4]
mov edx, dword [eax + ecx*4]
mov eax, edx
shr eax, 0x18
mov dword [esp + 0x90], edx
cmp eax, 8
jbe 0x473b96
mov edi, dword [esi]
imul edi, dword [esp + 0x40]
mov ebx, dword [esi + 0xc]
imul ebx, dword [esp + 0x24]
mov ecx, dword [esi + 4]
imul ecx, dword [esp + 0x6c]
mov ebp, dword [esi + 8]
imul ebp, dword [esp + 0x20]
shr ebx, 0x18
shr edi, 0x18
imul edi, eax
movzx eax, dl
imul ebx, eax
mov eax, edx
and eax, 0xff0000
shr ecx, 0x18
imul ecx, eax
mov eax, dword [esp + 0x90]
and eax, 0xff00
shr ebp, 0x18
imul ebp, eax
and ebx, 0xff00
shr edi, 8
or ebx, ecx
mov dword [esp + 0x94], edi
mov ecx, dword [esp + 0x3c]
shr ebx, 8
mov edx, ebx
and ebp, 0xff0000
and edx, 0xff0000
mov ecx, dword [ecx]
mov eax, ecx
imul edx, edi
and eax, 0xff0000
bswap ebp
imul ebp, edi
movzx edi, bl
mov ebx, 0xff
imul edi, dword [esp + 0x94]
shr edx, 8
add eax, edx
mov edx, 0xff
shr eax, 0x10
shr ebp, 8
shr edi, 8
and ebp, 0xff00
cmp eax, ebx
cmovbe ebx, eax
mov eax, ecx
and eax, 0xff00
add eax, ebp
shr eax, 8
cmp eax, edx
cmovbe edx, eax
movzx eax, cl
add eax, edi
mov ecx, 0xff
mov edi, dword [esp + 0x1c]
cmp eax, ecx
cmovbe ecx, eax
mov eax, dword [esp + 0x3c]
or ebx, 0xffffff00
shl ebx, 8
or ebx, edx
shl ebx, 8
or ebx, ecx
mov dword [eax], ebx
mov ebx, eax
mov eax, dword [esp + 0xa0]
add ebx, 4
add dword [esp + 0x40], eax
mov eax, dword [esp + 0xa4]
add dword [esp + 0x6c], eax
mov eax, dword [esp + 0x74]
add dword [esp + 0x20], eax
mov eax, dword [esp + 0x60]
add dword [esp + 0x24], eax
mov eax, dword [esp + 0x68]
add dword [esp + 0x18], eax
add edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x1c], edi
test eax, eax
jg 0x473a60
mov edx, dword [esp + 0xf8]
mov eax, dword [esp + 0xc8]
add dword [esp + 0x44], eax
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x70]
lea ecx, [edx*4]
add dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xd0]
add dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0xcc]
add dword [esp + 0x50], ecx
mov ecx, dword [esp + 0xd4]
add dword [esp + 0x54], ecx
mov ecx, dword [esp + 0xdc]
add dword [esp + 0x58], ecx
mov ecx, dword [esp + 0xd8]
add dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0xac]
add dword [esp + 0x10], ecx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x64], eax
test ecx, ecx
jg 0x473950
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xdc
ret