Function at 0x14006b160
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
xchg r14, r14
xchg r9, rsi
mov qword [rsp + 0x18], r9
xchg r9, rsi
nop
push 0x3972cd6
mov qword [rsp], rdi
nop
sub rsp, 8
mov qword [rsp], r13
push r14
mov dword [rsp - 0x20], 0x73d91fe1
neg rsp
sub rsp, 0xffffffffffffffb0
neg rsp
mov ebx, dword [rcx + 0x2c]
xchg rcx, rsi
mov rcx, rsi
xchg rsi, rcx
mov ecx, ebx
xchg r14, rdx
mov rdx, r14
xchg rdx, r14
call fcn.14007fa60
xor ebx, 0x525c63e7
xchg rdx, rax
mov rdi, rdx
xchg rdx, rax
movabs r13, 0x313d6bef36ee00a1
add r13, 0x166fcedf
add r13, 0x14754268
sub r13, 0x3c8ed98f
xor r13, 0x15e6770e
mov dword [r14 + 8], ebx
xor rdi, r13
mov dword [rsp - 0x3c], 0x2a09b698
mov qword [r14], rdi
cmp byte [rsi + 0x34], 0
jne 0x14006b4a7
mov eax, dword [rsi + 8]
mov r9, r9
xor edx, edx
cmp eax, 0x606c30a5
je 0x14006b2fb
cmp eax, 0x616c30a5
xchg rdi, rdi
je 0x14006b29d
cmp eax, 0x636c2bb5
je 0x14006b249
cmp eax, 0x731a30a5
mov dword [rsp - 0x10], 0x1c1a2ff
jne 0x14006b345
xor r8d, r8d
lea rdi, [0x140000000]
lea edx, [r8 + 0x10]
mov dword [rsp - 0xc], 0x1791ee31
mov ecx, r8d
mov eax, 0x2955f9d4
xor eax, 0x14c22706
xor eax, 0x40ebb122
sub eax, 0x5de16c56
rol eax, cl
xor al, byte [r8 + rdi + 0xb4d8]
mov byte [rsp + r8 + 0x30], al
mov r12, r12
inc r8
cmp r8, rdx
jb 0x14006b25f
mov dword [rsp - 0x30], ecx
jmp 0x14006b345
lea rdi, [0x140000000]
mov ecx, edx
mov eax, 0x2de543ab
xor eax, 0x34d2b79c
add eax, 0x5ddc8556
sub eax, 0x577975f3
rol eax, cl
mov dword [rsp - 0x3c], 0x1d45d881
xor al, byte [rdx + rdi + 0xb4f8]
mov byte [rsp + rdx + 0x30], al
inc rdx
cmp rdx, 0x20
mov rbx, rbx
jb 0x14006b2a4
mov edx, 0x1a54036e
xor edx, 0x56cba980
add edx, 0x129dff54
sub edx, 0x5f3daa22
jmp 0x14006b345
xor r8d, r8d
lea rdi, [0x140000000]
mov r13, r13
lea edx, [r8 + 0x10]
mov ecx, r8d
mov eax, 0x7698105d
xor eax, 0x1cfaa0f7
sub eax, 0x35118ff0
xor eax, 0x2aca2320
rol eax, cl
mov r9, r9
xor al, byte [r8 + rdi + 0xb4e8]
mov byte [rsp + r8 + 0x30], al
inc r8
mov dword [rsp - 0xc], esp
cmp r8, rdx
jb 0x14006b30c
shr edx, 3
lea rcx, [rsp + 0x20]
xchg r15, r15
call fcn.14007d884
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
mov dword [rsp - 0x34], ebp
call fcn.14007df88
mov rbp, qword [r14]
mov edi, dword [rsi + 0x3c]
xor rbp, r13
xchg r13, r13
test edi, edi
je 0x14006b391
nop
add edi, 0xdfaccdd
sub edi, 0xdfaccd6
and edi, 0xfffffff8
jmp 0x14006b397
mov edi, dword [rsi + 0x2c]
xchg r10, r10
xor ebx, ebx
test edi, edi
je 0x14006b3d7
mov dword [rsp - 0xc], esp
mov edx, dword [rsi + 0xc]
lea rcx, [rsp + 0x20]
xor edx, 0x525c63e7
mov r8d, ebx
xchg rsi, rsi
add edx, ebx
add r8, rbp
add rdx, qword [rsi]
call fcn.14007da3c
xchg r10, r10
sub ebx, 0xfffffff8
cmp ebx, edi
jb 0x14006b3a5
xchg rsi, rsi
lea rcx, [rsp + 0x20]
call fcn.14007d9c4
xor eax, eax
lea rdi, [rsp + 0x30]
mov rbx, rbx
cmp dword [rsi + 0x38], 1
lea ecx, [rax + 0x20]
rep stosb byte [rdi], al
mov r13, r13
jne 0x14006b47b
mov rdi, qword [r14]
mov ecx, dword [rsi + 0x3c]
xor rdi, r13
mov dword [rsp - 0x14], ebp
call fcn.14007fa60
mov r8d, dword [rsi + 0x3c]
xchg rdi, rbp
mov rdx, rbp
xchg rdi, rbp
xchg r12, rax
mov rcx, r12
xchg r12, rax
xchg rbx, rax
mov rax, rbx
xchg rbx, rax
call fcn.140080070
mov dword [rsp - 0x20], esp
mov r9d, dword [rsi + 0x2c]
xchg r15, rdx
mov r15, rdi
xchg rdx, r15
mov r8d, dword [rsi + 0x3c]
xchg r9, rbx
mov rcx, r9
xchg r9, rbx
call fcn.14007b890
xchg rbx, r10
mov rcx, r10
xchg r10, rbx
cmp eax, dword [rsi + 0x2c]
xchg r9, r9
je 0x14006b476
call fcn.14007fa70
xor al, al
xchg r14, r14
jmp 0x14006b4d6
call fcn.14007fa70
xchg r14, r10
mov rdx, r10
xchg r14, r10
xchg rsp, rsi
mov rcx, rsp
xchg rsp, rsi
call fcn.14006c6a0
test al, al
mov dword [rsp - 0x2c], 0x2cd4fdd3
jne 0x14006b4cc
jmp 0x14006b46c
mov edx, dword [rsi + 0xc]
xchg r8, rax
mov rcx, r8
xchg r8, rax
mov r8d, dword [rsi + 0x2c]
xor rdx, 0x525c63e7
mov dword [rsp - 0x30], 0x5ec59dbd
add rdx, qword [rsi]
call fcn.140080070
mov al, 0x4f
sub al, 0x23
xor al, 2
sub al, 0x2b
xor al, 2
lea r11, [rsp + 0x50]
xchg rbx, rsp
mov rsp, qword [r11 + 0x20]
xchg rsp, rbx
xchg rbp, r13
mov r13, qword [r11 + 0x28]
xchg r13, rbp
mov rsi, qword [r11 + 0x30]
xchg rdx, rsp
mov rdx, r11
xchg rdx, rsp
nop
add rsp, 8
mov r14, qword [rsp - 8]
nop
add rsp, 8
mov r13, qword [rsp - 8]
nop
add rsp, 8
mov rdi, qword [rsp - 8]
ret