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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
push esi
push edi
mov edi, ecx
call fcn.004965c0
mov eax, dword [ebp + 0x20]
lea edx, [esp + 0xc]
movq xmm0, qword [ebp + 0x18]
push 0
mov dword [esp + 0x38], eax
mov eax, dword [edi + 8]
push edx
push 0
push 0
mov ecx, dword [eax]
push eax
movq qword [esp + 0x40], xmm0
call dword [ecx + 0x2c]
movss xmm0, dword [0x5815c0]
ucomiss xmm0, dword [edi + 0x1c]
lahf
test ah, 0x44
jp 0x4c44cd
movss xmm1, dword [esp + 0x34]
mov eax, 0x55555556
imul dword [edi]
movss xmm0, dword [0x5814a8]
movss dword [esp + 0x18], xmm1
movss xmm1, dword [esp + 0x2c]
movss dword [esp + 0x14], xmm1
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x4c45dd
movss xmm2, dword [edi + 0x18]
movss xmm5, dword [ebp + 0x18]
movss xmm1, dword [ebp + 0x20]
ucomiss xmm2, xmm5
lahf
test ah, 0x44
jp 0x4c450e
movss xmm0, dword [edi + 0x1c]
ucomiss xmm0, dword [ebp + 0x1c]
lahf
test ah, 0x44
jp 0x4c450e
movss xmm0, dword [edi + 0x20]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x4c450e
mov dword [edi + 0x14], 0
jmp 0x4c4a30
movss xmm3, dword [edi + 0x20]
movaps xmm0, xmm5
subss xmm0, xmm2
mulss xmm0, dword [0x581500]
addss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x14], xmm0
movaps xmm0, xmm1
subss xmm0, xmm3
mulss xmm0, dword [0x581500]
addss xmm0, dword [esp + 0x34]
movss dword [esp + 0x18], xmm0
movaps xmm0, xmm5
call fcn.0044da40
movaps xmm2, xmm0
xor eax, eax
addss xmm2, dword [edi + 0x14]
comiss xmm2, dword [0x581468]
movss dword [edi + 0x14], xmm2
jbe 0x4c4580
movq xmm0, qword [ebp + 0x18]
mov eax, dword [ebp + 0x20]
movq qword [esp + 0x2c], xmm0
mov dword [esp + 0x34], eax
jmp 0x4c449a
movd xmm0, dword [0x593f90]
movss xmm3, dword [0x5812e4]
cvtdq2ps xmm0, xmm0
movaps xmm1, xmm3
movss xmm4, dword [0x581410]
divss xmm1, xmm0
mulss xmm1, xmm4
comiss xmm2, xmm1
jbe 0x4c4a30
nop
subss xmm2, xmm1
inc eax
movaps xmm1, xmm3
movss dword [edi + 0x14], xmm2
movd xmm0, dword [0x593f90]
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
mulss xmm1, xmm4
comiss xmm2, xmm1
ja 0x4c45b0
movss xmm0, dword [0x581488]
mov dword [esp + 0x10], eax
test eax, eax
jle 0x4c4a30
movaps xmm1, xmm0
xorps xmm1, xmmword [0x5817d0]
subss xmm0, xmm1
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x1c], xmm0
mov eax, dword [edi + 4]
lea esi, [eax + eax*2]
add esi, esi
call fcn.0052ab4e
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x1c]
divss xmm0, dword [0x58153c]
addss xmm0, dword [esp + 0x20]
addss xmm0, dword [esp + 0x14]
movss dword [esp + 0x24], xmm0
call fcn.0052ab4e
movss xmm4, dword [esp + 0x24]
movss xmm1, dword [0x58146c]
movaps xmm0, xmm4
divss xmm0, xmm1
movd xmm7, eax
cvtdq2ps xmm7, xmm7
cvttss2si ecx, xmm0
mulss xmm7, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
divss xmm7, dword [0x58153c]
addss xmm7, dword [esp + 0x20]
addss xmm7, dword [esp + 0x18]
cmp ecx, 2
jl 0x4c4a25
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x108]
add eax, 0xfffffffe
cmp ecx, eax
jge 0x4c4a25
movaps xmm0, xmm7
divss xmm0, xmm1
cvttss2si edx, xmm0
mov dword [esp + 0x24], edx
cmp edx, 2
jl 0x4c4a25
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10c]
sub eax, 2
cmp edx, eax
jge 0x4c4a25
call fcn.00496730
mov edx, dword [ebp + 8]
cmp eax, dword [edx + 0x1a4]
je 0x4c4a25
mov eax, dword [esp + 0x24]
imul eax, dword [edx + 0x108]
mov ecx, dword [esp + 0x28]
add eax, dword [edx + 0x194]
cmp byte [eax + ecx], 0x14
ja 0x4c4a25
push ecx
movaps xmm2, xmm7
movaps xmm1, xmm4
mov ecx, edx
call fcn.00497cd0
mov eax, dword [esp + 0xc]
lea ecx, [esi + esi*2]
movaps xmm2, xmm0
movaps xmm1, xmm4
subss xmm1, dword [edi + 0x10]
xorps xmm6, xmm6
movaps xmm3, xmm2
addss xmm3, xmm6
movaps xmm0, xmm4
movss dword [eax + ecx*8], xmm1
movaps xmm1, xmm7
mov eax, dword [esp + 0xc]
addss xmm1, xmm6
movss dword [eax + ecx*8 + 4], xmm3
mov eax, dword [esp + 0xc]
movss dword [eax + ecx*8 + 8], xmm1
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0xc], 0xffffff
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x10], 0
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x14], 0x3f800000
subss xmm0, dword [edi + 0x10]
mov eax, dword [esp + 0xc]
movss dword [eax + ecx*8 + 0x18], xmm0
movss xmm0, dword [edi + 0x10]
mov eax, dword [esp + 0xc]
mulss xmm0, dword [0x581410]
addss xmm0, xmm2
movss dword [eax + ecx*8 + 0x1c], xmm0
mov eax, dword [esp + 0xc]
movss dword [eax + ecx*8 + 0x20], xmm1
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x24], 0xffffff
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x28], 0
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x2c], 0
lea ecx, [esi + esi*2]
movss xmm0, dword [edi + 0x10]
mov eax, dword [esp + 0xc]
addss xmm0, xmm0
addss xmm0, xmm4
addss xmm4, xmm6
movss dword [eax + ecx*8 + 0x30], xmm0
movaps xmm0, xmm7
mov eax, dword [esp + 0xc]
movss dword [eax + ecx*8 + 0x34], xmm3
mov eax, dword [esp + 0xc]
movss dword [eax + ecx*8 + 0x38], xmm1
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x3c], 0xffffff
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x40], 0x3f800000
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x44], 0x3f800000
mov eax, dword [esp + 0xc]
movss dword [eax + ecx*8 + 0x48], xmm4
mov eax, dword [esp + 0xc]
movss dword [eax + ecx*8 + 0x4c], xmm3
subss xmm0, dword [edi + 0x10]
mov eax, dword [esp + 0xc]
movss dword [eax + ecx*8 + 0x50], xmm0
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x54], 0xffffff
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x58], 0
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x5c], 0x3f800000
lea ecx, [esi + esi*2]
mov eax, dword [esp + 0xc]
movss dword [eax + ecx*8 + 0x60], xmm4
movss xmm0, dword [edi + 0x10]
mulss xmm0, dword [0x581410]
mov eax, dword [esp + 0xc]
addss xmm0, xmm2
movss dword [eax + ecx*8 + 0x64], xmm0
mov edx, 0x3f000000
mov eax, dword [esp + 0xc]
movaps xmm0, xmm7
subss xmm0, dword [edi + 0x10]
mov dword [esp + 0x24], 4
movss dword [eax + ecx*8 + 0x68], xmm0
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x6c], 0xffffff
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x70], 0
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x74], 0
mov eax, dword [esp + 0xc]
movss dword [eax + ecx*8 + 0x78], xmm4
mov eax, dword [esp + 0xc]
movss dword [eax + ecx*8 + 0x7c], xmm3
movss xmm0, dword [edi + 0x10]
mov eax, dword [esp + 0xc]
addss xmm0, xmm0
addss xmm0, xmm7
movss dword [eax + ecx*8 + 0x80], xmm0
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x84], 0xffffff
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x88], 0x3f800000
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x8c], 0x3f800000
sub esi, 1
jns 0x4c4936
mov eax, dword [edi]
lea eax, [eax + eax*2]
lea esi, [eax*2 - 1]
mov eax, dword [esp + 0xc]
lea ecx, [esi + esi*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [esp + 0xc]
or dword [eax + ecx*8 + 0xc], edx
sub esi, 1
jns 0x4c495b
mov eax, dword [edi]
lea eax, [eax + eax*2]
lea esi, [eax*2 - 1]
mov eax, dword [esp + 0xc]
lea ecx, [esi + esi*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [esp + 0xc]
or dword [eax + ecx*8 + 0xc], edx
sub esi, 1
jns 0x4c4980
mov eax, dword [edi]
lea eax, [eax + eax*2]
lea esi, [eax*2 - 1]
mov eax, dword [esp + 0xc]
lea ecx, [esi + esi*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [esp + 0xc]
or dword [eax + ecx*8 + 0xc], edx
sub esi, 1
jns 0x4c49a5
mov eax, dword [edi]
lea eax, [eax + eax*2]
lea esi, [eax*2 - 1]
mov eax, dword [esp + 0xc]
lea ecx, [esi + esi*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [esp + 0xc]
or dword [eax + ecx*8 + 0xc], edx
sub esi, 1
jns 0x4c49ca
mov eax, dword [edi]
lea eax, [eax + eax*2]
lea esi, [eax*2 - 1]
mov eax, dword [esp + 0xc]
lea ecx, [esi + esi*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [esp + 0xc]
or dword [eax + ecx*8 + 0xc], edx
sub esi, 1
jns 0x4c49ef
mov eax, dword [edi]
lea eax, [eax + eax*2]
lea esi, [eax*2 - 1]
mov eax, dword [esp + 0xc]
lea ecx, [esi + esi*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [esp + 0xc]
or dword [eax + ecx*8 + 0xc], edx
add edx, 0x3f000000
sub dword [esp + 0x24], 1
jne 0x4c4925
inc dword [edi + 4]
mov eax, dword [edi + 4]
cmp eax, dword [edi]
jl 0x4c4a25
mov dword [edi + 4], 0
sub dword [esp + 0x10], 1
jne 0x4c4603
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.00496690
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c