Function at 0x140097d80
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x4d0
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
mov rax, qword [0x140163040]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov qword [rsp + 0x48], rcx
xorps xmm9, xmm9
movss xmm8, dword [rsp + 0x48]
mov rbx, rdx
movss xmm7, dword [rsp + 0x4c]
movaps xmm1, xmm8
movaps xmm0, xmm7
mulss xmm1, xmm8
mulss xmm0, xmm7
addss xmm1, xmm0
xorps xmm0, xmm0
addss xmm1, xmm9
ucomiss xmm0, xmm1
ja 0x140097dee
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x140097df6
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
ucomiss xmm8, xmm9
movss xmm4, dword [0x14014351c]
divss xmm4, xmm0
movaps xmm5, xmm4
mulss xmm4, xmm7
mulss xmm5, xmm8
jp 0x140097e37
jne 0x140097e37
ucomiss xmm7, xmm9
jp 0x140097e37
jne 0x140097e37
mov dword [0x140164bd4], 0
mov dword [0x140164bd0], 0
jmp 0x140098124
cmp dword [0x140165de8], 0x13
movaps xmmword [rsp + 0x4c0], xmm6
movaps xmmword [rsp + 0x480], xmm10
movaps xmmword [rsp + 0x470], xmm11
movd xmm11, dword [rbx + 0x10]
cvtdq2ps xmm11, xmm11
jne 0x140097e73
movss xmm0, dword [rbx + 0x30]
movss dword [rbx + 0x28], xmm0
movss dword [rbx + 0x2c], xmm0
movss xmm3, dword [rbx + 0x28]
lea rax, [rsp + 0x34]
divss xmm3, dword [0x1401436b8]
lea rcx, [rsp + 0x30]
movss xmm6, dword [rbx + 0x2c]
lea rbx, [rsp + 0x38]
divss xmm6, dword [0x1401436b8]
movss xmm10, dword [0x140143c50]
andps xmm8, xmm10
mulss xmm3, xmm11
movaps xmm0, xmm8
mulss xmm6, xmm11
xorps xmm0, xmmword [0x140143c70]
andps xmm7, xmm10
movss dword [rsp + 0x30], xmm0
mulss xmm3, xmm5
mulss xmm6, xmm4
comiss xmm0, xmm3
movaps xmm0, xmm7
movss dword [rsp + 0x40], xmm8
xorps xmm0, xmmword [0x140143c70]
cmovbe rcx, rax
movss dword [rsp + 0x38], xmm0
comiss xmm0, xmm6
lea rax, [rsp + 0x3c]
movss xmm0, dword [0x140164bd0]
movss dword [rsp + 0x34], xmm3
cmovbe rbx, rax
movss dword [rsp + 0x44], xmm7
comiss xmm3, xmm8
lea rax, [rsp + 0x40]
movss dword [rsp + 0x3c], xmm6
cmovbe rax, rcx
addss xmm0, dword [rax]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movaps xmm8, xmm0
lea rax, [rsp + 0x44]
movss xmm0, dword [0x140164bd4]
comiss xmm6, xmm7
cmovbe rax, rbx
addss xmm0, dword [rax]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movaps xmm11, xmmword [rsp + 0x470]
movaps xmm1, xmm8
movaps xmm6, xmmword [rsp + 0x4c0]
andps xmm1, xmm10
comiss xmm1, xmm9
ja 0x140097f7b
movaps xmm1, xmm0
andps xmm1, xmm10
comiss xmm1, xmm9
jbe 0x14009811b
cmp byte [0x140166798], 0
mov qword [rsp + 0x4f0], rdi
cvttss2si edi, xmm8
cvttss2si ebx, xmm0
je 0x140098113
cmp byte [0x140166488], 0
je 0x140098113
mov eax, dword [0x140166490]
test eax, eax
jne 0x140097ffa
mov r9d, edi
mov dword [rsp + 0x20], ebx
lea r8, str.km.move__d__d__r_n
mov edx, 0x400
lea rcx, [rsp + 0x60]
call fcn.14008e6f0
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140097fe0
lea rdx, [rsp + 0x60]
call fcn.1400fdf70
mov eax, dword [0x140166490]
cmp eax, 1
jne 0x1400980f0
cmp qword [0x1401654b0], 0
jbe 0x140098113
inc dword [0x140164c68]
mov dword [0x140164c6c], 0xaede7345
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movups xmm1, xmmword [0x140164c38]
mov rcx, qword [0x1401654b0]
lea rdx, [0x140164c60]
mov dword [0x140164c64], eax
xor r9d, r9d
movsx eax, di
mov dword [0x140164c2c], eax
movsx eax, bx
mov dword [0x140164c30], eax
lea r8d, [r9 + 0x48]
movups xmm0, xmmword [0x140164c28]
lea rax, [0x1401654a0]
mov dword [rsp + 0x28], recvfrom
movaps xmmword [0x140164c80], xmm1
movsd xmm1, qword [0x140164c58]
movaps xmmword [0x140164c70], xmm0
movups xmm0, xmmword [0x140164c48]
mov qword [rsp + 0x20], rax
movsd qword [0x140164ca0], xmm1
movaps xmmword [0x140164c90], xmm0
call qword [sym.imp.WSOCK32.dll_sendto]
mov rcx, qword [0x1401654b0]
lea rdx, [0x140165080]
xor eax, eax
mov dword [rsp + 0x48], recvfrom
mov qword [0x140164c2c], rax
xor r9d, r9d
lea rax, [rsp + 0x48]
mov r8d, 0x400
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WSOCK32.dll_recvfrom]
mov eax, dword [0x140166490]
cmp eax, 2
jne 0x140098104
mov edx, ebx
mov ecx, edi
call fcn.1400fe4e0
mov eax, dword [0x140166490]
cmp eax, 3
jne 0x140098113
mov edx, ebx
mov ecx, edi
call qword [0x140164c18]
mov rdi, qword [rsp + 0x4f0]
movaps xmm10, xmmword [rsp + 0x480]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.140106fb0
lea r11, [rsp + 0x4d0]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop rbx
ret