Function at 0x140071220
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x2f]
sub rsp, 0xc0
mov rax, qword [0x14011d9f8]
mov r14, r9
mov qword [rbp + 0x67], rax
test rax, rax
je 0x140071567
mov rax, qword gs:[0x58]
xor r15d, r15d
mov ebx, 8
add rbx, qword [rax]
mov eax, dword [rbx]
cmp dword [0x14011d97c], eax
jle 0x14007130d
lea rcx, [0x14011d97c]
call fcn.1400779a0
cmp dword [0x14011d97c], 0xffffffff
jne 0x14007130d
xor eax, eax
mov dword [rbp - 0x51], 0x4eff4ee2
mov word [rbp - 0x3d], ax
mov r8d, r15d
mov dword [rbp - 0x4d], 0x4eab4ef9
mov r9d, 0x4e95
mov dword [rbp - 0x49], 0x4eef4eab
mov dword [rbp - 0x45], 0x4ef84eb5
mov dword [rbp - 0x41], 0x4ef24ef1
nop dword [rax]
nop word [rax + rax]
movsxd rax, r8d
lea rdx, [rbp - 0x51]
lea rdx, [rdx + rax*2]
lea eax, [r9 + r8]
inc r8d
xor word [rdx], ax
cmp r8d, 0xa
jb 0x1400712d0
lea rcx, [rbp - 0x51]
mov word [rbp - 0x3d], r15w
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rcx, [0x14011d97c]
mov qword [0x14011d9e8], rax
call fcn.140077940
cmp qword [0x14011d9e8], r15
je 0x140071567
mov eax, dword [rbx]
cmp dword [0x14011d998], eax
jle 0x1400713a1
lea rcx, [0x14011d998]
call fcn.1400779a0
cmp dword [0x14011d998], 0xffffffff
jne 0x1400713a1
movdqa xmm0, xmmword [0x1400bae80]
xor eax, eax
movdqu xmmword [rbp - 0x51], xmm0
mov byte [rbp - 0x3b], al
mov r8d, r15d
mov dword [rbp - 0x41], 0xcec9c9e6
mov word [rbp - 0x3d], 0xcdc0
nop dword [rax + rax]
movsxd rax, r8d
lea rdx, [rbp - 0x51]
add rdx, rax
lea eax, [r8 - 0x6b]
inc r8d
xor byte [rdx], al
cmp r8d, 0x16
jb 0x140071360
mov rcx, qword [0x14011d9e8]
lea rdx, [rbp - 0x51]
mov byte [rbp - 0x3b], r15b
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x14011d998]
mov qword [0x14011d990], rax
call fcn.140077940
cmp qword [0x14011d990], r15
je 0x140071567
mov rsi, qword [0x14011d508]
lea rax, [rbp + 0x6f]
sub rsi, rax
mov qword [rbp + 0x6f], r15
mov rbx, r15
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [0x14011d5c0]
lea rdi, [rbp + 0x6f]
mov qword [rsp + 0x38], r15
lea r8, [rbp - 9]
xorps xmm0, xmm0
mov qword [rsp + 0x30], r15
add rdi, rbx
mov dword [rsp + 0x28], 0x30
mov r9d, 0x30
mov qword [rbp - 9], r15
mov edx, 0x80002048
mov qword [rbp + 7], r15
movdqu xmmword [rbp + 0x13], xmm0
lea rax, [rsi + rdi]
mov dword [rbp + 0x23], r15d
mov qword [rbp - 1], rax
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
mov dword [rbp + 0xf], 1
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140071567
movzx eax, byte [rbp + 0x13]
inc rbx
mov byte [rdi], al
cmp rbx, 8
jb 0x1400713d0
mov rdi, qword [0x14011d508]
lea rax, [rbp + 0x67]
sub rdi, rax
mov rbx, r15
nop dword [rax]
mov qword [rsp + 0x38], r15
lea rcx, [rbp + 0x67]
add rcx, rbx
mov qword [rsp + 0x30], r15
xorps xmm0, xmm0
mov dword [rsp + 0x28], 0x30
mov r9d, 0x30
mov qword [rbp - 0x39], r15
lea r8, [rbp - 0x39]
mov qword [rbp - 0x29], r15
lea rax, [rcx + rdi]
mov dword [rbp - 0x21], 1
mov qword [rbp - 0x31], rax
mov edx, 0x8000204c
movzx eax, byte [rcx]
mov rcx, qword [0x14011d5c0]
mov dword [rbp - 0x1d], eax
lea rax, [rbp - 0x39]
mov qword [rsp + 0x20], rax
movdqu xmmword [rbp - 0x19], xmm0
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140071567
inc rbx
cmp rbx, 8
jb 0x140071460
mov edx, 0xc
mov rcx, r14
call qword [0x14011d990]
mov rdi, qword [0x14011d508]
lea rax, [rbp + 0x6f]
sub rdi, rax
mov rbx, r15
mov qword [rsp + 0x38], r15
lea rcx, [rbp + 0x6f]
add rcx, rbx
mov qword [rsp + 0x30], r15
xorps xmm0, xmm0
mov dword [rsp + 0x28], 0x30
mov r9d, 0x30
mov qword [rbp - 0x39], r15
lea r8, [rbp - 0x39]
mov qword [rbp - 0x29], r15
lea rax, [rcx + rdi]
mov dword [rbp - 0x21], 1
mov qword [rbp - 0x31], rax
mov edx, 0x8000204c
movzx eax, byte [rcx]
mov rcx, qword [0x14011d5c0]
mov dword [rbp - 0x1d], eax
lea rax, [rbp - 0x39]
mov qword [rsp + 0x20], rax
movdqu xmmword [rbp - 0x19], xmm0
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140071567
inc rbx
cmp rbx, 8
jb 0x1400714f3
mov al, 1
jmp 0x140071569
xor al, al
mov rbx, qword [rsp + 0xf0]
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret