Function at 0x1400ca3a0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xa0
mov rax, qword [0x140176810]
xor rax, rsp
mov qword [rsp + 0x60], rax
movzx eax, byte [0x140182983]
mov rbx, r8
mov rdi, r9
mov qword [rsp + 0x40], r9
mov r14, rdx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rbx
test al, al
jne 0x1400ca3ef
call fcn.1400d4c30
movzx eax, byte [0x140182983]
mov rcx, qword [rsp + 0x50]
cmp byte [0x1401833d4], 0
mov qword [rsp + 0x90], rsi
je 0x1400ca422
xor esi, esi
mov r9, rdi
mov r8, rbx
mov rdx, r14
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], 0x10
call fcn.1400cae60
jmp 0x1400ca8eb
mov rdi, qword [rcx + 0x128]
mov qword [rsp + 0x98], rbp
mov qword [rsp + 0x88], r12
mov r8d, dword [rdi + 4]
mov r9d, dword [rdi + 8]
mov r10d, dword [rdi + 0xc]
xor r8d, dword [r14 + 4]
xor r9d, dword [r14 + 8]
xor r10d, dword [r14 + 0xc]
mov r12d, dword [r14]
mov ebp, dword [rdi + 0x1c]
mov r14d, dword [rdi + 0x18]
xor r12d, dword [rdi]
mov qword [rsp + 0x80], r13
mov r13d, dword [rdi + 0x14]
mov qword [rsp + 0x78], r15
mov r15d, dword [rdi + 0x10]
add rdi, 0x20
mov dword [rsp + 0x34], r8d
mov dword [rsp + 0x38], r9d
mov dword [rsp + 0x30], r10d
test al, al
jne 0x1400ca499
call fcn.1400d4c30
mov r8d, dword [rsp + 0x34]
mov r9d, dword [rsp + 0x38]
mov r11d, dword [0x140179c74]
xor esi, esi
lea r10, [0x140183880]
mov edx, esi
mov ecx, esi
nop dword [rax]
mov eax, ecx
add ecx, r11d
and edx, dword [rax + r10]
cmp ecx, 0x800
jb 0x1400ca4b0
and edx, dword [0x140184078]
mov r10d, dword [rsp + 0x30]
lea rbx, [0x140183880]
or r12d, edx
or r10d, edx
or r9d, edx
or r8d, edx
movzx ecx, r9b
movzx eax, r10b
xor ebp, dword [rbx + rax*8 + 4]
shr r10d, 8
shr r9d, 8
movzx eax, r10b
shr r10d, 8
xor r15d, dword [rbx + rax*8 + 1]
mov eax, r10d
shr eax, 8
shl eax, 3
mov eax, dword [rax + rbx + 3]
xor eax, dword [rbx + rcx*8 + 4]
xor r14d, eax
movzx eax, r9b
shr r9d, 8
xor ebp, dword [rbx + rax*8 + 1]
mov ecx, r9d
movzx eax, r8b
shr ecx, 8
shr r8d, 8
shl ecx, 3
mov edx, dword [rcx + rbx + 3]
xor edx, dword [rbx + rax*8 + 4]
movzx eax, r10b
xor edx, dword [rbx + rax*8 + 2]
movzx eax, r8b
shr r8d, 8
xor r14d, dword [rbx + rax*8 + 1]
movzx eax, r12b
shr r12d, 8
xor r13d, edx
mov ecx, r8d
shr ecx, 8
shl ecx, 3
mov edx, dword [rcx + rbx + 3]
movzx ecx, r8b
xor edx, dword [rbx + rax*8 + 4]
movzx eax, r9b
xor edx, dword [rbx + rax*8 + 2]
movzx eax, r12b
shr r12d, 8
xor r13d, dword [rbx + rax*8 + 1]
movzx eax, r12b
shr r12d, 8
xor r14d, dword [rbx + rax*8 + 2]
shl r12d, 3
xor r15d, edx
mov eax, dword [r12 + rbx + 3]
xor eax, dword [rbx + rcx*8 + 2]
xor ebp, eax
mov rax, qword [rsp + 0x50]
mov r12d, dword [rax + 0x18]
shr r12d, 1
dec r12d
nop dword [rax]
nop word [rax + rax]
movzx eax, bpl
shr ebp, 8
mov r9d, dword [rbx + rax*8 + 3]
movzx eax, bpl
shr ebp, 8
mov r11d, dword [rbx + rax*8 + 2]
xor r9d, dword [rdi + 8]
movzx eax, r14b
xor r11d, dword [rdi + 4]
shr r14d, 8
xor r11d, dword [rbx + rax*8 + 3]
movzx eax, bpl
movzx ecx, r14b
mov r10d, dword [rbx + rcx*8 + 2]
shr ebp, 8
shr r14d, 8
xor r10d, dword [rbx + rax*8 + 1]
movzx eax, r13b
shr r13d, 8
xor r10d, dword [rdi]
shl ebp, 3
xor r10d, dword [rbx + rax*8 + 3]
mov r8d, dword [rbp + rbx + 4]
movzx eax, r13b
xor r8d, dword [rbx + rax*8 + 2]
shr r13d, 8
movzx eax, r14b
xor r8d, dword [rbx + rax*8 + 1]
movzx eax, r15b
shr r15d, 8
xor r8d, dword [rdi + 0xc]
shr r14d, 8
xor r8d, dword [rbx + rax*8 + 3]
movzx eax, r15b
shr r15d, 8
movzx ecx, r15b
shr r15d, 8
shl r14d, 3
mov edx, dword [r14 + rbx + 4]
shl r15d, 3
xor edx, dword [rbx + rax*8 + 2]
xor r10d, dword [r15 + rbx + 4]
movzx eax, r13b
xor edx, dword [rbx + rax*8 + 1]
shr r13d, 8
shl r13d, 3
xor r9d, edx
mov eax, dword [r13 + rbx + 4]
xor eax, dword [rbx + rcx*8 + 1]
xor r11d, eax
movzx eax, r8b
shr r8d, 8
mov r14d, dword [rbx + rax*8 + 3]
movzx eax, r8b
shr r8d, 8
mov r13d, dword [rbx + rax*8 + 2]
xor r14d, dword [rdi + 0x18]
movzx eax, r9b
xor r13d, dword [rdi + 0x14]
shr r9d, 8
xor r13d, dword [rbx + rax*8 + 3]
movzx eax, r8b
shr r8d, 8
movzx ecx, r9b
shl r8d, 3
shr r9d, 8
mov r15d, dword [rbx + rcx*8 + 2]
mov ebp, dword [r8 + rbx + 4]
xor r15d, dword [rbx + rax*8 + 1]
movzx eax, r11b
shr r11d, 8
xor r15d, dword [rdi + 0x10]
xor r15d, dword [rbx + rax*8 + 3]
movzx eax, r11b
shr r11d, 8
xor ebp, dword [rbx + rax*8 + 2]
movzx eax, r9b
xor ebp, dword [rbx + rax*8 + 1]
movzx eax, r10b
xor ebp, dword [rdi + 0x1c]
xor ebp, dword [rbx + rax*8 + 3]
shr r10d, 8
shr r9d, 8
lea rdi, [rdi + 0x20]
movzx eax, r10b
shr r10d, 8
shl r9d, 3
mov edx, dword [r9 + rbx + 4]
movzx ecx, r10b
shr r10d, 8
xor edx, dword [rbx + rax*8 + 2]
movzx eax, r11b
shr r11d, 8
xor edx, dword [rbx + rax*8 + 1]
shl r11d, 3
shl r10d, 3
mov eax, dword [r11 + rbx + 4]
xor r15d, dword [r10 + rbx + 4]
xor r14d, edx
xor eax, dword [rbx + rcx*8 + 1]
xor r13d, eax
dec r12d
jne 0x1400ca5c0
mov r12, qword [rsp + 0x88]
movzx eax, r14b
shr r14d, 8
movzx eax, byte [rbx + rax*8]
mov byte [rsp + 0x57], al
movzx eax, r14b
shr r14d, 8
movzx eax, byte [rbx + rax*8]
mov byte [rsp + 0x52], al
movzx eax, r14b
movzx eax, byte [rbx + rax*8]
mov byte [rsp + 0x5d], al
mov eax, r14d
shr rax, 8
movzx eax, byte [rbx + rax*8]
mov byte [rsp + 0x58], al
movzx eax, r13b
shr r13d, 8
movzx eax, byte [rbx + rax*8]
mov byte [rsp + 0x53], al
movzx eax, r13b
shr r13d, 8
movzx eax, byte [rbx + rax*8]
mov byte [rsp + 0x5e], al
movzx eax, r13b
movzx eax, byte [rbx + rax*8]
mov byte [rsp + 0x59], al
mov eax, r13d
mov r13, qword [rsp + 0x80]
shr rax, 8
movzx eax, byte [rbx + rax*8]
mov byte [rsp + 0x54], al
movzx eax, r15b
shr r15d, 8
movzx eax, byte [rbx + rax*8]
mov byte [rsp + 0x5f], al
movzx eax, r15b
shr r15d, 8
movzx eax, byte [rbx + rax*8]
mov byte [rsp + 0x5a], al
movzx eax, r15b
movzx eax, byte [rbx + rax*8]
mov byte [rsp + 0x55], al
mov eax, r15d
mov r15, qword [rsp + 0x78]
shr rax, 8
movzx eax, byte [rbx + rax*8]
mov byte [rsp + 0x50], al
movzx eax, bpl
shr ebp, 8
movzx eax, byte [rbx + rax*8]
mov byte [rsp + 0x5b], al
movzx eax, bpl
shr ebp, 8
movzx eax, byte [rbx + rax*8]
mov byte [rsp + 0x56], al
movzx eax, bpl
movzx eax, byte [rbx + rax*8]
mov byte [rsp + 0x51], al
mov eax, ebp
mov rbp, qword [rsp + 0x98]
shr rax, 8
movzx eax, byte [rbx + rax*8]
mov rbx, qword [rsp + 0x48]
mov byte [rsp + 0x5c], al
mov eax, dword [rsp + 0x50]
xor eax, dword [rdi]
test rbx, rbx
je 0x1400ca884
mov ecx, dword [rbx]
jmp 0x1400ca886
mov ecx, esi
xor ecx, eax
mov rax, qword [rsp + 0x40]
mov dword [rax], ecx
test rbx, rbx
je 0x1400ca898
add rbx, 4
mov edx, dword [rdi + 4]
xor edx, dword [rsp + 0x54]
test rbx, rbx
je 0x1400ca8a8
mov ecx, dword [rbx]
jmp 0x1400ca8aa
mov ecx, esi
xor ecx, edx
mov dword [rax + 4], ecx
test rbx, rbx
je 0x1400ca8b8
add rbx, 4
mov edx, dword [rdi + 8]
xor edx, dword [rsp + 0x58]
test rbx, rbx
je 0x1400ca8c8
mov ecx, dword [rbx]
jmp 0x1400ca8ca
mov ecx, esi
xor ecx, edx
mov dword [rax + 8], ecx
test rbx, rbx
je 0x1400ca8d8
add rbx, 4
mov ecx, dword [rdi + 0xc]
xor ecx, dword [rsp + 0x5c]
test rbx, rbx
je 0x1400ca8e6
mov esi, dword [rbx]
xor esi, ecx
mov dword [rax + 0xc], esi
mov rsi, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400dc400
add rsp, 0xa0
pop r14
pop rdi
pop rbx
ret