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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x30], eax
call fcn.004fd240
mov eax, dword [ebp + 0x20]
lea edx, [ebp - 4]
movq xmm0, qword [ebp + 0x18]
push 0
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 8]
push edx
push 0
push 0
mov ecx, dword [eax]
push eax
movq qword [ebp - 0x38], xmm0
movq qword [ebp - 0x1c], xmm0
call dword [ecx + 0x2c]
movss xmm0, dword [0x5dc5fc]
lea ecx, [edi + 0x18]
ucomiss xmm0, dword [edi + 0x1c]
lahf
test ah, 0x44
jp 0x52a105
movss xmm1, dword [ebp - 0x1c]
mov eax, 0x55555556
imul dword [edi]
movss xmm0, dword [0x5d33a8]
movq xmm2, qword [ebp - 0x38]
movss dword [ebp - 0x20], xmm1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
jmp 0x52a270
movss xmm5, dword [ecx]
mov esi, ecx
movss xmm4, dword [ebp + 0x18]
movss xmm3, dword [ebp + 0x20]
ucomiss xmm5, xmm4
lahf
test ah, 0x44
jp 0x52a147
movss xmm0, dword [ecx + 4]
ucomiss xmm0, dword [ebp + 0x1c]
lahf
test ah, 0x44
jp 0x52a147
movss xmm0, dword [ecx + 8]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x52a147
mov dword [edi + 0x14], 0
jmp 0x52a659
movss xmm2, dword [edi + 0x20]
movaps xmm0, xmm4
subss xmm0, xmm5
sub esp, 0x10
movss dword [esp + 0xc], xmm2
mulss xmm0, dword [0x5d33b8]
movss dword [esp + 8], xmm5
movss dword [esp + 4], xmm3
addss xmm0, dword [ebp - 0x1c]
movss dword [esp], xmm4
movss dword [ebp - 0x20], xmm0
movss dword [ebp - 0x1c], xmm0
movaps xmm0, xmm3
subss xmm0, xmm2
mulss xmm0, dword [0x5d33b8]
addss xmm0, dword [ebp - 0x14]
movss dword [ebp - 0x14], xmm0
call fcn.0044d250
fstp dword [ebp - 8]
movss xmm2, dword [ebp - 8]
xor eax, eax
addss xmm2, dword [edi + 0x14]
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ecx, esi
comiss xmm2, dword [0x5e20f4]
movss dword [edi + 0x14], xmm2
jbe 0x52a1ff
mov eax, dword [ebp + 0x20]
movq xmm2, qword [ebp + 0x18]
movss xmm0, dword [0x5d33a8]
mov dword [ebp - 0xc], eax
mov eax, 0x55555556
imul dword [edi]
movq qword [ebp - 0x1c], xmm2
movss xmm1, dword [ebp - 0x1c]
movss dword [ebp - 0x20], xmm1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
jmp 0x52a26b
movd xmm0, dword [0x60d4ac]
movss xmm3, dword [0x5d3304]
cvtdq2ps xmm0, xmm0
movaps xmm1, xmm3
movss xmm4, dword [0x5cfff8]
divss xmm1, xmm0
mulss xmm1, xmm4
comiss xmm2, xmm1
jbe 0x52a258
nop word [eax + eax]
subss xmm2, xmm1
inc eax
movaps xmm1, xmm3
movss dword [edi + 0x14], xmm2
movd xmm0, dword [0x60d4ac]
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
mulss xmm1, xmm4
comiss xmm2, xmm1
ja 0x52a230
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x14]
movss xmm0, dword [0x5cf5c8]
movq xmm2, qword [ebp - 0x1c]
mov dword [ebp - 0xc], edx
movq qword [ebp - 0x38], xmm2
mov esi, ecx
test eax, eax
jle 0x52a659
movaps xmm1, xmm0
xorps xmm1, xmmword [0x5cfe50]
subss xmm0, xmm1
movss dword [ebp - 0x2c], xmm1
movss dword [ebp - 0x28], xmm0
mov eax, dword [edi + 4]
movq qword [ebp - 0x1c], xmm2
mov dword [ebp - 0x14], edx
lea esi, [eax + eax*2]
add esi, esi
call fcn.00565cd7
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x28]
divss xmm0, dword [0x5cf5d0]
addss xmm0, dword [ebp - 0x2c]
addss xmm0, dword [ebp - 0x20]
movss dword [ebp - 0x24], xmm0
call fcn.00565cd7
mov ecx, dword [ebp - 0x30]
sub esp, 8
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x28]
divss xmm0, dword [0x5cf5d0]
addss xmm0, dword [ebp - 0x2c]
addss xmm0, dword [ebp - 0x14]
movss dword [esp + 4], xmm0
movss dword [ebp - 8], xmm0
movss xmm0, dword [ebp - 0x24]
movss dword [esp], xmm0
call fcn.004fc9e0
test eax, eax
je 0x52a644
movss xmm0, dword [ebp - 8]
mov ecx, dword [ebp - 0x30]
push 0
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x24]
movss dword [esp], xmm0
call fcn.004fca70
mov eax, dword [ebp - 4]
lea ecx, [esi + esi*2]
movss xmm4, dword [ebp - 0x24]
xorps xmm7, xmm7
movss xmm5, dword [ebp - 8]
movaps xmm0, xmm4
subss xmm0, dword [edi + 0x10]
fstp dword [ebp - 0x18]
movss xmm2, dword [ebp - 0x18]
movaps xmm1, xmm5
movaps xmm3, xmm2
addss xmm1, xmm7
addss xmm3, xmm7
movss dword [eax + ecx*8], xmm0
movaps xmm0, xmm5
mov eax, dword [ebp - 4]
addss xmm0, xmm7
movss dword [eax + ecx*8 + 4], xmm3
mov eax, dword [ebp - 4]
movss dword [eax + ecx*8 + 8], xmm0
movaps xmm0, xmm4
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 [0x5cfff8]
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
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
movaps xmm1, xmm4
mov eax, dword [ebp - 4]
addss xmm4, xmm7
addss xmm1, xmm7
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 edx, 0x3f000000
mov eax, dword [ebp - 4]
mov dword [ebp - 8], 4
mov dword [eax + ecx*8 + 0x5c], 0x3f800000
lea ecx, [esi + esi*2]
mov eax, dword [ebp - 4]
movss dword [eax + ecx*8 + 0x60], xmm1
movss xmm0, dword [edi + 0x10]
mulss xmm0, dword [0x5cfff8]
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], xmm1
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
sub esi, 1
jns 0x52a561
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 0x52a584
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 0x52a5a7
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 0x52a5ca
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 0x52a5ed
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 0x52a610
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 - 8], 1
jne 0x52a550
inc dword [edi + 4]
xor edx, edx
mov eax, dword [edi + 4]
mov ecx, eax
cmp eax, dword [edi]
cmovge ecx, edx
mov dword [edi + 4], ecx
sub dword [ebp - 0x10], 1
movq xmm2, qword [ebp - 0x38]
mov edx, dword [ebp - 0xc]
jne 0x52a292
lea esi, [edi + 0x18]
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 [esi], xmm0
mov dword [esi + 8], eax
call fcn.004f9680
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c