Function at 0x1400c9db0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
sub rsp, 0x228
mov rbx, qword [rcx + 0x1540]
mov rbp, rcx
test rbx, rbx
jne 0x1400c9dd5
xor eax, eax
add rsp, 0x228
pop rbp
pop rbx
ret
mov qword [rsp + 0x220], rdi
mov qword [rsp + 0x218], r12
lea rcx, [rsp + 0x100]
mov qword [rsp + 0x200], r15
xor r15d, r15d
xor edx, edx
mov r8d, pe_nt_image_headers64
mov dword [rsp + 0x240], r15d
call fcn.14022ec70
mov rcx, qword [rbx + 0x4f0]
test rcx, rcx
je 0x1400c9f3d
mov rax, qword [0x140274338]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x30], r15
mov qword [rdx], rax
mov rax, qword [0x140274340]
lea r8d, [r15 + 3]
mov qword [rdx + 8], rax
xor eax, eax
xor r9d, r9d
mov edx, 0xc0000000
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x248], r15d
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x50], r15d
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov rdi, rax
je 0x1400c9f3d
lea rdx, [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], r15
mov rcx, qword [rax]
lea r9d, [r15 + 0x18]
lea r8, [rsp + 0x50]
mov qword [rdx], rcx
mov rcx, qword [rax + 8]
lea rax, [rsp + 0x248]
mov qword [rdx + 8], rcx
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x240]
mov edx, 0x2f0003
mov rcx, rdi
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x64], 1
mov dword [rsp + 0x60], r15d
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x1400c9f44
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x250]
call fcn.14003e9f0
mov rdx, qword [rsp + 0x250]
add rdx, 0xffffffffffffffe8
or r12, 0xffffffffffffffff
lock xadd dword [rdx + 0x10], r12d
add r12d, 0xffffffff
test r12d, r12d
jg 0x1400c9f3d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x1400ca210
mov ecx, dword [rsp + 0x240]
test ecx, ecx
jne 0x1400c9f57
lea eax, [rcx + 1]
jmp 0x1400ca210
lea rdx, [rcx + rcx*2]
mov eax, 4
mov r12, 0xffffffffffffffff
mov qword [rsp + 0x210], r13
mul rdx
cmovo rax, r12
mov rcx, rax
call fcn.1401f0b90
test rax, rax
mov r13, rax
je 0x1400ca23a
mov eax, dword [rsp + 0x240]
lea edx, [rax + rax*2]
mov rax, qword [rbp + 0x1540]
mov rcx, qword [rax + 0x4f0]
shl edx, 2
test rcx, rcx
je 0x1400ca232
mov rax, qword [0x140274338]
lea r8, [rsp + 0x70]
mov dword [rsp + 0x28], edx
mov qword [r8], rax
mov rax, qword [0x140274340]
lea rdx, [rsp + 0x70]
mov qword [r8 + 8], rax
lea r8d, [r12 + 2]
xor r9d, r9d
mov qword [rsp + 0x20], r13
call fcn.14003dd00
test eax, eax
je 0x1400ca232
mov qword [rsp + 0x258], rsi
mov esi, dword [rsp + 0x240]
lea rcx, [rsp + 0x100]
lea rdi, [rsi*8]
mov rdx, r13
mov r8, rdi
call fcn.14022e920
shr rdi, 2
lea r8, [rsi*4]
lea rdx, [r13 + rdi*4]
lea rcx, [rsp + 0x80]
call fcn.14022e920
test esi, esi
mov r11d, r15d
je 0x1400ca1df
mov edx, dword [rsp + 0x48]
mov r9d, dword [rsp + 0x44]
mov r10d, dword [rsp + 0x40]
mov ebx, dword [rsp + 0x24c]
mov edi, dword [rsp + 0x248]
mov qword [rsp + 0x208], r14
mov r14d, dword [rbp + 0xc]
lea rsi, [rsp + 0x80]
lea r8, [rsp + 0x104]
nop
nop
nop
mov ecx, dword [r8 - 4]
mov eax, r10d
and edx, 0xfff00000
xor eax, ecx
movzx eax, al
xor r10d, eax
mov eax, ecx
shr ecx, 0xc
or edx, ecx
shr eax, 8
lea ecx, [r14 + r11]
xor eax, r9d
lea r14, [rsp + 0x40]
mov dword [rsp + 0x40], r10d
imul rcx, rcx, 0xa8
and eax, 0xf
mov dword [rsp + 0x48], edx
xor r9d, eax
mov dword [rsp + 0x44], r9d
mov eax, dword [r14]
mov dword [rcx + rbp + 0x38], eax
mov eax, dword [r14 + 4]
mov dword [rcx + rbp + 0x3c], eax
mov eax, dword [r14 + 8]
mov dword [rcx + rbp + 0x40], eax
mov ecx, dword [r8]
mov eax, edi
xor eax, ecx
shr ecx, 8
xor ecx, ebx
movzx eax, al
xor edi, eax
movzx eax, cx
mov ecx, dword [rbp + 0xc]
add ecx, r11d
xor ebx, eax
mov dword [rsp + 0x248], edi
mov dword [rsp + 0x24c], ebx
mov rax, qword [rsp + 0x248]
imul rcx, rcx, 0xa8
mov qword [rcx + rbp + 0xb8], rax
mov ecx, dword [rbp + 0xc]
mov eax, dword [rsi]
add ecx, r11d
imul rcx, rcx, 0xa8
mov dword [rcx + rbp + 0xc0], eax
mov ecx, dword [rbp + 0xc]
xor eax, eax
add ecx, r11d
imul rcx, rcx, 0xa8
mov dword [rcx + rbp + 0xd8], 1
mov ecx, dword [rbp + 0xc]
add ecx, r11d
imul rcx, rcx, 0xa8
mov dword [rcx + rbp + 0xdc], 1
mov ecx, dword [rbp + 0xc]
add ecx, r11d
imul rcx, rcx, 0xa8
mov dword [rcx + rbp + 0xd0], r12d
mov ecx, dword [rbp + 0xc]
add ecx, r11d
imul rcx, rcx, 0xa8
mov dword [rcx + rbp + 0xc4], eax
mov dword [rcx + rbp + 0xc8], eax
mov dword [rcx + rbp + 0xcc], eax
mov r14d, dword [rbp + 0xc]
lea ecx, [r14 + r11]
imul rcx, rcx, 0xa8
cmp byte [rcx + rbp + 0xbd], 4
sete al
add r11d, 1
add r8, 8
and dword [rbp + 0x153c], eax
add rsi, 4
cmp r11d, dword [rsp + 0x240]
jb 0x1400ca080
mov r14, qword [rsp + 0x208]
mov rcx, r13
call fcn.1401f0b88
mov r11d, dword [rsp + 0x240]
mov rsi, qword [rsp + 0x258]
add dword [rbp + 0x10], r11d
add dword [rbp + 0xc], r11d
mov dword [rbp + 0x18], r11d
mov eax, 1
mov r13, qword [rsp + 0x210]
mov r12, qword [rsp + 0x218]
mov rdi, qword [rsp + 0x220]
mov r15, qword [rsp + 0x200]
add rsp, 0x228
pop rbp
pop rbx
ret
mov rcx, r13
call fcn.1401f0b88
xor eax, eax
jmp 0x1400ca208