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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb0
push esi
mov esi, ecx
lea eax, [esp + 0x94]
push edi
push eax
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x78]
call fcn.005add1a
movsd xmm0, qword [esp + 0xa8]
subsd xmm0, qword [esp + 0x98]
mov eax, dword [ebp + 8]
mov ecx, eax
movsd xmm1, qword [0x6b4808]
mov esi, dword [esi + 0x20]
push esi
mov edi, dword [eax]
subsd xmm0, xmm1
movsd qword [esp + 0x64], xmm1
movsd qword [esp + 0x74], xmm0
call dword [edi + 0x94]
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
fstp qword [esp + 0x4c]
call dword [edi + 0x9c]
movsd xmm0, qword [esp + 0x48]
fstp qword [esp + 0x20]
subsd xmm0, qword [esp + 0x20]
push ecx
push ecx
movsd qword [esp], xmm0
call fcn.00689834
mov eax, dword [esi]
fstp qword [esp + 0x50]
cvttsd2si edi, qword [esp + 0x50]
pop ecx
mov eax, dword [eax + 0x98]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xc]
pop ecx
mov ecx, esi
push dword [eax + 0x20]
add edi, 2
mov dword [esp + 0x18], edi
call dword [esp + 0x20]
mov ecx, dword [esp + 8]
movd xmm0, edi
cvtdq2pd xmm0, xmm0
cmp dword [ecx + 0x1c], 0x10
lea eax, [ecx + 8]
mov dword [esp + 0x18], eax
movsd qword [esp + 0x20], xmm0
fadd qword [esp + 0x20]
fadd qword [0x6b4808]
fstp qword [esp + 0x78]
jb 0x5b5fec
mov eax, dword [ecx + 8]
mov dword [esp + 0x18], eax
mov esi, dword [ecx + 0x18]
xor edi, edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x10], edi
test esi, esi
je 0x5b6236
add ecx, 4
mov dword [esp + 0x40], edi
mov edx, edi
mov dword [esp + 0x44], edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0xc]
push 0xa
push edi
push esi
push eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], ecx
call fcn.005b533d
add esp, 0x10
lea ecx, [esp + 0x30]
push eax
push edi
lea eax, [esp + 0x28]
push eax
call fcn.005b215f
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
add eax, ecx
sub esi, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x34], esi
je 0x5b6077
inc eax
dec esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x38]
mov dword [esp + 0x38], eax
lea esi, [ecx + eax]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x3c], esi
cmp dword [ecx], eax
mov eax, dword [esp + 8]
cmovae edx, ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x10]
cmp dword [eax], edx
mov edx, dword [esp + 8]
cmovae ecx, eax
lea eax, [esp + 0x3c]
cmp esi, dword [edx]
cmovae eax, ecx
cmp esi, dword [edx + 4]
cvttsd2si edx, qword [esp + 0x48]
mov ecx, dword [eax]
lea eax, [esp + 0x3c]
cmovae eax, dword [esp + 0xc]
sub ecx, dword [esp + 0x10]
push ecx
push edi
mov eax, dword [eax]
sub eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
sub eax, edx
mov dword [esp + 0x34], ecx
dec eax
lea ecx, [esp + 0x28]
movd xmm0, eax
mov eax, dword [esp + 0x10]
cvtdq2pd xmm0, xmm0
mov eax, dword [eax + 0xb4]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x88]
push eax
movsd qword [esp + 0x74], xmm0
call fcn.005b215f
push dword [ebp + 0xc]
lea esi, [esp + 0x64]
push edi
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
push dword [eax + 4]
mov ecx, dword [esp + 0x38]
push dword [eax]
push dword [esp + 0x40]
push dword [ebp + 8]
call fcn.005b593a
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
sub ecx, eax
push ecx
push eax
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x2c]
call fcn.005b215f
push dword [ebp + 0xc]
lea esi, [esp + 0x64]
push 1
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
push dword [eax + 4]
push dword [eax]
push dword [esp + 0x40]
push dword [ebp + 8]
mov ecx, dword [esp + 0x44]
call fcn.005b593a
push 0xffffffffffffffff
push dword [esp + 0x14]
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x28]
lea eax, [esp + 0x98]
push eax
call fcn.005b215f
push dword [ebp + 0xc]
lea esi, [esp + 0x64]
push 0
sub esp, 0x20
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x30]
mov ecx, esi
push edi
push dword [eax + 4]
push dword [eax]
push dword [esp + 0x60]
push dword [ebp + 8]
call fcn.005b593a
add edi, dword [esi + 0x68]
movd xmm0, dword [esi + 0x68]
mov edx, dword [esp + 0x54]
test edx, edx
mov ecx, dword [esp + 0x40]
cmove ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
cmove edx, dword [esp + 0x44]
cmp ecx, eax
mov esi, dword [esp + 0x1c]
cvtdq2pd xmm0, xmm0
cmovl edx, eax
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x44], edx
mov dword [esp + 0xc], edx
addsd xmm0, qword [esp + 0x78]
push 0
pop edi
movsd qword [esp + 0x78], xmm0
test esi, esi
jne 0x5b601a
mov edi, edx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8