Function at 0x140086bc0
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 [0x14018c080]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov eax, dword [0x14016fa50]
xor esi, esi
movsd xmm0, qword [str._]
mov rdi, rcx
mov ebx, dword [reloc.WS2_32.dll_accept]
mov r8d, esi
mov dword [rbp + 0xf], eax
movzx eax, word [0x14016fa54]
mov word [rbp + 0x13], ax
movzx eax, byte [0x14016fa56]
mov byte [rbp + 0x15], al
movsd qword [rbp + 7], xmm0
cmp ebx, 2
jl 0x140086d30
movdqa xmm2, xmmword [0x140176070]
mov r8d, 8
movdqa xmm3, xmmword [0x140176090]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x140176390]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401760b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [str._]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1401761c0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140176200]
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
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401760b0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp + 0xb]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401761c0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140176200]
xorps xmm2, xmm0
movd dword [rbp + 0xb], xmm2
movsxd rax, r8d
lea r9, [rbp + 7]
add r9, rax
nop word [rax + rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x36
xor byte [r9 - 1], al
cmp r8d, 0xf
jl 0x140086d40
lea rcx, [rbp + 7]
call qword [sym.imp.VMProtectSDK64.dll_VMProtectBeginUltra]
movzx eax, byte [0x14016fa80]
mov ecx, esi
mov byte [rbp + 0x27], al
movups xmm0, xmmword [str.xCK_ZHXjW2_]
movups xmmword [rbp + 0x17], xmm0
cmp ebx, 2
jl 0x140086edc
movdqa xmm0, xmmword [0x140176200]
lea rdx, [rbp + 0x1b]
movdqa xmm5, xmmword [0x140176070]
movdqa xmm4, xmmword [0x140176390]
movdqa xmm6, xmmword [0x1401760b0]
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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x1401761c0]
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
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x1401761c0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x140086dd0
cmp ecx, 0x11
jge 0x140086f1f
movsxd rax, ecx
lea r8, [rbp + 0x17]
add r8, rax
nop word [rax + rax]
mov eax, 0xa0a0a0a1
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, cl
inc ecx
sub al, dl
add al, 0x36
xor byte [r8 - 1], al
cmp ecx, 0x11
jl 0x140086ef0
mov eax, dword [0x14016f8d0]
lea rcx, [rbp - 9]
mov dword [rbp - 9], eax
movzx eax, word [0x14016f8d4]
xor byte [rbp - 8], 0x37
xor byte [rbp - 7], 0x38
xor byte [rbp - 6], 0x39
mov word [rbp - 5], ax
xor byte [rbp - 5], 0x3a
xor byte [rbp - 4], 0x3b
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.140146930
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