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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x140189080]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov eax, dword [0x14016d498]
xor edi, edi
movsd xmm0, qword [str.pP]
mov r8d, edi
mov ebx, dword [reloc.WS2_32.dll_accept]
mov dword [rbp + 0xf], eax
movzx eax, word [0x14016d49c]
mov word [rbp + 0x13], ax
movzx eax, byte [0x14016d49e]
mov byte [rbp + 0x15], al
movsd qword [rbp + 7], xmm0
cmp ebx, 2
jl 0x140085cd1
movdqa xmm2, xmmword [0x140173be0]
mov r8d, 8
movdqa xmm4, xmmword [0x140173eb0]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x140173c00]
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 [0x140173c10]
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 [0x140173d30]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140173d70]
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 [0x140173c10]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp + 0xb]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140173d30]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140173d70]
xorps xmm2, xmm0
movd dword [rbp + 0xb], xmm2
movsxd rax, r8d
lea r9, [rbp + 7]
add r9, rax
nop dword [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 0x140085ce0
lea rcx, [rbp + 7]
call qword [sym.imp.VMProtectSDK64.dll_VMProtectBeginUltra]
movzx eax, byte [0x14016d800]
mov ecx, edi
mov byte [rbp + 0x27], al
movups xmm0, xmmword [str.vMyIYJZ]
movups xmmword [rbp + 0x17], xmm0
cmp ebx, 2
jl 0x140085e74
movdqa xmm0, xmmword [0x140173d70]
lea rdx, [rbp + 0x1b]
movdqa xmm5, xmmword [0x140173be0]
movdqa xmm4, xmmword [0x140173eb0]
movdqa xmm6, xmmword [0x140173c10]
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 [0x140173d30]
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 [0x140173d30]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x140085d70
cmp ecx, 0x11
jge 0x140085ead
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 0x140085e80
mov eax, dword [str.VMWP]
lea rcx, [rbp - 9]
mov dword [rbp - 9], eax
movzx eax, word [0x14016d5f8]
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], rdi
lea rcx, [rbp + 0x2f]
mov qword [rsp + 0x48], rdi
mov r9, rax
mov qword [rsp + 0x40], rdi
lea rax, [0x14008a150]
mov qword [rsp + 0x38], rdi
xor r8d, r8d
mov dword [rsp + 0x30], 0x40
mov edx, 0x2000000
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
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.140144a50
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret