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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [0x6b93c0]
xor eax, esp
mov dword [esp + 0x8c], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 0x18], eax
mov ecx, dword [0x70a7c4]
push edi
push dword [esi + 0x44]
push 0x3c
call fcn.004de3e0
mov eax, dword [esi + 0x5c]
cmp dword [eax + 0x24], 0
jne 0x4c15c5
mov ecx, dword [0x70b344]
call fcn.00453c60
mov ecx, dword [esi + 0x5c]
mov edi, eax
movzx ecx, byte [ecx + 0x13]
dec ecx
cmp ecx, 4
ja case.0x4c1280.1
jmp dword [ecx*4 + 0x4c1b4c]
movss xmm0, dword [esi + 0x40]
mulss xmm0, dword [0x676620]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x40], xmm0
call fcn.005d6800
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x10], xmm0
movsd xmm0, qword [esp + 0x40]
call fcn.005d6c50
movss xmm5, dword [esp + 0x10]
lea edi, [esi + 0xc]
xorps xmm6, xmm6
mov dword [esp + 0x3c], 0
cvtsd2ss xmm6, xmm0
movaps xmm0, xmm5
xorps xmm3, xmm3
movaps xmm4, xmm6
movss dword [esp + 0x18], xmm6
xorps xmm4, xmmword [0x676840]
movss dword [esp + 0xc], xmm0
jmp 0x4c1797
movss xmm6, dword [0x676650]
xorps xmm5, xmm5
mov dword [esp + 0x28], 0
xorps xmm7, xmm7
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0x3f800000
movss xmm1, dword [edi + 0x58]
movss xmm0, dword [edi + 0x54]
mulss xmm1, xmm5
mulss xmm0, xmm5
subss xmm1, xmm0
comiss xmm5, xmm1
jbe 0x4c1359
movss xmm7, dword [0x636448]
movss xmm6, dword [0x676754]
mov dword [esp + 0x28], closesocket
mov dword [esp + 0x2c], closesocket
mov dword [esp + 0x30], 0xbf800000
movss xmm3, dword [edi + 0x58]
lea eax, [esp + 0x34]
movss xmm4, dword [edi + 0x54]
movaps xmm2, xmm7
movaps xmm1, xmm6
mulss xmm2, xmm5
push eax
mulss xmm1, xmm3
push eax
movaps xmm0, xmm2
mulss xmm6, xmm4
subss xmm0, xmm1
subss xmm6, xmm2
movss dword [esp + 0x3c], xmm0
movaps xmm0, xmm7
mulss xmm0, xmm3
mulss xmm7, xmm4
movss dword [esp + 0x40], xmm6
subss xmm0, xmm7
movss dword [esp + 0x44], xmm0
call fcn.00401277
movss xmm0, dword [esi + 0x40]
ucomiss xmm0, dword [0x676614]
lahf
test ah, 0x44
jnp 0x4c158d
mulss xmm0, dword [0x676620]
movss dword [esp + 8], xmm0
cvtps2pd xmm0, xmm0
call fcn.005d6c50
movss xmm1, dword [esp + 8]
cvtsd2ss xmm0, xmm0
xorps xmm0, xmmword [0x676840]
movss dword [esp + 0x14], xmm0
cvtps2pd xmm0, xmm1
call fcn.005d6800
movss xmm4, dword [esp + 0x14]
lea edi, [esi + 0xc]
mulss xmm4, dword [esp + 0x34]
xorps xmm5, xmm5
cvtsd2ss xmm5, xmm0
movss xmm3, dword [esp + 0x14]
movaps xmm0, xmm5
movss dword [esp + 0x18], xmm4
mulss xmm0, dword [esp + 0x28]
movaps xmm6, xmm5
mulss xmm6, dword [esp + 0x34]
movaps xmm7, xmm5
addss xmm4, xmm0
mulss xmm7, dword [esp + 0x38]
movaps xmm0, xmm5
movaps xmm2, xmm5
mulss xmm0, dword [esp + 0x2c]
mulss xmm5, dword [esp + 0x30]
mulss xmm2, dword [esp + 0x3c]
movss dword [esp + 0x18], xmm4
movss xmm4, dword [esp + 0x14]
mulss xmm4, dword [esp + 0x38]
addss xmm4, xmm0
movss xmm0, dword [esp + 0x14]
mulss xmm0, dword [esp + 0x3c]
addss xmm0, xmm5
movss dword [esp + 0xc], xmm4
movaps xmm5, xmm3
movaps xmm4, xmm3
mulss xmm5, dword [esp + 0x28]
mulss xmm4, dword [esp + 0x2c]
mulss xmm3, dword [esp + 0x30]
subss xmm5, xmm6
movss xmm6, dword [esp + 0x18]
subss xmm4, xmm7
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0xc]
subss xmm3, xmm2
movss dword [esp + 0x10], xmm5
jmp 0x4c1797
movss xmm0, dword [esi + 0x40]
ucomiss xmm0, dword [0x676614]
lahf
test ah, 0x44
jp 0x4c1518
movss xmm4, dword [edi + 0x64]
movss xmm3, dword [edi + 0x68]
movss xmm5, dword [edi + 0x60]
movss xmm0, dword [0x676840]
xorps xmm5, xmm0
xorps xmm4, xmm0
xorps xmm3, xmm0
movss dword [esp + 0x28], xmm5
movss dword [esp + 0x2c], xmm4
movss dword [esp + 0x30], xmm3
movq xmm0, qword [edi + 0x48]
movq qword [esp + 0x34], xmm0
mov eax, dword [edi + 0x50]
mov dword [esp + 0x3c], eax
jmp 0x4c159f
mulss xmm0, dword [0x676620]
lea eax, [edi + 0x54]
push ecx
movss dword [esp], xmm0
push eax
lea eax, [esp + 0x58]
push eax
call fcn.00402742
movss xmm1, dword [0x676840]
lea eax, [esp + 0x50]
movss xmm0, dword [edi + 0x60]
xorps xmm0, xmm1
movss dword [esp + 0x40], xmm0
movss xmm0, dword [edi + 0x64]
push eax
xorps xmm0, xmm1
lea eax, [esp + 0x44]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [edi + 0x68]
push eax
lea eax, [esp + 0x30]
xorps xmm0, xmm1
push eax
movss dword [esp + 0x54], xmm0
call fcn.00401587
lea eax, [esp + 0x50]
push eax
lea eax, [edi + 0x48]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00401587
movss xmm5, dword [esp + 0x28]
movss xmm4, dword [esp + 0x2c]
movss xmm3, dword [esp + 0x30]
movss xmm0, dword [esp + 0x38]
lea edi, [esi + 0xc]
movss xmm6, dword [esp + 0x34]
movss dword [esp + 0x10], xmm5
movss dword [esp + 0x18], xmm6
movss dword [esp + 0xc], xmm0
jmp 0x4c1797
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 + 0x1c]
movss dword [esp + 8], xmm2
movss dword [esp + 0x28], xmm2
movss dword [esp + 0xc], xmm0
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x10], xmm3
movss dword [esp + 0x30], xmm3
test eax, eax
je 0x4c1642
push eax
lea eax, [esp + 0x2c]
push eax
push eax
call fcn.0040159a
movss xmm3, dword [esp + 0x30]
movss xmm0, dword [esp + 0x2c]
movss xmm2, dword [esp + 0x28]
movss dword [esp + 0x10], xmm3
movss dword [esp + 0xc], xmm0
movss dword [esp + 8], 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 0x4c1671
sqrtsd xmm0, xmm0
jmp 0x4c1676
call fcn.005d6700
cvtsd2ss xmm0, xmm0
ucomiss xmm0, dword [0x676614]
movss dword [esp + 0x20], xmm0
lahf
test ah, 0x44
jp 0x4c16a7
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0x3f800000
jmp 0x4c16f7
addss xmm0, dword [0x676650]
cvtss2sd xmm0, xmm0
call fcn.005d69c0
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
addss xmm1, dword [0x676650]
divss xmm1, dword [esp + 0x20]
movaps xmm0, xmm1
mulss xmm0, dword [esp + 8]
movss dword [esp + 0x28], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0xc]
mulss xmm1, dword [esp + 0x10]
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x30], xmm1
mov ecx, dword [0x70b344]
call fcn.00453c60
movss xmm4, dword [eax + 0x5c]
movss xmm6, dword [eax + 0x58]
movaps xmm2, xmm4
mulss xmm2, dword [esp + 0x2c]
movaps xmm0, xmm6
mulss xmm0, dword [esp + 0x30]
movss xmm5, dword [eax + 0x54]
lea eax, [esp + 0x34]
mulss xmm4, dword [esp + 0x28]
push eax
mulss xmm6, dword [esp + 0x2c]
subss xmm2, xmm0
push eax
movss dword [esp + 0x3c], xmm2
movaps xmm2, xmm5
mulss xmm2, dword [esp + 0x38]
mulss xmm5, dword [esp + 0x34]
subss xmm2, xmm4
subss xmm6, xmm5
movss dword [esp + 0x40], xmm2
movss dword [esp + 0x44], xmm6
call fcn.00401277
movss xmm5, dword [esp + 0x28]
movss xmm0, dword [esp + 0x38]
movss xmm6, dword [esp + 0x34]
movss xmm3, dword [esp + 0x30]
movss xmm4, dword [esp + 0x2c]
movss dword [esp + 0x10], xmm5
movss dword [esp + 0xc], xmm0
movss dword [esp + 0x18], xmm6
movss xmm1, dword [ebp + 0xc]
ucomiss xmm1, dword [0x676614]
movss dword [esp + 8], xmm4
movss dword [esp + 0x14], xmm3
lahf
test ah, 0x44
jnp 0x4c1846
movaps xmm0, xmm1
cvtps2pd xmm0, xmm0
call fcn.005d6800
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x20], xmm0
movss xmm0, dword [ebp + 0xc]
cvtps2pd xmm0, xmm0
call fcn.005d6c50
movss xmm3, dword [esp + 0x20]
xorps xmm2, xmm2
movss xmm1, dword [esp + 0x10]
movaps xmm5, xmm3
movss xmm4, dword [esp + 8]
movaps xmm6, xmm3
cvtsd2ss xmm2, xmm0
mulss xmm5, xmm1
movaps xmm0, xmm2
mulss xmm1, xmm2
mulss xmm0, xmm4
subss xmm5, xmm0
movaps xmm0, xmm3
mulss xmm3, dword [esp + 0xc]
mulss xmm4, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [esp + 0xc]
addss xmm4, xmm1
movss xmm1, dword [esp + 0x18]
mulss xmm6, xmm1
mulss xmm1, xmm2
subss xmm6, xmm0
addss xmm1, xmm3
movss xmm3, dword [esp + 0x14]
movaps xmm0, xmm1
movss xmm1, dword [esi + 0x38]
mulss xmm1, dword [esi + 0x30]
mov ecx, dword [esp + 0x1c]
movss xmm7, dword [esi + 0x3c]
mulss xmm7, dword [esi + 0x34]
xorps xmm1, xmmword [0x676840]
movaps xmm2, xmm1
mulss xmm2, xmm6
movaps xmm6, xmm1
mulss xmm1, dword [esp + 0x3c]
mulss xmm6, xmm0
movss dword [esp + 8], xmm2
movss dword [esp + 0x40], xmm1
movss dword [esp + 0xc], xmm6
movss dword [esp + 0x38], xmm6
movaps xmm6, xmm7
mulss xmm6, xmm5
movaps xmm5, xmm7
mulss xmm5, xmm4
mulss xmm7, xmm3
movss dword [esp + 0x34], xmm2
movss dword [esp + 0x3c], xmm1
movss dword [esp + 0x28], xmm6
movss dword [esp + 0x2c], xmm5
movss dword [esp + 0x30], xmm7
test ecx, ecx
je 0x4c1a27
mov eax, dword [esi + 0x5c]
cmp dword [eax + 0x20], 0
je 0x4c1a27
push ecx
push edi
lea eax, [esp + 0x48]
push eax
call fcn.00401587
movss xmm4, dword [esp + 0x44]
lea eax, [esi + 0xb0]
movss xmm7, dword [esp + 0x2c]
mov edx, esi
movss xmm0, dword [esp + 0x40]
movss xmm3, dword [esp + 0x48]
movaps xmm5, xmm0
movss xmm6, dword [esp + 0x30]
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [esp + 0x14], xmm4
subss xmm5, xmm0
movss dword [esp + 0x20], xmm0
subss xmm4, xmm7
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x40], xmm3
subss xmm3, xmm6
movss dword [esp + 0x10], xmm0
movss dword [esp + 0x18], xmm7
movss xmm7, dword [esp + 0x34]
movaps xmm2, xmm4
addss xmm2, xmm0
movss dword [esp + 0x1c], xmm7
movss xmm0, dword [esp + 0x3c]
movaps xmm1, xmm3
movss dword [esp + 0xc], 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 + 0x10]
movss xmm0, dword [esp + 0xc]
subss xmm4, xmm1
subss xmm5, dword [esp + 0x1c]
subss xmm3, xmm0
movss dword [esi + 0x88], xmm5
movss dword [esi + 0x8c], xmm4
movss dword [esi + 0x90], xmm3
movss xmm2, dword [esp + 8]
addss xmm2, dword [esp + 0x20]
movss xmm5, dword [esp + 0x14]
addss xmm5, dword [esp + 0x18]
movss xmm7, dword [esp + 0x40]
movss xmm3, dword [esp + 0x1c]
addss xmm7, xmm6
movss dword [esp + 8], xmm2
movss xmm6, dword [esp + 8]
movaps xmm2, xmm5
addss xmm2, xmm1
movaps xmm1, xmm7
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 xmm7, dword [esp + 0xc]
subss xmm5, dword [esp + 0x10]
jmp 0x4c1b0c
movss xmm3, dword [edi]
lea eax, [esi + 0xb0]
movss xmm1, dword [edi + 4]
movaps xmm0, xmm3
movss xmm2, dword [edi + 8]
subss xmm0, xmm6
subss xmm1, xmm5
mov edx, esi
subss xmm2, xmm7
addss xmm0, dword [esp + 8]
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 xmm4, dword [esp + 0x40]
addss xmm2, xmm4
movss dword [esi + 0x7c], xmm2
subss xmm0, dword [esp + 8]
movss xmm1, dword [esi + 0x10]
movss xmm2, dword [esi + 0x14]
subss xmm1, xmm5
subss xmm2, xmm7
movss dword [esi + 0x88], xmm0
movaps xmm0, xmm6
subss xmm1, dword [esp + 0xc]
subss xmm2, xmm4
movss dword [esi + 0x8c], xmm1
movss dword [esi + 0x90], xmm2
movss xmm3, dword [esp + 8]
movss xmm2, dword [esi + 0x14]
addss xmm0, xmm3
addss xmm2, xmm7
movss dword [esi + 0x9c], xmm0
movaps xmm0, xmm5
addss xmm0, dword [esi + 0x10]
movss xmm1, dword [esp + 0xc]
addss xmm2, xmm4
addss xmm0, xmm1
movss dword [esi + 0xa0], xmm0
movss dword [esi + 0xa4], xmm2
addss xmm7, dword [esi + 0x14]
addss xmm5, dword [esi + 0x10]
subss xmm7, xmm4
subss xmm5, xmm1
mov dword [esp + 0x1c], eax
subss xmm6, xmm3
mov eax, 0xb0
mov edi, 0xb4
mov ecx, 8
movss dword [eax + esi], xmm6
movss dword [edx + edi], xmm5
mov eax, dword [esp + 0x1c]
pop edi
pop esi
movss dword [eax + ecx], xmm7
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.00584ead
mov esp, ebp
pop ebp
ret 8