Function at 0x140087830
Capabilities:
Encode data using xor
Hide thread from debugger

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x14018e080]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov eax, dword [0x1401715c8]
xor esi, esi
movsd xmm0, qword [str.pP]
mov rdi, rcx
mov ebx, dword [reloc.WS2_32.dll_accept]
mov r8d, esi
mov dword [rbp + 0xf], eax
movzx eax, word [0x1401715cc]
mov word [rbp + 0x13], ax
movzx eax, byte [0x1401715ce]
mov byte [rbp + 0x15], al
movsd qword [rbp + 7], xmm0
cmp ebx, 2
jl 0x140087998
movdqa xmm2, xmmword [0x140178040]
mov r8d, 8
movdqa xmm4, xmmword [0x140178330]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x140178060]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140178080]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [str.pP]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1401781b0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140178210]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rbp + 7], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140178080]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp + 0xb]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401781b0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140178210]
xorps xmm2, xmm0
movd dword [rbp + 0xb], xmm2
movsxd rax, r8d
lea r9, [rbp + 7]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x38
xor byte [r9 - 1], al
cmp r8d, 0xf
jl 0x1400879b0
lea rcx, [rbp + 7]
call qword [sym.imp.VMProtectSDK64.dll_VMProtectBeginUltra]
movzx eax, byte [0x140171930]
mov ecx, esi
mov byte [rbp + 0x27], al
movups xmm0, xmmword [str.vMyIYJZ]
movups xmmword [rbp + 0x17], xmm0
cmp ebx, 2
jl 0x140087b44
movdqa xmm0, xmmword [0x140178210]
lea rdx, [rbp + 0x1b]
movdqa xmm5, xmmword [0x140178040]
movdqa xmm4, xmmword [0x140178330]
movdqa xmm6, xmmword [0x140178080]
movdqa xmmword [rbp + 7], xmm0
mov r8d, dword [rbp + 7]
nop dword [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1401781b0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401781b0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x140087a40
cmp ecx, 0x11
jge 0x140087b7d
movsxd rax, ecx
lea r8, [rbp + 0x17]
add r8, rax
nop
mov eax, 0x51eb851f
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, cl
inc ecx
sub al, dl
add al, 0x38
xor byte [r8 - 1], al
cmp ecx, 0x11
jl 0x140087b50
mov eax, dword [str.VMWP]
lea rcx, [rbp - 9]
mov dword [rbp - 9], eax
movzx eax, word [0x1401716f8]
xor byte [rbp - 8], 0x39
xor byte [rbp - 7], 0x3a
xor byte [rbp - 6], 0x3b
mov word [rbp - 5], ax
xor byte [rbp - 5], 0x3c
xor byte [rbp - 4], 0x3d
mov byte [rbp - 9], WSAGetLastError
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp + 0x17]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x50], rsi
lea rcx, [rbp + 0x2f]
mov qword [rsp + 0x48], rsi
mov r9, rax
mov qword [rsp + 0x40], rsi
xor r8d, r8d
mov qword [rsp + 0x38], rsi
mov edx, 0x2000000
mov dword [rsp + 0x30], 0x40
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
call rbx
mov rcx, qword [rbp + 0x2f]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x11]
call qword [sym.imp.ntdll.dll_NtSetInformationThread]
call qword [sym.imp.VMProtectSDK64.dll_VMProtectEnd]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140148bf0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret