Function at 0x14005e5d0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x128]
sub rsp, 0x210
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x14018d080]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov rsi, rcx
mov qword [rsp + 0x20], rcx
xor ebx, ebx
lea rcx, str.checksum
call qword [sym.imp.VMProtectSDK64.dll_VMProtectBeginUltra]
mov r8d, 0x104
lea rdx, [rbp - 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
movups xmm0, xmmword [0x14016f220]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [0x14016f230]
movups xmmword [rsp + 0x70], xmm1
movups xmm0, xmmword [0x14016f240]
movups xmmword [rbp - 0x80], xmm0
movzx eax, byte [0x14016f250]
mov byte [rbp - 0x70], al
mov r8d, ebx
mov r14d, dword [reloc.WS2_32.dll_accept]
cmp r14d, 2
jl 0x14005e7ad
movdqa xmm5, xmmword [0x140176ee0]
movdqa xmm4, xmmword [0x140177210]
movdqa xmm6, xmmword [0x140176f50]
movdqa xmm0, xmmword [0x1401770a0]
movdqa xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x64]
mov edx, dword [rsp + 0x20]
nop dword [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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
andps xmm2, xmmword [0x140177020]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
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
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140177020]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x30
jl 0x14005e6a0
cmp r8d, 0x31
jge 0x14005e7f3
movsxd rax, r8d
lea r9, [rsp + 0x60]
add r9, rax
nop dword [rax + rax]
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x31
jl 0x14005e7c0
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
lea rax, [rsp + 0x60]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rax + r8], bl
jne 0x14005e811
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x40]
call fcn.140059030
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
lea rax, [rbp - 0x20]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x14005e841
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x60]
call fcn.140059030
nop
movups xmm0, xmmword [str._HOIIWS_l_7__.__jiL]
movups xmmword [rsp + 0x40], xmm0
mov eax, dword [0x14016f048]
mov dword [rsp + 0x50], eax
movzx eax, byte [0x14016f04c]
mov byte [rsp + 0x54], al
cmp r14d, 2
jl 0x14005e9c8
movdqa xmm5, xmmword [0x140176ee0]
movdqa xmm4, xmmword [0x140177210]
movdqa xmm6, xmmword [0x140176f50]
movdqa xmm0, xmmword [0x1401770a0]
movdqa xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x44]
mov edx, dword [rsp + 0x20]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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
andps xmm2, xmmword [0x140177020]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rbx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
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
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140177020]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
lea rcx, [rcx + 8]
cmp ebx, 0x10
jl 0x14005e8c0
cmp ebx, 0x15
jge 0x14005ea0e
movsxd rax, ebx
lea r8, [rsp + 0x40]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8fb823ef
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, bl
sub al, cl
add al, 0x38
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x15
jl 0x14005e9e0
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea rax, [rsp + 0x40]
inc rdi
cmp byte [rax + rdi], 0
jne 0x14005ea24
mov r8, rdi
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140059030
nop
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140061610
nop
lea r9, [rbp - 0x40]
lea r8, [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.140061610
nop
lea r8, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova r8, qword [rbp - 0x60]
mov rdx, rsi
call fcn.14005eaf0
nop
lea rcx, [rbp - 0x60]
call fcn.14003d5f0
nop
lea rcx, [rsp + 0x40]
call fcn.14003d5f0
nop
lea rcx, [rsp + 0x20]
call fcn.14003d5f0
nop
lea rcx, [rsp + 0x60]
call fcn.14003d5f0
nop
lea rcx, [rbp - 0x40]
call fcn.14003d5f0
mov rax, rsi
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.1401482c0
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret