Function at 0x1400dd554
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 [0x14010a068]
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 dword [rsp + 0x80], edx
mov qword [rsp + 0xb0], r11
mov qword [rsp + 0xb8], r10
mov qword [rsp + 0x90], r8
mov qword [rsp + 0xf0], rcx
cmp r12d, 0x78
jle 0x1400dd74e
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 0x1400dd740
lea r9, [rsp + 0xe8]
mov edx, r12d
lea r8d, [rsi + 3]
call fcn.1400a6334
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 0x1400dd742
mov eax, ebp
test eax, eax
je 0x1400dd74e
mov r9d, eax
jmp 0x1400ddc5a
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.0x140064bf9.0]
test eax, eax
jne 0x1400dd746
cmp dword [r14], eax
jg 0x1400dd7ca
or r9d, 0xffffffff
jmp 0x1400ddc5a
cmp dword [r14], 0x78
jle 0x1400dd8d0
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 0x1400dd83a
mov edx, dword [r14]
mov r9, r15
mov r8d, 4
call fcn.1400a6334
mov rdx, qword [rsp + 0x88]
jmp 0x1400dd83c
mov eax, ebp
test eax, eax
jne 0x1400dd746
mov rax, qword [rbx + 0x10]
mov rcx, qword [rax + 0x2a0]
test rcx, rcx
je 0x1400dd867
mov r9, rdx
mov r8d, 4
mov edx, dword [r14]
call fcn.1400a6334
jmp 0x1400dd869
mov eax, ebp
test eax, eax
jne 0x1400dd746
mov rax, qword [rbx + 0x10]
mov rcx, qword [rax + 0x2a0]
test rcx, rcx
je 0x1400dd899
mov r9, qword [rsp + 0x98]
mov r8d, 8
mov edx, dword [r14]
call fcn.1400a6334
jmp 0x1400dd89b
mov eax, ebp
test eax, eax
jne 0x1400dd746
mov rax, qword [rbx + 0x10]
mov rcx, qword [rax + 0x2a0]
test rcx, rcx
je 0x1400dd8c6
mov edx, dword [r14]
mov r9, r13
mov r8d, 1
call fcn.1400a6334
jmp 0x1400dd8c8
mov eax, ebp
test eax, eax
jne 0x1400dd746
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.1400d0b8c
test eax, eax
jne 0x1400dd746
mov rdx, r12
test r12d, r12d
jle 0x1400dd953
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 0x1400dd939
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.0x140064bf9.0]
test eax, eax
jne 0x1400dd746
cmp dword [rbx + 0x170], eax
je 0x1400ddb39
mov rax, qword [rsp + 0xf0]
cmp dword [rax], 0
je 0x1400dda55
mov rax, qword [rbx + 0x10]
mov rcx, qword [rax + 0x2a0]
test rcx, rcx
je 0x1400dda49
mov r9, qword [rsp + 0xa0]
mov r8d, 4
mov edx, dword [r14]
call fcn.1400a6334
mov ebp, eax
test ebp, ebp
je 0x1400dda55
mov r9d, ebp
jmp 0x1400ddc5a
cmp dword [rbx + 0x174], 0
jne 0x1400ddb1f
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.0x140064bf9.0]
test eax, eax
je 0x1400ddb40
jmp 0x1400dd746
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 0x1400ddbd5
mov rax, qword [r13]
mov r9d, dword [rsp + 0x84]
mov r8, qword [rsp + 0xf8]
mov edx, dword [rsp + 0xc8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x88]
movsxd rcx, ebp
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 - 8]
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.1400dded8
test eax, eax
jne 0x1400dd746
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.1400de0a4
test eax, eax
jne 0x1400dd746
xor r9d, r9d
mov r8, rdi
mov edx, esi
mov rcx, rbx
call fcn.1400de300
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.1400e3680
mov rbx, qword [rsp + 0x358]
add rsp, 0x310
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret