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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x70
mov eax, dword [0x6cf520]
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 [0x722fe8]
push edi
push dword [esi + 0x44]
push 0x3c
call fcn.00502a30
mov eax, dword [esi + 0x5c]
cmp dword [eax + 0x24], 0
jne 0x4e2b29
mov ecx, dword [0x75946c]
call fcn.0045e9d0
mov ecx, dword [esi + 0x5c]
mov edi, eax
movzx ecx, byte [ecx + 0x13]
dec ecx
cmp ecx, 4
ja case.0x4e272a.1
jmp dword [ecx*4 + 0x4e300c]
movss xmm0, dword [esi + 0x40]
mulss xmm0, dword [0x68d800]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x60], xmm0
call fcn.005eb960
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x14], xmm0
movsd xmm0, qword [esp + 0x60]
call fcn.005ebdb0
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 [0x68da40]
jmp 0x4e2cf3
movss xmm5, dword [0x68d834]
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 0x4e27ef
movss xmm7, dword [0x6484e8]
movss xmm5, dword [0x68d968]
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 [0x68d7ec]
lahf
test ah, 0x44
jnp 0x4e2953
mulss xmm0, dword [0x68d800]
movss dword [esp + 0x14], xmm0
cvtps2pd xmm0, xmm0
call fcn.005ebdb0
movss xmm1, dword [esp + 0x14]
cvtsd2ss xmm0, xmm0
xorps xmm0, xmmword [0x68da40]
movss dword [esp + 0xc], xmm0
cvtps2pd xmm0, xmm1
call fcn.005eb960
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 0x4e2cf3
movss xmm5, dword [esp + 0x5c]
movss xmm1, dword [esp + 0x58]
movss xmm0, dword [esp + 0x54]
jmp 0x4e2b0f
movss xmm1, dword [esi + 0x40]
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x4e29d9
movss xmm3, dword [edi + 0x64]
movss xmm2, dword [edi + 0x68]
movss xmm4, dword [edi + 0x60]
movss xmm0, dword [0x68da40]
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 0x4e2cf3
mulss xmm1, dword [0x68d800]
lea eax, [edi + 0x54]
push ecx
movss dword [esp], xmm1
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00402fa6
movss xmm1, dword [0x68da40]
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 0x4e2cf3
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 0x4e2ba6
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 0x4e2bd5
sqrtsd xmm0, xmm0
jmp 0x4e2bda
call fcn.005eb860
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm1, xmm0
movss dword [esp + 0x1c], xmm1
lahf
test ah, 0x44
jp 0x4e2c0d
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0x3f800000
jmp 0x4e2c5f
movaps xmm0, xmm1
addss xmm0, dword [0x68d834]
cvtps2pd xmm0, xmm0
call fcn.005ebb20
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
addss xmm1, dword [0x68d834]
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 [0x75946c]
call fcn.0045e9d0
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 xmm6, dword [esi + 0x38]
mulss xmm6, dword [esi + 0x30]
mov ecx, dword [esp + 0x18]
xorps xmm6, xmmword [0x68da40]
movaps xmm7, xmm6
mulss xmm7, xmm0
movaps xmm0, xmm6
mulss xmm6, xmm5
movss xmm5, dword [esi + 0x3c]
mulss xmm5, dword [esi + 0x34]
mulss xmm0, xmm1
movss dword [esp + 0x10], xmm7
movss dword [esp + 0x54], xmm7
movaps xmm7, xmm5
movss dword [esp + 0xc], xmm0
movss dword [esp + 0x58], xmm0
movaps xmm0, xmm5
mulss xmm0, xmm3
mulss xmm7, xmm4
mulss xmm5, xmm2
movss dword [esp + 0x5c], xmm6
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x48], xmm7
movss dword [esp + 0x4c], xmm0
movss dword [esp + 0x50], xmm5
test ecx, ecx
je 0x4e2efa
mov eax, dword [esi + 0x5c]
cmp dword [eax + 0x20], 0
je 0x4e2efa
push ecx
push edi
lea eax, [esp + 0x68]
push eax
call fcn.00401587
movss xmm4, dword [esp + 0x64]
mov eax, 8
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 + 0x24], xmm4
subss xmm5, xmm0
movss dword [esp + 0x1c], xmm0
subss xmm4, xmm7
movss xmm0, dword [esp + 0x58]
movss dword [esp + 0x60], xmm3
subss xmm3, xmm6
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x20], xmm7
movss xmm7, dword [esp + 0x54]
movaps xmm2, xmm4
addss xmm2, xmm0
movss dword [esp + 0x18], xmm7
movss xmm0, dword [esp + 0x5c]
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 + 0x14]
movss xmm0, dword [esp + 0xc]
subss xmm4, xmm1
subss xmm5, dword [esp + 0x18]
subss xmm3, xmm0
movss dword [esi + 0x88], xmm5
movss dword [esi + 0x8c], xmm4
movss dword [esi + 0x90], xmm3
movss xmm2, dword [esp + 0x10]
addss xmm2, dword [esp + 0x1c]
movss xmm5, dword [esp + 0x24]
addss xmm5, dword [esp + 0x20]
movss xmm4, dword [esp + 0x60]
movss xmm3, dword [esp + 0x18]
addss xmm4, xmm6
movss dword [esp + 0x10], xmm2
movss xmm6, dword [esp + 0x10]
movaps xmm2, xmm5
addss xmm2, xmm1
movaps xmm1, xmm4
addss xmm1, xmm0
movaps xmm0, xmm6
addss xmm0, xmm3
subss xmm6, 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]
movss dword [esi + 0xb0], xmm6
movss dword [esi + 0xb4], xmm5
movss dword [esi + eax + 0xb0], xmm4
pop edi
pop esi
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.00597338
mov esp, ebp
pop ebp
ret 4
movss xmm4, dword [edi]
mov eax, 8
movss xmm2, dword [edi + 4]
movaps xmm3, xmm4
movss xmm1, dword [edi + 8]
subss xmm2, xmm0
subss xmm1, xmm5
mov ecx, dword [esp + 0x74]
movaps xmm0, xmm4
subss xmm3, xmm7
subss xmm0, xmm7
addss xmm7, xmm4
addss xmm2, dword [esp + 0xc]
addss xmm1, xmm6
pop edi
addss xmm0, dword [esp + 0xc]
movss dword [esi + 0x74], xmm0
movss dword [esi + 0x78], xmm2
movss dword [esi + 0x7c], xmm1
movss xmm1, dword [esi + 0x10]
subss xmm1, dword [esp + 0x10]
movss xmm0, dword [esi + 0x14]
subss xmm3, dword [esp + 0xc]
subss xmm0, xmm5
subss xmm1, dword [esp + 8]
movss dword [esi + 0x88], xmm3
subss xmm0, xmm6
movss dword [esi + 0x8c], xmm1
movaps xmm1, xmm5
movss dword [esi + 0x90], xmm0
movss xmm3, dword [esp + 0x10]
addss xmm1, dword [esi + 0x14]
movss xmm4, dword [esp + 0xc]
movaps xmm2, xmm3
addss xmm2, dword [esi + 0x10]
movaps xmm0, xmm4
addss xmm0, xmm7
addss xmm1, xmm6
subss xmm7, xmm4
addss xmm2, dword [esp + 8]
movss dword [esi + 0x9c], xmm0
movss dword [esi + 0xa0], xmm2
movss dword [esi + 0xa4], xmm1
addss xmm3, dword [esi + 0x10]
addss xmm5, dword [esi + 0x14]
subss xmm3, dword [esp + 8]
subss xmm5, xmm6
movss dword [esi + 0xb0], xmm7
movss dword [esi + 0xb4], xmm3
movss dword [esi + eax + 0xb0], xmm5
pop esi
xor ecx, esp
call fcn.00597338
mov esp, ebp
pop ebp
ret 4