Function at 0x180010640
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
movaps xmmword [rsp + 0xb0], xmm6
mov rax, qword [0x18004d010]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r14, rdx
xor ebx, ebx
mov dword [rbp - 0x21], ebx
mov rax, qword [rcx]
mov rsi, qword [rax + 0x80]
mov ecx, dword [0x18004dec4]
mov rax, qword gs:[0x58]
mov edx, 4
mov rdi, qword [rax + rcx*8]
add rdi, rdx
lea r15d, [rbx + 4]
mov eax, dword [rdi]
cmp dword [0x18004df9c], eax
jle 0x1800109bc
lea rcx, [0x18004df9c]
call fcn.180024c20
cmp dword [0x18004df9c], 0xffffffff
jne 0x1800109bc
mov rax, qword [str.UWVSK__]
mov qword [rbp - 0x59], rax
lea r11d, [rbx + 0x1f]
mov r10d, dword [0x18004d018]
cmp byte [0x180047adf], bl
je 0x180010830
cmp r10d, 2
jl 0x1800107ee
movdqa xmm4, xmmword [0x180048060]
movd xmm6, r15d
movd xmm5, r11d
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 - 0x59]
pxor xmm2, xmm0
movd dword [rbp - 0x59], 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 - 0x55]
pxor xmm2, xmm0
movd dword [rbp - 0x55], xmm2
jmp 0x180010830
lea r9, [rbp - 0x59]
mov r8d, ebx
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 ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x180010800
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 0x180010962
movdqa xmm4, xmmword [0x180048060]
movd xmm6, r15d
movd xmm5, r11d
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 ebx, 8
movsxd rax, ebx
lea r8, [rbp - 0x69]
add r8, rax
nop dword [rax]
mov eax, 0x4ec4ec4f
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
sub al, cl
add al, 0x38
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0xd
jl 0x180010970
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x69]
call fcn.180009e10
mov qword [0x18004e010], rax
lea rcx, [0x18004df9c]
call fcn.180024bc0
mov rbx, qword [0x18004e010]
mov eax, dword [rdi]
cmp dword [0x18004e008], eax
jle 0x180010a12
lea rcx, [0x18004e008]
call fcn.180024c20
cmp dword [0x18004e008], 0xffffffff
jne 0x180010a12
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 [rdi]
cmp dword [0x18004df30], eax
jle 0x180010a5b
lea rcx, [0x18004df30]
call fcn.180024c20
cmp dword [0x18004df30], 0xffffffff
jne 0x180010a5b
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 0x180010a75
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov dword [rbp - 1], 0x25ff
mov word [rbp + 3], 0
mov qword [rbp + 5], rbx
mov rax, qword [0x18004dfa0]
mov qword [rbp - 0x19], 0xe
lea rcx, [rbp + 0xf]
mov qword [rbp - 0x51], rcx
mov qword [rbp - 0x49], rax
mov rcx, qword [rsi + 0x38]
test rcx, rcx
jne 0x180010ab1
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 - 0x51]
lea rdx, [rbp - 0x49]
call qword [rax + 0x10]
test al, al
jne 0x180010adb
lea rcx, [0x18004dfb0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
xor eax, eax
jmp 0x180010b99
mov rax, qword [0x18004dfa0]
mov qword [rbp - 0x11], 0xe
lea rcx, [rbp - 1]
mov qword [rbp - 0x41], rcx
mov qword [rbp - 0x39], rax
mov rcx, qword [rsi + 0x78]
test rcx, rcx
jne 0x180010b06
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 - 0x41]
lea rdx, [rbp - 0x39]
call qword [rax + 0x10]
test al, al
je 0x180010ac7
mov rax, qword [0x18004dfa8]
lea rdx, [r14 + 3]
mov r8, r15
lea rcx, [rbp - 0x21]
call rax
mov rbx, rax
mov rcx, qword [0x18004dfa0]
mov qword [rbp - 9], 0xe
lea rax, [rbp + 0xf]
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x29], rcx
mov rcx, qword [rsi + 0x78]
test rcx, rcx
jne 0x180010b5e
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 - 0x31]
lea rdx, [rbp - 0x29]
call qword [rax + 0x10]
lea rcx, [0x18004dfb0]
test al, al
je 0x180010ace
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
test rbx, rbx
jne 0x180010b8e
xor eax, eax
jmp 0x180010b99
movsxd rax, dword [rbp - 0x21]
add rax, 7
add rax, r14
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.180024a70
mov rbx, qword [rsp + 0x100]
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret