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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x70
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x14]
push edi
shr edx, 3
mov edi, ecx
cmp dword [ebp + 0xc], 0
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], edx
je 0x561f75
shr eax, 3
mov dword [esp + 0x24], eax
test esi, esi
jle 0x561f79
mov edx, dword [ebp + 0xc]
mov ecx, esi
movsd xmm0, qword [0x744d28]
shl ecx, 3
shl eax, 3
add eax, 8
mov dword [esp + 0x34], esi
mov dword [esp + 0x40], ecx
mov esi, edx
mov dword [esp + 0x44], eax
xor eax, eax
shr ecx, 2
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
shl eax, 3
movsd qword [edx], xmm0
add esi, eax
add edx, dword [esp + 0x44]
sub dword [esp + 0x34], 1
jne 0x561f43
mov esi, dword [ebp + 0x14]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
jmp 0x561f79
mov dword [esp + 0x24], eax
mov eax, esi
imul eax, esi
imul eax, eax, 0x1e
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x18]
add eax, 3
and eax, 0xfffffffc
mov dword [esp + 0x18], eax
lea eax, [eax + esi*4]
mov dword [esp + 0x1c], eax
xor eax, eax
mov ecx, eax
mov dword [esp + 0x14], ecx
test esi, esi
jle 0x56219d
lea ecx, [esi - 1]
mov dword [esp + 0x20], eax
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], ecx
mov ecx, edx
shl ecx, 3
mov dword [esp + 0x60], ecx
mov dword [esp + 0x28], edi
lea esi, [ecx + 8]
mov dword [esp + 0x6c], esi
lea esi, [ecx + edi]
mov ecx, dword [ebp + 8]
sub ecx, edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x4c], ecx
mov esi, edi
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x1c]
mov dword [esp + 0x58], ecx
mov ecx, eax
mov dword [esp + 0x30], esi
jmp 0x561ffa
mov esi, dword [esp + 0x30]
movsd xmm0, qword [esi]
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x4c]
movsd qword [edx + esi], xmm0
mov esi, dword [ebp + 0x14]
mov edx, dword [esp + 0xc]
cmp ecx, dword [esp + 0x50]
jge 0x5620c3
lea eax, [ecx + 2]
lea ecx, [eax - 1]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x20]
add eax, ecx
mov dword [esp + 0x44], ecx
push ecx
push ecx
movsd xmm0, qword [edi + eax*8]
movsd qword [esp], xmm0
call fcn.0069b11f
mov eax, dword [esp + 0x40]
pop ecx
fstp qword [esp + 0x74]
pop ecx
cmp eax, esi
jge 0x5620aa
mov ecx, dword [esp + 0x20]
add eax, ecx
movsd xmm0, qword [esp + 0x70]
movsd qword [esp + 0x70], xmm0
lea eax, [edi + eax*8]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x40], eax
movsd xmm0, qword [eax]
push ecx
push ecx
movsd qword [esp], xmm0
call fcn.0069b11f
fstp qword [esp + 0x40]
movsd xmm0, qword [esp + 0x40]
comisd xmm0, xmmword [esp + 0x78]
pop ecx
pop ecx
jbe 0x56209a
movsd qword [esp + 0x70], xmm0
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x40]
inc edi
add eax, 8
mov dword [esp + 0x40], eax
cmp edi, esi
jl 0x56206c
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x44]
mov dword [edx + eax], ecx
xor eax, eax
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
test ecx, ecx
jle 0x562168
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x28]
push ecx
push ecx
movsd xmm0, qword [eax]
movsd qword [esp], xmm0
call fcn.0069b11f
pop ecx
xor eax, eax
pop ecx
mov ecx, dword [esp + 0x14]
inc eax
mov dword [esp + 0x38], eax
fstp qword [esp + 0x70]
cmp ecx, eax
jle 0x562158
movsd xmm0, qword [esp + 0x70]
mov edi, ecx
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x44], eax
movsd qword [esp + 0x70], xmm0
movsd xmm0, qword [eax]
push ecx
push ecx
movsd qword [esp], xmm0
call fcn.0069b11f
fstp qword [esp + 0x40]
movsd xmm0, qword [esp + 0x40]
comisd xmm0, xmmword [esp + 0x78]
pop ecx
pop ecx
jbe 0x562140
movsd qword [esp + 0x70], xmm0
mov dword [esp + 0x40], esi
mov eax, dword [esp + 0x44]
inc esi
add eax, dword [esp + 0x60]
mov dword [esp + 0x44], eax
cmp esi, edi
jl 0x562112
mov esi, dword [ebp + 0x14]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x40]
mov dword [eax], edx
mov edx, dword [esp + 0xc]
jmp 0x56216c
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x6c]
add eax, 4
add dword [esp + 0x30], edi
inc ecx
add dword [esp + 0x20], edx
add dword [esp + 0x28], 8
add dword [esp + 0x34], 8
mov edi, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], ecx
push 0
pop eax
cmp ecx, esi
jl 0x561ff6
xor edx, edx
cmp esi, 1
jle 0x562742
mov dword [esp + 0x30], edx
cmp dword [esp + 0x48], edx
jle 0x562742
lea eax, [esi - 1]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x18]
push ecx
push ecx
mov dword [esp + 0x1c], edx
mov eax, dword [eax]
movsd xmm0, qword [edi + eax*8]
movsd qword [esp], xmm0
call fcn.0069b11f
pop ecx
xor eax, eax
fstp qword [esp + 0x74]
movsd xmm0, qword [esp + 0x74]
inc eax
pop ecx
lea ecx, [esi - 1]
mov dword [esp + 0x34], eax
movsd qword [esp + 0x70], xmm0
cmp ecx, eax
jle 0x562256
mov esi, dword [esp + 0xc]
mov ecx, esi
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x18]
push ecx
push ecx
mov eax, dword [edx + eax*4]
add eax, ecx
movsd xmm0, qword [edi + eax*8]
movsd qword [esp], xmm0
call fcn.0069b11f
mov eax, dword [esp + 0x3c]
fstp qword [esp + 0x68]
movsd xmm0, qword [esp + 0x68]
comisd xmm0, xmmword [esp + 0x78]
pop ecx
pop ecx
jbe 0x56223e
movsd qword [esp + 0x70], xmm0
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x44]
inc eax
add ecx, esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], ecx
cmp eax, dword [esp + 0x6c]
jl 0x562202
mov esi, dword [ebp + 0x14]
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov eax, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x34], ecx
mov eax, dword [eax + edx*4]
mov dword [esp + 0x20], eax
cmp esi, ecx
jle 0x5622d1
mov eax, dword [esp + 0x1c]
push ecx
push ecx
mov eax, dword [eax + ecx*4]
imul eax, dword [esp + 0x14]
add eax, ecx
movsd xmm0, qword [edi + eax*8]
movsd qword [esp], xmm0
call fcn.0069b11f
fstp qword [esp + 0x68]
movsd xmm0, qword [esp + 0x68]
comisd xmm0, xmmword [esp + 0x78]
pop ecx
pop ecx
mov ecx, dword [esp + 0x34]
jbe 0x5622c0
mov eax, dword [esp + 0x1c]
movsd qword [esp + 0x70], xmm0
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x14], eax
mov eax, ecx
mov dword [esp + 0x20], eax
jmp 0x5622c4
mov eax, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x34], ecx
cmp ecx, esi
jl 0x562270
mov edx, dword [esp + 0x14]
mov ecx, edx
imul ecx, dword [esp + 0xc]
add eax, ecx
mov dword [esp + 0x38], ecx
push ecx
push ecx
mov dword [esp + 0x68], eax
movsd xmm0, qword [edi + eax*8]
movsd qword [esp + 0x78], xmm0
movsd qword [esp], xmm0
call fcn.0069b11f
movsd xmm0, qword [0x744cc0]
fstp qword [esp + 0x60]
comisd xmm0, xmmword [esp + 0x60]
pop ecx
pop ecx
jae 0x562740
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x20]
push ecx
push ecx
movsd xmm0, qword [ecx + eax*8]
mov eax, dword [esp + 0x1c]
subsd xmm0, qword [ecx + eax*8]
mulsd xmm0, qword [0x744d10]
movsd qword [esp + 0x60], xmm0
movsd qword [esp], xmm0
call fcn.0069b11f
movsd xmm1, qword [esp + 0x60]
movsd xmm0, qword [esp + 0x78]
pop ecx
pop ecx
fstp qword [esp + 0x50]
call fcn.00563ee2
addsd xmm0, qword [esp + 0x50]
movsd qword [esp + 0x50], xmm0
movaps xmm1, xmm0
movsd xmm0, qword [esp + 0x70]
call fcn.00563ee2
movsd xmm3, qword [esp + 0x70]
xorps xmm1, xmm1
comisd xmm1, xmmword [esp + 0x58]
movaps xmm2, xmm3
movsd xmm5, qword [esp + 0x50]
divsd xmm2, qword [esp + 0x50]
movaps xmm4, xmm3
divsd xmm5, xmm0
divsd xmm4, xmm0
mulsd xmm2, xmm3
jbe 0x5623b0
xorps xmm4, xmmword [0x749240]
xorps xmm2, xmmword [0x749240]
mov eax, dword [esp + 0x60]
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x20]
movsd qword [edi + eax*8], xmm1
mov eax, dword [esp + 0x14]
movsd xmm0, qword [ecx + eax*8]
subsd xmm0, xmm2
movsd qword [ecx + eax*8], xmm0
addsd xmm2, qword [ecx + edx*8]
movsd qword [ecx + edx*8], xmm2
test eax, eax
jle 0x562449
mov esi, dword [esp + 0xc]
lea ecx, [edi + eax*8]
shl esi, 3
mov dword [esp + 0x44], esi
lea esi, [edi + edx*8]
mov dword [esp + 0x60], esi
mov esi, dword [ebp + 0x14]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x60]
mov edi, dword [esp + 0x58]
mov dword [esp + 0x40], eax
movsd xmm3, qword [edi]
movsd xmm2, qword [ecx]
movaps xmm1, xmm3
movaps xmm0, xmm2
mulsd xmm1, xmm5
mulsd xmm0, xmm4
mulsd xmm2, xmm5
mulsd xmm3, xmm4
subsd xmm1, xmm0
addsd xmm2, xmm3
movsd qword [edi], xmm1
add edi, dword [esp + 0x44]
movsd qword [ecx], xmm2
add ecx, dword [esp + 0x44]
sub dword [esp + 0x40], 1
jne 0x562408
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
inc eax
mov dword [esp + 0x44], eax
cmp eax, edx
jge 0x5624c9
add eax, dword [esp + 0x38]
mov esi, ecx
shl esi, 3
mov dword [esp + 0x50], esi
lea eax, [edi + eax*8]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x60]
imul eax, ecx
add eax, edx
lea eax, [edi + eax*8]
mov dword [esp + 0x58], eax
mov eax, edx
sub eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x58]
movsd xmm3, qword [esi]
movsd xmm2, qword [ecx]
movaps xmm1, xmm3
movaps xmm0, xmm2
mulsd xmm1, xmm5
mulsd xmm0, xmm4
mulsd xmm2, xmm5
mulsd xmm3, xmm4
subsd xmm1, xmm0
addsd xmm2, xmm3
movsd qword [esi], xmm1
add esi, 8
movsd qword [ecx], xmm2
add ecx, dword [esp + 0x50]
sub eax, 1
jne 0x562488
mov esi, dword [ebp + 0x14]
mov ecx, dword [esp + 0xc]
lea eax, [edx + 1]
cmp eax, esi
jge 0x562533
mov eax, edx
mov dword [esp + 0x2c], esi
imul eax, ecx
inc eax
add eax, edx
lea eax, [edi + eax*8]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x38]
inc eax
add eax, edx
lea edi, [edi + eax*8]
lea eax, [edx + 1]
sub dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
movsd xmm3, qword [edi]
movsd xmm2, qword [eax]
movaps xmm1, xmm3
movaps xmm0, xmm2
mulsd xmm1, xmm5
mulsd xmm0, xmm4
mulsd xmm2, xmm5
mulsd xmm3, xmm4
subsd xmm1, xmm0
addsd xmm2, xmm3
movsd qword [edi], xmm1
add edi, 8
movsd qword [eax], xmm2
add eax, 8
sub dword [esp + 0x2c], 1
jne 0x5624f8
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x56259a
test esi, esi
jle 0x56259a
mov ecx, dword [ebp + 0xc]
mov eax, edx
imul eax, dword [esp + 0x24]
mov dword [esp + 0x44], esi
lea edi, [edi + eax*8]
mov eax, dword [esp + 0x14]
imul eax, dword [esp + 0x24]
lea eax, [ecx + eax*8]
mov ecx, dword [esp + 0xc]
movsd xmm3, qword [eax]
movsd xmm2, qword [edi]
movaps xmm1, xmm3
movaps xmm0, xmm2
mulsd xmm1, xmm5
mulsd xmm0, xmm4
mulsd xmm2, xmm5
mulsd xmm3, xmm4
subsd xmm1, xmm0
addsd xmm2, xmm3
movsd qword [eax], xmm1
add eax, 8
movsd qword [edi], xmm2
add edi, 8
sub dword [esp + 0x44], 1
jne 0x56255f
xor eax, eax
mov dword [esp + 0x34], eax
jmp 0x5625a6
mov ecx, dword [esp + 0xc]
test eax, eax
mov edi, edx
lea edx, [esi - 1]
cmove edi, dword [esp + 0x14]
mov dword [esp + 0x50], edi
cmp edi, edx
jge 0x562666
mov eax, edi
lea edx, [edi + 1]
imul eax, ecx
mov ecx, dword [esp + 0x10]
push ecx
push ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x68], eax
add eax, edx
movsd xmm0, qword [ecx + eax*8]
movsd qword [esp], xmm0
call fcn.0069b11f
lea eax, [edi + 2]
mov dword [esp + 0x60], eax
pop ecx
fstp qword [esp + 0x74]
pop ecx
cmp eax, esi
jge 0x562657
add eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x10]
movsd xmm0, qword [esp + 0x70]
mov edi, dword [esp + 0x58]
movsd qword [esp + 0x70], xmm0
lea eax, [ecx + eax*8]
mov dword [esp + 0x44], eax
movsd xmm0, qword [eax]
push ecx
push ecx
movsd qword [esp], xmm0
call fcn.0069b11f
fstp qword [esp + 0x68]
movsd xmm0, qword [esp + 0x68]
comisd xmm0, xmmword [esp + 0x78]
pop ecx
pop ecx
jbe 0x562643
movsd qword [esp + 0x70], xmm0
mov dword [esp + 0x40], edi
mov eax, dword [esp + 0x44]
inc edi
add eax, 8
mov dword [esp + 0x44], eax
cmp edi, esi
jl 0x562615
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
mov dword [ecx + edi*4], eax
mov eax, dword [esp + 0x34]
test edi, edi
jle 0x562714
mov eax, dword [esp + 0x10]
and dword [esp + 0x40], 0
push ecx
push ecx
movsd xmm0, qword [eax + edi*8]
movsd qword [esp], xmm0
call fcn.0069b11f
xor eax, eax
inc eax
mov dword [esp + 0x68], eax
pop ecx
fstp qword [esp + 0x74]
pop ecx
cmp edi, eax
jle 0x562705
mov eax, dword [esp + 0xc]
mov ecx, eax
movsd xmm0, qword [esp + 0x70]
mov esi, dword [esp + 0x60]
shl ecx, 3
add eax, edi
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x10]
movsd qword [esp + 0x70], xmm0
lea eax, [ecx + eax*8]
mov dword [esp + 0x44], eax
movsd xmm0, qword [eax]
push ecx
push ecx
movsd qword [esp], xmm0
call fcn.0069b11f
fstp qword [esp + 0x68]
movsd xmm0, qword [esp + 0x68]
comisd xmm0, xmmword [esp + 0x78]
pop ecx
pop ecx
jbe 0x5626f1
movsd qword [esp + 0x70], xmm0
mov dword [esp + 0x40], esi
mov eax, dword [esp + 0x44]
inc esi
add eax, dword [esp + 0x58]
mov dword [esp + 0x44], eax
cmp esi, edi
jl 0x5626c3
mov esi, dword [ebp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
mov dword [ecx + edi*4], eax
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
inc eax
mov dword [esp + 0x34], eax
cmp eax, 2
jl 0x5625a2
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x10]
inc eax
push 0
mov dword [esp + 0x34], eax
pop edx
cmp eax, dword [esp + 0x48]
jl 0x5621bd
xor edx, edx
lea eax, [esi - 1]
test eax, eax
jle 0x562810
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x40], edi
lea ecx, [edx + 1]
mov eax, edx
mov dword [esp + 0x44], ecx
cmp ecx, esi
jge 0x5627f4
mov esi, edx
shl esi, 3
mov dword [esp + 0x48], esi
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 8]
movsd xmm0, qword [esi + ecx*8]
mov esi, dword [esp + 0x48]
comisd xmm0, xmmword [esi + edi]
mov esi, dword [ebp + 0x14]
lea edi, [ecx*8]
jbe 0x562794
mov eax, ecx
mov dword [esp + 0x48], edi
inc ecx
cmp ecx, esi
jl 0x56276e
mov edi, dword [esp + 0x40]
cmp edx, eax
je 0x5627f4
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 8]
movsd xmm1, qword [ecx + eax*8]
mov ecx, edx
mov edx, esi
movsd xmm0, qword [esi + ecx*8]
mov esi, dword [ebp + 0x14]
movsd qword [edx + eax*8], xmm0
movsd qword [edx + ecx*8], xmm1
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x5627f4
test esi, esi
jle 0x5627f4
imul eax, dword [esp + 0x24]
mov ecx, edi
lea eax, [edx + eax*8]
mov edx, esi
movsd xmm0, qword [ecx]
movsd xmm1, qword [eax]
movsd qword [eax], xmm0
lea eax, [eax + 8]
movsd qword [ecx], xmm1
lea ecx, [ecx + 8]
sub edx, 1
jne 0x5627d9
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x44]
shl eax, 3
add edi, eax
lea eax, [esi - 1]
mov dword [esp + 0x40], edi
cmp edx, eax
jl 0x562754
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret