Function at 0x140002e60
Capabilities:
Allocate or change rwx memory
Check for peb beingdebugged flag
Check for time delay via queryperformancecounter
Encode data using xor
Execute shellcode via indirect call
Hide thread from debugger
Terminate process

Disassembly:
push rbx
sub rsp, 0xa0
mov rax, qword [0x1400b50c0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rax, qword gs:[0x60]
lea rcx, str.kernel32.dll
mov byte [rax + 2], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [0x14009f450]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea r9, [rsp + 0x40]
mov edx, 3
mov rcx, rax
mov r8d, 0x40
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov word [rbx], 0xc031
lea r9, [rsp + 0x40]
mov byte [rbx + 2], 0xc3
mov edx, 3
mov r8d, dword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.140002870
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.NtSetInformationThread
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x140002f1f
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, reloc.WS2_32.dll_recvfrom
call rbx
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xor ebx, ebx
mov dword [rsp + 0x40], ebx
mov eax, dword [rsp + 0x40]
nop
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
cmp eax, 0xf4240
jl 0x140002f40
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x48]
xorps xmm1, xmm1
sub rax, qword [rsp + 0x50]
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x60]
cvtsi2sd xmm1, rax
divsd xmm1, xmm0
comisd xmm1, xmmword [0x1400a3528]
jbe 0x140003166
mov r10, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rsp + 0x20]
call fcn.140003180
mov r9, rax
cmp byte [rax + 0x18], bl
je 0x14000313f
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400030fc
movdqa xmm0, xmmword [str.3333333333333333]
mov rcx, rax
movdqa xmm5, xmmword [0x1400a3550]
movdqa xmm4, xmmword [0x1400a3600]
movaps xmmword [rsp + 0x90], xmm6
movdqa xmm6, xmmword [0x1400a3570]
movdqa xmmword [rsp + 0x60], xmm0
mov edx, dword [rsp + 0x60]
movaps xmmword [rsp + 0x80], xmm7
movdqa xmm7, xmmword [0x1400a35d0]
nop dword [rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
paddd xmm3, xmm5
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
add ebx, 8
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 8], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
movd xmm0, edx
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm3, xmm0
movd dword [rcx - 4], xmm3
cmp ebx, 0x18
jl 0x140003000
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
cmp ebx, 0x19
jge 0x14000313f
movsxd r8, ebx
add r8, r9
nop dword [rax]
nop word [rax + rax]
mov eax, 0x92492493
lea r8, [r8 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, bl
inc ebx
sub al, dl
add al, 0x33
xor byte [r8 - 1], al
cmp ebx, 0x19
jl 0x140003110
mov rdx, r9
mov rcx, r10
call fcn.140014c70
lea rdx, [0x140014e40]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14008aab0
add rsp, 0xa0
pop rbx
ret