Function at 0x14005da90
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 [0x14018e080]
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 [0x140170110]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [0x140170120]
movups xmmword [rsp + 0x70], xmm1
movups xmm0, xmmword [0x140170130]
movups xmmword [rbp - 0x80], xmm0
movzx eax, byte [0x140170140]
mov byte [rbp - 0x70], al
mov r8d, ebx
mov r14d, dword [reloc.WS2_32.dll_accept]
cmp r14d, 2
jl 0x14005dc65
movdqa xmm5, xmmword [0x140178040]
movdqa xmm4, xmmword [0x140178310]
movdqa xmm6, xmmword [0x1401780b0]
movdqa xmm0, xmmword [0x1401781f0]
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
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
andps xmm2, xmmword [0x1401781b0]
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
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
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401781b0]
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 0x14005db60
cmp r8d, 0x31
jge 0x14005dca0
movsxd rax, r8d
lea r9, [rsp + 0x60]
add r9, rax
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x35
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x31
jl 0x14005dc70
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
nop
inc r8
cmp byte [rax + r8], bl
jne 0x14005dcc0
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x40]
call fcn.140058f40
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 0x14005dcf0
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x60]
call fcn.140058f40
nop
movups xmm0, xmmword [str.VSELLNRP]
movups xmmword [rsp + 0x40], xmm0
mov eax, dword [0x140170198]
mov dword [rsp + 0x50], eax
movzx eax, byte [0x14017019c]
mov byte [rsp + 0x54], al
cmp r14d, 2
jl 0x14005de63
movdqa xmm5, xmmword [0x140178040]
movdqa xmm4, xmmword [0x140178310]
movdqa xmm6, xmmword [0x1401780b0]
movdqa xmm0, xmmword [0x1401781f0]
movdqa xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x44]
mov edx, dword [rsp + 0x20]
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
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
andps xmm2, xmmword [0x1401781b0]
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
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
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401781b0]
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 0x14005dd63
cmp ebx, 0x15
jge 0x14005de9c
movsxd rax, ebx
lea r8, [rsp + 0x40]
add r8, rax
nop
mov eax, 0x4bda12f7
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, bl
sub al, cl
add al, 0x35
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x15
jl 0x14005de70
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 0x14005deb2
mov r8, rdi
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140058f40
nop
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140060a90
nop
lea r9, [rbp - 0x40]
lea r8, [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.140060a90
nop
lea r8, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova r8, qword [rbp - 0x60]
mov rdx, rsi
call fcn.14005df70
nop
lea rcx, [rbp - 0x60]
call fcn.14003d4d0
nop
lea rcx, [rsp + 0x40]
call fcn.14003d4d0
nop
lea rcx, [rsp + 0x20]
call fcn.14003d4d0
nop
lea rcx, [rsp + 0x60]
call fcn.14003d4d0
nop
lea rcx, [rbp - 0x40]
call fcn.14003d4d0
mov rax, rsi
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.140148bf0
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