Function at 0x1400db790
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x310
mov rax, qword [0x14010a078]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov rax, qword [rsp + 0x388]
lea rdi, [rsp + 0x120]
movsxd r12, dword [rsp + 0x380]
xor esi, esi
mov r11, qword [rsp + 0x370]
mov rbx, rcx
mov rcx, qword [rsp + 0x3d8]
mov ebp, 0xfffffc18
mov r10, qword [rsp + 0x3a0]
mov r14, qword [rsp + 0x3c0]
mov r15, qword [rsp + 0x3e0]
and dword [rcx], esi
mov r13, qword [rsp + 0x400]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x398]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x3a8]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x3b8]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x3c8]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x3d0]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x3e8]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x3f0]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x3f8]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x408]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x410]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x418]
mov qword [rsp + 0xf8], r8
mov r8, qword [rsp + 0x3b0]
mov dword [rsp + 0xc8], edx
mov edx, dword [rsp + 0x390]
mov qword [rsp + 0x108], rax
mov dword [rsp + 0x84], r9d
mov qword [rsp + 0xb0], r11
mov dword [rsp + 0x80], edx
mov qword [rsp + 0xb8], r10
mov qword [rsp + 0x90], r8
mov qword [rsp + 0xf0], rcx
cmp r12d, 0x78
jle 0x1400db98a
mov rax, qword [rbx + 0x10]
xor edi, edi
mov esi, 1
mov qword [rsp + 0xe8], rdi
mov rcx, qword [rax + 0x2a0]
test rcx, rcx
je 0x1400db97c
lea r9, [rsp + 0xe8]
mov edx, r12d
lea r8d, [rsi + 3]
call fcn.1400a51b0
mov edx, dword [rsp + 0x80]
mov r8, qword [rsp + 0x90]
mov r10, qword [rsp + 0xb8]
mov r9d, dword [rsp + 0x84]
mov r11, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xe8]
jmp 0x1400db97e
mov eax, ebp
test eax, eax
je 0x1400db98a
mov r9d, eax
jmp 0x1400dbe98
mov rcx, qword [rsp + 0xd0]
mov rax, qword [rbx]
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x58], rcx
mov rcx, qword [rsp + 0xd8]
mov rax, qword [rax + 0x130]
mov qword [rsp + 0x50], rcx
mov rcx, qword [rsp + 0xe0]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rcx
mov rcx, qword [rsp + 0xa8]
mov qword [rsp + 0x38], r8
mov r8, r10
mov dword [rsp + 0x30], r9d
mov r9d, edx
mov dword [rsp + 0x28], r12d
mov rdx, r11
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbx + 8]
call qword [case.0x1400739fa.0]
test eax, eax
jne 0x1400db982
cmp dword [r14], eax
jg 0x1400dba06
or r9d, 0xffffffff
jmp 0x1400dbe98
cmp dword [r14], 0x78
jle 0x1400dbb0c
mov rax, qword [rsp + 0xf0]
mov rdx, qword [rsp + 0x88]
mov dword [rax], 1
and qword [r15], 0
mov rax, qword [rsp + 0xa0]
and qword [rax], 0
and qword [rdx], 0
mov rax, qword [rsp + 0x98]
and qword [rax], 0
and qword [r13], 0
mov rax, qword [rbx + 0x10]
mov rcx, qword [rax + 0x2a0]
test rcx, rcx
je 0x1400dba76
mov edx, dword [r14]
mov r9, r15
mov r8d, 4
call fcn.1400a51b0
mov rdx, qword [rsp + 0x88]
jmp 0x1400dba78
mov eax, ebp
test eax, eax
jne 0x1400db982
mov rax, qword [rbx + 0x10]
mov rcx, qword [rax + 0x2a0]
test rcx, rcx
je 0x1400dbaa3
mov r9, rdx
mov r8d, 4
mov edx, dword [r14]
call fcn.1400a51b0
jmp 0x1400dbaa5
mov eax, ebp
test eax, eax
jne 0x1400db982
mov rax, qword [rbx + 0x10]
mov rcx, qword [rax + 0x2a0]
test rcx, rcx
je 0x1400dbad5
mov r9, qword [rsp + 0x98]
mov r8d, 8
mov edx, dword [r14]
call fcn.1400a51b0
jmp 0x1400dbad7
mov eax, ebp
test eax, eax
jne 0x1400db982
mov rax, qword [rbx + 0x10]
mov rcx, qword [rax + 0x2a0]
test rcx, rcx
je 0x1400dbb02
mov edx, dword [r14]
mov r9, r13
mov r8d, 1
call fcn.1400a51b0
jmp 0x1400dbb04
mov eax, ebp
test eax, eax
jne 0x1400db982
movsxd r8, dword [r14]
xor edx, edx
mov rcx, qword [rsp + 0x88]
shl r8, 2
mov rcx, qword [rcx]
call sub.msvcrt.dll_memset
movsxd r8, dword [r14]
xor edx, edx
mov rcx, qword [r13]
call sub.msvcrt.dll_memset
mov rax, qword [r13]
mov edx, r12d
mov r9, qword [rsp + 0xc0]
mov r8d, dword [r14]
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
call fcn.1400cf0d0
test eax, eax
jne 0x1400db982
mov rdx, r12
test r12d, r12d
jle 0x1400dbb8f
mov rcx, qword [rsp + 0xc0]
mov r8, rdi
sub r8, rcx
mov eax, dword [r8 + rcx]
shl eax, 0x11
xor eax, dword [rcx]
and eax, 0x20000
xor dword [rcx], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x1400dbb75
mov rax, qword [rbx]
mov ecx, dword [r14]
mov r9d, dword [rsp + 0x80]
mov r8, qword [rsp + 0xb8]
mov r10, qword [rax + 0x138]
mov rax, qword [rsp + 0x98]
mov rdx, qword [rsp + 0xb0]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
mov rax, qword [r15]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0xd0]
mov dword [rsp + 0x58], ecx
mov rcx, qword [rax]
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x50], rcx
mov rcx, qword [rax]
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x48], rcx
mov rcx, qword [rbx + 8]
mov dword [rsp + 0x40], r12d
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x28], rax
mov rax, r10
mov dword [rsp + 0x20], 1
call qword [case.0x1400739fa.0]
test eax, eax
jne 0x1400db982
cmp dword [rbx + 0x170], eax
je 0x1400dbd75
mov rax, qword [rsp + 0xf0]
cmp dword [rax], 0
je 0x1400dbc91
mov rax, qword [rbx + 0x10]
mov rcx, qword [rax + 0x2a0]
test rcx, rcx
je 0x1400dbc85
mov r9, qword [rsp + 0xa0]
mov r8d, 4
mov edx, dword [r14]
call fcn.1400a51b0
mov ebp, eax
test ebp, ebp
je 0x1400dbc91
mov r9d, ebp
jmp 0x1400dbe98
cmp dword [rbx + 0x174], 0
jne 0x1400dbd5b
mov rax, qword [rbx]
mov ecx, dword [r14]
mov ebp, dword [rsp + 0x80]
mov r9d, ebp
mov r8, qword [rsp + 0xb8]
mov r10, qword [rax + 0x138]
mov rax, qword [rsp + 0x98]
mov rdx, qword [rsp + 0xb0]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0xd0]
mov dword [rsp + 0x58], ecx
mov rcx, qword [rax]
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x50], rcx
mov rcx, qword [rax]
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x48], rcx
mov rcx, qword [rbx + 8]
mov dword [rsp + 0x40], r12d
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x28], rax
mov rax, r10
and dword [rsp + 0x20], 0
call qword [case.0x1400739fa.0]
test eax, eax
je 0x1400dbd7c
jmp 0x1400db982
mov rax, qword [rsp + 0xa0]
movsxd r8, dword [r14]
mov rdx, qword [r15]
shl r8, 2
mov rcx, qword [rax]
call sub.msvcrt.dll_memcpy
mov ebp, dword [rsp + 0x80]
mov rax, qword [rsp + 0x378]
test byte [rax + 8], 2
je 0x1400dbe13
mov r9d, dword [rsp + 0x84]
lea eax, [rbp - 1]
mov r8, qword [rsp + 0xf8]
mov edx, dword [rsp + 0xc8]
movsxd rcx, eax
mov rax, qword [r13]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [r15]
mov qword [rsp + 0x40], rax
mov eax, dword [r14]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xb0]
mov dword [rsp + 0x28], r12d
mov rax, qword [rax + rcx*8]
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.1400dc10c
test eax, eax
jne 0x1400db982
mov rax, qword [rsp + 0x100]
mov r9d, ebp
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0xc0]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x50], rax
mov rax, qword [r13]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [r15]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x20], rax
call fcn.1400dc2d8
test eax, eax
jne 0x1400db982
xor r9d, r9d
mov r8, rdi
mov edx, esi
mov rcx, rbx
call fcn.1400dc52c
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.1400e27e0
mov rbx, qword [rsp + 0x358]
add rsp, 0x310
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret