Function at 0x180010d80
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x18004d010]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, rdx
mov rdi, rcx
test rdx, rdx
jne 0x180010dbe
xor eax, eax
jmp 0x1800112ad
mov ecx, dword [0x18004dec4]
mov rax, qword gs:[0x58]
mov edx, 4
mov rbx, qword [rax + rcx*8]
add rbx, rdx
mov eax, dword [rbx]
cmp dword [0x18004df9c], eax
jle 0x1800110fc
lea rcx, [0x18004df9c]
call fcn.180024c20
cmp dword [0x18004df9c], 0xffffffff
jne 0x1800110fc
mov rax, qword [str.UWVSK__]
mov qword [rbp - 0x51], rax
xor ecx, ecx
lea r11d, [rcx + 4]
lea r14d, [rcx + 0x1f]
mov r10d, dword [0x18004d018]
cmp byte [0x180047adf], cl
je 0x180010f70
cmp r10d, 2
jl 0x180010f2e
movdqa xmm4, xmmword [0x180048060]
movd xmm6, r11d
movd xmm5, r14d
movdqa xmm2, xmmword [0x180047fb0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180047fe0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x180048020]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x180048040]
movd xmm0, dword [rbp - 0x51]
pxor xmm2, xmm0
movd dword [rbp - 0x51], xmm2
movdqa xmm3, xmmword [0x180047fc0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180047fe0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x180048020]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x180048040]
movd xmm0, dword [rbp - 0x4d]
pxor xmm2, xmm0
movd dword [rbp - 0x4d], xmm2
jmp 0x180010f70
lea r9, [rbp - 0x51]
mov r8d, ecx
nop word [rax + rax]
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x34
movzx eax, r8b
sub al, dl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x180010f40
mov eax, dword [0x180047ac0]
mov dword [rbp - 0x61], eax
movsd xmm0, qword [str.VMUHWOPSn_:D]
movzx eax, byte [0x180047ac4]
movsd qword [rbp - 0x69], xmm0
mov byte [rbp - 0x5d], al
cmp r10d, 2
jl 0x1800110a2
movdqa xmm4, xmmword [0x180048060]
movd xmm6, r11d
movd xmm5, r14d
movdqa xmm2, xmmword [0x180047fb0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180047fe0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x180048020]
packuswb xmm2, xmm2
mov eax, dword [0x180048040]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [str.VMUHWOPSn_:D]
pxor xmm2, xmm1
movd dword [rbp - 0x69], xmm2
movdqa xmm3, xmmword [0x180047fc0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180047fe0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x180048020]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x65]
pxor xmm2, xmm1
movd dword [rbp - 0x65], xmm2
mov ecx, 8
movsxd rax, ecx
lea r8, [rbp - 0x69]
add r8, rax
nop dword [rax]
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x34
movzx eax, cl
sub al, dl
add al, 0x38
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xd
jl 0x1800110b0
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x69]
call fcn.180009e10
mov qword [0x18004e010], rax
lea rcx, [0x18004df9c]
call fcn.180024bc0
mov r14, qword [0x18004e010]
mov eax, dword [rbx]
cmp dword [0x18004e008], eax
jle 0x180011152
lea rcx, [0x18004e008]
call fcn.180024c20
cmp dword [0x18004e008], 0xffffffff
jne 0x180011152
lea rcx, [0x180027a08]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18004dfa8], rax
lea rcx, [0x18004e008]
call fcn.180024bc0
mov eax, dword [rbx]
cmp dword [0x18004df30], eax
jle 0x18001119b
lea rcx, [0x18004df30]
call fcn.180024c20
cmp dword [0x18004df30], 0xffffffff
jne 0x18001119b
mov edx, 2
lea rcx, [0x18004dfb0]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x1800266f0]
call fcn.1800250d4
lea rcx, [0x18004df30]
call fcn.180024bc0
lea rcx, [0x18004dfb0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1800111b5
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov dword [rbp + 7], 0x25ff
mov word [rbp + 0xb], 0
mov qword [rbp + 0xd], r14
mov rax, qword [0x18004dfa0]
mov qword [rbp - 0x19], 0xe
lea rcx, [rbp + 0x17]
mov qword [rbp - 0x49], rcx
mov qword [rbp - 0x41], rax
mov rcx, qword [rdi + 0x38]
test rcx, rcx
jne 0x1800111f1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
mov rax, qword [rcx]
lea r9, [rbp - 0x19]
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x41]
call qword [rax + 0x10]
test al, al
je 0x18001129c
mov rax, qword [0x18004dfa0]
mov qword [rbp - 0x11], 0xe
lea rcx, [rbp + 7]
mov qword [rbp - 0x39], rcx
mov qword [rbp - 0x31], rax
mov rcx, qword [rdi + 0x78]
test rcx, rcx
jne 0x180011236
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
mov rax, qword [rcx]
lea r9, [rbp - 0x11]
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x31]
call qword [rax + 0x10]
test al, al
je 0x18001129c
mov r8d, 8
mov rdx, rsi
lea rcx, [rbp - 1]
call qword [0x18004dfa8]
mov rax, qword [0x18004dfa0]
mov qword [rbp - 9], 0xe
lea rcx, [rbp + 0x17]
mov qword [rbp - 0x29], rcx
mov qword [rbp - 0x21], rax
mov rcx, qword [rdi + 0x78]
test rcx, rcx
jne 0x18001128a
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
mov rax, qword [rcx]
lea r9, [rbp - 9]
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x21]
call qword [rax + 0x10]
lea rcx, [0x18004dfb0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rax, qword [rbp - 1]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.180024a70
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret