Function at 0x14023a3c0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push r14
push r15
mov eax, 0x58
call fcn.1400be950
sub rsp, rax
mov rax, qword [rcx + 0x178]
mov rbx, rcx
mov qword [rsp + 0x28], rax
mov r14, r9
mov rax, qword [rcx + 0x180]
mov rsi, r8
mov rcx, qword [rcx + 0x38]
mov r15, rdx
mov qword [rsp + 0x20], rax
add rcx, r9
movabs rax, 0xfffffffe0
cmp rcx, rax
ja 0x14023a6d4
cmp rcx, r9
jb 0x14023a6d4
cmp dword [rbx + 0x174], 0
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], r12
lea r12, [rbx + 0x60]
mov qword [rsp + 0x40], r13
mov qword [rbx + 0x38], rcx
je 0x14023a459
lea rcx, [rbx + 0x40]
mov rdx, r12
call fcn.14023b140
mov dword [rbx + 0x174], 0
movzx eax, byte [rbx + 0xd]
mov ebp, dword [rbx + 0x170]
movzx edi, byte [rbx + 0xc]
shl edi, 8
or edi, eax
mov dword [rsp + 0x80], ebp
movzx eax, byte [rbx + 0xe]
shl edi, 8
or edi, eax
movzx eax, byte [rbx + 0xf]
shl edi, 8
or edi, eax
test ebp, ebp
je 0x14023a4cd
nop dword [rax]
test r14, r14
je 0x14023a6aa
mov ecx, ebp
dec r14
movzx eax, byte [rcx + rbx + 0x10]
xor al, byte [r15]
inc r15
mov byte [rsi], al
inc rsi
xor byte [rcx + rbx + 0x40], al
inc ebp
and ebp, 0xf
jne 0x14023a490
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
call fcn.14023b140
mov dword [rsp + 0x80], ebp
cmp r14, 0xc00
jb 0x14023a5a6
mov rbp, qword [rsp + 0x28]
movabs rax, 0xaaaaaaaaaaaaaaab
mul r14
mov rcx, rdx
shr rcx, 0xb
imul rax, rcx, 0xfffffffffffff400
mov qword [rsp + 0x30], rcx
add r14, rax
mov qword [rsp + 0x98], r14
mov r14, qword [rsp + 0x20]
nop
mov r12d, 0xc0
nop word [rax + rax]
mov r8, r14
lea rdx, [rbx + 0x10]
mov rcx, rbx
call rbp
inc edi
mov byte [rbx + 0xf], dil
mov eax, edi
shr eax, 0x18
mov byte [rbx + 0xc], al
mov eax, edi
shr eax, 0x10
mov byte [rbx + 0xd], al
mov eax, edi
shr eax, 8
mov byte [rbx + 0xe], al
mov rax, qword [r15]
xor rax, qword [rbx + 0x10]
mov qword [rsi], rax
mov rax, qword [r15 + 8]
add r15, 0x10
xor rax, qword [rbx + 0x18]
mov qword [rsi + 8], rax
add rsi, 0x10
sub r12, 1
jne 0x14023a520
lea r12, [rbx + 0x60]
mov r9d, 0xc00
mov rdx, r12
lea r8, [rsi - 0xc00]
lea rcx, [rbx + 0x40]
call fcn.14023af80
sub qword [rsp + 0x30], 1
jne 0x14023a510
mov r14, qword [rsp + 0x98]
mov ebp, dword [rsp + 0x80]
mov rax, r14
and rax, 0xfffffffffffffff0
mov qword [rsp + 0x30], rax
je 0x14023a65d
cmp r14, 0x10
jb 0x14023a648
mov rbp, qword [rsp + 0x28]
mov r12, r14
shr r12, 4
imul rax, r12, 0xfffffffffffffff0
add r14, rax
mov qword [rsp + 0x98], r14
mov r14, qword [rsp + 0x20]
mov r8, r14
lea rdx, [rbx + 0x10]
mov rcx, rbx
call rbp
inc edi
mov byte [rbx + 0xf], dil
mov eax, edi
shr eax, 0x18
mov byte [rbx + 0xc], al
mov eax, edi
shr eax, 0x10
mov byte [rbx + 0xd], al
mov eax, edi
shr eax, 8
mov byte [rbx + 0xe], al
mov rax, qword [r15]
xor rax, qword [rbx + 0x10]
mov qword [rsi], rax
mov rax, qword [r15 + 8]
add r15, 0x10
xor rax, qword [rbx + 0x18]
mov qword [rsi + 8], rax
add rsi, 0x10
sub r12, 1
jne 0x14023a5e2
mov r14, qword [rsp + 0x98]
lea r12, [rbx + 0x60]
mov ebp, dword [rsp + 0x80]
mov rax, qword [rsp + 0x30]
mov r8, rsi
lea rcx, [rbx + 0x40]
sub r8, rax
mov r9, rax
mov rdx, r12
call fcn.14023af80
test r14, r14
je 0x14023a6aa
mov r8, qword [rsp + 0x20]
lea rdx, [rbx + 0x10]
mov rcx, rbx
call qword [rsp + Ordinal_41]
inc edi
mov eax, edi
mov byte [rbx + 0xf], dil
shr eax, 0x18
mov byte [rbx + 0xc], al
mov eax, edi
shr eax, 0x10
mov byte [rbx + 0xd], al
mov eax, edi
shr eax, 8
mov byte [rbx + 0xe], al
mov ecx, ebp
inc ebp
movzx eax, byte [rcx + r15]
xor al, byte [rcx + rbx + 0x10]
mov byte [rcx + rsi], al
xor byte [rcx + rbx + 0x40], al
sub r14, 1
jne 0x14023a690
mov r12, qword [rsp + 0x48]
xor eax, eax
mov rdi, qword [rsp + 0x50]
mov r13, qword [rsp + 0x40]
mov dword [rbx + 0x170], ebp
mov rbp, qword [rsp + 0x88]
add rsp, 0x58
pop r15
pop r14
pop rsi
pop rbx
ret
mov eax, 0xffffffff
add rsp, 0x58
pop r15
pop r14
pop rsi
pop rbx
ret