Function at 0x14005d780
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
movaps xmmword [rax - 0x48], xmm6
mov r14, rdx
mov r15, rcx
xor r12d, r12d
mov dword [rbp - 0x39], r12d
mov dword [rbp + 0x77], r12d
lea rax, [rbp - 0x31]
mov qword [rbp + 0x7f], rax
movdqa xmm6, xmmword [0x140120d80]
mov dword [rbp - 0x69], 0x1b23283b
movaps xmmword [rbp - 0x59], xmm6
mov eax, dword [rbp - 0x69]
mov dword [rbp - 0x49], eax
mov byte [rbp - 0x45], 0x5a
lea edi, [r12 + 0x15]
mov rdx, qword [0x14013bae0]
test rdx, rdx
jne 0x14005d853
mov ecx, edi
call fcn.140075634
mov rdx, rax
mov qword [0x14013bae0], rax
mov eax, r12d
lea rcx, [rdx + 0x14]
lea r8, [rbp - 0x45]
cmp rdx, r8
ja 0x14005d815
lea r8, [rbp - 0x59]
cmp rcx, r8
jae 0x14005d82a
movdqa xmm0, xmmword [0x140120fe0]
pxor xmm0, xmm6
movdqu xmmword [rdx], xmm0
mov eax, 0x10
lea rcx, [rax + rdx]
lea r9, [rbp - 0x59]
sub r9, rdx
mov r8, rdi
sub r8, rax
nop dword [rax + rax]
movzx eax, byte [r9 + rcx]
xor al, 0x5a
mov byte [rcx], al
lea rcx, [rcx + 1]
sub r8, 1
jne 0x14005d840
mov qword [rbp - 0x21], r12
mov qword [rbp - 0x19], 0xf
mov byte [rbp - 0x31], 0
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14005d870
lea rcx, [rbp - 0x31]
call fcn.1400064d0
nop
mov dword [rbp - 0x79], 0x8010a1b
mov dword [rbp - 0x75], 0x766a6b0c
mov dword [rbp - 0x71], 0x5834343c
movsd xmm0, qword [rbp - 0x79]
movsd qword [rbp - 0x59], xmm0
mov eax, dword [rbp - 0x71]
mov dword [rbp - 0x51], eax
mov esi, 0xc
mov rdx, qword [0x14013b1a8]
test rdx, rdx
jne 0x14005d8f3
mov ecx, esi
call fcn.140075634
mov rdx, rax
mov qword [0x14013b1a8], rax
mov rcx, rax
lea r9, [rbp - 0x59]
sub r9, rax
mov r8d, esi
nop dword [rax + rax]
movzx eax, byte [r9 + rcx]
xor al, 0x58
mov byte [rcx], al
lea rcx, [rcx + 1]
sub r8, 1
jne 0x14005d8e0
mov qword [rbp - 1], r12
mov qword [rbp + 7], 0xf
mov byte [rbp - 0x11], 0
mov r8, rbx
inc r8
cmp byte [rdx + r8], 0
jne 0x14005d906
lea rcx, [rbp - 0x11]
call fcn.1400064d0
nop
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x11]
call fcn.14006e3c0
mov rcx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x14005d934
mov rcx, qword [r14]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
lea rdx, [rbp + 0x77]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
lea r8d, [r9 + 1]
mov edx, dword [r14 + 0x10]
call rax
mov qword [r15 + 0x10], r12
mov qword [r15 + 0x18], 0xf
mov byte [r15], 0
mov dword [rbp - 0x39], 1
mov edx, dword [rbp + 0x77]
xor r8d, r8d
mov rcx, r15
call fcn.14004e4e0
lea rax, [rbp - 0x11]
mov qword [rbp + 0x7f], rax
movdqa xmm6, xmmword [0x140120d40]
mov dword [rbp - 0x69], 0x1f272c3f
movaps xmmword [rbp - 0x59], xmm6
mov eax, dword [rbp - 0x69]
mov dword [rbp - 0x49], eax
mov byte [rbp - 0x45], 0x5e
mov rdx, qword [0x14013b7a8]
test rdx, rdx
jne 0x14005da13
mov rcx, rdi
call fcn.140075634
mov rdx, rax
mov qword [0x14013b7a8], rax
mov rax, r12
lea rcx, [rdx + 0x14]
lea r8, [rbp - 0x45]
cmp rdx, r8
ja 0x14005d9d5
lea r8, [rbp - 0x59]
cmp rcx, r8
jae 0x14005d9ea
movdqa xmm0, xmmword [0x140121020]
pxor xmm0, xmm6
movdqu xmmword [rdx], xmm0
mov eax, 0x10
lea rcx, [rax + rdx]
lea r8, [rbp - 0x59]
sub r8, rdx
sub rdi, rax
nop dword [rax + rax]
movzx eax, byte [r8 + rcx]
xor al, 0x5e
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdi, 1
jne 0x14005da00
mov qword [rbp - 1], r12
mov qword [rbp + 7], 0xf
mov byte [rbp - 0x11], 0
mov r8, rbx
inc r8
cmp byte [rdx + r8], 0
jne 0x14005da26
lea rcx, [rbp - 0x11]
call fcn.1400064d0
nop
mov dword [rbp - 0x79], 0xc050e1f
mov dword [rbp - 0x75], 0x726e6f08
mov dword [rbp - 0x71], 0x5c303038
movsd xmm0, qword [rbp - 0x79]
movsd qword [rbp - 0x59], xmm0
mov eax, dword [rbp - 0x71]
mov dword [rbp - 0x51], eax
mov rdx, qword [0x14013baf8]
test rdx, rdx
jne 0x14005daa3
mov rcx, rsi
call fcn.140075634
mov rdx, rax
mov qword [0x14013baf8], rax
mov rcx, rax
lea r8, [rbp - 0x59]
sub r8, rax
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
xor al, 0x5c
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rsi, 1
jne 0x14005da90
mov qword [rbp - 0x21], r12
mov qword [rbp - 0x19], 0xf
mov byte [rbp - 0x31], 0
inc rbx
cmp byte [rdx + rbx], 0
jne 0x14005dab3
mov r8, rbx
lea rcx, [rbp - 0x31]
call fcn.1400064d0
nop
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x31]
call fcn.14006e3c0
mov r9, r15
cmp qword [r15 + 0x18], 0x10
jb 0x14005dae3
mov r9, qword [r15]
mov rcx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x14005daf0
mov rcx, qword [r14]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
lea rdx, [rbp + 0x77]
mov qword [rsp + 0x20], rdx
mov r8d, 1
mov edx, dword [r14 + 0x10]
call rax
nop
mov rcx, r14
call fcn.140006470
mov rax, r15
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret