Function at 0x14004e8e0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1401dc780]
xor rax, rsp
mov qword [rbp - 8], rax
mov edi, r9d
mov r14, r8
movsxd rsi, edx
mov r12, rcx
mov rbx, qword [0x1401dd0a8]
mov rax, qword [rbx + 0x3ea8]
mov byte [rax + 0x98], 1
mov r15, qword [rbx + 0x3ea8]
call fcn.14000f1f0
movaps xmm3, xmm0
subss xmm3, dword [0x1401443dc]
movss xmm2, dword [r15 + 0xe4]
addss xmm2, dword [0x1401443d4]
movss xmm1, dword [r15 + 0xe0]
addss xmm3, xmm1
movss dword [rbp - 0x18], xmm1
movss xmm0, dword [r15 + 0xe4]
movss dword [rbp - 0x14], xmm0
movss dword [rbp - 0x10], xmm3
movss dword [rbp - 0xc], xmm2
subss xmm2, xmm0
subss xmm3, xmm1
movss dword [rbp - 0x4c], xmm3
movss dword [rbp - 0x48], xmm2
movss xmm1, dword [rbx + 0x3838]
lea rcx, [rbp - 0x4c]
call fcn.140010970
xor r13d, r13d
mov r9d, r13d
cmp esi, 0x7b
ja 0x14004e9b4
lea r9, [0x1401db2c0]
mov r9, qword [r9 + rsi*8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r13
mov ecx, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x20], rcx
mov byte [rbp - 0x38], r13b
test r9, r9
jne 0x14004ea00
mov qword [rbp - 0x28], recvfrom
movsd xmm0, qword [str.Select_any_key]
movsd qword [rbp - 0x38], xmm0
mov eax, dword [0x140148bf0]
mov dword [rbp - 0x30], eax
movzx eax, word [0x140148bf4]
mov word [rbp - 0x2c], ax
mov byte [rbp - 0x2a], r9b
jmp 0x14004ea4b
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp byte [r9 + rbx], 0
jne 0x14004ea10
lea rcx, [rbp - 0x38]
cmp rbx, 0xf
ja 0x14004ea3a
mov qword [rbp - 0x28], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rbp + rbx - 0x38], 0
jmp 0x14004ea47
movzx r8d, byte [rbp - 0x50]
mov rdx, rbx
call fcn.140042a90
mov rcx, qword [rbp - 0x20]
cmp edi, 1
jne 0x14004ea9e
cmp rcx, 3
jb 0x14004ea84
lea rbx, [rbp - 0x38]
cmp rcx, 0xf
cmova rbx, qword [rbp - 0x38]
mov qword [rbp - 0x28], 3
lea r8d, [rdi + 2]
lea rdx, [0x140143be8]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 3], 0
jmp 0x14004ea9e
lea r9, [0x140143be8]
movzx r8d, byte [rbp - 0x50]
mov edx, 3
lea rcx, [rbp - 0x38]
call fcn.140042a90
mov rbx, qword [r15 + 0x280]
movaps xmm0, xmmword [0x140144460]
movups xmmword [rbp - 0x4c], xmm0
lea rcx, [rbp - 0x4c]
call fcn.14000bc40
mov qword [rsp + 0x20], r13
mov r9, r12
mov r8d, eax
lea rdx, [rbp - 0x18]
mov rcx, rbx
call fcn.1400223c0
mov dword [rbp - 0x4c], 0x43830000
mov dword [rbp - 0x48], 0x41d00000
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
cmova rcx, qword [rbp - 0x38]
lea rdx, [rbp - 0x4c]
call fcn.140039910
test al, al
je 0x14004eb18
test edi, edi
jne 0x14004eb18
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
xor r9d, r9d
mov r8, r14
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x14004eb56
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004eb51
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004eb51
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14013c8c8
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14013cd40
mov rbx, qword [rsp + 0xc8]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret