Function at 0x140001c10
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x14001d010]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r12d, r9d
mov r15, r8
mov rdi, rdx
mov r14, rcx
test rdx, rdx
je 0x140001f68
test r8, r8
je 0x140001f68
lea rax, [rbp - 0x11]
mov qword [rbp + 0xf], rdx
mov qword [rsp + 0xc8], rbx
lea r8, [rbp - 9]
xor ebx, ebx
mov qword [rbp - 9], 0x25
mov qword [rsp + 0x38], rbx
mov edx, 0x80862007
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
lea r9d, [rbx + 0x20]
mov qword [rbp - 1], rbx
mov qword [rbp + 7], rbx
mov dword [rbp - 0x11], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x140001d2c
movdqa xmm0, xmmword [0x140017790]
movdqa xmm1, xmmword [str.84_0_:_7_v]
mov r8, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movdqu xmmword [rbp - 0x4d], xmm0
mov dword [rbp - 0x51], 0x2b
movdqu xmmword [rbp - 0x3d], xmm1
mov dword [rbp - 0x2d], 0xf0e2848
mov dword [rbp - 0x29], 0x1c1d081e
mov dword [rbp - 0x25], 0x730a4150
mov eax, ebx
lea rcx, [rbp - 0x4d]
add rcx, rax
lea eax, [rbx + 0x48]
inc ebx
xor byte [rcx], al
mov eax, dword [rbp - 0x51]
cmp ebx, eax
jb 0x140001ce1
lea rdx, [rbp - 0x4d]
mov byte [rbp + rax - 0x4d], 0
mov rcx, r8
call fcn.140003060
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [0x140003230]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor al, al
jmp 0x140001ebd
mov rdi, qword [rbp + 7]
mov qword [rsp + 0xc0], rsi
test rdi, rdi
je 0x140001ee1
mov qword [rsp + 0x38], rbx
lea rax, [rbp - 0x59]
mov qword [rsp + 0x30], rax
lea r8, [rbp - 0x51]
xorps xmm0, xmm0
mov dword [rsp + 0x28], ebx
mov r9d, 0x30
mov qword [rsp + 0x20], rbx
mov edx, 0x80862007
mov qword [rbp - 0x39], rbx
mov rcx, r14
mov dword [rbp - 0x25], ebx
movdqu xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x51], 0x19
mov qword [rbp - 0x31], rdi
mov dword [rbp - 0x29], r12d
mov dword [rbp - 0x59], ebx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140001ee1
mov rsi, qword [rbp - 0x39]
test rsi, rsi
je 0x140001ee1
mov r9, r12
mov r8, r15
mov rdx, rsi
mov rcx, r14
call fcn.140001ad0
mov qword [rsp + 0x38], rbx
lea r8, [rbp - 0x51]
movzx r15d, al
mov qword [rbp - 0x31], rbx
lea rax, [rbp - 0x59]
mov dword [rbp - 0x25], ebx
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
mov dword [rsp + 0x28], ebx
mov r9d, 0x30
mov edx, 0x80862007
mov qword [rsp + 0x20], rbx
mov rcx, r14
mov qword [rbp - 0x51], 0x1a
movdqu xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], rsi
mov dword [rbp - 0x29], r12d
mov dword [rbp - 0x59], ebx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x140001eb1
movdqa xmm0, xmmword [0x140017780]
xor edx, edx
movdqa xmm1, xmmword [str.64_]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov eax, 0x34
mov dword [rbp - 0x51], eax
mov dword [rbp - 0x1d], 0x34a590b
mov byte [rbp - 0x19], 0x7c
mov word [rbp - 0x18], dx
mov byte [rbp - 0x16], dl
movdqu xmmword [rbp - 0x4d], xmm0
movdqa xmm0, xmmword [0x1400177a0]
movdqu xmmword [rbp - 0x2d], xmm0
movdqu xmmword [rbp - 0x3d], xmm1
test eax, eax
je 0x140001e88
nop dword [rax]
nop word [rax + rax]
mov eax, ebx
lea r8, [rbp - 0x4d]
add r8, rax
lea eax, [rbx + 0x48]
inc ebx
xor byte [r8], al
mov eax, dword [rbp - 0x51]
cmp ebx, eax
jb 0x140001e70
mov byte [rbp + rax - 0x4d], dl
lea rdx, [rbp - 0x4d]
call fcn.140003060
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [0x140003230]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
movzx eax, r15b
mov rsi, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0xc8]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14000c8d0
add rsp, 0xd0
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
movdqa xmm0, xmmword [0x140017810]
movdqa xmm1, xmmword [0x140017910]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov eax, 0x21
mov dword [rbp - 0x51], eax
mov dword [rbp - 0x2d], 0x6910
movdqu xmmword [rbp - 0x4d], xmm0
movdqu xmmword [rbp - 0x3d], xmm1
test eax, eax
je 0x140001f37
nop word [rax + rax]
mov eax, ebx
lea rdx, [rbp - 0x4d]
add rdx, rax
lea eax, [rbx + 0x48]
inc ebx
xor byte [rdx], al
mov eax, dword [rbp - 0x51]
cmp ebx, eax
jb 0x140001f20
lea rdx, [rbp - 0x4d]
mov byte [rbp + rax - 0x4d], 0
call fcn.140003060
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [0x140003230]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor al, al
jmp 0x140001eb5
xor al, al
jmp 0x140001ec5