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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov ecx, dword [ebp + 0xc]
lea eax, [esp - 0x78]
sub esp, 0x88
push esi
push edi
push 0
push 0x1000300
push eax
call fcn.005fa740
mov edi, dword [ebp + 8]
mov ecx, edi
push dword [eax]
call fcn.00573ac0
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x18]
push 0
push 0x1000400
push eax
call fcn.005fa740
cmp byte [ebp + 0x2c], 0
jne 0x5b6368
cmp byte [ebp + 0x30], 0
jne 0x5b6368
movss xmm0, dword [0x7b9628]
jmp 0x5b6370
movss xmm0, dword [0x7b9664]
mov eax, dword [eax]
xorps xmm1, xmm1
comiss xmm1, xmm0
mov dword [esp + 0x14], eax
jb 0x5b6382
xor al, al
jmp 0x5b63ac
comiss xmm0, dword [0x7b971c]
jb 0x5b638f
or al, 0xff
jmp 0x5b63ac
mulss xmm0, dword [0x7b9a70]
cvtps2pd xmm0, xmm0
addsd xmm0, qword [0x7b99f0]
movsd qword [esp + 0x30], xmm0
mov al, byte [esp + 0x30]
mov byte [esp + 0x17], al
mov ecx, edi
push dword [esp + 0x14]
call fcn.005807f0
movd xmm0, dword [ebp + 0x28]
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x7b95a4]
movss dword [esp + 0x14], xmm0
jbe 0x5b6844
cmp byte [ebp + 0x20], 0
mov ecx, dword [edi + 4]
push 0
mov eax, dword [ecx]
mov edx, dword [eax + 0x58]
je 0x5b6481
mov eax, dword [ebp + 0x18]
sub eax, 2
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x3c], eax
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movaps xmm0, xmm1
mulss xmm1, dword [0x7b965c]
mulss xmm0, dword [0x7b9650]
cvtps2pd xmm0, xmm0
addsd xmm0, qword [0x7b99f0]
movsd qword [esp + 0x34], xmm0
cvtps2pd xmm0, xmm1
addsd xmm0, qword [0x7b99f0]
movsd qword [esp + 0x1c], xmm0
mov eax, dword [esp + 0x1c]
add eax, esi
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x24]
push eax
call edx
mov eax, dword [ebp + 0x24]
inc esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffffe
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x28]
jmp 0x5b6517
mov eax, dword [ebp + 0x1c]
sub eax, 2
mov esi, dword [ebp + 0x14]
mov dword [esp + 0x40], eax
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x24], eax
movaps xmm0, xmm1
mulss xmm1, dword [0x7b965c]
mulss xmm0, dword [0x7b9650]
cvtps2pd xmm0, xmm0
addsd xmm0, qword [0x7b99f0]
movsd qword [esp + 0x34], xmm0
cvtps2pd xmm0, xmm1
addsd xmm0, qword [0x7b99f0]
movsd qword [esp + 0x1c], xmm0
mov eax, dword [esp + 0x1c]
add eax, esi
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x24]
push eax
call edx
mov ecx, dword [ebp + 0x24]
lea eax, [esi + 1]
mov dword [esp + 0xc], eax
mov esi, ecx
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], ecx
add eax, 0xfffffffe
mov ecx, dword [ebp + 0xc]
push 0
mov dword [esp + 0x30], eax
lea eax, [esp + 0x1c]
push 0x1000400
push eax
call fcn.005fa740
cmp byte [ebp + 0x2c], 0
mov ecx, esi
jne 0x5b6547
cmp byte [ebp + 0x30], 0
jne 0x5b6547
movss xmm2, dword [0x7b96b4]
jmp 0x5b6551
movss xmm2, dword [0x7b9700]
mov esi, ecx
lea ecx, [esp + 0x30]
push ecx
mov ecx, eax
call fcn.0057fab0
mov ecx, edi
push dword [eax]
call fcn.005807f0
mov ecx, dword [edi + 4]
lea edx, [esp + 0x50]
movaps xmm0, xmmword [esp + 0x20]
movaps xmmword [esp + 0x50], xmm0
push 0
mov eax, dword [ecx]
push edx
call dword [eax + 0x58]
cmp byte [ebp + 0x2c], 0
mov ecx, esi
jne 0x5b6597
cmp byte [ebp + 0x30], 0
jne 0x5b6597
movss xmm0, dword [0x7b9640]
jmp 0x5b65a1
movss xmm0, dword [0x7b9664]
mov esi, ecx
mulss xmm0, dword [0x7b9a70]
mov ecx, edi
mov eax, dword [0x7f2c98]
mov dword [esp + 0x10], eax
cvtps2pd xmm0, xmm0
addsd xmm0, qword [0x7b99f0]
movsd qword [esp + 0x18], xmm0
mov al, byte [esp + 0x18]
mov byte [esp + 0x13], al
push dword [esp + 0x10]
call fcn.005807f0
movd xmm0, esi
sub esp, 0x10
cvtdq2ps xmm0, xmm0
mov eax, esp
mov ecx, edi
movss xmm1, dword [0x7b971c]
movss dword [esp + 0x50], xmm0
movd xmm0, dword [esp + 0x1c]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x54], xmm0
movd xmm0, dword [esp + 0x38]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x58], xmm0
movd xmm0, dword [esp + 0x3c]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x5c], xmm0
movups xmm0, xmmword [esp + 0x50]
movups xmmword [eax], xmm0
call fcn.005736e0
cmp dword [ebp + 0x28], 0x10
jle 0x5b6844
movd xmm0, dword [ebp + 0x24]
mov esi, 2
movss xmm1, dword [esp + 0x14]
mulss xmm1, dword [0x7b9674]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
movsd xmm0, qword [0x7b9a10]
movsd qword [esp + 0x40], xmm0
movss dword [esp + 0x14], xmm1
nop dword [eax]
mov eax, dword [0x7f2c98]
dec esi
mov dword [esp + 0xc], eax
mov ecx, edi
mov al, byte [esp + 0x40]
mov byte [esp + 0xf], al
push dword [esp + 0xc]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x7b98dc]
addss xmm0, xmm1
movss dword [esp + 0x14], xmm0
call fcn.005807f0
cmp byte [ebp + 0x20], 0
mov ecx, dword [edi + 4]
movss xmm3, dword [esp + 0x10]
je 0x5b6774
movd xmm2, dword [esp + 0x38]
lea edx, [esp + 0x60]
movd xmm0, dword [ebp + 0x10]
cvtdq2ps xmm2, xmm2
push edx
cvtdq2ps xmm0, xmm0
movaps xmm1, xmm2
movss dword [esp + 0x68], xmm3
mulss xmm1, dword [0x7b9630]
mulss xmm2, dword [0x7b96d0]
addss xmm0, xmm1
movss dword [esp + 0x70], xmm3
movss dword [esp + 0x34], xmm1
movss dword [esp + 0x6c], xmm2
movss dword [esp + 0x1c], xmm2
movss dword [esp + 0x64], xmm0
mov eax, dword [ecx]
call dword [eax + 0x68]
mov eax, dword [0x7f2c88]
mov ecx, edi
movsd xmm0, qword [0x7b9a10]
mov dword [esp + 0xc], eax
movsd qword [esp + 0x20], xmm0
mov al, byte [esp + 0x20]
mov byte [esp + 0xf], al
push dword [esp + 0xc]
call fcn.005807f0
movss xmm1, dword [esp + 0x10]
lea edx, [esp + 0x70]
subss xmm1, dword [0x7b971c]
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x18]
movss dword [esp + 0x78], xmm0
movss dword [esp + 0x74], xmm1
movss dword [esp + 0x7c], xmm1
jmp 0x5b682d
movd xmm1, dword [esp + 0x3c]
lea edx, [esp + 0x80]
cvtdq2ps xmm1, xmm1
push edx
movss dword [esp + 0x84], xmm3
movaps xmm0, xmm1
movss dword [esp + 0x8c], xmm3
mulss xmm0, dword [0x7b9630]
mulss xmm1, dword [0x7b96d0]
movss dword [esp + 0x88], xmm0
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x90], xmm1
mov eax, dword [ecx]
movss dword [esp + 0x34], xmm1
call dword [eax + 0x68]
mov eax, dword [0x7f2c88]
mov ecx, edi
movsd xmm0, qword [0x7b9a10]
mov dword [esp + 0xc], eax
movsd qword [esp + 0x20], xmm0
mov al, byte [esp + 0x20]
mov byte [esp + 0xf], al
push dword [esp + 0xc]
call fcn.005807f0
movss xmm1, dword [esp + 0x10]
lea edx, [esp + 0x50]
subss xmm1, dword [0x7b971c]
movss xmm0, dword [esp + 0x18]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x50], xmm1
movss dword [esp + 0x58], xmm1
mov ecx, dword [edi + 4]
push edx
mov eax, dword [ecx]
call dword [eax + 0x68]
movss xmm1, dword [esp + 0x14]
test esi, esi
jns 0x5b6670
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x2c