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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x65894b
mov eax, dword fs:[0]
push eax
sub esp, 0x1b0
mov eax, dword [0x6a9fa4]
xor eax, esp
mov dword [esp + 0x1a8], eax
push ebx
push esi
push edi
mov eax, dword [0x6a9fa4]
xor eax, esp
push eax
lea eax, [esp + 0x1c0]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x18]
push 0
push 0x6b578c
push 0x6b5b1c
mov ebx, ecx
mov ecx, dword [ebp + 0x10]
push 0
push esi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x28], edx
mov byte [esi + 4], 1
call fcn.00627068
add esp, 0x14
push 0
push 0x6b576c
push 0x6b5b1c
push 0
push esi
mov dword [esp + 0x24], eax
call fcn.00627068
mov dword [esp + 0x78], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x68]
add esp, 0x14
mov ecx, ebx
call edx
mov ecx, ebx
call fcn.00571a20
test al, al
je 0x5879dd
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [esp + 0x14]
push 0
push eax
mov eax, dword [ebx + 0x6c]
mov ebx, dword [esp + 0x2c]
push ecx
mov ecx, dword [eax + 0x30]
push edi
mov edi, dword [esp + 0x2c]
push edx
push esi
push ecx
call fcn.0056e370
jmp 0x589a8f
fldz
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
fst qword [esp + 0x8c]
xor eax, eax
fst qword [esp + 0x94]
lea edx, [esp + 0x8c]
fst qword [esp + 0x9c]
mov dword [esp + 0x50], eax
fstp qword [esp + 0xa4]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x14]
push edx
push eax
push ecx
lea esi, [esp + 0x5c]
call fcn.0059b2b0
test al, al
je 0x589a8f
cmp byte [ebp + 0x20], 0
je 0x589988
mov esi, dword [esp + 0x10]
test esi, esi
je 0x587bd5
mov eax, edi
call fcn.0056a440
test al, al
je 0x587bd5
cmp dword [ebp + 0x1c], 0
jne 0x587bd5
cmp byte [esi + 0x52], 0
jne 0x587bd5
mov eax, esi
call fcn.005726f0
test eax, eax
je 0x587bd5
mov eax, esi
call fcn.005726f0
mov edi, dword [esp + 0x2c]
mov eax, edi
call fcn.005726f0
push 0x64
lea edx, [esp + 0xe0]
push 0
push edx
call fcn.0062e530
add esp, 0xc
cmp byte [esi + 0x51], 0
mov dword [esp + 0xdc], 0x64
mov dword [esp + 0x14], 0x1000000
je 0x587ac3
mov dword [esp + 0x14], 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.00643d70
fld qword [esp + 0x94]
fld st(0)
mov dword [esp + 0xbc], eax
call fcn.00643d70
fld qword [esp + 0x9c]
faddp st(2)
mov dword [esp + 0xc0], eax
fxch st(1)
call fcn.00643d70
fadd qword [esp + 0xa4]
mov dword [esp + 0xc4], eax
call fcn.00643d70
cmp dword [edi + 0x7c], 0
mov dword [esp + 0xc8], eax
jle 0x587b5d
mov eax, dword [edi + 0x70]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x80]
push 0
push eax
call edx
mov eax, edi
call fcn.005726f0
mov ecx, dword [esp + 0x14]
mov ebx, eax
mov esi, dword [ebx]
lea eax, [esp + 0xdc]
push eax
mov eax, dword [esp + 0x14]
push ecx
lea edx, [esp + 0xc4]
push edx
push ecx
add esi, 0x14
call fcn.005726f0
mov ecx, dword [esi]
add esp, 4
push eax
lea eax, [esp + 0xdc]
push eax
push ebx
call ecx
cmp dword [edi + 0x7c], 0
jle 0x589a64
push 0
mov ecx, edi
mov eax, dword [ecx + 0x70]
mov edx, dword [eax]
push 1
add ecx, 0x80
push ecx
push 0
push eax
mov eax, dword [edx + 0x64]
call eax
test eax, eax
jne 0x589a8f
mov esi, dword [esp + 0x2c]
call fcn.00572530
jmp 0x589a8f
mov ebx, dword [esp + 0x64]
test ebx, ebx
je 0x589a64
mov edx, dword [ebx]
mov eax, dword [edx + 0x68]
mov ecx, ebx
call eax
mov esi, dword [esp + 0x2c]
mov edx, dword [ebx]
mov eax, dword [esi + 0x6c]
mov edx, dword [edx + 0x44]
push eax
mov ecx, ebx
call edx
cmp dword [ebp + 0x1c], 0
mov dword [esp + 0x6c], eax
jne 0x5889f0
cmp dword [ebx + 0x48], 0
jne 0x5882e3
mov eax, dword [esi]
mov edx, dword [eax + 0xbc]
mov ecx, esi
call edx
test al, al
je 0x589a8f
fld qword [esp + 0x94]
fld qword [0x688738]
fmul st(1), st(0)
fxch st(1)
call fcn.00643d70
fld qword [esp + 0x9c]
fmul st(1)
mov dword [esp + 0x18], eax
fidiv dword [esp + 0x58]
call fcn.00643d70
fld qword [esp + 0xa4]
fmul st(1)
mov dword [esp + 0x3c], eax
fidiv dword [esp + 0x5c]
call fcn.00643d70
mov dword [esp + 0x60], eax
mov eax, edi
call fcn.0056a440
test al, al
je 0x587f30
mov eax, dword [esi + 0xd4]
cmp eax, 0x10
jne 0x587dd9
mov eax, dword [esi + 0x90]
imul eax, dword [esp + 0x54]
mov ecx, dword [esi + 0xa4]
mov edi, dword [esi + 0xdc]
mov ebx, dword [esp + 0x5c]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x50]
test ebx, ebx
lea edx, [ecx + eax*2]
mov eax, dword [esi + 0xd8]
mov esi, dword [esi + 0xe0]
mov dword [esp + 0x10], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x28], esi
jle 0x58996a
fmul qword [esp + 0x8c]
call fcn.00643d70
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 + 0x10]
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 + 0x14], eax
jle 0x587d90
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x38]
sar eax, 0x10
mov ebx, dword [ecx + eax*4]
movzx eax, word [edx]
mov dword [esp + 0x20], ebx
shr ebx, 0x18
je 0x587d7a
mov ecx, pe_nt_image_headers32
sub ecx, ebx
mov ebx, eax
and ebx, esi
imul ebx, ecx
shr ebx, 8
and ebx, esi
mov esi, eax
and esi, edi
imul esi, ecx
shr esi, 8
and esi, edi
add esi, 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
and eax, esi
mov esi, dword [esp + 0x28]
add ecx, ebx
add eax, ecx
mov word [edx], ax
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x3c]
add edx, 2
sub dword [esp + 0x24], 1
mov dword [esp + 0x14], eax
jne 0x587d1c
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x90]
mov ecx, dword [esp + 0x10]
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 + 0x10], edx
jne 0x587cea
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
mov esi, dword [esp + 0x2c]
call fcn.00572530
jmp 0x589a8f
cmp eax, 0x20
jne 0x58996a
mov ebx, dword [esp + 0x5c]
mov ecx, esi
mov eax, dword [ecx + 0x90]
imul eax, dword [esp + 0x54]
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 + 0x10], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x28], edi
jle 0x58996a
fmul qword [esp + 0x8c]
call fcn.00643d70
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 + 0x10]
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 + 0x14], eax
jle 0x587ee3
mov dword [esp + 0x24], 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 0x587ecd
mov ecx, pe_nt_image_headers32
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 + 0x28]
mov dword [edx], eax
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x3c]
add edx, 4
sub dword [esp + 0x24], 1
mov dword [esp + 0x14], eax
jne 0x587e79
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x90]
mov ecx, dword [esp + 0x10]
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 + 0x10], edx
jne 0x587e47
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
mov esi, dword [esp + 0x2c]
call fcn.00572530
jmp 0x589a8f
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 + 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 [esi + 0xd4]
cmp eax, 0x10
mov dword [esp + 0x74], ebx
jne 0x588134
mov eax, dword [esi + 0x90]
imul eax, dword [esp + 0x54]
mov ecx, dword [esi + 0xa4]
mov ebx, dword [esi + 0xdc]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x50]
mov dword [esp + 0x28], ebx
lea edx, [ecx + eax*2]
mov eax, dword [esi + 0xd8]
mov ecx, dword [esi + 0xe0]
mov esi, dword [esp + 0x5c]
test esi, esi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], ecx
jle 0x58996a
fmul qword [esp + 0x8c]
call fcn.00643d70
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], esi
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x34], 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 + 0x10], edi
mov dword [esp + 0x38], eax
jle 0x5880ef
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
sar ecx, 0x10
mov ecx, dword [edx + ecx*4]
movzx esi, word [edi]
mov edx, ecx
shr edx, 0x18
imul edx, dword [esp + 0x74]
mov eax, 0x80808081
mul edx
shr edx, 7
je 0x5880cd
mov eax, pe_nt_image_headers32
sub eax, edx
mov dword [esp + 0x44], eax
mov edx, esi
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x14]
mov edi, esi
and edi, edx
imul edi, eax
mov eax, ecx
and eax, edx
imul eax, dword [esp + 0x78]
add edi, eax
shr edi, 8
and edi, edx
mov eax, ecx
and eax, ebx
imul eax, dword [esp + 0x68]
mov edx, esi
and edx, ebx
mov ebx, edx
mov edx, dword [esp + 0x44]
imul ebx, edx
add eax, ebx
mov ebx, dword [esp + 0x28]
shr eax, 8
and eax, ebx
add edi, eax
mov eax, dword [esp + 0x30]
and ecx, eax
imul ecx, dword [esp + 0x48]
and esi, eax
imul esi, edx
add ecx, esi
shr ecx, 8
and ecx, eax
add edi, ecx
mov eax, edi
mov edi, dword [esp + 0x10]
mov word [edi], ax
mov ecx, dword [esp + 0x3c]
add dword [esp + 0x34], ecx
add edi, 2
sub dword [esp + 0x24], 1
mov dword [esp + 0x10], edi
jne 0x588035
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x90]
cdq
sub eax, edx
sar eax, 1
lea edi, [edi + eax*2]
mov eax, dword [esp + 0x60]
add dword [esp + 0x18], eax
sub dword [esp + 0x1c], 1
mov dword [esp + 0x4c], edi
jne 0x588003
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
mov esi, dword [esp + 0x2c]
call fcn.00572530
jmp 0x589a8f
cmp eax, 0x20
jne 0x58996a
mov ecx, esi
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 + 0x14], eax
mov dword [esp + 0x24], ebx
jle 0x58996a
fmul qword [esp + 0x8c]
call fcn.00643d70
mov dword [esp + 0x40], eax
mov dword [esp + 0x30], 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 + 0x34], ecx
mov ecx, dword [esp + 0x6c]
lea edx, [ecx + edx*4]
mov dword [esp + 0x10], edi
mov dword [esp + 0x38], edx
jle 0x588296
mov eax, dword [esp + 0x58]
mov dword [esp + 0x1c], eax
nop
mov ecx, dword [esp + 0x34]
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 0x58827c
mov eax, pe_nt_image_headers32
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 + 0x24]
mov edi, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x14]
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 + 0x24]
and edi, edx
add eax, edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x44]
and ecx, eax
imul ecx, dword [esp + 0x28]
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 + 0x3c]
add dword [esp + 0x34], ecx
add edi, 4
sub dword [esp + 0x1c], 1
mov dword [esp + 0x10], edi
jne 0x5881e0
mov edx, dword [esp + 0x2c]
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 + 0x30], 1
mov dword [esp + 0x4c], edx
jne 0x5881a2
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
mov esi, dword [esp + 0x2c]
call fcn.00572530
jmp 0x589a8f
mov ecx, dword [ebx + 0x4c]
mov edx, dword [esi]
mov eax, dword [edx + 0xbc]
mov dword [esp + 0x60], ecx
mov ecx, esi
call eax
test al, al
je 0x589a8f
fld qword [esp + 0x94]
fld qword [0x688738]
fmul st(1), st(0)
fxch st(1)
call fcn.00643d70
fld qword [esp + 0x9c]
fmul st(1)
mov dword [esp + 0x18], eax
fidiv dword [esp + 0x58]
call fcn.00643d70
fld qword [esp + 0xa4]
fmul st(1)
mov dword [esp + 0x3c], eax
fidiv dword [esp + 0x5c]
call fcn.00643d70
mov dword [esp + 0x68], eax
mov eax, edi
call fcn.0056a440
test al, al
je 0x58862f
mov eax, dword [esi + 0xd4]
cmp eax, 0x10
jne 0x5884c5
mov eax, dword [esi + 0x90]
imul eax, dword [esp + 0x54]
mov ecx, dword [esi + 0xa4]
mov edi, dword [esi + 0xdc]
mov ebx, dword [esp + 0x5c]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x50]
test ebx, ebx
lea edx, [ecx + eax*2]
mov eax, dword [esi + 0xd8]
mov esi, dword [esi + 0xe0]
mov dword [esp + 0x34], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x14], esi
jle 0x58996a
fmul qword [esp + 0x8c]
call fcn.00643d70
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], ebx
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x10], 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 + 0x28], ecx
jle 0x58847c
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], eax
jmp 0x588400
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x6c]
sar eax, 0x10
movzx eax, byte [eax + ecx]
mov ebx, dword [ebx + eax*4]
movzx eax, word [edx]
mov dword [esp + 0x38], ebx
shr ebx, 0x18
je 0x58846a
mov ecx, pe_nt_image_headers32
sub ecx, ebx
mov ebx, eax
and ebx, esi
imul ebx, ecx
shr ebx, 8
and ebx, esi
mov esi, eax
and esi, edi
imul esi, ecx
shr esi, 8
and esi, edi
add esi, dword [esp + 0x38]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x20]
and eax, esi
imul eax, ecx
mov ecx, dword [esp + 0x38]
shr eax, 8
and eax, esi
mov esi, dword [esp + 0x14]
add ecx, ebx
add eax, ecx
mov ecx, dword [esp + 0x28]
mov word [edx], ax
mov eax, dword [esp + 0x3c]
add dword [esp + 0x10], eax
add edx, 2
sub dword [esp + 0x30], 1
jne 0x588400
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x90]
mov ecx, dword [esp + 0x68]
add dword [esp + 0x18], ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x34]
sar eax, 1
sub dword [esp + 0x48], 1
lea eax, [edx + eax*2]
mov dword [esp + 0x34], eax
jne 0x5883c1
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
mov esi, dword [esp + 0x2c]
call fcn.00572530
jmp 0x589a8f
cmp eax, 0x20
jne 0x58996a
mov ebx, dword [esp + 0x5c]
mov ecx, esi
mov eax, dword [ecx + 0x90]
imul eax, dword [esp + 0x54]
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 + 0x34], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x28], edi
jle 0x58996a
fmul qword [esp + 0x8c]
call fcn.00643d70
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], ebx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
sar ecx, 0x10
mov dword [esp + 0x10], 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 0x5885e2
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], eax
lea esp, [esp]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x6c]
sar eax, 0x10
movzx eax, byte [eax + ecx]
mov ebx, dword [ebx + eax*4]
mov eax, dword [edx]
mov dword [esp + 0x38], ebx
shr ebx, 0x18
je 0x5885d0
mov ecx, pe_nt_image_headers32
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 + 0x20]
add edi, dword [esp + 0x38]
and eax, esi
imul eax, ecx
mov ecx, dword [esp + 0x44]
shr eax, 8
and eax, esi
mov esi, dword [esp + 0x14]
add edi, ebx
add eax, edi
mov edi, dword [esp + 0x28]
mov dword [edx], eax
mov eax, dword [esp + 0x3c]
add dword [esp + 0x10], eax
add edx, 4
sub dword [esp + 0x30], 1
jne 0x588570
mov ecx, dword [esp + 0x2c]
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 + 0x34]
sar eax, 2
sub dword [esp + 0x48], 1
lea eax, [edx + eax*4]
mov dword [esp + 0x34], eax
jne 0x588533
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
mov esi, dword [esp + 0x2c]
call fcn.00572530
jmp 0x589a8f
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 + 0x28], 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 [esi + 0xd4]
cmp eax, 0x10
mov dword [esp + 0x1c], ebx
jne 0x58883d
mov eax, dword [esi + 0x90]
imul eax, dword [esp + 0x54]
mov ecx, dword [esi + 0xd8]
mov edi, dword [esi + 0xe0]
cdq
sub eax, edx
mov edx, dword [esi + 0xa4]
sar eax, 1
add eax, dword [esp + 0x50]
mov dword [esp + 0x44], ecx
lea eax, [edx + eax*2]
mov edx, dword [esi + 0xdc]
mov esi, dword [esp + 0x5c]
test esi, esi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x48], edi
jle 0x58996a
fmul qword [esp + 0x8c]
call fcn.00643d70
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x34], 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 + 0x10], ebx
mov dword [esp + 0x38], eax
jle 0x5887f4
mov edx, dword [esp + 0x58]
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x34]
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 [ebx]
mov edx, esi
shr edx, 0x18
imul edx, dword [esp + 0x1c]
mov eax, 0x80808081
mul edx
shr edx, 7
je 0x5887da
mov eax, pe_nt_image_headers32
sub eax, edx
mov edx, ecx
and edx, edi
imul edx, eax
mov ebx, esi
and ebx, edi
imul ebx, dword [esp + 0x74]
add edx, ebx
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 + 0x30]
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]
mov ebx, dword [esp + 0x10]
shr edi, 8
and edi, edx
add eax, edi
mov edi, dword [esp + 0x48]
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 + 0x28]
add ecx, esi
shr ecx, 8
and ecx, eax
mov eax, dword [esp + 0x20]
add eax, ecx
mov word [ebx], ax
mov ecx, dword [esp + 0x3c]
add dword [esp + 0x34], ecx
add ebx, 2
sub dword [esp + 0x14], 1
mov dword [esp + 0x10], ebx
jne 0x588734
mov edx, dword [esp + 0x2c]
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 + 0x24], 1
mov dword [esp + 0x4c], edx
jne 0x5886fa
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
mov esi, dword [esp + 0x2c]
call fcn.00572530
jmp 0x589a8f
cmp eax, 0x20
jne 0x58996a
mov ecx, esi
mov eax, dword [ecx + 0x90]
imul eax, dword [esp + 0x54]
mov esi, 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 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 + 0x30], eax
mov dword [esp + 0x48], edi
jle 0x58996a
fmul qword [esp + 0x8c]
call fcn.00643d70
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x4c]
sar eax, 0x10
imul eax, dword [edx + 0x24]
add eax, dword [esp + 0x60]
cmp dword [esp + 0x58], 0
mov dword [esp + 0x34], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x70], eax
jle 0x5889a3
mov eax, dword [esp + 0x58]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x34]
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 [ebx]
mov edx, esi
shr edx, 0x18
imul edx, dword [esp + 0x1c]
mov eax, 0x80808081
mul edx
shr edx, 7
je 0x588989
mov eax, pe_nt_image_headers32
sub eax, edx
mov edx, ecx
and edx, edi
imul edx, eax
mov ebx, esi
and ebx, edi
imul ebx, dword [esp + 0x74]
add edx, ebx
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 + 0x30]
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]
mov ebx, dword [esp + 0x10]
shr edi, 8
and edi, edx
add eax, edi
mov edi, dword [esp + 0x48]
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 + 0x28]
add ecx, esi
shr ecx, 8
and ecx, eax
mov eax, dword [esp + 0x38]
add eax, ecx
mov dword [ebx], eax
mov ecx, dword [esp + 0x3c]
add dword [esp + 0x34], ecx
add ebx, 4
sub dword [esp + 0x14], 1
mov dword [esp + 0x10], ebx
jne 0x5888e5
mov edx, dword [esp + 0x2c]
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 + 0x24], 1
mov dword [esp + 0x4c], edx
jne 0x5888ab
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
mov esi, dword [esp + 0x2c]
call fcn.00572530
jmp 0x589a8f
cmp dword [ebx + 0x48], 0
mov edx, dword [esi]
mov eax, dword [edx + 0xbc]
jne 0x58918f
mov ecx, esi
call eax
test al, al
je 0x589a8f
fld qword [esp + 0x94]
mov ebx, esi
mov eax, dword [ebx + 0x6c]
fld qword [0x688738]
mov ecx, dword [eax + 0xd0]
fmul st(1), st(0)
mov edx, dword [eax + 0xd4]
fxch st(1)
mov esi, dword [eax + 0x28]
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 + 0x3c], ecx
mov dword [esp + 0x14], esi
call fcn.00643d70
fld qword [esp + 0x9c]
fmul st(1)
mov dword [esp + 0x18], eax
fidiv dword [esp + 0x58]
call fcn.00643d70
fld qword [esp + 0xa4]
fmul st(1)
mov dword [esp + 0x4c], eax
fidiv dword [esp + 0x5c]
call fcn.00643d70
mov dword [esp + 0x34], eax
mov eax, edi
call fcn.0056a440
test al, al
je 0x588da9
mov eax, dword [ebx + 0xd4]
cmp eax, 0x10
jne 0x588c25
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 + 0x28], edx
mov dword [esp + 0x20], edi
jle 0x58996a
fmul qword [esp + 0x8c]
call fcn.00643d70
mov dword [esp + 0x40], eax
mov dword [esp + 0x14], 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 + 0x30], eax
mov dword [esp + 0x10], ecx
jle 0x588bdc
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 0x588bbe
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 + 0x28]
mov ecx, esi
shl di, cl
mov ecx, edx
and ecx, dword [esp + 0x28]
add ebx, ecx
mov ecx, dword [esp + 0x3c]
shr ebx, cl
mov ecx, dword [esp + 0x60]
mov bx, word [ecx + ebx*4]
mov ecx, dword [esp + 0x3c]
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 + 0x10]
or di, ax
mov word [ecx], di
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x4c]
add ecx, 2
sub dword [esp + 0x48], 1
mov dword [esp + 0x10], ecx
mov dword [esp + 0x30], eax
jne 0x588b43
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x90]
mov ecx, dword [esp + 0x34]
add dword [esp + 0x18], ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
sub dword [esp + 0x14], 1
lea eax, [edx + eax*2]
mov dword [esp + 0x1c], eax
jne 0x588b09
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
mov esi, dword [esp + 0x2c]
call fcn.00572530
jmp 0x589a8f
cmp eax, 0x20
jne 0x58996a
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 + 0x10], eax
mov eax, dword [ecx + 0xdc]
mov dword [esp + 0x38], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], edi
jle 0x58996a
fmul qword [esp + 0x8c]
call fcn.00643d70
mov dword [esp + 0x40], eax
mov dword [esp + 0x14], ebx
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x64]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
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 + 0x30], eax
mov dword [esp + 0x1c], ecx
jle 0x588d5c
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 0x588d3e
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 + 0x28]
mov ecx, esi
shl edi, cl
mov ecx, edx
and ecx, dword [esp + 0x28]
add ebx, ecx
mov ecx, dword [esp + 0x3c]
shr ebx, cl
mov ecx, dword [esp + 0x60]
mov ebx, dword [ecx + ebx*4]
mov ecx, dword [esp + 0x3c]
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 + 0x30]
add eax, dword [esp + 0x4c]
add ecx, 4
sub dword [esp + 0x48], 1
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x30], eax
jne 0x588ccd
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x90]
mov ecx, dword [esp + 0x34]
add dword [esp + 0x18], ecx
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0x10]
sar eax, 2
sub dword [esp + 0x14], 1
lea eax, [edx + eax*4]
mov dword [esp + 0x10], eax
jne 0x588c93
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
mov esi, dword [esp + 0x2c]
call fcn.00572530
jmp 0x589a8f
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 + 0x2c]
mov dword [esp + 0x24], eax
mov eax, dword [edx + 0xd4]
cmp eax, 0x10
jne 0x588fca
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 + 0x10], eax
mov eax, dword [ecx + 0xdc]
mov dword [esp + 0x84], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x80], edi
jle 0x58996a
fmul qword [esp + 0x8c]
call fcn.00643d70
mov dword [esp + 0x40], eax
mov dword [esp + 0x14], ebx
lea esp, [esp]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x64]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
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 + 0x30], eax
mov dword [esp + 0x1c], ecx
jle 0x588f81
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 0x588f63
mov ebx, eax
and ebx, edi
mov ecx, esi
shr ebx, cl
mov ecx, edx
and ecx, edi
and edx, dword [esp + 0x28]
imul ebx, dword [esp + 0x24]
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 + 0x28]
mov ecx, esi
shl bx, cl
mov ecx, dword [esp + 0x3c]
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 + 0x30]
add eax, dword [esp + 0x4c]
add ecx, 2
sub dword [esp + 0x48], 1
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x30], eax
jne 0x588eba
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x90]
mov ecx, dword [esp + 0x34]
add dword [esp + 0x18], ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x10]
sar eax, 1
sub dword [esp + 0x14], 1
lea eax, [edx + eax*2]
mov dword [esp + 0x10], eax
jne 0x588e80
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
mov esi, dword [esp + 0x2c]
call fcn.00572530
jmp 0x589a8f
cmp eax, 0x20
jne 0x58996a
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 + 0x10], eax
mov eax, dword [ecx + 0xdc]
mov dword [esp + 0x70], edx
mov dword [esp + 0x84], eax
mov dword [esp + 0x38], edi
jle 0x58996a
fmul qword [esp + 0x8c]
call fcn.00643d70
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], ebx
jmp 0x589040
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x64]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
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 + 0x28], eax
mov dword [esp + 0x1c], ecx
jle 0x589142
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x80]
sar eax, 0x10
mov eax, dword [edx + eax*4]
test eax, eax
mov edx, dword [ecx]
je 0x589124
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 + 0x24]
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 + 0x3c]
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 + 0x3c]
shr esi, cl
mov ecx, dword [esp + 0x60]
shr ebx, 8
add ebx, esi
mov esi, dword [ecx + ebx*4]
mov ecx, dword [esp + 0x3c]
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 + 0x14]
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 + 0x28]
add eax, dword [esp + 0x4c]
add ecx, 4
sub dword [esp + 0x30], 1
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], eax
jne 0x58907d
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x90]
mov ecx, dword [esp + 0x34]
add dword [esp + 0x18], ecx
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0x10]
sar eax, 2
sub dword [esp + 0x48], 1
lea eax, [edx + eax*4]
mov dword [esp + 0x10], eax
jne 0x589040
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
mov esi, dword [esp + 0x2c]
call fcn.00572530
jmp 0x589a8f
mov ecx, dword [ebx + 0x4c]
mov dword [esp + 0x34], ecx
mov ecx, esi
call eax
test al, al
je 0x589a8f
fld qword [esp + 0x94]
mov ebx, esi
mov eax, dword [ebx + 0x6c]
fld qword [0x688738]
mov ecx, dword [eax + 0xd0]
fmul st(1), st(0)
mov edx, dword [eax + 0xd4]
fxch st(1)
mov esi, dword [eax + 0x28]
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 + 0x3c], ecx
mov dword [esp + 0x28], esi
call fcn.00643d70
fld qword [esp + 0x9c]
fmul st(1)
mov dword [esp + 0x18], eax
fidiv dword [esp + 0x58]
call fcn.00643d70
fld qword [esp + 0xa4]
fmul st(1)
mov dword [esp + 0x60], eax
fidiv dword [esp + 0x5c]
call fcn.00643d70
mov dword [esp + 0x10], eax
mov eax, edi
call fcn.0056a440
test al, al
je 0x58956a
mov eax, dword [ebx + 0xd4]
cmp eax, 0x10
jne 0x5893d0
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 + 0x14], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x84], edi
jle 0x58996a
fmul qword [esp + 0x8c]
call fcn.00643d70
mov dword [esp + 0x40], eax
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
sar ebx, 0x10
imul ebx, dword [edx + 0x24]
add ebx, dword [esp + 0x34]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x58]
test eax, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x7c], ebx
jle 0x589387
mov dword [esp + 0x44], eax
lea ebx, [ebx]
mov eax, dword [esp + 0x24]
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 0x58936d
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 + 0x3c]
shr ebx, cl
mov ecx, dword [esp + 0x74]
mov bx, word [ecx + ebx*4]
mov ecx, dword [esp + 0x3c]
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 + 0x24], edx
add ecx, 2
sub dword [esp + 0x44], 1
mov dword [esp + 0x1c], ecx
jne 0x5892e0
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x90]
mov ecx, dword [esp + 0x14]
cdq
sub eax, edx
sar eax, 1
lea edx, [ecx + eax*2]
mov eax, dword [esp + 0x10]
add dword [esp + 0x18], eax
sub dword [esp + 0x28], 1
mov dword [esp + 0x14], edx
jne 0x5892a3
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
mov esi, dword [esp + 0x2c]
call fcn.00572530
jmp 0x589a8f
cmp eax, 0x20
jne 0x58996a
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 0x58996a
fmul qword [esp + 0x8c]
call fcn.00643d70
mov dword [esp + 0x40], eax
mov dword [esp + 0x28], 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 + 0x34]
test eax, eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x84], ebx
jle 0x58951d
mov dword [esp + 0x44], eax
jmp 0x589480
mov eax, dword [esp + 0x24]
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 0x589503
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 + 0x3c]
shr ebx, cl
mov ecx, dword [esp + 0x74]
mov ebx, dword [ecx + ebx*4]
mov ecx, dword [esp + 0x3c]
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 + 0x14]
or edi, eax
mov dword [ecx], edi
mov edi, dword [esp + 0x7c]
mov edx, dword [esp + 0x60]
add dword [esp + 0x24], edx
add ecx, 4
sub dword [esp + 0x44], 1
mov dword [esp + 0x14], ecx
jne 0x589480
mov eax, dword [esp + 0x2c]
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 + 0x10]
add dword [esp + 0x18], eax
sub dword [esp + 0x28], 1
mov dword [esp + 0x1c], edx
jne 0x589441
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
mov esi, dword [esp + 0x2c]
call fcn.00572530
jmp 0x589a8f
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 + 0x30], eax
mov eax, dword [ebx + 0xd4]
cmp eax, 0x10
jne 0x58979b
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 0x58996a
fmul qword [esp + 0x8c]
call fcn.00643d70
mov dword [esp + 0x40], eax
mov dword [esp + 0x28], ebx
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 + 0x34]
mov eax, dword [esp + 0x58]
test eax, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x70], ebx
jle 0x589752
mov dword [esp + 0x44], eax
lea ebx, [ebx]
mov edx, dword [esp + 0x24]
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 0x589738
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 + 0x30]
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 + 0x3c]
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 + 0x14]
or bx, ax
mov word [ecx], bx
mov ebx, dword [esp + 0x70]
mov edx, dword [esp + 0x60]
add dword [esp + 0x24], edx
add ecx, 2
sub dword [esp + 0x44], 1
mov dword [esp + 0x14], ecx
jne 0x589680
mov eax, dword [esp + 0x2c]
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 + 0x10]
add dword [esp + 0x18], eax
sub dword [esp + 0x28], 1
mov dword [esp + 0x1c], edx
jne 0x589643
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
mov esi, dword [esp + 0x2c]
call fcn.00572530
jmp 0x589a8f
cmp eax, 0x20
jne 0x58996a
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 0x58996a
fmul qword [esp + 0x8c]
call fcn.00643d70
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ebx
lea esp, [esp]
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 + 0x34]
test eax, eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x84], ebx
jle 0x58991d
mov dword [esp + 0x20], eax
lea ebx, [ebx]
mov eax, dword [esp + 0x24]
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 0x589903
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 + 0x30]
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 + 0x3c]
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 + 0x3c]
shr esi, cl
mov ecx, dword [esp + 0x74]
shr ebx, 8
add ebx, esi
mov esi, dword [ecx + ebx*4]
mov ecx, dword [esp + 0x3c]
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 + 0x28]
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 + 0x14]
or edi, eax
mov dword [ecx], edi
mov edi, dword [esp + 0x70]
mov edx, dword [esp + 0x60]
add dword [esp + 0x24], edx
add ecx, 4
sub dword [esp + 0x20], 1
mov dword [esp + 0x14], ecx
jne 0x589850
mov eax, dword [esp + 0x2c]
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 + 0x10]
add dword [esp + 0x18], eax
sub dword [esp + 0x44], 1
mov dword [esp + 0x1c], edx
jne 0x589810
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
mov esi, dword [esp + 0x2c]
call fcn.00572530
jmp 0x589a8f
mov ecx, dword [esp + 0x2c]
fstp st(0)
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
mov esi, dword [esp + 0x2c]
call fcn.00572530
jmp 0x589a8f
mov esi, dword [esp + 0x2c]
cmp byte [esi + 0x79], 0
jne 0x589a6f
cmp byte [esi + 0x52], 0
jne 0x589a6f
cmp byte [esi + 0x51], 0
jne 0x589a6f
mov ecx, dword [esi + 0x6c]
cmp byte [ecx + 0x38], 0
jne 0x589a6f
mov edx, dword [esi + 0x68]
push edx
lea eax, [esp + 0x148]
push eax
call fcn.005962c0
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.00599030
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.0059dff0
mov eax, dword [ebp + 0x1c]
mov edx, dword [esi]
mov edx, dword [edx + 0x24]
push eax
mov eax, dword [esp + 0x58]
push edi
lea ecx, [esp + 0xb4]
push ecx
mov ecx, dword [esp + 0x5c]
push eax
push ecx
lea eax, [esp + 0x158]
push eax
mov ecx, esi
call edx
lea ecx, [esp + 0x144]
mov dword [esp + 0x1c8], 0xffffffff
call fcn.00596580
mov esi, dword [esp + 0x2c]
call fcn.00572530
jmp 0x589a8f
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
push 0
push eax
push edi
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov eax, ebx
push eax
push ecx
mov ecx, esi
call fcn.0059f670
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.00626d59
mov esp, ebp
pop ebp
ret 0x1c