Function at 0x1400d3b90
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
sub rsp, 0x228
mov rbx, qword [rcx + 0x14b8]
mov rbp, rcx
test rbx, rbx
jne 0x1400d3bb5
xor eax, eax
add rsp, 0x228
pop rbp
pop rbx
ret
mov qword [rsp + 0x218], rdi
mov qword [rsp + 0x210], r12
lea rcx, [rsp + 0x100]
xor r12d, r12d
xor edx, edx
mov r8d, 0x100
mov dword [rsp + 0x240], r12d
mov qword [rsp + 0x208], r13
call fcn.1402197d0
mov rcx, qword [rbx + 0x4d8]
test rcx, rcx
je 0x1400d3d27
mov rax, qword [0x14025bab8]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x30], r12
mov qword [rdx], rax
mov rax, qword [0x14025bac0]
lea r8d, [r12 + 3]
mov qword [rdx + 8], rax
xor eax, eax
xor r9d, r9d
mov edx, 0xc0000000
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x50], r12d
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 + 0x248], r12d
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov rdi, rax
je 0x1400d3d27
lea rdx, [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], r12
mov rcx, qword [rax]
lea r9d, [r12 + 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], r12d
mov dword [rsp + 0x248], r12d
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 0x1400d3d2e
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x250]
call fcn.14003bed0
mov rdx, qword [rsp + 0x250]
add rdx, 0xffffffffffffffe8
or r13, 0xffffffffffffffff
lock xadd dword [rdx + 0x10], r13d
add r13d, 0xffffffff
test r13d, r13d
jg 0x1400d3d27
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x1400d3fab
mov ecx, dword [rsp + 0x240]
test ecx, ecx
jne 0x1400d3d41
lea eax, [rcx + 1]
jmp 0x1400d3fab
lea rdx, [rcx + rcx*2]
mov eax, 4
mov r13, 0xffffffffffffffff
mov qword [rsp + 0x200], r14
mul rdx
cmovo rax, r13
mov rcx, rax
call fcn.1401dacd0
test rax, rax
mov r14, rax
je 0x1400d3fd5
mov eax, dword [rsp + 0x240]
lea edx, [rax + rax*2]
mov rax, qword [rbp + 0x14b8]
mov rcx, qword [rax + 0x4d8]
shl edx, 2
test rcx, rcx
je 0x1400d3fcd
mov rax, qword [0x14025bab8]
lea r8, [rsp + 0x70]
mov dword [rsp + 0x28], edx
mov qword [r8], rax
mov rax, qword [0x14025bac0]
lea rdx, [rsp + 0x70]
mov qword [r8 + 8], rax
lea r8d, [r13 + 2]
xor r9d, r9d
mov qword [rsp + 0x20], r14
call fcn.14003b7a0
test eax, eax
je 0x1400d3fcd
mov qword [rsp + 0x220], rsi
mov esi, dword [rsp + 0x240]
lea rcx, [rsp + 0x100]
lea rdi, [rsi*8]
mov rdx, r14
mov r8, rdi
call fcn.140219480
shr rdi, 2
lea r8, [rsi*4]
lea rdx, [r14 + rdi*4]
lea rcx, [rsp + 0x80]
call fcn.140219480
test esi, esi
je 0x1400d3f73
mov edx, dword [rsp + 0x48]
mov r9d, dword [rsp + 0x44]
mov r10d, dword [rsp + 0x40]
mov r11d, dword [rsp + 0x24c]
mov ebx, dword [rsp + 0x248]
lea rdi, [rsp + 0x80]
lea r8, [rsp + 0x104]
mov ecx, dword [r8 - 4]
mov eax, r10d
lea rsi, [rsp + 0x40]
xor eax, ecx
and edx, 0xfff00000
add r8, 8
movzx eax, al
add rdi, 4
xor r10d, eax
mov eax, ecx
shr ecx, 0xc
or edx, ecx
mov ecx, dword [rbp + 0xc]
shr eax, 8
add ecx, r12d
xor eax, r9d
mov dword [rsp + 0x40], r10d
and eax, 0xf
mov dword [rsp + 0x48], edx
imul rcx, rcx, 0xa4
xor r9d, eax
mov dword [rsp + 0x44], r9d
mov eax, dword [rsi]
mov dword [rcx + rbp + 0x30], eax
mov eax, dword [rsi + 4]
mov dword [rcx + rbp + 0x34], eax
mov eax, dword [rsi + 8]
mov dword [rcx + rbp + 0x38], eax
mov ecx, dword [r8 - 8]
mov eax, ebx
xor eax, ecx
shr ecx, 8
xor ecx, r11d
movzx eax, al
xor ebx, eax
movzx eax, cx
mov ecx, dword [rbp + 0xc]
add ecx, r12d
xor r11d, eax
mov dword [rsp + 0x248], ebx
mov dword [rsp + 0x24c], r11d
mov rax, qword [rsp + 0x248]
imul rcx, rcx, 0xa4
mov qword [rcx + rbp + 0xb0], rax
mov ecx, dword [rbp + 0xc]
mov eax, dword [rdi - 4]
add ecx, r12d
imul rcx, rcx, 0xa4
mov dword [rcx + rbp + 0xb8], eax
mov ecx, dword [rbp + 0xc]
xor eax, eax
add ecx, r12d
imul rcx, rcx, 0xa4
mov dword [rcx + rbp + 0xd0], 1
mov ecx, dword [rbp + 0xc]
add ecx, r12d
imul rcx, rcx, 0xa4
mov dword [rcx + rbp + 0xc8], r13d
mov ecx, dword [rbp + 0xc]
add ecx, r12d
add r12d, 1
imul rcx, rcx, 0xa4
mov dword [rcx + rbp + 0xbc], eax
mov dword [rcx + rbp + 0xc0], eax
mov dword [rcx + rbp + 0xc4], eax
cmp r12d, dword [rsp + 0x240]
jb 0x1400d3e50
mov rcx, r14
call fcn.1401dacd8
mov eax, dword [rbp + 0xc]
mov r11d, dword [rsp + 0x240]
mov rsi, qword [rsp + 0x220]
mov dword [rbp + 0x14b0], eax
add eax, r11d
mov dword [rbp + 0xc], eax
mov dword [rbp + 0x10], r11d
mov eax, 1
mov r14, qword [rsp + 0x200]
mov r12, qword [rsp + 0x210]
mov rdi, qword [rsp + 0x218]
mov r13, qword [rsp + 0x208]
add rsp, 0x228
pop rbp
pop rbx
ret
mov rcx, r14
call fcn.1401dacd8
xor eax, eax
jmp 0x1400d3fa3