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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push edi
mov edi, ecx
call fcn.004fd830
mov eax, dword [ebp + 0x20]
lea edx, [ebp - 4]
movq xmm0, qword [ebp + 0x18]
push 0
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 8]
push edx
push 0
push 0
mov ecx, dword [eax]
push eax
movq qword [ebp - 0x30], xmm0
call dword [ecx + 0x2c]
movss xmm0, dword [0x5df544]
ucomiss xmm0, dword [edi + 0x1c]
lahf
test ah, 0x44
jp 0x52a772
movss xmm1, dword [ebp - 0x28]
mov eax, 0x55555556
imul dword [edi]
movss xmm0, dword [0x5d63c8]
movss dword [ebp - 0x10], xmm1
movss xmm1, dword [ebp - 0x30]
movss dword [ebp - 0xc], xmm1
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x52a89d
movss xmm5, dword [edi + 0x18]
movss xmm4, dword [ebp + 0x18]
movss xmm3, dword [ebp + 0x20]
ucomiss xmm5, xmm4
lahf
test ah, 0x44
jp 0x52a7b3
movss xmm0, dword [edi + 0x1c]
ucomiss xmm0, dword [ebp + 0x1c]
lahf
test ah, 0x44
jp 0x52a7b3
movss xmm0, dword [edi + 0x20]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x52a7b3
mov dword [edi + 0x14], 0
jmp 0x52ac6e
movaps xmm1, xmm4
movaps xmm2, xmm3
subss xmm1, xmm5
sub esp, 0x10
mulss xmm1, dword [0x5d63d8]
addss xmm1, dword [ebp - 0x30]
movss dword [ebp - 0xc], xmm1
movss xmm1, dword [edi + 0x20]
subss xmm2, xmm1
movss dword [esp + 0xc], xmm1
movss dword [esp + 8], xmm5
movss dword [esp + 4], xmm3
movss dword [esp], xmm4
mulss xmm2, dword [0x5d63d8]
addss xmm2, dword [ebp - 0x28]
movss dword [ebp - 0x10], xmm2
call fcn.0044d2a0
fstp dword [ebp - 0x20]
movss xmm2, dword [ebp - 0x20]
add esp, 0x10
addss xmm2, dword [edi + 0x14]
xor eax, eax
comiss xmm2, dword [0x5e5044]
movss dword [edi + 0x14], xmm2
jbe 0x52a83e
movq xmm0, qword [ebp + 0x18]
mov eax, dword [ebp + 0x20]
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x28], eax
jmp 0x52a743
movd xmm0, dword [0x6114ac]
movss xmm3, dword [0x5d6314]
cvtdq2ps xmm0, xmm0
movaps xmm1, xmm3
movss xmm4, dword [0x5d3018]
divss xmm1, xmm0
mulss xmm1, xmm4
comiss xmm2, xmm1
jbe 0x52ac6e
nop dword [eax]
subss xmm2, xmm1
inc eax
movaps xmm1, xmm3
movss dword [edi + 0x14], xmm2
movd xmm0, dword [0x6114ac]
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
mulss xmm1, xmm4
comiss xmm2, xmm1
ja 0x52a870
movss xmm0, dword [0x5d25e8]
mov dword [ebp - 8], eax
test eax, eax
jle 0x52ac6e
movaps xmm1, xmm0
xorps xmm1, xmmword [0x5d2e70]
subss xmm0, xmm1
movss dword [ebp - 0x1c], xmm1
push esi
movss dword [ebp - 0x18], xmm0
mov eax, dword [edi + 4]
lea esi, [eax + eax*2]
add esi, esi
call fcn.00567e12
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x18]
divss xmm0, dword [0x5d25f0]
addss xmm0, dword [ebp - 0x1c]
addss xmm0, dword [ebp - 0xc]
movss dword [ebp - 0x14], xmm0
call fcn.00567e12
mov ecx, dword [ebp + 8]
sub esp, 8
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x18]
divss xmm0, dword [0x5d25f0]
addss xmm0, dword [ebp - 0x1c]
addss xmm0, dword [ebp - 0x10]
movss dword [esp + 4], xmm0
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [ebp - 0x14]
movss dword [esp], xmm0
call fcn.004fcfc0
test eax, eax
je 0x52ac63
movss xmm0, dword [ebp - 0x20]
mov ecx, dword [ebp + 8]
push 0
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x14]
movss dword [esp], xmm0
call fcn.004fd050
mov eax, dword [ebp - 4]
lea ecx, [esi + esi*2]
movss xmm4, dword [ebp - 0x14]
xorps xmm7, xmm7
movss xmm5, dword [ebp - 0x20]
movaps xmm0, xmm4
subss xmm0, dword [edi + 0x10]
fstp dword [ebp - 0x24]
movss xmm2, dword [ebp - 0x24]
movaps xmm1, xmm5
movaps xmm3, xmm2
addss xmm1, xmm7
addss xmm3, xmm7
movss dword [eax + ecx*8], xmm0
movaps xmm0, xmm4
mov eax, dword [ebp - 4]
movss dword [eax + ecx*8 + 4], xmm3
mov eax, dword [ebp - 4]
movss dword [eax + ecx*8 + 8], xmm1
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0xc], 0xffffff
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x10], 0
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x14], 0x3f800000
subss xmm0, dword [edi + 0x10]
mov eax, dword [ebp - 4]
movss dword [eax + ecx*8 + 0x18], xmm0
movss xmm0, dword [edi + 0x10]
mov eax, dword [ebp - 4]
mulss xmm0, dword [0x5d3018]
addss xmm0, xmm2
movss dword [eax + ecx*8 + 0x1c], xmm0
mov eax, dword [ebp - 4]
movss dword [eax + ecx*8 + 0x20], xmm1
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x24], 0xffffff
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x28], 0
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x2c], 0
lea ecx, [esi + esi*2]
movss xmm0, dword [edi + 0x10]
mov eax, dword [ebp - 4]
addss xmm0, xmm0
addss xmm0, xmm4
addss xmm4, xmm7
movss dword [eax + ecx*8 + 0x30], xmm0
movaps xmm0, xmm5
mov eax, dword [ebp - 4]
movss dword [eax + ecx*8 + 0x34], xmm3
mov eax, dword [ebp - 4]
movss dword [eax + ecx*8 + 0x38], xmm1
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x3c], 0xffffff
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x40], 0x3f800000
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x44], 0x3f800000
mov eax, dword [ebp - 4]
movss dword [eax + ecx*8 + 0x48], xmm4
mov eax, dword [ebp - 4]
movss dword [eax + ecx*8 + 0x4c], xmm3
subss xmm0, dword [edi + 0x10]
mov eax, dword [ebp - 4]
movss dword [eax + ecx*8 + 0x50], xmm0
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x54], 0xffffff
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x58], 0
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x5c], 0x3f800000
lea ecx, [esi + esi*2]
mov eax, dword [ebp - 4]
mov edx, 0x3f000000
mov dword [ebp - 0x20], 4
movss dword [eax + ecx*8 + 0x60], xmm4
movss xmm0, dword [edi + 0x10]
mulss xmm0, dword [0x5d3018]
mov eax, dword [ebp - 4]
addss xmm0, xmm2
movss dword [eax + ecx*8 + 0x64], xmm0
movaps xmm0, xmm5
subss xmm0, dword [edi + 0x10]
mov eax, dword [ebp - 4]
movss dword [eax + ecx*8 + 0x68], xmm0
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x6c], 0xffffff
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x70], 0
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x74], 0
mov eax, dword [ebp - 4]
movss dword [eax + ecx*8 + 0x78], xmm4
mov eax, dword [ebp - 4]
movss dword [eax + ecx*8 + 0x7c], xmm3
movss xmm0, dword [edi + 0x10]
mov eax, dword [ebp - 4]
addss xmm0, xmm0
addss xmm0, xmm5
movss dword [eax + ecx*8 + 0x80], xmm0
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x84], 0xffffff
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x88], 0x3f800000
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x8c], 0x3f800000
nop dword [eax]
sub esi, 1
jns 0x52ab81
mov eax, dword [edi]
lea eax, [eax + eax*2]
lea esi, [eax*2 - 1]
mov eax, dword [ebp - 4]
lea ecx, [esi + esi*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [ebp - 4]
or dword [eax + ecx*8 + 0xc], edx
sub esi, 1
jns 0x52aba4
mov eax, dword [edi]
lea eax, [eax + eax*2]
lea esi, [eax*2 - 1]
mov eax, dword [ebp - 4]
lea ecx, [esi + esi*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [ebp - 4]
or dword [eax + ecx*8 + 0xc], edx
sub esi, 1
jns 0x52abc7
mov eax, dword [edi]
lea eax, [eax + eax*2]
lea esi, [eax*2 - 1]
mov eax, dword [ebp - 4]
lea ecx, [esi + esi*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [ebp - 4]
or dword [eax + ecx*8 + 0xc], edx
sub esi, 1
jns 0x52abea
mov eax, dword [edi]
lea eax, [eax + eax*2]
lea esi, [eax*2 - 1]
mov eax, dword [ebp - 4]
lea ecx, [esi + esi*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [ebp - 4]
or dword [eax + ecx*8 + 0xc], edx
sub esi, 1
jns 0x52ac0d
mov eax, dword [edi]
lea eax, [eax + eax*2]
lea esi, [eax*2 - 1]
mov eax, dword [ebp - 4]
lea ecx, [esi + esi*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [ebp - 4]
or dword [eax + ecx*8 + 0xc], edx
sub esi, 1
jns 0x52ac30
mov eax, dword [edi]
lea eax, [eax + eax*2]
lea esi, [eax*2 - 1]
mov eax, dword [ebp - 4]
lea ecx, [esi + esi*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [ebp - 4]
or dword [eax + ecx*8 + 0xc], edx
add edx, 0x3f000000
sub dword [ebp - 0x20], 1
jne 0x52ab70
inc dword [edi + 4]
mov eax, dword [edi + 4]
cmp eax, dword [edi]
jl 0x52ac63
mov dword [edi + 4], 0
sub dword [ebp - 8], 1
jne 0x52a8c1
pop esi
mov eax, dword [edi + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
movq xmm0, qword [ebp + 0x18]
mov eax, dword [ebp + 0x20]
movq qword [edi + 0x18], xmm0
mov dword [edi + 0x20], eax
call fcn.004f9bf0
pop edi
mov esp, ebp
pop ebp
ret 0x1c