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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [ebx + 8]
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x2c], eax
call fcn.00496c90
mov eax, dword [esi + 8]
lea edx, [ebp - 4]
movq xmm0, qword [ebx + 0x18]
mov edi, dword [ebx + 0x20]
push 0
mov ecx, dword [eax]
push edx
push 0
push 0
push eax
movq qword [ebp - 0x38], xmm0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x18], edi
call dword [ecx + 0x2c]
movss xmm0, dword [0x56dd0c]
ucomiss xmm0, dword [esi + 0x1c]
lahf
test ah, 0x44
jp 0x4c6fbf
movss xmm0, dword [ebp - 0x20]
mov eax, 0x55555556
imul dword [esi]
movss xmm1, dword [0x56dc04]
movq xmm2, qword [ebp - 0x38]
movss dword [ebp - 0x24], xmm0
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x4c7112
movss xmm1, dword [esi + 0x18]
movss xmm4, dword [ebx + 0x18]
movss xmm3, dword [ebx + 0x20]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x4c7000
movss xmm0, dword [esi + 0x1c]
ucomiss xmm0, dword [ebx + 0x1c]
lahf
test ah, 0x44
jp 0x4c7000
movss xmm0, dword [esi + 0x20]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x4c7000
mov dword [esi + 0x14], 0
jmp 0x4c757a
subss xmm3, dword [esi + 0x20]
subss xmm4, xmm1
push ecx
movaps xmm0, xmm3
mulss xmm3, xmm3
mulss xmm0, dword [0x56dc4c]
movaps xmm2, xmm4
mulss xmm4, dword [0x56dc4c]
addss xmm0, dword [ebp - 0x18]
mulss xmm2, xmm2
addss xmm4, dword [ebp - 0x20]
addss xmm3, xmm2
movss dword [ebp - 0x18], xmm0
movss dword [ebp - 0x24], xmm4
movss dword [ebp - 0x20], xmm4
movss dword [esp], xmm3
call fcn.0044e490
fadd dword [esi + 0x14]
add esp, 4
xor eax, eax
fstp dword [ebp - 0x14]
movss xmm1, dword [ebp - 0x14]
comiss xmm1, dword [0x56dbc0]
movss dword [esi + 0x14], xmm1
jbe 0x4c709c
movq xmm2, qword [ebx + 0x18]
mov eax, 0x55555556
imul dword [esi]
movss xmm1, dword [0x56dc04]
movq qword [ebp - 0x20], xmm2
movss xmm0, dword [ebp - 0x20]
movss dword [ebp - 0x24], xmm0
mov edi, dword [ebx + 0x20]
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x4c710a
movd xmm0, dword [0x57fd38]
movss xmm3, dword [0x56dabc]
cvtdq2ps xmm0, xmm0
movaps xmm2, xmm3
movss xmm4, dword [0x56db70]
divss xmm2, xmm0
mulss xmm2, xmm4
comiss xmm1, xmm2
jbe 0x4c757a
nop dword [eax + eax]
movss xmm1, dword [esi + 0x14]
inc eax
subss xmm1, xmm2
movaps xmm2, xmm3
movss dword [esi + 0x14], xmm1
movd xmm0, dword [0x57fd38]
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
mulss xmm2, xmm4
comiss xmm1, xmm2
ja 0x4c70d0
mov edi, dword [ebp - 0x18]
movq xmm2, qword [ebp - 0x20]
movss xmm1, dword [0x56dbe4]
movq qword [ebp - 0x38], xmm2
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], eax
test eax, eax
jle 0x4c757a
movaps xmm0, xmm1
xorps xmm0, xmmword [0x56ded0]
subss xmm1, xmm0
movss dword [ebp - 0x14], xmm0
movss dword [ebp - 0x28], xmm1
mov eax, dword [esi + 4]
movq qword [ebp - 0x20], xmm2
mov dword [ebp - 0x18], edi
lea eax, [eax + eax*2]
add eax, eax
mov dword [ebp - 0x3c], eax
call fcn.0051780c
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x28]
divss xmm0, dword [0x56dc7c]
addss xmm0, dword [ebp - 0x14]
addss xmm0, dword [ebp - 0x24]
movss dword [ebp - 8], xmm0
call fcn.0051780c
movss xmm4, dword [ebp - 8]
movss xmm1, dword [0x56dbc4]
movaps xmm0, xmm4
divss xmm0, xmm1
movd xmm7, eax
cvtdq2ps xmm7, xmm7
cvttss2si edx, xmm0
mulss xmm7, dword [ebp - 0x28]
mov dword [ebp - 8], edx
divss xmm7, dword [0x56dc7c]
addss xmm7, dword [ebp - 0x14]
addss xmm7, dword [ebp - 0x18]
cmp edx, 2
jl 0x4c756b
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx + 0x108]
add eax, 0xfffffffe
cmp edx, eax
jge 0x4c756b
movaps xmm0, xmm7
divss xmm0, xmm1
cvttss2si edi, xmm0
cmp edi, 2
jl 0x4c7568
mov eax, dword [ecx + 0x10c]
sub eax, 2
cmp edi, eax
jge 0x4c7568
mov ecx, edi
test ecx, ecx
jns 0x4c71f9
add ecx, 0x7f
sar ecx, 7
mov eax, edx
test eax, eax
jns 0x4c7205
add eax, 0x7f
sar eax, 7
lea edx, [eax + ecx*2]
cmp edi, 0x7f
mov eax, dword [ebp - 8]
lea ecx, [edi - 0x80]
cmovle ecx, edi
add eax, 0xffffff80
imul ecx, dword [edx*8 + 0x5965f8]
cmp dword [ebp - 8], 0x7f
cmovle eax, dword [ebp - 8]
lea ecx, [ecx + eax*4]
mov eax, dword [edx*8 + 0x5965fc]
mov eax, dword [ecx + eax]
mov ecx, dword [ebp - 0x2c]
cmp eax, dword [ecx + 0x1a4]
je 0x4c7568
imul edi, dword [ecx + 0x108]
mov eax, dword [ebp - 8]
add edi, dword [ecx + 0x194]
cmp byte [edi + eax], 0x14
ja 0x4c7568
push ecx
movaps xmm2, xmm7
movaps xmm1, xmm4
call fcn.00498460
mov eax, dword [ebp - 4]
movaps xmm2, xmm0
mov edx, dword [ebp - 0x3c]
movaps xmm1, xmm4
subss xmm1, dword [esi + 0x10]
xorps xmm6, xmm6
movaps xmm3, xmm2
addss xmm3, xmm6
movaps xmm0, xmm4
lea ecx, [edx + edx*2]
movss dword [eax + ecx*8], xmm1
movaps xmm1, xmm7
mov eax, dword [ebp - 4]
addss xmm1, xmm6
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 [esi + 0x10]
mov eax, dword [ebp - 4]
movss dword [eax + ecx*8 + 0x18], xmm0
movss xmm0, dword [esi + 0x10]
mov eax, dword [ebp - 4]
mulss xmm0, dword [0x56db70]
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, [edx + edx*2]
movss xmm0, dword [esi + 0x10]
mov eax, dword [ebp - 4]
addss xmm0, xmm0
addss xmm0, xmm4
addss xmm4, xmm6
movss dword [eax + ecx*8 + 0x30], xmm0
movaps xmm0, xmm7
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 [esi + 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, [edx + edx*2]
mov eax, dword [ebp - 4]
movss dword [eax + ecx*8 + 0x60], xmm4
movss xmm0, dword [esi + 0x10]
mulss xmm0, dword [0x56db70]
mov eax, dword [ebp - 4]
addss xmm0, xmm2
movss dword [eax + ecx*8 + 0x64], xmm0
mov edi, 0x3f000000
mov eax, dword [ebp - 4]
movaps xmm0, xmm7
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 8], 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 [esi + 0x10]
mov eax, dword [ebp - 4]
addss xmm0, xmm0
addss xmm0, xmm7
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 + eax]
sub edx, 1
jns 0x4c7481
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea edx, [eax*2 - 1]
mov eax, dword [ebp - 4]
lea ecx, [edx + edx*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [ebp - 4]
or dword [eax + ecx*8 + 0xc], edi
sub edx, 1
jns 0x4c74a4
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea edx, [eax*2 - 1]
mov eax, dword [ebp - 4]
lea ecx, [edx + edx*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [ebp - 4]
or dword [eax + ecx*8 + 0xc], edi
sub edx, 1
jns 0x4c74c7
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea edx, [eax*2 - 1]
mov eax, dword [ebp - 4]
lea ecx, [edx + edx*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [ebp - 4]
or dword [eax + ecx*8 + 0xc], edi
sub edx, 1
jns 0x4c74ea
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea edx, [eax*2 - 1]
mov eax, dword [ebp - 4]
lea ecx, [edx + edx*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [ebp - 4]
or dword [eax + ecx*8 + 0xc], edi
sub edx, 1
jns 0x4c750d
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea edx, [eax*2 - 1]
mov eax, dword [ebp - 4]
lea ecx, [edx + edx*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [ebp - 4]
or dword [eax + ecx*8 + 0xc], edi
sub edx, 1
jns 0x4c7530
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea edx, [eax*2 - 1]
mov eax, dword [ebp - 4]
lea ecx, [edx + edx*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [ebp - 4]
or dword [eax + ecx*8 + 0xc], edi
add edi, 0x3f000000
sub dword [ebp - 8], 1
jne 0x4c7470
inc dword [esi + 4]
mov eax, dword [esi + 4]
mov edi, dword [ebp - 0xc]
cmp eax, dword [esi]
jl 0x4c756b
mov dword [esi + 4], 0
jmp 0x4c756b
mov edi, dword [ebp - 0xc]
sub dword [ebp - 0x10], 1
movq xmm2, qword [ebp - 0x38]
jne 0x4c7135
mov eax, dword [esi + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
movq xmm0, qword [ebx + 0x18]
mov eax, dword [ebx + 0x20]
movq qword [esi + 0x18], xmm0
mov dword [esi + 0x20], eax
call fcn.00496d80
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x1c