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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x70
mov eax, dword [0x6ae4c0]
xor eax, esp
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 0x14], eax
mov ecx, dword [0x7008c8]
push edi
push dword [esi + 0x44]
push 0x3c
call fcn.004e97f0
mov eax, dword [esi + 0x5c]
cmp dword [eax + 0x24], 0
jne 0x4cb3e9
mov ecx, dword [0x736c54]
call fcn.0045a7a0
mov ecx, dword [esi + 0x5c]
mov edi, eax
movzx ecx, byte [ecx + 0x13]
dec ecx
cmp ecx, 4
ja case.0x4cafea.1
jmp dword [ecx*4 + 0x4cb894]
movss xmm0, dword [esi + 0x40]
mulss xmm0, dword [0x66d900]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x60], xmm0
call fcn.005cf820
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x14], xmm0
movsd xmm0, qword [esp + 0x60]
call fcn.005cfc70
movss xmm4, dword [esp + 0x14]
lea edi, [esi + 0xc]
cvtsd2ss xmm0, xmm0
xorps xmm2, xmm2
movaps xmm1, xmm4
movaps xmm3, xmm0
xorps xmm5, xmm5
xorps xmm3, xmmword [0x66db30]
jmp 0x4cb5b3
movss xmm5, dword [0x66d930]
xorps xmm6, xmm6
mov dword [esp + 0x48], 0
xorps xmm7, xmm7
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0x3f800000
movss xmm1, dword [edi + 0x58]
movss xmm0, dword [edi + 0x54]
mulss xmm1, xmm6
mulss xmm0, xmm6
subss xmm1, xmm0
comiss xmm6, xmm1
jbe 0x4cb0af
movss xmm7, dword [0x62c468]
movss xmm5, dword [0x66da60]
mov dword [esp + 0x48], closesocket
mov dword [esp + 0x4c], closesocket
mov dword [esp + 0x50], 0xbf800000
movss xmm3, dword [edi + 0x58]
lea eax, [esp + 0x54]
movss xmm4, dword [edi + 0x54]
movaps xmm2, xmm7
movaps xmm1, xmm5
mulss xmm2, xmm6
push eax
mulss xmm1, xmm3
push eax
movaps xmm0, xmm2
mulss xmm5, xmm4
subss xmm0, xmm1
subss xmm5, xmm2
movss dword [esp + 0x5c], xmm0
movaps xmm0, xmm7
mulss xmm0, xmm3
mulss xmm7, xmm4
movss dword [esp + 0x60], xmm5
subss xmm0, xmm7
movss dword [esp + 0x64], xmm0
call fcn.00401277
movss xmm0, dword [esi + 0x40]
ucomiss xmm0, dword [0x66d8ec]
lahf
test ah, 0x44
jnp 0x4cb213
mulss xmm0, dword [0x66d900]
movss dword [esp + 0x14], xmm0
cvtps2pd xmm0, xmm0
call fcn.005cfc70
movss xmm1, dword [esp + 0x14]
cvtsd2ss xmm0, xmm0
xorps xmm0, xmmword [0x66db30]
movss dword [esp + 0xc], xmm0
cvtps2pd xmm0, xmm1
call fcn.005cf820
movss xmm3, dword [esp + 0xc]
lea edi, [esi + 0xc]
mulss xmm3, dword [esp + 0x54]
xorps xmm4, xmm4
cvtsd2ss xmm4, xmm0
movss dword [esp + 0x10], xmm3
movaps xmm0, xmm4
movss xmm2, dword [esp + 0xc]
mulss xmm0, dword [esp + 0x48]
movaps xmm5, xmm4
mulss xmm5, dword [esp + 0x54]
movaps xmm6, xmm4
addss xmm3, xmm0
mulss xmm6, dword [esp + 0x58]
movaps xmm0, xmm4
movaps xmm7, xmm4
mulss xmm0, dword [esp + 0x4c]
mulss xmm4, dword [esp + 0x50]
movss dword [esp + 0x10], xmm3
movss xmm3, dword [esp + 0xc]
mulss xmm3, dword [esp + 0x58]
mulss xmm7, dword [esp + 0x5c]
addss xmm3, xmm0
movss xmm0, dword [esp + 0x10]
movss dword [esp + 0x14], xmm3
movss xmm3, dword [esp + 0xc]
mulss xmm3, dword [esp + 0x5c]
movss xmm1, dword [esp + 0x14]
addss xmm3, xmm4
movaps xmm4, xmm2
mulss xmm4, dword [esp + 0x48]
movss dword [esp + 0x1c], xmm3
subss xmm4, xmm5
movss xmm5, dword [esp + 0x1c]
movaps xmm3, xmm2
mulss xmm3, dword [esp + 0x4c]
mulss xmm2, dword [esp + 0x50]
subss xmm3, xmm6
subss xmm2, xmm7
jmp 0x4cb5b3
movss xmm5, dword [esp + 0x5c]
movss xmm1, dword [esp + 0x58]
movss xmm0, dword [esp + 0x54]
jmp 0x4cb3cf
movss xmm1, dword [esi + 0x40]
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x4cb299
movss xmm3, dword [edi + 0x64]
movss xmm2, dword [edi + 0x68]
movss xmm4, dword [edi + 0x60]
movss xmm0, dword [0x66db30]
xorps xmm4, xmm0
xorps xmm3, xmm0
xorps xmm2, xmm0
movss dword [esp + 0x48], xmm4
movss dword [esp + 0x4c], xmm3
movss dword [esp + 0x50], xmm2
movq xmm0, qword [edi + 0x48]
movq qword [esp + 0x54], xmm0
mov eax, dword [edi + 0x50]
lea edi, [esi + 0xc]
movss xmm1, dword [esp + 0x58]
movss xmm0, dword [esp + 0x54]
mov dword [esp + 0x5c], eax
movss xmm5, dword [esp + 0x5c]
jmp 0x4cb5b3
mulss xmm1, dword [0x66d900]
lea eax, [edi + 0x54]
push ecx
movss dword [esp], xmm1
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00402fa6
movss xmm1, dword [0x66db30]
lea eax, [esp + 0x60]
movss xmm0, dword [esp + 0x28]
xorps xmm0, xmm1
mov dword [esp + 0x6c], 0
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x2c]
xorps xmm0, xmm1
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x30]
xorps xmm0, xmm1
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [edi + 0x60]
xorps xmm0, xmm1
movss dword [esp + 0x60], xmm0
movss xmm0, dword [edi + 0x64]
push eax
xorps xmm0, xmm1
lea eax, [esp + 0x3c]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [edi + 0x68]
push eax
lea eax, [esp + 0x68]
xorps xmm0, xmm1
push eax
movss dword [esp + 0x74], xmm0
call fcn.00403122
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x64]
push eax
push eax
call fcn.00403122
movss xmm0, dword [esp + 0x60]
lea eax, [esp + 0x60]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x64]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [edi + 0x48]
push eax
movss dword [esp + 0x64], xmm0
lea eax, [esp + 0x3c]
movss xmm0, dword [edi + 0x4c]
push eax
movss dword [esp + 0x6c], xmm0
lea eax, [esp + 0x68]
movss xmm0, dword [edi + 0x50]
push eax
movss dword [esp + 0x74], xmm0
mov dword [esp + 0x78], 0
call fcn.00403122
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x64]
push eax
push eax
call fcn.00403122
movss xmm0, dword [esp + 0x60]
movss xmm1, dword [esp + 0x64]
movss xmm5, dword [esp + 0x68]
movss xmm4, dword [esp + 0x48]
lea edi, [esi + 0xc]
movss xmm3, dword [esp + 0x4c]
movss xmm2, dword [esp + 0x50]
jmp 0x4cb5b3
movss xmm2, dword [esi + 0xc]
lea edi, [esi + 0xc]
movss xmm0, dword [edi + 4]
movss xmm3, dword [edi + 8]
subss xmm2, dword [esi + 0x18]
subss xmm0, dword [esi + 0x1c]
subss xmm3, dword [esi + 0x20]
mov eax, dword [esp + 0x18]
movss dword [esp + 0x10], xmm2
movss dword [esp + 0x48], xmm2
movss dword [esp + 0xc], xmm0
movss dword [esp + 0x4c], xmm0
movss dword [esp + 0x14], xmm3
movss dword [esp + 0x50], xmm3
test eax, eax
je 0x4cb466
push eax
lea eax, [esp + 0x4c]
push eax
push eax
call fcn.0040159a
movss xmm3, dword [esp + 0x50]
movss xmm0, dword [esp + 0x4c]
movss xmm2, dword [esp + 0x48]
movss dword [esp + 0x14], xmm3
movss dword [esp + 0xc], xmm0
movss dword [esp + 0x10], xmm2
movaps xmm1, xmm0
mulss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm1, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm3
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x4cb495
sqrtsd xmm0, xmm0
jmp 0x4cb49a
call fcn.005cf720
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm1, xmm0
movss dword [esp + 0x1c], xmm1
lahf
test ah, 0x44
jp 0x4cb4cd
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0x3f800000
jmp 0x4cb51f
movaps xmm0, xmm1
addss xmm0, dword [0x66d930]
cvtps2pd xmm0, xmm0
call fcn.005cf9e0
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
addss xmm1, dword [0x66d930]
divss xmm1, dword [esp + 0x1c]
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0x10]
movss dword [esp + 0x48], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0xc]
mulss xmm1, dword [esp + 0x14]
movss dword [esp + 0x4c], xmm0
movss dword [esp + 0x50], xmm1
mov ecx, dword [0x736c54]
call fcn.0045a7a0
movss xmm4, dword [eax + 0x5c]
movss xmm6, dword [eax + 0x58]
movaps xmm2, xmm4
mulss xmm2, dword [esp + 0x4c]
movaps xmm0, xmm6
mulss xmm0, dword [esp + 0x50]
movss xmm5, dword [eax + 0x54]
lea eax, [esp + 0x54]
mulss xmm4, dword [esp + 0x48]
push eax
mulss xmm6, dword [esp + 0x4c]
subss xmm2, xmm0
push eax
movss dword [esp + 0x5c], xmm2
movaps xmm2, xmm5
mulss xmm2, dword [esp + 0x58]
mulss xmm5, dword [esp + 0x54]
subss xmm2, xmm4
subss xmm6, xmm5
movss dword [esp + 0x60], xmm2
movss dword [esp + 0x64], xmm6
call fcn.00401277
movss xmm2, dword [esp + 0x50]
movss xmm3, dword [esp + 0x4c]
movss xmm4, dword [esp + 0x48]
movss xmm5, dword [esp + 0x5c]
movss xmm1, dword [esp + 0x58]
movss xmm0, dword [esp + 0x54]
movss xmm7, dword [esi + 0x38]
mulss xmm7, dword [esi + 0x30]
mov ecx, dword [esp + 0x18]
xorps xmm7, xmmword [0x66db30]
movaps xmm6, xmm7
mulss xmm6, xmm0
movaps xmm0, xmm7
mulss xmm7, xmm5
movss xmm5, dword [esi + 0x3c]
mulss xmm5, dword [esi + 0x34]
movss dword [esp + 0x10], xmm6
movss dword [esp + 0x54], xmm6
mulss xmm0, xmm1
movaps xmm6, xmm5
mulss xmm6, xmm4
movaps xmm4, xmm5
mulss xmm4, xmm3
mulss xmm5, xmm2
movss dword [esp + 0xc], xmm0
movss dword [esp + 0x58], xmm0
movss dword [esp + 0x5c], xmm7
movss dword [esp + 0x48], xmm6
movss dword [esp + 0x4c], xmm4
movss dword [esp + 0x50], xmm5
test ecx, ecx
je 0x4cb784
mov eax, dword [esi + 0x5c]
cmp dword [eax + 0x20], 0
je 0x4cb784
push ecx
push edi
lea eax, [esp + 0x68]
push eax
call fcn.00401587
movss xmm4, dword [esp + 0x64]
movss xmm7, dword [esp + 0x4c]
movss xmm0, dword [esp + 0x60]
movss xmm3, dword [esp + 0x68]
movaps xmm5, xmm0
movss xmm6, dword [esp + 0x50]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x48]
movss dword [esp + 0x1c], xmm0
subss xmm5, xmm0
movss xmm0, dword [esp + 0x58]
movss dword [esp + 0x60], xmm3
subss xmm3, xmm6
movss dword [esp + 0xc], xmm0
movss dword [esp + 0x24], xmm4
subss xmm4, xmm7
movss dword [esp + 0x20], xmm7
movss xmm7, dword [esp + 0x54]
movaps xmm1, xmm3
movss dword [esp + 0x18], xmm7
movaps xmm2, xmm4
addss xmm2, xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x14], xmm0
addss xmm1, xmm0
movaps xmm0, xmm5
addss xmm0, xmm7
movss dword [esi + 0x74], xmm0
movss dword [esi + 0x78], xmm2
movss dword [esi + 0x7c], xmm1
movss xmm1, dword [esp + 0xc]
movss xmm0, dword [esp + 0x14]
subss xmm4, xmm1
subss xmm5, dword [esp + 0x18]
subss xmm3, xmm0
movss dword [esi + 0x88], xmm5
movss dword [esi + 0x8c], xmm4
movss xmm4, dword [esp + 0x24]
movss dword [esi + 0x90], xmm3
movss xmm2, dword [esp + 0x10]
addss xmm2, dword [esp + 0x1c]
addss xmm4, dword [esp + 0x20]
movss xmm5, dword [esp + 0x60]
movss xmm3, dword [esp + 0x18]
addss xmm5, xmm6
movss dword [esp + 0x10], xmm2
movss xmm6, dword [esp + 0x10]
movaps xmm2, xmm4
addss xmm2, xmm1
movaps xmm1, xmm5
addss xmm1, xmm0
movaps xmm0, xmm6
addss xmm0, xmm3
movss dword [esi + 0x9c], xmm0
movss dword [esi + 0xa0], xmm2
movss dword [esi + 0xa4], xmm1
subss xmm5, dword [esp + 0x14]
subss xmm4, dword [esp + 0xc]
jmp 0x4cb859
movss xmm3, dword [edi]
movss xmm1, dword [edi + 4]
movaps xmm0, xmm3
movss xmm2, dword [edi + 8]
subss xmm0, xmm6
subss xmm2, xmm5
subss xmm1, xmm4
addss xmm0, dword [esp + 0x10]
addss xmm2, xmm7
movss dword [esi + 0x74], xmm0
movaps xmm0, xmm3
addss xmm1, dword [esp + 0xc]
subss xmm0, xmm6
addss xmm6, xmm3
movss dword [esi + 0x78], xmm1
movss dword [esi + 0x7c], xmm2
subss xmm0, dword [esp + 0x10]
movss xmm1, dword [esi + 0x10]
movss xmm2, dword [esi + 0x14]
subss xmm1, xmm4
subss xmm2, xmm5
movss dword [esi + 0x88], xmm0
movaps xmm0, xmm6
subss xmm1, dword [esp + 0xc]
subss xmm2, xmm7
movss dword [esi + 0x8c], xmm1
movss dword [esi + 0x90], xmm2
movss xmm3, dword [esp + 0x10]
movss xmm2, dword [esi + 0x10]
addss xmm0, xmm3
addss xmm2, xmm4
movss dword [esi + 0x9c], xmm0
movaps xmm0, xmm5
addss xmm2, dword [esp + 0xc]
movss dword [esi + 0xa0], xmm2
addss xmm0, dword [esi + 0x14]
addss xmm0, xmm7
movss dword [esi + 0xa4], xmm0
addss xmm5, dword [esi + 0x14]
addss xmm4, dword [esi + 0x10]
subss xmm5, xmm7
subss xmm4, dword [esp + 0xc]
mov edi, 0xb0
subss xmm6, xmm3
mov edx, esi
lea eax, [esi + 0xb0]
mov ecx, 8
movss dword [edi + esi], xmm6
movss dword [edx + 0xb4], xmm4
movss dword [eax + ecx], xmm5
mov ecx, dword [esp + 0x74]
pop edi
pop esi
xor ecx, esp
call fcn.0057bdda
mov esp, ebp
pop ebp
ret 4