Function at 0x140044a2c
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x140044e34
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
shr r8, 4
mov r11, rdx
cmp byte [rcx], 0
mov r10, rcx
je 0x140044a6d
call fcn.140044e38
jmp 0x140044e17
movups xmm1, xmmword [rcx + 8]
movups xmmword [rbp - 0x10], xmm1
test r8, r8
je 0x140044e11
lea rsi, [rcx + 0x28]
sub r9, rdx
mov r15d, 4
lea r12, [0x140000000]
movsxd r14, dword [r10 + 4]
lea rcx, [r10 + 0x18]
mov rax, r14
lea rbx, [rbp - 0x30]
shl rax, 4
mov rdx, r11
add rcx, rax
mov rdi, r15
sub rdx, rcx
sub rbx, rcx
mov eax, dword [rdx + rcx]
xor eax, dword [rcx]
mov dword [rcx + rbx], eax
add rcx, r15
sub rdi, 1
jne 0x140044ab4
movzx ecx, byte [rbp - 0x30]
movzx eax, byte [rbp - 0x29]
mov edx, dword [r12 + rcx*4 + 0x9cff0]
xor edx, dword [r12 + rax*4 + 0x9dbf0]
movzx eax, byte [rbp - 0x26]
movzx ecx, byte [rbp - 0x2f]
xor edx, dword [r12 + rax*4 + 0x9d7f0]
movzx eax, byte [rbp - 0x23]
xor edx, dword [r12 + rax*4 + 0x9d3f0]
movzx eax, byte [rbp - 0x2c]
mov dword [rbp - 0x20], edx
mov edx, dword [r12 + rcx*4 + 0x9d3f0]
movzx ecx, byte [rbp - 0x2e]
xor edx, dword [r12 + rax*4 + 0x9cff0]
movzx eax, byte [rbp - 0x25]
xor edx, dword [r12 + rax*4 + 0x9dbf0]
movzx eax, byte [rbp - 0x22]
xor edx, dword [r12 + rax*4 + 0x9d7f0]
movzx eax, byte [rbp - 0x28]
mov dword [rbp - 0x1c], edx
mov edx, dword [r12 + rcx*4 + 0x9d7f0]
movzx ecx, byte [rbp - 0x2d]
xor edx, dword [r12 + rax*4 + 0x9cff0]
movzx eax, byte [rbp - 0x2b]
xor edx, dword [r12 + rax*4 + 0x9d3f0]
movzx eax, byte [rbp - 0x21]
xor edx, dword [r12 + rax*4 + 0x9dbf0]
movzx eax, byte [rbp - 0x2a]
mov dword [rbp - 0x18], edx
mov edx, dword [r12 + rcx*4 + 0x9dbf0]
xor edx, dword [r12 + rax*4 + 0x9d7f0]
movzx eax, byte [rbp - 0x27]
xor edx, dword [r12 + rax*4 + 0x9d3f0]
movzx eax, byte [rbp - 0x24]
xor edx, dword [r12 + rax*4 + 0x9cff0]
lea eax, [r14 - 1]
movsxd rcx, eax
mov dword [rbp - 0x14], edx
cmp rcx, 1
jle 0x140044cb0
mov rax, rcx
lea rdx, [rbp - 0x20]
shl rax, 4
lea rbx, [r10 + 0x18]
sub rax, rdx
lea rdi, [rcx - 1]
add rbx, rax
xor edx, edx
lea rax, [rbp - 0x20]
add rax, rdx
mov ecx, dword [rbx + rax]
xor ecx, dword [rax]
mov dword [rbp + rdx - 0x30], ecx
add rdx, r15
cmp rdx, 0x10
jl 0x140044bbd
movzx ecx, byte [rbp - 0x30]
sub rbx, 0x10
movzx eax, byte [rbp - 0x29]
mov edx, dword [r12 + rcx*4 + 0x9cff0]
xor edx, dword [r12 + rax*4 + 0x9dbf0]
movzx eax, byte [rbp - 0x26]
movzx ecx, byte [rbp - 0x2f]
xor edx, dword [r12 + rax*4 + 0x9d7f0]
movzx eax, byte [rbp - 0x23]
xor edx, dword [r12 + rax*4 + 0x9d3f0]
movzx eax, byte [rbp - 0x2c]
mov dword [rbp - 0x20], edx
mov edx, dword [r12 + rcx*4 + 0x9d3f0]
movzx ecx, byte [rbp - 0x2e]
xor edx, dword [r12 + rax*4 + 0x9cff0]
movzx eax, byte [rbp - 0x25]
xor edx, dword [r12 + rax*4 + 0x9dbf0]
movzx eax, byte [rbp - 0x22]
xor edx, dword [r12 + rax*4 + 0x9d7f0]
movzx eax, byte [rbp - 0x28]
mov dword [rbp - 0x1c], edx
mov edx, dword [r12 + rcx*4 + 0x9d7f0]
movzx ecx, byte [rbp - 0x2d]
xor edx, dword [r12 + rax*4 + 0x9cff0]
movzx eax, byte [rbp - 0x2b]
xor edx, dword [r12 + rax*4 + 0x9d3f0]
movzx eax, byte [rbp - 0x21]
xor edx, dword [r12 + rax*4 + 0x9dbf0]
movzx eax, byte [rbp - 0x2a]
mov dword [rbp - 0x18], edx
mov edx, dword [r12 + rcx*4 + 0x9dbf0]
xor edx, dword [r12 + rax*4 + 0x9d7f0]
movzx eax, byte [rbp - 0x27]
xor edx, dword [r12 + rax*4 + 0x9d3f0]
movzx eax, byte [rbp - 0x24]
xor edx, dword [r12 + rax*4 + 0x9cff0]
mov dword [rbp - 0x14], edx
sub rdi, 1
jne 0x140044bbb
lea rdx, [rbp - 0x20]
mov rcx, rsi
sub rdx, rsi
lea rbx, [rbp - 0x30]
sub rbx, rsi
mov rdi, r15
mov eax, dword [rcx + rdx]
xor eax, dword [rcx]
mov dword [rcx + rbx], eax
add rcx, r15
sub rdi, 1
jne 0x140044cc4
movzx eax, byte [rbp - 0x30]
xor ecx, ecx
mov al, byte [rax + r12 + 0x9bef0]
mov byte [rbp - 0x20], al
movzx eax, byte [rbp - 0x23]
mov al, byte [rax + r12 + 0x9bef0]
mov byte [rbp - 0x1f], al
movzx eax, byte [rbp - 0x26]
mov al, byte [rax + r12 + 0x9bef0]
mov byte [rbp - 0x1e], al
movzx eax, byte [rbp - 0x29]
mov al, byte [rax + r12 + 0x9bef0]
mov byte [rbp - 0x1d], al
movzx eax, byte [rbp - 0x2c]
mov al, byte [rax + r12 + 0x9bef0]
mov byte [rbp - 0x1c], al
movzx eax, byte [rbp - 0x2f]
mov al, byte [rax + r12 + 0x9bef0]
mov byte [rbp - 0x1b], al
movzx eax, byte [rbp - 0x22]
mov al, byte [rax + r12 + 0x9bef0]
mov byte [rbp - 0x1a], al
movzx eax, byte [rbp - 0x25]
mov al, byte [rax + r12 + 0x9bef0]
mov byte [rbp - 0x19], al
movzx eax, byte [rbp - 0x28]
mov al, byte [rax + r12 + 0x9bef0]
mov byte [rbp - 0x18], al
movzx eax, byte [rbp - 0x2b]
mov al, byte [rax + r12 + 0x9bef0]
mov byte [rbp - 0x17], al
movzx eax, byte [rbp - 0x2e]
mov al, byte [rax + r12 + 0x9bef0]
mov byte [rbp - 0x16], al
movzx eax, byte [rbp - 0x21]
mov al, byte [rax + r12 + 0x9bef0]
mov byte [rbp - 0x15], al
movzx eax, byte [rbp - 0x24]
mov al, byte [rax + r12 + 0x9bef0]
mov byte [rbp - 0x14], al
movzx eax, byte [rbp - 0x27]
mov al, byte [rax + r12 + 0x9bef0]
mov byte [rbp - 0x13], al
movzx eax, byte [rbp - 0x2a]
mov al, byte [rax + r12 + 0x9bef0]
mov byte [rbp - 0x12], al
movzx eax, byte [rbp - 0x2d]
mov al, byte [rax + r12 + 0x9bef0]
mov byte [rbp - 0x11], al
mov eax, dword [r10 + rcx*4 + 0x18]
xor dword [rbp + rcx*4 - 0x20], eax
inc rcx
cmp rcx, r15
jl 0x140044dc7
cmp byte [r10 + 1], 0
je 0x140044df2
xor ecx, ecx
mov eax, dword [rbp + rcx - 0x10]
xor dword [rbp + rcx - 0x20], eax
add rcx, r15
cmp rcx, 0x10
jl 0x140044de1
movups xmm1, xmmword [r11]
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rbp - 0x10], xmm1
movups xmmword [r9 + r11], xmm0
add r11, 0x10
sub r8, 1
jne 0x140044a92
movdqu xmmword [r10 + 8], xmm1
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret