Function at 0x1400e8f18
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], r9
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x57]
sub rsp, 0x90
and dword [rbp + 0x5f], 0
xor r14d, r14d
mov rdi, r9
mov r12d, r8d
mov rbx, rcx
xor r15b, r15b
mov qword [rbp - 0x31], r14
mov rcx, qword [0x14017d3a8]
lea rsi, [0x14017d3a8]
cmp rcx, rsi
je 0x1400e8f88
test byte [rcx + 0x1c], 4
je 0x1400e8f88
cmp byte [rcx + 0x19], 4
jb 0x1400e8f88
mov rcx, qword [rcx + 0x10]
lea r8, [0x14000d0d8]
mov edx, 0xbe
call fcn.14001dd24
lea rdx, [0x14000d0e8]
mov r8d, CoRevokeClassObject
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RtlCompareMemory]
cmp rax, 0x10
jne 0x1400e8fab
mov r15b, byte [rbx + 0x150]
mov edx, dword [rbx + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r13, rax
test rax, rax
jne 0x1400e8fc7
lea eax, [r13 + 3]
jmp 0x1400e9436
mov r8d, dword [rbx + 0x48]
lea rcx, [rbp - 0x19]
mov rdx, rax
call qword [sym.imp.ntdll.dll_RtlInitializeBitMap]
mov r8d, dword [rbx + 0x48]
mov rdx, qword [rbx + 0x58]
lea rcx, [rbp - 0x29]
call qword [sym.imp.ntdll.dll_RtlInitializeBitMap]
mov rax, qword [0x14017d3a8]
cmp rax, rsi
je 0x1400e902b
test byte [rax + 0x1c], 4
je 0x1400e902b
cmp byte [rax + 0x19], 4
jb 0x1400e902b
lea rcx, [rbp - 0x29]
call qword [sym.imp.ntdll.dll_RtlNumberOfSetBits]
mov rcx, qword [0x14017d3a8]
lea r8, [0x14000d0d8]
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov edx, 0xbf
call fcn.14001de24
mov eax, dword [rbx + 0x4c]
mov rsi, qword [rbp + 0x7f]
mov rcx, qword [rbx + 0x20]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], eax
mov eax, dword [rbx + 0x48]
mov r9, r13
mov r8, rdi
mov edx, r12d
mov dword [rsp + 0x20], eax
call fcn.1400d4f70
mov edi, eax
test eax, eax
jne 0x1400e93a8
mov eax, dword [rbp - 0x29]
mov rcx, qword [rbp - 0x21]
mov rdx, qword [rbp - 0x11]
add rax, 0x1f
shr rax, 5
test eax, eax
je 0x1400e9089
mov r8d, eax
mov eax, dword [rdx]
add rdx, 4
xor dword [rcx], eax
add rcx, 4
dec r8
jne 0x1400e9078
cmp dword [rbx + 0x4c], 1
je 0x1400e9099
cmp dword [rbx + 0x4c], 4
jne 0x1400e93a8
mov qword [rsp + 0x38], rsi
or qword [rsp + 0x30], 0xffffffffffffffff
lea rax, [0x14000d068]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x67]
lea rcx, [rbp - 0x29]
mov r9d, r12d
mov r8b, 1
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.1400d660c
mov edi, eax
test eax, eax
jne 0x1400e93a8
mov qword [rsp + 0x38], rsi
or qword [rsp + 0x30], 0xffffffffffffffff
lea rax, [0x14000d088]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x67]
lea rcx, [rbp - 0x29]
mov r9d, r12d
mov r8b, 1
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.1400d660c
mov edi, eax
test eax, eax
jne 0x1400e93a8
mov rax, qword [rbp + 0x67]
lea rcx, [rbp - 0x29]
mov r9d, r12d
mov r8b, 1
xor edx, edx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call fcn.1400d6e60
mov edi, eax
test eax, eax
jne 0x1400e93a8
test r15b, r15b
jne 0x1400e9152
mov rdx, rsi
mov rcx, rbx
call fcn.1400e952c
mov edi, eax
test eax, eax
jne 0x1400e93a8
cmp byte [rbx + 0xb8], r14b
je 0x1400e9383
lea rcx, [rbp - 0x19]
call qword [sym.imp.ntdll.dll_RtlClearAllBits]
test r15b, r15b
jne 0x1400e91f2
and qword [rsp + 0x38], r14
mov rcx, qword [rbx + 0x20]
lea rax, [rbp + 0x5f]
mov qword [rsp + 0x30], rax
mov eax, dword [rbx + 0x50]
xor r9d, r9d
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov edx, 0x5301b2
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400e928e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi], eax
mov rcx, qword [0x14017d3a8]
lea rbx, [0x14017d3a8]
cmp rcx, rbx
je 0x1400e91e8
test byte [rcx + 0x1c], 4
je 0x1400e91e8
cmp byte [rcx + 0x19], 2
jb 0x1400e91e8
mov rcx, qword [rcx + 0x10]
lea r8, [0x14000d0d8]
mov edx, 0xc0
mov r9d, eax
call fcn.14001de24
mov edi, 2
jmp 0x1400e93af
mov rax, qword [rbp + 0x67]
lea rcx, [rbp - 0x29]
mov r9d, r12d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call fcn.1400d6e60
mov edi, eax
test eax, eax
jne 0x1400e93a8
mov eax, dword [rbx + 0x48]
mov r8, qword [rbp + 0x77]
mov rcx, qword [rbx + 0x20]
mov r9, r13
mov edx, r12d
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], eax
call fcn.1400d5394
mov edi, eax
test eax, eax
je 0x1400e928e
mov rcx, qword [0x14017d3a8]
lea rbx, [0x14017d3a8]
cmp rcx, rbx
je 0x1400e93af
test byte [rcx + 0x1c], 4
je 0x1400e93af
cmp byte [rcx + 0x19], 2
jb 0x1400e93af
mov eax, dword [rsi]
mov rcx, qword [rcx + 0x10]
lea r8, [0x14000d0d8]
mov edx, 0xc1
mov r9d, edi
mov dword [rsp + 0x20], eax
call fcn.1400285b4
jmp 0x1400e93af
mov eax, dword [rbp - 0x29]
mov rcx, qword [rbp - 0x21]
mov rdx, qword [rbp - 0x11]
add rax, 0x1f
shr rax, 5
test eax, eax
je 0x1400e92b9
mov r8d, eax
mov eax, dword [rdx]
add rdx, 4
or dword [rcx], eax
add rcx, 4
dec r8
jne 0x1400e92a8
test r15b, r15b
jne 0x1400e93a8
mov r8d, dword [rbx + 0x48]
mov rdx, qword [rbx + 0x68]
lea rcx, [rbp - 9]
shl r8d, 2
call qword [sym.imp.ntdll.dll_RtlInitializeBitMap]
xor edi, edi
cmp dword [rbx + 0x48], edi
jbe 0x1400e9311
mov edx, edi
lea rcx, [rbp - 9]
mov r8d, 4
shl edx, 2
call qword [sym.imp.ntdll.dll_RtlAreBitsClear]
test al, al
jne 0x1400e930a
lea rcx, [rbp - 0x29]
mov r8d, 1
mov edx, edi
call qword [sym.imp.ntdll.dll_RtlSetBits]
inc edi
cmp edi, dword [rbx + 0x48]
jb 0x1400e92df
movups xmm0, xmmword [rbx + 0x30]
lea rdx, [rbp - 0x31]
lea rcx, [rbp + 0xf]
movdqu xmmword [rbp + 0xf], xmm0
call fcn.1400d7ab0
mov r14, qword [rbp - 0x31]
mov edi, eax
test eax, eax
jne 0x1400e93a8
mov rax, qword [rbp + 0x67]
mov qword [rsp + 0x38], rsi
or qword [rsp + 0x30], 0xffffffffffffffff
lea rcx, [rbp - 0x29]
mov r9d, r12d
mov r8b, 1
xor edx, edx
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
call fcn.1400d660c
mov edi, eax
test eax, eax
jne 0x1400e93a8
lea r9, [rbx + 0xbc]
lea r8, [rbx + 0x70]
mov rdx, rsi
mov rcx, rbx
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 1
call fcn.1400e1e50
jmp 0x1400e93a6
test r15b, r15b
jne 0x1400e93a8
xor edx, edx
lea rcx, [rbp - 0x29]
lea r8d, [rdx + 1]
call qword [sym.imp.ntdll.dll_RtlSetBits]
mov r8, rsi
mov edx, r12d
mov rcx, rbx
call fcn.1400e8894
mov edi, eax
lea rbx, [0x14017d3a8]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LocalFree]
test r14, r14
je 0x1400e93c6
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [0x14017d3a8]
cmp rcx, rbx
je 0x1400e9434
test byte [rcx + 0x1c], 4
je 0x1400e940e
cmp byte [rcx + 0x19], 4
jb 0x1400e940e
lea rcx, [rbp - 0x29]
call qword [sym.imp.ntdll.dll_RtlNumberOfSetBits]
mov rcx, qword [0x14017d3a8]
lea r8, [0x14000d0d8]
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov edx, 0xc2
call fcn.14001de24
mov rcx, qword [0x14017d3a8]
cmp rcx, rbx
je 0x1400e9434
test byte [rcx + 0x1c], 4
je 0x1400e9434
cmp byte [rcx + 0x19], 4
jb 0x1400e9434
mov rcx, qword [rcx + 0x10]
lea r8, [0x14000d0d8]
mov edx, 0xc3
call fcn.14001dd24
mov eax, edi
mov rbx, qword [rsp + 0xe0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret