Function at 0x140072180
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x18], r8
push rbp
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x140124c10]
mov r14, rdx
mov qword [rbp - 0x31], rax
test rdx, rdx
je 0x1400724d4
test rax, rax
je 0x1400724d4
mov rax, qword gs:[0x58]
xor r15d, r15d
mov ebx, 8
add rbx, qword [rax]
mov eax, dword [rbx]
cmp dword [0x140124bd8], eax
jle 0x14007226d
lea rcx, [0x140124bd8]
call fcn.140079370
cmp dword [0x140124bd8], 0xffffffff
jne 0x14007226d
xor eax, eax
mov dword [rbp - 0x49], 0x6fb66fa9
mov word [rbp - 0x35], ax
mov r8d, r15d
mov dword [rbp - 0x45], 0x6fd26f8e
mov r9d, 0x6fde
mov dword [rbp - 0x41], 0x6f966fd0
mov dword [rbp - 0x3d], 0x6f816fca
mov dword [rbp - 0x39], 0x6f8b6f8a
nop
movsxd rax, r8d
lea rdx, [rbp - 0x49]
lea rdx, [rdx + rax*2]
lea eax, [r9 + r8]
inc r8d
xor word [rdx], ax
cmp r8d, 0xa
jb 0x140072230
lea rcx, [rbp - 0x49]
mov word [rbp - 0x35], r15w
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rcx, [0x140124bd8]
mov qword [0x140124bf0], rax
call fcn.140079310
cmp qword [0x140124bf0], r15
je 0x1400724d4
mov eax, dword [rbx]
cmp dword [0x140124bd4], eax
jle 0x140072301
lea rcx, [0x140124bd4]
call fcn.140079370
cmp dword [0x140124bd4], 0xffffffff
jne 0x140072301
movdqa xmm0, xmmword [0x1400bcd60]
xor eax, eax
movdqu xmmword [rbp - 0x49], xmm0
mov byte [rbp - 0x33], al
mov r8d, r15d
mov dword [rbp - 0x39], 0x979e80ad
mov word [rbp - 0x35], 0x949b
nop
movsxd rax, r8d
lea rdx, [rbp - 0x49]
add rdx, rax
lea eax, [r8 - 0x22]
inc r8d
xor byte [rdx], al
cmp r8d, 0x16
jb 0x1400722c0
mov rcx, qword [0x140124bf0]
lea rdx, [rbp - 0x49]
mov byte [rbp - 0x33], r15b
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x140124bd4]
mov qword [0x140124bb0], rax
call fcn.140079310
cmp qword [0x140124bb0], r15
je 0x1400724d4
mov rsi, qword [0x140124728]
lea rax, [rbp + 0x67]
sub rsi, rax
mov qword [rbp + 0x67], r15
mov rbx, r15
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [0x1401247f0]
lea rdi, [rbp + 0x67]
mov qword [rsp + 0x38], r15
lea r8, [rbp + 7]
xorps xmm0, xmm0
mov qword [rsp + 0x30], r15
add rdi, rbx
mov dword [rsp + 0x28], 0x30
mov r9d, 0x30
mov qword [rbp + 7], r15
mov edx, 0x80002048
mov qword [rbp + 0x17], r15
movdqu xmmword [rbp + 0x23], xmm0
lea rax, [rsi + rdi]
mov dword [rbp + 0x33], r15d
mov qword [rbp + 0xf], rax
lea rax, [rbp + 7]
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x1f], 1
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1400724d4
movzx eax, byte [rbp + 0x23]
inc rbx
mov byte [rdi], al
cmp rbx, 8
jb 0x140072330
mov rdi, qword [0x140124728]
lea rax, [rbp - 0x31]
sub rdi, rax
mov rbx, r15
nop dword [rax]
mov qword [rsp + 0x38], r15
lea rcx, [rbp - 0x31]
add rcx, rbx
mov qword [rsp + 0x30], r15
xorps xmm0, xmm0
mov dword [rsp + 0x28], 0x30
mov r9d, 0x30
mov qword [rbp - 0x29], r15
lea r8, [rbp - 0x29]
mov qword [rbp - 0x19], r15
lea rax, [rcx + rdi]
mov dword [rbp - 0x11], 1
mov qword [rbp - 0x21], rax
mov edx, 0x8000204c
movzx eax, byte [rcx]
mov rcx, qword [0x1401247f0]
mov dword [rbp - 0xd], eax
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
movdqu xmmword [rbp - 9], xmm0
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1400724d4
inc rbx
cmp rbx, 8
jb 0x1400723c0
mov rax, qword [0x140124bb0]
mov edx, 0x1000
xor ecx, ecx
mov r8d, 0x42777445
call rax
mov rdi, qword [0x140124728]
mov rbx, r15
mov qword [r14], rax
lea rax, [rbp + 0x67]
sub rdi, rax
nop
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 - 0x29], r15
lea r8, [rbp - 0x29]
mov qword [rbp - 0x19], r15
lea rax, [rcx + rdi]
mov dword [rbp - 0x11], 1
mov qword [rbp - 0x21], rax
mov edx, 0x8000204c
movzx eax, byte [rcx]
mov rcx, qword [0x1401247f0]
mov dword [rbp - 0xd], eax
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
movdqu xmmword [rbp - 9], xmm0
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1400724d4
inc rbx
cmp rbx, 8
jb 0x140072460
mov al, 1
jmp 0x1400724d6
xor al, al
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret