Function at 0x51fff0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x65afcb
mov eax, dword fs:[0]
push eax
sub esp, 0x1b0
mov eax, dword [0x6af168]
xor eax, esp
mov dword [esp + 0x1a8], eax
push ebx
push esi
push edi
mov eax, dword [0x6af168]
xor eax, esp
push eax
lea eax, [esp + 0x1c0]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
mov edi, dword [ebp + 0xc]
push 0
push 0x6b7148
push 0x6b712c
mov esi, ecx
mov ecx, dword [ebp + 0x14]
push 0
push ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x40], edx
mov byte [ebx + 4], 1
call fcn.006254cb
add esp, 0x14
push 0
push 0x6b7164
push 0x6b712c
push 0
push ebx
mov dword [esp + 0x30], eax
call fcn.006254cb
mov dword [esp + 0x78], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x68]
add esp, 0x14
mov ecx, esi
call edx
mov ecx, esi
call fcn.0050a110
test al, al
je 0x5200cd
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [esp + 0x2c]
push 0
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esi + 0x6c]
push edx
mov edx, dword [ecx + 0x30]
push eax
push ebx
mov ebx, dword [esp + 0x40]
push edx
call fcn.00506ad0
jmp 0x522090
fldz
mov ecx, dword [esp + 0x28]
xor eax, eax
fst qword [esp + 0x8c]
mov dword [esp + 0x50], eax
fst qword [esp + 0x94]
mov dword [esp + 0x54], eax
fst qword [esp + 0x9c]
mov dword [esp + 0x58], eax
fstp qword [esp + 0xa4]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x10]
push eax
push ecx
lea esi, [esp + 0x58]
lea ebx, [esp + 0x94]
call fcn.005346d0
test al, al
je 0x522090
cmp byte [ebp + 0x20], 0
je 0x521f83
mov ebx, dword [esp + 0x1c]
test ebx, ebx
mov edi, dword [esp + 0x2c]
je 0x5202be
mov eax, edi
call fcn.00502ac0
test al, al
je 0x5202be
cmp dword [ebp + 0x1c], 0
jne 0x5202be
cmp byte [ebx + 0x52], 0
jne 0x5202be
mov eax, ebx
call fcn.0050ade0
test eax, eax
je 0x5202be
mov eax, ebx
call fcn.0050ade0
mov esi, dword [esp + 0x24]
mov eax, esi
call fcn.0050ade0
push 0x64
lea edx, [esp + 0xe0]
push 0
push edx
call fcn.0062a710
add esp, 0xc
cmp byte [ebx + 0x51], 0
mov dword [esp + 0xdc], 0x64
mov dword [esp + 0x10], 0x1000000
je 0x5201b2
mov dword [esp + 0x10], 0x1008000
mov eax, dword [esp + 0x50]
fld qword [esp + 0x8c]
mov edx, dword [esp + 0x58]
fld st(0)
mov ecx, dword [esp + 0x54]
add edx, eax
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x5c]
add eax, ecx
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], edx
mov dword [esp + 0xd8], eax
call fcn.0062a660
fld qword [esp + 0x94]
fld st(0)
mov dword [esp + 0xbc], eax
call fcn.0062a660
fld qword [esp + 0x9c]
faddp st(2)
mov dword [esp + 0xc0], eax
fxch st(1)
call fcn.0062a660
fadd qword [esp + 0xa4]
mov dword [esp + 0xc4], eax
call fcn.0062a660
cmp dword [esi + 0x7c], 0
mov dword [esp + 0xc8], eax
jle 0x52024c
mov eax, dword [esi + 0x70]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x80]
push 0
push eax
call edx
mov eax, esi
call fcn.0050ade0
mov ecx, dword [esp + 0x10]
mov ebx, eax
mov edi, dword [ebx]
lea eax, [esp + 0xdc]
push eax
mov eax, dword [esp + 0x20]
push ecx
lea edx, [esp + 0xc4]
push edx
push ecx
add edi, 0x14
call fcn.0050ade0
mov ecx, dword [edi]
add esp, 4
push eax
lea eax, [esp + 0xdc]
push eax
push ebx
call ecx
cmp dword [esi + 0x7c], 0
jle 0x522067
mov eax, dword [esi + 0x70]
mov edx, dword [eax]
mov edx, dword [edx + 0x64]
push 0
push 1
lea ecx, [esi + 0x80]
push ecx
push 0
push eax
call edx
test eax, eax
jne 0x522090
call fcn.0050ac20
jmp 0x522090
mov esi, dword [esp + 0x64]
test esi, esi
je 0x522063
mov eax, dword [esi]
mov edx, dword [eax + 0x68]
mov ecx, esi
call edx
mov ebx, dword [esp + 0x24]
mov ecx, dword [ebx + 0x6c]
mov eax, dword [esi]
mov edx, dword [eax + 0x44]
push ecx
mov ecx, esi
call edx
cmp dword [ebp + 0x1c], 0
mov dword [esp + 0x6c], eax
jne 0x5210a4
cmp dword [esi + 0x48], 0
jne 0x5209f1
mov eax, dword [ebx]
mov edx, dword [eax + 0xbc]
mov ecx, ebx
call edx
test al, al
je 0x522090
fld qword [esp + 0x94]
fld qword [0x686db8]
fmul st(1), st(0)
fxch st(1)
call fcn.0062a660
fld qword [esp + 0x9c]
fmul st(1)
mov dword [esp + 0x18], eax
fidiv dword [esp + 0x58]
call fcn.0062a660
fld qword [esp + 0xa4]
fmul st(1)
mov dword [esp + 0x2c], eax
fidiv dword [esp + 0x5c]
call fcn.0062a660
mov dword [esp + 0x60], eax
mov eax, edi
call fcn.00502ac0
test al, al
je 0x520619
mov eax, dword [ebx + 0xd4]
cmp eax, 0x10
jne 0x5204c2
mov eax, dword [ebx + 0x90]
imul eax, dword [esp + 0x54]
mov ecx, dword [ebx + 0xa4]
mov edi, dword [ebx + 0xdc]
mov esi, dword [esp + 0x5c]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x50]
test esi, esi
lea edx, [ecx + eax*2]
mov eax, dword [ebx + 0xd8]
mov ebx, dword [ebx + 0xe0]
mov dword [esp + 0x14], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ebx
jle 0x5209d3
fmul qword [esp + 0x8c]
call fcn.0062a660
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], esi
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x64]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x14]
sar ecx, 0x10
imul ecx, dword [esi + 0x24]
mov esi, dword [esp + 0x6c]
lea ecx, [esi + ecx*4]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x58]
test ecx, ecx
mov dword [esp + 0x10], eax
jle 0x520479
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x38]
sar eax, 0x10
mov esi, dword [ecx + eax*4]
movzx eax, word [edx]
mov dword [esp + 0x20], esi
shr esi, 0x18
je 0x520463
mov ecx, 0x100
sub ecx, esi
mov esi, eax
and esi, ebx
imul esi, ecx
shr esi, 8
and esi, ebx
mov ebx, eax
and ebx, edi
imul ebx, ecx
shr ebx, 8
and ebx, edi
add ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x44]
and eax, esi
imul eax, ecx
mov ecx, dword [esp + 0x20]
shr eax, 8
add ebx, ecx
and eax, esi
add eax, ebx
mov ebx, dword [esp + 0x34]
mov word [edx], ax
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x2c]
add edx, 2
sub dword [esp + 0x28], 1
mov dword [esp + 0x10], eax
jne 0x520405
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x90]
mov ecx, dword [esp + 0x14]
cdq
sub eax, edx
sar eax, 1
lea edx, [ecx + eax*2]
mov eax, dword [esp + 0x60]
add dword [esp + 0x18], eax
sub dword [esp + 0x1c], 1
mov dword [esp + 0x14], edx
jne 0x5203d3
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
mov esi, dword [esp + 0x24]
call fcn.0050ac20
jmp 0x522090
cmp eax, 0x20
jne 0x5209d3
mov ecx, ebx
mov eax, dword [ecx + 0x90]
imul eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x5c]
mov esi, dword [ecx + 0xdc]
mov edi, dword [ecx + 0xe0]
cdq
and edx, 3
add eax, edx
mov edx, dword [ecx + 0xa4]
sar eax, 2
add eax, dword [esp + 0x50]
test ebx, ebx
lea eax, [edx + eax*4]
mov edx, dword [ecx + 0xd8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edi
jle 0x5209d3
fmul qword [esp + 0x8c]
call fcn.0062a660
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x64]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x14]
sar ecx, 0x10
imul ecx, dword [ebx + 0x24]
mov ebx, dword [esp + 0x6c]
lea ecx, [ebx + ecx*4]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x58]
test ecx, ecx
mov dword [esp + 0x10], eax
jle 0x5205cc
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x38]
sar eax, 0x10
mov ebx, dword [ecx + eax*4]
mov eax, dword [edx]
mov dword [esp + 0x20], ebx
shr ebx, 0x18
je 0x5205b6
mov ecx, 0x100
sub ecx, ebx
mov ebx, eax
and ebx, edi
imul ebx, ecx
shr ebx, 8
and ebx, edi
mov edi, eax
and edi, esi
imul edi, ecx
shr edi, 8
and edi, esi
mov esi, dword [esp + 0x44]
add edi, dword [esp + 0x20]
and eax, esi
imul eax, ecx
shr eax, 8
and eax, esi
mov esi, dword [esp + 0x30]
add edi, ebx
add eax, edi
mov edi, dword [esp + 0x34]
mov dword [edx], eax
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x2c]
add edx, 4
sub dword [esp + 0x28], 1
mov dword [esp + 0x10], eax
jne 0x520562
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x90]
mov ecx, dword [esp + 0x14]
cdq
and edx, 3
add eax, edx
sar eax, 2
lea edx, [ecx + eax*4]
mov eax, dword [esp + 0x60]
add dword [esp + 0x18], eax
sub dword [esp + 0x1c], 1
mov dword [esp + 0x14], edx
jne 0x520530
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
mov esi, dword [esp + 0x24]
call fcn.0050ac20
jmp 0x522090
mov esi, dword [edi + 0xc]
mov ecx, dword [edi]
imul ecx, esi
mov eax, 0x80808081
imul ecx
add edx, ecx
mov ecx, dword [edi + 4]
mov edi, dword [edi + 8]
imul ecx, esi
sar edx, 7
imul edi, esi
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x48], eax
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x68], eax
mov eax, 0x80808081
imul edi
add edx, edi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x78], eax
mov eax, dword [ebx + 0xd4]
cmp eax, 0x10
mov dword [esp + 0x74], esi
jne 0x52081f
mov eax, dword [ebx + 0x90]
imul eax, dword [esp + 0x54]
mov ecx, dword [ebx + 0xa4]
mov esi, dword [esp + 0x5c]
mov edi, dword [ebx + 0xdc]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x50]
test esi, esi
lea edx, [ecx + eax*2]
mov eax, dword [ebx + 0xd8]
mov ecx, dword [ebx + 0xe0]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x10], ecx
jle 0x5209d3
fmul qword [esp + 0x8c]
call fcn.0062a660
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], esi
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x64]
sar eax, 0x10
imul eax, dword [edx + 0x24]
test ecx, ecx
mov edx, dword [esp + 0x6c]
lea eax, [edx + eax*4]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x38], eax
jle 0x5207da
mov dword [esp + 0x28], ecx
mov edi, edi
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
sar ecx, 0x10
mov ecx, dword [edx + ecx*4]
movzx esi, word [ebx]
mov edx, ecx
shr edx, 0x18
imul edx, dword [esp + 0x74]
mov eax, 0x80808081
mul edx
shr edx, 7
je 0x5207b8
mov eax, 0x100
sub eax, edx
mov dword [esp + 0x44], eax
mov edx, esi
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x10]
mov ebx, esi
and ebx, edx
imul ebx, eax
mov eax, ecx
and eax, edx
imul eax, dword [esp + 0x78]
add ebx, eax
shr ebx, 8
and ebx, edx
mov eax, ecx
and eax, edi
imul eax, dword [esp + 0x68]
mov edx, esi
and edx, edi
mov edi, edx
mov edx, dword [esp + 0x44]
imul edi, edx
add eax, edi
mov edi, dword [esp + 0x30]
shr eax, 8
and eax, edi
add ebx, eax
mov eax, dword [esp + 0x34]
and ecx, eax
imul ecx, dword [esp + 0x48]
and esi, eax
imul esi, edx
add ecx, esi
shr ecx, 8
and ecx, eax
add ebx, ecx
mov eax, ebx
mov ebx, dword [esp + 0x14]
mov word [ebx], ax
mov ecx, dword [esp + 0x2c]
add dword [esp + 0x3c], ecx
add ebx, 2
sub dword [esp + 0x28], 1
mov dword [esp + 0x14], ebx
jne 0x520720
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x90]
cdq
sub eax, edx
sar eax, 1
lea ebx, [ebx + eax*2]
mov eax, dword [esp + 0x60]
add dword [esp + 0x18], eax
sub dword [esp + 0x1c], 1
mov dword [esp + 0x4c], ebx
jne 0x5206ec
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
mov esi, dword [esp + 0x24]
call fcn.0050ac20
jmp 0x522090
cmp eax, 0x20
jne 0x5209d3
mov ecx, ebx
mov eax, dword [ecx + 0x90]
imul eax, dword [esp + 0x54]
mov esi, dword [esp + 0x5c]
mov ebx, dword [ecx + 0xe0]
cdq
and edx, 3
add eax, edx
mov edx, dword [ecx + 0xa4]
sar eax, 2
add eax, dword [esp + 0x50]
test esi, esi
lea eax, [edx + eax*4]
mov edx, dword [ecx + 0xd8]
mov dword [esp + 0x4c], eax
mov eax, dword [ecx + 0xdc]
mov dword [esp + 0x44], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], ebx
jle 0x5209d3
fmul qword [esp + 0x8c]
call fcn.0062a660
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], esi
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x4c]
sar edx, 0x10
imul edx, dword [eax + 0x24]
cmp dword [esp + 0x58], 0
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x6c]
lea edx, [ecx + edx*4]
mov dword [esp + 0x14], edi
mov dword [esp + 0x38], edx
jle 0x520986
mov eax, dword [esp + 0x58]
mov dword [esp + 0x1c], eax
lea ebx, [ebx]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
sar ecx, 0x10
mov esi, dword [edx + ecx*4]
mov ecx, dword [edi]
mov edx, esi
shr edx, 0x18
imul edx, dword [esp + 0x74]
mov eax, 0x80808081
mul edx
shr edx, 7
je 0x52096c
mov eax, 0x100
sub eax, edx
mov edx, ecx
and edx, ebx
imul edx, eax
mov edi, esi
and edi, ebx
imul edi, dword [esp + 0x78]
add edx, edi
shr edx, 8
and edx, dword [esp + 0x28]
mov edi, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x10]
and edi, edx
imul edi, eax
mov eax, esi
and eax, edx
imul eax, dword [esp + 0x68]
add edi, eax
mov eax, dword [esp + 0x20]
shr edi, 8
mov ebx, dword [esp + 0x28]
and edi, edx
add eax, edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x44]
and ecx, eax
imul ecx, dword [esp + 0x30]
and esi, eax
imul esi, dword [esp + 0x48]
add ecx, esi
shr ecx, 8
and ecx, eax
mov eax, dword [esp + 0x20]
add eax, ecx
mov dword [edi], eax
mov ecx, dword [esp + 0x2c]
add dword [esp + 0x3c], ecx
add edi, 4
sub dword [esp + 0x1c], 1
mov dword [esp + 0x14], edi
jne 0x5208d0
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x90]
mov ecx, dword [esp + 0x4c]
cdq
and edx, 3
add eax, edx
sar eax, 2
lea edx, [ecx + eax*4]
mov eax, dword [esp + 0x60]
add dword [esp + 0x18], eax
sub dword [esp + 0x34], 1
mov dword [esp + 0x4c], edx
jne 0x52088d
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
mov esi, dword [esp + 0x24]
call fcn.0050ac20
jmp 0x522090
fstp st(0)
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
mov esi, dword [esp + 0x24]
call fcn.0050ac20
jmp 0x522090
mov ecx, dword [esi + 0x4c]
mov edx, dword [ebx]
mov eax, dword [edx + 0xbc]
mov dword [esp + 0x60], ecx
mov ecx, ebx
call eax
test al, al
je 0x522090
fld qword [esp + 0x94]
fld qword [0x686db8]
fmul st(1), st(0)
fxch st(1)
call fcn.0062a660
fld qword [esp + 0x9c]
fmul st(1)
mov dword [esp + 0x18], eax
fidiv dword [esp + 0x58]
call fcn.0062a660
fld qword [esp + 0xa4]
fmul st(1)
mov dword [esp + 0x2c], eax
fidiv dword [esp + 0x5c]
call fcn.0062a660
mov dword [esp + 0x68], eax
mov eax, edi
call fcn.00502ac0
test al, al
je 0x520d10
mov eax, dword [ebx + 0xd4]
cmp eax, 0x10
jne 0x520bb3
mov eax, dword [ebx + 0x90]
imul eax, dword [esp + 0x54]
mov ecx, dword [ebx + 0xa4]
mov edi, dword [ebx + 0xdc]
mov esi, dword [esp + 0x5c]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x50]
test esi, esi
lea edx, [ecx + eax*2]
mov eax, dword [ebx + 0xd8]
mov ebx, dword [ebx + 0xe0]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x30], ebx
jle 0x5209d3
fmul qword [esp + 0x8c]
call fcn.0062a660
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], esi
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x18]
sar ecx, 0x10
imul ecx, dword [eax + 0x24]
add ecx, dword [esp + 0x60]
cmp dword [esp + 0x58], 0
mov dword [esp + 0x44], ecx
jle 0x520b81
mov eax, dword [esp + 0x58]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x6c]
sar eax, 0x10
movzx eax, byte [eax + ecx]
mov esi, dword [esi + eax*4]
movzx eax, word [edx]
mov dword [esp + 0x38], esi
shr esi, 0x18
je 0x520b6f
mov ecx, 0x100
sub ecx, esi
mov esi, eax
and esi, ebx
imul esi, ecx
shr esi, 8
and esi, ebx
mov ebx, eax
and ebx, edi
imul ebx, ecx
shr ebx, 8
and ebx, edi
add ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x20]
and eax, esi
imul eax, ecx
mov ecx, dword [esp + 0x38]
shr eax, 8
add ebx, ecx
mov ecx, dword [esp + 0x44]
and eax, esi
add eax, ebx
mov ebx, dword [esp + 0x30]
mov word [edx], ax
mov eax, dword [esp + 0x2c]
add dword [esp + 0x14], eax
add edx, 2
sub dword [esp + 0x34], 1
jne 0x520b05
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x90]
mov ecx, dword [esp + 0x68]
add dword [esp + 0x18], ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x3c]
sar eax, 1
sub dword [esp + 0x48], 1
lea eax, [edx + eax*2]
mov dword [esp + 0x3c], eax
jne 0x520acf
jmp 0x5209d5
cmp eax, 0x20
jne 0x5209d3
mov esi, dword [esp + 0x5c]
mov ecx, ebx
mov eax, dword [ecx + 0x90]
imul eax, dword [esp + 0x54]
mov edi, dword [ecx + 0xdc]
mov ebx, dword [ecx + 0xe0]
cdq
and edx, 3
add eax, edx
mov edx, dword [ecx + 0xa4]
sar eax, 2
add eax, dword [esp + 0x50]
test esi, esi
lea eax, [edx + eax*4]
mov edx, dword [ecx + 0xd8]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x30], ebx
jle 0x5209d3
fmul qword [esp + 0x8c]
call fcn.0062a660
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], esi
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
sar ecx, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x64]
imul ecx, dword [eax + 0x24]
add ecx, dword [esp + 0x60]
cmp dword [esp + 0x58], 0
mov dword [esp + 0x44], ecx
jle 0x520cda
mov eax, dword [esp + 0x58]
mov dword [esp + 0x34], eax
jmp 0x520c60
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x6c]
sar eax, 0x10
movzx eax, byte [eax + ecx]
mov esi, dword [esi + eax*4]
mov eax, dword [edx]
mov dword [esp + 0x38], esi
shr esi, 0x18
je 0x520cc8
mov ecx, 0x100
sub ecx, esi
mov esi, eax
and esi, ebx
imul esi, ecx
shr esi, 8
and esi, ebx
mov ebx, eax
and ebx, edi
imul ebx, ecx
shr ebx, 8
and ebx, edi
add ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x20]
and eax, esi
imul eax, ecx
mov ecx, dword [esp + 0x38]
shr eax, 8
add ebx, ecx
mov ecx, dword [esp + 0x44]
and eax, esi
add eax, ebx
mov ebx, dword [esp + 0x30]
mov dword [edx], eax
mov eax, dword [esp + 0x2c]
add dword [esp + 0x14], eax
add edx, 4
sub dword [esp + 0x34], 1
jne 0x520c60
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x90]
mov ecx, dword [esp + 0x68]
add dword [esp + 0x18], ecx
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0x3c]
sar eax, 2
sub dword [esp + 0x48], 1
lea eax, [edx + eax*4]
mov dword [esp + 0x3c], eax
jne 0x520c21
jmp 0x5209d5
mov esi, dword [edi + 0xc]
mov ecx, dword [edi]
imul ecx, esi
mov eax, 0x80808081
imul ecx
add edx, ecx
mov ecx, dword [edi + 4]
mov edi, dword [edi + 8]
imul ecx, esi
sar edx, 7
imul edi, esi
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x30], eax
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x78], eax
mov eax, 0x80808081
imul edi
add edx, edi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0xd4]
cmp eax, 0x10
mov dword [esp + 0x1c], esi
jne 0x520f07
mov eax, dword [ebx + 0x90]
imul eax, dword [esp + 0x54]
mov ecx, dword [ebx + 0xd8]
mov esi, dword [esp + 0x5c]
cdq
sub eax, edx
mov edx, dword [ebx + 0xa4]
sar eax, 1
add eax, dword [esp + 0x50]
test esi, esi
lea eax, [edx + eax*2]
mov edx, dword [ebx + 0xdc]
mov ebx, dword [ebx + 0xe0]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x48], ebx
jle 0x5209d3
fmul qword [esp + 0x8c]
call fcn.0062a660
mov dword [esp + 0x40], eax
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x64]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x18]
sar eax, 0x10
imul eax, dword [ecx + 0x24]
add eax, dword [esp + 0x60]
cmp dword [esp + 0x58], 0
mov dword [esp + 0x14], edi
mov dword [esp + 0x38], eax
jle 0x520ed5
mov edx, dword [esp + 0x58]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
sar eax, 0x10
movzx edx, byte [eax + ecx]
mov eax, dword [esp + 0x6c]
mov esi, dword [eax + edx*4]
movzx ecx, word [edi]
mov edx, esi
shr edx, 0x18
imul edx, dword [esp + 0x1c]
mov eax, 0x80808081
mul edx
shr edx, 7
je 0x520ebb
mov eax, 0x100
sub eax, edx
mov edx, ecx
and edx, ebx
imul edx, eax
mov edi, esi
and edi, ebx
imul edi, dword [esp + 0x74]
add edx, edi
shr edx, 8
and edx, dword [esp + 0x48]
mov edi, ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x34]
and edi, edx
imul edi, eax
mov eax, esi
and eax, edx
imul eax, dword [esp + 0x78]
add edi, eax
mov eax, dword [esp + 0x20]
shr edi, 8
mov ebx, dword [esp + 0x48]
and edi, edx
add eax, edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x44]
and ecx, eax
imul ecx, dword [esp + 0x70]
and esi, eax
imul esi, dword [esp + 0x30]
add ecx, esi
shr ecx, 8
and ecx, eax
mov eax, dword [esp + 0x20]
add eax, ecx
mov word [edi], ax
mov ecx, dword [esp + 0x2c]
add dword [esp + 0x3c], ecx
add edi, 2
sub dword [esp + 0x10], 1
mov dword [esp + 0x14], edi
jne 0x520e15
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x90]
mov ecx, dword [esp + 0x4c]
cdq
sub eax, edx
sar eax, 1
lea edx, [ecx + eax*2]
mov eax, dword [esp + 0x68]
add dword [esp + 0x18], eax
sub dword [esp + 0x28], 1
mov dword [esp + 0x4c], edx
jne 0x520ddb
jmp 0x5209d5
cmp eax, 0x20
jne 0x5209d3
mov ecx, ebx
mov eax, dword [ecx + 0x90]
imul eax, dword [esp + 0x54]
mov esi, dword [esp + 0x5c]
mov ebx, dword [ecx + 0xe0]
cdq
and edx, 3
add eax, edx
mov edx, dword [ecx + 0xa4]
sar eax, 2
add eax, dword [esp + 0x50]
test esi, esi
lea eax, [edx + eax*4]
mov edx, dword [ecx + 0xd8]
mov dword [esp + 0x4c], eax
mov eax, dword [ecx + 0xdc]
mov dword [esp + 0x20], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x48], ebx
jle 0x5209d3
fmul qword [esp + 0x8c]
call fcn.0062a660
mov dword [esp + 0x40], eax
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x4c]
sar eax, 0x10
imul eax, dword [edx + 0x24]
add eax, dword [esp + 0x60]
cmp dword [esp + 0x58], 0
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x70], eax
jle 0x52106e
mov eax, dword [esp + 0x58]
mov dword [esp + 0x10], eax
nop
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x70]
sar ecx, 0x10
movzx eax, byte [ecx + edx]
mov ecx, dword [esp + 0x6c]
mov esi, dword [ecx + eax*4]
mov ecx, dword [edi]
mov edx, esi
shr edx, 0x18
imul edx, dword [esp + 0x1c]
mov eax, 0x80808081
mul edx
shr edx, 7
je 0x521054
mov eax, 0x100
sub eax, edx
mov edx, ecx
and edx, ebx
imul edx, eax
mov edi, esi
and edi, ebx
imul edi, dword [esp + 0x74]
add edx, edi
shr edx, 8
and edx, dword [esp + 0x48]
mov edi, ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x34]
and edi, edx
imul edi, eax
mov eax, esi
and eax, edx
imul eax, dword [esp + 0x78]
add edi, eax
mov eax, dword [esp + 0x38]
shr edi, 8
mov ebx, dword [esp + 0x48]
and edi, edx
add eax, edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x20]
and ecx, eax
imul ecx, dword [esp + 0x44]
and esi, eax
imul esi, dword [esp + 0x30]
add ecx, esi
shr ecx, 8
and ecx, eax
mov eax, dword [esp + 0x38]
add eax, ecx
mov dword [edi], eax
mov ecx, dword [esp + 0x2c]
add dword [esp + 0x3c], ecx
add edi, 4
sub dword [esp + 0x10], 1
mov dword [esp + 0x14], edi
jne 0x520fb0
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x90]
mov ecx, dword [esp + 0x4c]
cdq
and edx, 3
add eax, edx
sar eax, 2
lea edx, [ecx + eax*4]
mov eax, dword [esp + 0x68]
add dword [esp + 0x18], eax
sub dword [esp + 0x28], 1
mov dword [esp + 0x4c], edx
jne 0x520f75
jmp 0x5209d5
cmp dword [esi + 0x48], 0
mov edx, dword [ebx]
mov eax, dword [edx + 0xbc]
jne 0x5217e8
mov ecx, ebx
call eax
test al, al
je 0x522090
mov eax, dword [ebx + 0x6c]
fld qword [esp + 0x94]
mov ecx, dword [eax + 0xd0]
fld qword [0x686db8]
mov edx, dword [eax + 0xd4]
fmul st(1), st(0)
mov esi, dword [eax + 0x28]
fxch st(1)
mov dword [esp + 0x74], ecx
mov ecx, dword [eax + 0xd8]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 0x20]
mov dword [esp + 0x68], ecx
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x78], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x10], esi
call fcn.0062a660
fld qword [esp + 0x9c]
fmul st(1)
mov dword [esp + 0x18], eax
fidiv dword [esp + 0x58]
call fcn.0062a660
fld qword [esp + 0xa4]
fmul st(1)
mov dword [esp + 0x4c], eax
fidiv dword [esp + 0x5c]
call fcn.0062a660
mov dword [esp + 0x3c], eax
mov eax, edi
call fcn.00502ac0
test al, al
je 0x52142f
mov eax, dword [ebx + 0xd4]
cmp eax, 0x10
jne 0x5212c0
mov eax, dword [ebx + 0x90]
imul eax, dword [esp + 0x54]
mov ecx, dword [ebx + 0xd8]
mov edi, dword [ebx + 0xe0]
cdq
sub eax, edx
mov edx, dword [ebx + 0xa4]
sar eax, 1
add eax, dword [esp + 0x50]
mov dword [esp + 0x38], ecx
lea eax, [edx + eax*2]
mov edx, dword [ebx + 0xdc]
mov ebx, dword [esp + 0x5c]
test ebx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], edi
jle 0x5209d3
fmul qword [esp + 0x8c]
call fcn.0062a660
mov dword [esp + 0x40], eax
mov dword [esp + 0x10], ebx
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x64]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
sar edx, 0x10
imul edx, dword [ebx + 0x24]
mov ebx, dword [esp + 0x6c]
lea edx, [ebx + edx*4]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x58]
test edx, edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], ecx
jle 0x52128e
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x70]
sar eax, 0x10
mov edx, dword [edx + eax*4]
test edx, edx
movzx eax, word [ecx]
je 0x521270
mov ebx, eax
and ebx, edi
mov ecx, edx
and ecx, edi
add ebx, ecx
mov ecx, esi
shr ebx, cl
mov ecx, dword [esp + 0x68]
mov di, word [ecx + ebx*4]
mov ebx, eax
and ebx, dword [esp + 0x30]
mov ecx, esi
shl di, cl
mov ecx, edx
and ecx, dword [esp + 0x30]
add ebx, ecx
mov ecx, dword [esp + 0x2c]
shr ebx, cl
mov ecx, dword [esp + 0x60]
mov bx, word [ecx + ebx*4]
mov ecx, dword [esp + 0x2c]
shl bx, cl
mov ecx, dword [esp + 0x38]
and eax, ecx
and edx, ecx
mov ecx, dword [esp + 0x78]
add eax, edx
mov edx, dword [esp + 0x74]
shr eax, cl
or di, bx
mov ax, word [edx + eax*4]
shl ax, cl
mov ecx, dword [esp + 0x14]
or di, ax
mov word [ecx], di
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
add eax, dword [esp + 0x4c]
add ecx, 2
sub dword [esp + 0x48], 1
mov dword [esp + 0x14], ecx
mov dword [esp + 0x34], eax
jne 0x5211f5
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x90]
mov ecx, dword [esp + 0x3c]
add dword [esp + 0x18], ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
sub dword [esp + 0x10], 1
lea eax, [edx + eax*2]
mov dword [esp + 0x1c], eax
jne 0x5211bb
jmp 0x5209d5
cmp eax, 0x20
jne 0x5209d3
mov ecx, ebx
mov eax, dword [ecx + 0x90]
imul eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x5c]
mov edi, dword [ecx + 0xe0]
cdq
and edx, 3
add eax, edx
mov edx, dword [ecx + 0xa4]
sar eax, 2
add eax, dword [esp + 0x50]
test ebx, ebx
lea eax, [edx + eax*4]
mov edx, dword [ecx + 0xd8]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0xdc]
mov dword [esp + 0x38], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], edi
jle 0x5209d3
fmul qword [esp + 0x8c]
call fcn.0062a660
mov dword [esp + 0x40], eax
mov dword [esp + 0x10], ebx
mov edi, edi
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x64]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
sar edx, 0x10
imul edx, dword [ebx + 0x24]
mov ebx, dword [esp + 0x6c]
lea edx, [ebx + edx*4]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x58]
test edx, edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], ecx
jle 0x5213f9
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x70]
sar eax, 0x10
mov edx, dword [edx + eax*4]
test edx, edx
mov eax, dword [ecx]
je 0x5213db
mov ebx, eax
and ebx, edi
mov ecx, edx
and ecx, edi
add ebx, ecx
mov ecx, esi
shr ebx, cl
mov ecx, dword [esp + 0x68]
mov edi, dword [ecx + ebx*4]
mov ebx, eax
and ebx, dword [esp + 0x30]
mov ecx, esi
shl edi, cl
mov ecx, edx
and ecx, dword [esp + 0x30]
add ebx, ecx
mov ecx, dword [esp + 0x2c]
shr ebx, cl
mov ecx, dword [esp + 0x60]
mov ebx, dword [ecx + ebx*4]
mov ecx, dword [esp + 0x2c]
shl ebx, cl
mov ecx, dword [esp + 0x38]
and eax, ecx
and edx, ecx
mov ecx, dword [esp + 0x78]
add eax, edx
mov edx, dword [esp + 0x74]
shr eax, cl
or edi, ebx
mov eax, dword [edx + eax*4]
shl eax, cl
mov ecx, dword [esp + 0x1c]
or edi, eax
mov dword [ecx], edi
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
add eax, dword [esp + 0x4c]
add ecx, 4
sub dword [esp + 0x48], 1
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x34], eax
jne 0x52136a
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x90]
mov ecx, dword [esp + 0x3c]
add dword [esp + 0x18], ecx
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0x14]
sar eax, 2
sub dword [esp + 0x10], 1
lea eax, [edx + eax*4]
mov dword [esp + 0x14], eax
jne 0x521330
jmp 0x5209d5
mov ebx, dword [edi + 0xc]
mov ecx, dword [edi]
imul ecx, ebx
mov eax, 0x80808081
imul ecx
add edx, ecx
mov ecx, dword [edi + 4]
mov edi, dword [edi + 8]
imul ecx, ebx
sar edx, 7
imul edi, ebx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x20], eax
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x44], eax
mov eax, 0x80808081
imul edi
add edx, edi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 0xd4]
cmp eax, 0x10
jne 0x521635
mov ecx, edx
mov eax, dword [ecx + 0x90]
imul eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x5c]
mov edi, dword [ecx + 0xe0]
cdq
sub eax, edx
mov edx, dword [ecx + 0xa4]
sar eax, 1
add eax, dword [esp + 0x50]
test ebx, ebx
lea eax, [edx + eax*2]
mov edx, dword [ecx + 0xd8]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0xdc]
mov dword [esp + 0x84], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x80], edi
jle 0x5209d3
fmul qword [esp + 0x8c]
call fcn.0062a660
mov dword [esp + 0x40], eax
mov dword [esp + 0x10], ebx
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x64]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
sar edx, 0x10
imul edx, dword [ebx + 0x24]
mov ebx, dword [esp + 0x6c]
lea edx, [ebx + edx*4]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x58]
test edx, edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], ecx
jle 0x521603
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x70]
sar eax, 0x10
mov eax, dword [edx + eax*4]
test eax, eax
movzx edx, word [ecx]
mov dword [esp + 0x7c], edx
je 0x5215e5
mov ebx, eax
and ebx, edi
mov ecx, esi
shr ebx, cl
mov ecx, edx
and ecx, edi
and edx, dword [esp + 0x30]
imul ebx, dword [esp + 0x28]
mov edi, ecx
mov ecx, esi
shr edi, cl
mov ecx, dword [esp + 0x68]
shr ebx, 8
add ebx, edi
mov bx, word [ecx + ebx*4]
mov edi, eax
and edi, dword [esp + 0x30]
mov ecx, esi
shl bx, cl
mov ecx, dword [esp + 0x2c]
shr edi, cl
shr edx, cl
imul edi, dword [esp + 0x44]
shr edi, 8
add edi, edx
mov edx, dword [esp + 0x60]
mov dx, word [edx + edi*4]
mov edi, dword [esp + 0x84]
shl dx, cl
mov ecx, dword [esp + 0x78]
and eax, edi
shr eax, cl
or bx, dx
mov edx, dword [esp + 0x7c]
and edx, edi
imul eax, dword [esp + 0x20]
mov edi, dword [esp + 0x80]
shr edx, cl
shr eax, 8
add eax, edx
mov edx, dword [esp + 0x74]
mov ax, word [edx + eax*4]
shl ax, cl
mov ecx, dword [esp + 0x1c]
or bx, ax
mov word [ecx], bx
mov eax, dword [esp + 0x34]
add eax, dword [esp + 0x4c]
add ecx, 2
sub dword [esp + 0x48], 1
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x34], eax
jne 0x52153c
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x90]
mov ecx, dword [esp + 0x3c]
add dword [esp + 0x18], ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x14]
sar eax, 1
sub dword [esp + 0x10], 1
lea eax, [edx + eax*2]
mov dword [esp + 0x14], eax
jne 0x521502
jmp 0x5209d5
cmp eax, 0x20
jne 0x5209d3
mov ecx, edx
mov eax, dword [ecx + 0x90]
imul eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x5c]
mov edi, dword [ecx + 0xe0]
cdq
and edx, 3
add eax, edx
mov edx, dword [ecx + 0xa4]
sar eax, 2
add eax, dword [esp + 0x50]
test ebx, ebx
lea eax, [edx + eax*4]
mov edx, dword [ecx + 0xd8]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0xdc]
mov dword [esp + 0x70], edx
mov dword [esp + 0x84], eax
mov dword [esp + 0x38], edi
jle 0x5209d3
fmul qword [esp + 0x8c]
call fcn.0062a660
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], ebx
jmp 0x5216b0
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x64]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
sar edx, 0x10
imul edx, dword [ebx + 0x24]
mov ebx, dword [esp + 0x6c]
lea edx, [ebx + edx*4]
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x58]
test edx, edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], ecx
jle 0x5217b2
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x80]
sar eax, 0x10
mov eax, dword [edx + eax*4]
test eax, eax
mov edx, dword [ecx]
je 0x521794
mov ebx, eax
and ebx, edi
mov ecx, esi
shr ebx, cl
mov ecx, edx
and ecx, edi
mov edi, ecx
imul ebx, dword [esp + 0x28]
mov ecx, esi
shr edi, cl
mov ecx, dword [esp + 0x68]
shr ebx, 8
add ebx, edi
mov edi, dword [ecx + ebx*4]
mov ecx, esi
mov esi, dword [esp + 0x84]
shl edi, cl
mov ecx, dword [esp + 0x2c]
mov ebx, eax
and ebx, esi
shr ebx, cl
mov ecx, edx
and ecx, esi
mov esi, ecx
imul ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0x2c]
shr esi, cl
mov ecx, dword [esp + 0x60]
shr ebx, 8
add ebx, esi
mov esi, dword [ecx + ebx*4]
mov ecx, dword [esp + 0x2c]
shl esi, cl
mov ecx, dword [esp + 0x78]
or edi, esi
mov esi, dword [esp + 0x70]
and eax, esi
shr eax, cl
and edx, esi
mov esi, dword [esp + 0x10]
shr edx, cl
imul eax, dword [esp + 0x20]
shr eax, 8
add eax, edx
mov edx, dword [esp + 0x74]
mov eax, dword [edx + eax*4]
shl eax, cl
mov ecx, dword [esp + 0x1c]
or edi, eax
mov dword [ecx], edi
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x4c]
add ecx, 4
sub dword [esp + 0x34], 1
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x30], eax
jne 0x5216ed
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x90]
mov ecx, dword [esp + 0x3c]
add dword [esp + 0x18], ecx
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0x14]
sar eax, 2
sub dword [esp + 0x48], 1
lea eax, [edx + eax*4]
mov dword [esp + 0x14], eax
jne 0x5216b0
jmp 0x5209d5
mov ecx, dword [esi + 0x4c]
mov dword [esp + 0x3c], ecx
mov ecx, ebx
call eax
test al, al
je 0x522090
mov eax, dword [ebx + 0x6c]
fld qword [esp + 0x94]
mov ecx, dword [eax + 0xd0]
fld qword [0x686db8]
mov edx, dword [eax + 0xd4]
fmul st(1), st(0)
mov esi, dword [eax + 0x28]
fxch st(1)
mov dword [esp + 0x68], ecx
mov ecx, dword [eax + 0xd8]
mov dword [esp + 0x74], edx
mov edx, dword [eax + 0x20]
mov dword [esp + 0x4c], ecx
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x78], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], esi
call fcn.0062a660
fld qword [esp + 0x9c]
fmul st(1)
mov dword [esp + 0x18], eax
fidiv dword [esp + 0x58]
call fcn.0062a660
fld qword [esp + 0xa4]
fmul st(1)
mov dword [esp + 0x60], eax
fidiv dword [esp + 0x5c]
call fcn.0062a660
mov dword [esp + 0x14], eax
mov eax, edi
call fcn.00502ac0
test al, al
je 0x521ba3
mov eax, dword [ebx + 0xd4]
cmp eax, 0x10
jne 0x521a19
mov eax, dword [ebx + 0x90]
imul eax, dword [esp + 0x54]
mov ecx, dword [ebx + 0xd8]
mov edi, dword [ebx + 0xe0]
cdq
sub eax, edx
mov edx, dword [ebx + 0xa4]
sar eax, 1
add eax, dword [esp + 0x50]
mov dword [esp + 0x80], ecx
lea eax, [edx + eax*2]
mov edx, dword [ebx + 0xdc]
mov ebx, dword [esp + 0x5c]
test ebx, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x84], edi
jle 0x5209d3
fmul qword [esp + 0x8c]
call fcn.0062a660
mov dword [esp + 0x40], eax
mov dword [esp + 0x30], ebx
lea ebx, [ebx]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
sar ebx, 0x10
imul ebx, dword [edx + 0x24]
add ebx, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x58]
test eax, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x7c], ebx
jle 0x5219e7
mov dword [esp + 0x44], eax
jmp 0x521940
mov eax, dword [esp + 0x28]
sar eax, 0x10
movzx edx, byte [eax + ebx]
mov eax, dword [esp + 0x6c]
mov edx, dword [eax + edx*4]
test edx, edx
movzx eax, word [ecx]
je 0x5219cd
mov ebx, eax
and ebx, edi
mov ecx, edx
and ecx, edi
add ebx, ecx
mov ecx, esi
shr ebx, cl
mov ecx, dword [esp + 0x4c]
mov di, word [ecx + ebx*4]
mov ebx, eax
and ebx, dword [esp + 0x20]
mov ecx, esi
shl di, cl
mov ecx, edx
and ecx, dword [esp + 0x20]
add ebx, ecx
mov ecx, dword [esp + 0x2c]
shr ebx, cl
mov ecx, dword [esp + 0x74]
mov bx, word [ecx + ebx*4]
mov ecx, dword [esp + 0x2c]
shl bx, cl
mov ecx, dword [esp + 0x80]
and eax, ecx
and edx, ecx
mov ecx, dword [esp + 0x78]
add eax, edx
mov edx, dword [esp + 0x68]
shr eax, cl
or di, bx
mov ebx, dword [esp + 0x7c]
mov ax, word [edx + eax*4]
shl ax, cl
mov ecx, dword [esp + 0x1c]
or di, ax
mov word [ecx], di
mov edi, dword [esp + 0x84]
mov edx, dword [esp + 0x60]
add dword [esp + 0x28], edx
add ecx, 2
sub dword [esp + 0x44], 1
mov dword [esp + 0x1c], ecx
jne 0x521940
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x90]
mov ecx, dword [esp + 0x10]
cdq
sub eax, edx
sar eax, 1
lea edx, [ecx + eax*2]
mov eax, dword [esp + 0x14]
add dword [esp + 0x18], eax
sub dword [esp + 0x30], 1
mov dword [esp + 0x10], edx
jne 0x521900
jmp 0x5209d5
cmp eax, 0x20
jne 0x5209d3
mov ecx, ebx
mov eax, dword [ecx + 0x90]
imul eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x5c]
mov edi, dword [ecx + 0xe0]
cdq
and edx, 3
add eax, edx
mov edx, dword [ecx + 0xa4]
sar eax, 2
add eax, dword [esp + 0x50]
test ebx, ebx
lea eax, [edx + eax*4]
mov edx, dword [ecx + 0xd8]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0xdc]
mov dword [esp + 0x80], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x7c], edi
jle 0x5209d3
fmul qword [esp + 0x8c]
call fcn.0062a660
mov dword [esp + 0x40], eax
mov dword [esp + 0x30], ebx
lea ebx, [ebx]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x58]
sar ebx, 0x10
imul ebx, dword [edx + 0x24]
add ebx, dword [esp + 0x3c]
test eax, eax
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x84], ebx
jle 0x521b6d
mov dword [esp + 0x44], eax
lea ebx, [ebx]
mov eax, dword [esp + 0x28]
sar eax, 0x10
movzx edx, byte [eax + ebx]
mov eax, dword [esp + 0x6c]
mov edx, dword [eax + edx*4]
test edx, edx
mov eax, dword [ecx]
je 0x521b53
mov ebx, eax
and ebx, edi
mov ecx, edx
and ecx, edi
add ebx, ecx
mov ecx, esi
shr ebx, cl
mov ecx, dword [esp + 0x4c]
mov edi, dword [ecx + ebx*4]
mov ebx, eax
and ebx, dword [esp + 0x20]
mov ecx, esi
shl edi, cl
mov ecx, edx
and ecx, dword [esp + 0x20]
add ebx, ecx
mov ecx, dword [esp + 0x2c]
shr ebx, cl
mov ecx, dword [esp + 0x74]
mov ebx, dword [ecx + ebx*4]
mov ecx, dword [esp + 0x2c]
shl ebx, cl
mov ecx, dword [esp + 0x80]
and eax, ecx
and edx, ecx
mov ecx, dword [esp + 0x78]
add eax, edx
mov edx, dword [esp + 0x68]
shr eax, cl
or edi, ebx
mov ebx, dword [esp + 0x84]
mov eax, dword [edx + eax*4]
shl eax, cl
mov ecx, dword [esp + 0x10]
or edi, eax
mov dword [ecx], edi
mov edi, dword [esp + 0x7c]
mov edx, dword [esp + 0x60]
add dword [esp + 0x28], edx
add ecx, 4
sub dword [esp + 0x44], 1
mov dword [esp + 0x10], ecx
jne 0x521ad0
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x90]
mov ecx, dword [esp + 0x1c]
cdq
and edx, 3
add eax, edx
sar eax, 2
lea edx, [ecx + eax*4]
mov eax, dword [esp + 0x14]
add dword [esp + 0x18], eax
sub dword [esp + 0x30], 1
mov dword [esp + 0x1c], edx
jne 0x521a90
jmp 0x5209d5
mov eax, dword [edi + 0xc]
mov ecx, dword [edi]
imul ecx, eax
mov eax, 0x80808081
imul ecx
add edx, ecx
mov ecx, dword [edi + 4]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0xc]
imul ecx, eax
mov edi, dword [edi + 8]
mov dword [esp + 0x80], eax
imul edi, dword [esp + 0x80]
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x48], eax
mov eax, 0x80808081
imul edi
add edx, edi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0xd4]
cmp eax, 0x10
jne 0x521dc4
mov eax, dword [ebx + 0x90]
imul eax, dword [esp + 0x54]
mov ecx, dword [ebx + 0xa4]
mov edi, dword [ebx + 0xe0]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x50]
mov dword [esp + 0x88], edi
lea edx, [ecx + eax*2]
mov eax, dword [ebx + 0xd8]
mov ecx, dword [ebx + 0xdc]
mov ebx, dword [esp + 0x5c]
test ebx, ebx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x20], ecx
jle 0x5209d3
fmul qword [esp + 0x8c]
call fcn.0062a660
mov dword [esp + 0x40], eax
mov dword [esp + 0x30], ebx
lea esp, [esp]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
sar ebx, 0x10
imul ebx, dword [eax + 0x24]
add ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x58]
test eax, eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x70], ebx
jle 0x521d92
mov dword [esp + 0x44], eax
jmp 0x521cc0
mov edx, dword [esp + 0x28]
sar edx, 0x10
movzx eax, byte [edx + ebx]
mov edx, dword [esp + 0x6c]
mov eax, dword [edx + eax*4]
test eax, eax
movzx edx, word [ecx]
mov dword [esp + 0x84], edx
je 0x521d78
mov ebx, eax
and ebx, edi
mov ecx, esi
shr ebx, cl
mov ecx, edx
and ecx, edi
and edx, dword [esp + 0x20]
imul ebx, dword [esp + 0x34]
mov edi, ecx
mov ecx, esi
shr edi, cl
mov ecx, dword [esp + 0x4c]
shr ebx, 8
add ebx, edi
mov bx, word [ecx + ebx*4]
mov edi, eax
and edi, dword [esp + 0x20]
mov ecx, esi
shl bx, cl
mov ecx, dword [esp + 0x2c]
shr edi, cl
shr edx, cl
imul edi, dword [esp + 0x48]
shr edi, 8
add edi, edx
mov edx, dword [esp + 0x74]
mov dx, word [edx + edi*4]
mov edi, dword [esp + 0x7c]
shl dx, cl
mov ecx, dword [esp + 0x78]
and eax, edi
shr eax, cl
or bx, dx
mov edx, dword [esp + 0x84]
and edx, edi
imul eax, dword [esp + 0x38]
mov edi, dword [esp + 0x88]
shr edx, cl
shr eax, 8
add eax, edx
mov edx, dword [esp + 0x68]
mov ax, word [edx + eax*4]
shl ax, cl
mov ecx, dword [esp + 0x10]
or bx, ax
mov word [ecx], bx
mov ebx, dword [esp + 0x70]
mov edx, dword [esp + 0x60]
add dword [esp + 0x28], edx
add ecx, 2
sub dword [esp + 0x44], 1
mov dword [esp + 0x10], ecx
jne 0x521cc0
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x90]
mov ecx, dword [esp + 0x1c]
cdq
sub eax, edx
sar eax, 1
lea edx, [ecx + eax*2]
mov eax, dword [esp + 0x14]
add dword [esp + 0x18], eax
sub dword [esp + 0x30], 1
mov dword [esp + 0x1c], edx
jne 0x521c80
jmp 0x5209d5
cmp eax, 0x20
jne 0x5209d3
mov ecx, ebx
mov eax, dword [ecx + 0x90]
imul eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x5c]
mov edi, dword [ecx + 0xe0]
cdq
and edx, 3
add eax, edx
mov edx, dword [ecx + 0xa4]
sar eax, 2
add eax, dword [esp + 0x50]
test ebx, ebx
lea eax, [edx + eax*4]
mov edx, dword [ecx + 0xd8]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0xdc]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
mov dword [esp + 0x70], edi
jle 0x5209d3
fmul qword [esp + 0x8c]
call fcn.0062a660
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ebx
jmp 0x521e40
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x58]
sar ebx, 0x10
imul ebx, dword [edx + 0x24]
add ebx, dword [esp + 0x3c]
test eax, eax
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x84], ebx
jle 0x521f4d
mov dword [esp + 0x20], eax
lea ebx, [ebx]
mov eax, dword [esp + 0x28]
sar eax, 0x10
movzx edx, byte [eax + ebx]
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + edx*4]
test eax, eax
mov edx, dword [ecx]
je 0x521f33
mov ebx, eax
and ebx, edi
mov ecx, esi
shr ebx, cl
mov ecx, edx
and ecx, edi
mov edi, ecx
imul ebx, dword [esp + 0x34]
mov ecx, esi
shr edi, cl
mov ecx, dword [esp + 0x4c]
shr ebx, 8
add ebx, edi
mov edi, dword [ecx + ebx*4]
mov ecx, esi
mov esi, dword [esp + 0x80]
shl edi, cl
mov ecx, dword [esp + 0x2c]
mov ebx, eax
and ebx, esi
shr ebx, cl
mov ecx, edx
and ecx, esi
mov esi, ecx
imul ebx, dword [esp + 0x48]
mov ecx, dword [esp + 0x2c]
shr esi, cl
mov ecx, dword [esp + 0x74]
shr ebx, 8
add ebx, esi
mov esi, dword [ecx + ebx*4]
mov ecx, dword [esp + 0x2c]
shl esi, cl
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x84]
or edi, esi
mov esi, dword [esp + 0x7c]
and eax, esi
shr eax, cl
and edx, esi
mov esi, dword [esp + 0x30]
shr edx, cl
imul eax, dword [esp + 0x38]
shr eax, 8
add eax, edx
mov edx, dword [esp + 0x68]
mov eax, dword [edx + eax*4]
shl eax, cl
mov ecx, dword [esp + 0x10]
or edi, eax
mov dword [ecx], edi
mov edi, dword [esp + 0x70]
mov edx, dword [esp + 0x60]
add dword [esp + 0x28], edx
add ecx, 4
sub dword [esp + 0x20], 1
mov dword [esp + 0x10], ecx
jne 0x521e80
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x90]
mov ecx, dword [esp + 0x1c]
cdq
and edx, 3
add eax, edx
sar eax, 2
lea edx, [ecx + eax*4]
mov eax, dword [esp + 0x14]
add dword [esp + 0x18], eax
sub dword [esp + 0x44], 1
mov dword [esp + 0x1c], edx
jne 0x521e40
jmp 0x5209d5
mov esi, dword [esp + 0x24]
cmp byte [esi + 0x79], 0
jne 0x52206e
cmp byte [esi + 0x52], 0
jne 0x52206e
cmp byte [esi + 0x51], 0
jne 0x52206e
mov ecx, dword [esi + 0x6c]
cmp byte [ecx + 0x38], 0
jne 0x52206e
mov edx, dword [esi + 0x68]
push edx
lea eax, [esp + 0x148]
push eax
call fcn.0052f6e0
xor eax, eax
mov dword [esp + 0x1c8], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x58]
push ecx
mov dword [esp + 0xbc], ecx
push eax
lea ecx, [esp + 0x14c]
mov dword [esp + 0xbc], eax
call fcn.00532450
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0xb0]
push edx
push eax
lea ecx, [esp + 0x150]
push ecx
call fcn.00537410
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi]
mov edx, dword [edx + 0x24]
push eax
push ecx
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0xb4]
push eax
mov eax, dword [esp + 0x5c]
push ecx
push eax
lea ecx, [esp + 0x158]
push ecx
mov ecx, esi
call edx
lea ecx, [esp + 0x144]
mov dword [esp + 0x1c8], 0xffffffff
call fcn.0052f9a0
mov esi, dword [esp + 0x24]
call fcn.0050ac20
jmp 0x522090
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
push 0
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push edi
push ecx
mov ecx, esi
call fcn.00538a90
mov ecx, dword [esp + 0x1c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1a8]
xor ecx, esp
call fcn.00624940
mov esp, ebp
pop ebp
ret 0x1c