Function at 0x140086c70
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 [0x14018d080]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov eax, dword [0x1401706a8]
xor esi, esi
movsd xmm0, qword [0x1401706a0]
mov rdi, rcx
mov ebx, dword [reloc.WS2_32.dll_accept]
mov r8d, esi
mov dword [rbp + 0xf], eax
movzx eax, word [0x1401706ac]
mov word [rbp + 0x13], ax
movzx eax, byte [0x1401706ae]
mov byte [rbp + 0x15], al
movsd qword [rbp + 7], xmm0
cmp ebx, 2
jl 0x140086dd8
movdqa xmm2, xmmword [0x140176ee0]
mov r8d, 8
movdqa xmm4, xmmword [0x1401771c0]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x140176f00]
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 [0x140176f20]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [0x1401706a0]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140177020]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140177070]
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 [0x140176f20]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp + 0xb]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140177020]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140177070]
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, 0x4d4873ed
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x35
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0xf
jl 0x140086df0
lea rcx, [rbp + 7]
call qword [sym.imp.VMProtectSDK64.dll_VMProtectBeginUltra]
movzx eax, byte [0x140170948]
mov ecx, esi
mov byte [rbp + 0x27], al
movups xmm0, xmmword [str.BtJ_OYiVM__]
movups xmmword [rbp + 0x17], xmm0
cmp ebx, 2
jl 0x140086f84
movdqa xmm0, xmmword [0x140177070]
lea rdx, [rbp + 0x1b]
movdqa xmm5, xmmword [0x140176ee0]
movdqa xmm4, xmmword [0x1401771c0]
movdqa xmm6, xmmword [0x140176f20]
movdqa xmmword [rbp + 7], xmm0
mov r8d, dword [rbp + 7]
nop word [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 [0x140177020]
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 [0x140177020]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x140086e80
cmp ecx, 0x11
jge 0x140086fbf
movsxd rax, ecx
lea r8, [rbp + 0x17]
add r8, rax
nop
mov eax, 0x4d4873ed
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x35
add dl, cl
inc ecx
xor byte [r8 - 1], dl
cmp ecx, 0x11
jl 0x140086f90
mov eax, dword [0x140170954]
lea rcx, [rbp - 9]
mov dword [rbp - 9], eax
movzx eax, word [0x140170958]
xor byte [rbp - 8], 0x36
xor byte [rbp - 7], 0x37
xor byte [rbp - 6], 0x38
mov word [rbp - 5], ax
xor byte [rbp - 5], 0x39
xor byte [rbp - 4], 0x3a
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.1401482c0
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