Function at 0x140067c80
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov dword [rsp - 0x14], esi
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x40
cmp qword [rcx + 0x1040], 0
mov dword [rsp - 0x24], 0xc2943c
mov rbp, rcx
jne 0x140067f97
mov ecx, 0x2147bcb6
xor ecx, 0x2afc0799
mov dword [rsp - 0x28], 0x4ff363b9
add ecx, 0x29d9a396
xor ecx, 0x40e39ac7
xor ecx, 0x7576c414
mov dword [rsp - 0x24], 0x15b70178
mov qword [rax + 8], r14
mov dword [rax - 0x28], 0x46e25507
add dword [rax - 0x28], 0x1140f987
sub dword [rax - 0x28], 0x2a241638
mov dword [rsp - 0x38], 0x11b2c2d5
sub dword [rax - 0x28], 0x2d18a5fe
add dword [rax - 0x28], 0x562cc0f5
add dword [rax - 0x28], 0x1193ee43
sub dword [rax - 0x28], 0x2f580a5e
mov dword [rsp - 0x20], ecx
mov dword [rax - 0x24], 0x4c5baecd
xor dword [rax - 0x24], 0x53300b54
add dword [rax - 0x24], 0x15b10650
sub dword [rax - 0x24], 0x297744a
xchg rdx, rdx
xor dword [rax - 0x24], 0x75dd3b3e
add dword [rax - 0x24], 0x37f91d70
mov word [rax - 0x20], 0x2e96
add word [rax - 0x20], 0x21ea
xchg r13, r13
xor word [rax - 0x20], 0x46b7
xor word [rax - 0x20], 0x6e2b
sub word [rax - 0x20], 0x461b
mov byte [rax - 0x1e], 0x5f
xchg r10, r10
xor byte [rax - 0x1e], 0x6f
add byte [rax - 0x1e], 0x12
xor byte [rax - 0x1e], 0x5a
mov dword [rsp - 0xc], 0x2e416e14
xor byte [rax - 0x1e], 0x18
xor byte [rax - 0x1e], 0x4d
mov qword [rax - 0x10], 0x51565d61
xchg r15, r15
xor qword [rax - 0x10], 0x21dc4834
sub qword [rax - 0x10], 0x534084c3
add qword [rax - 0x10], 0x447dfcfe
mov r13, r13
sub qword [rax - 0x10], 0x61c78d85
call fcn.140072200
xor edi, edi
mov qword [rsp + 0x30], rax
mov rcx, rcx
mov ecx, edi
nop dword [rax]
movsx edx, byte [rsp + rcx + 0x20]
mov word [rax + rcx*2], dx
mov dword [rsp - 0x40], 0x18b62c4d
inc rcx
mov rsi, qword [rsp + 0x38]
cmp rcx, rsi
mov rdi, rdi
jb 0x140067dd3
cmp rsi, 4
lea rcx, [rsi + 1]
lea r14, [rsp + 0x30]
mov r8, r8
pushf
mov eax, 0x128ce829
xor eax, 0x6de487c2
mov dword [rsp - 0x3c], esp
sub eax, 0xfbe10e1
sub eax, 0xdf2762c
add eax, 0xd5fcb46
xchg rbx, rbx
xor eax, 0x6f17b426
popf
cmova r14, qword [rsp + 0x30]
mul rcx
xchg rbp, rbp
pushf
movabs rcx, 0xffffffff1b7d7032
add rcx, 0xc50d217
xor rcx, 0x505a1c36
xchg rdx, rdx
sub rcx, 0x1a69410a
xor rcx, 0xe10d695
add rcx, 0x7fffffff
add rcx, 0x2cc43420
mov dword [rsp - 0x40], 0x169df934
popf
cmovo rax, rcx
mov rcx, rax
mov dword [rsp - 0x34], 0xfbd815b
call fcn.140072200
mov rbx, rax
mov r8, rdi
mov dword [rsp - 0x10], 0x28f86ded
test rsi, rsi
je 0x140067f05
mov rdx, rax
sub r14, rax
mov rbp, rbp
nop word [rax + rax]
movzx ecx, r8b
lea rdx, [rdx + 2]
and cl, 3
mov dword [rsp - 0x28], esi
mov eax, 0x37c339fe
xor eax, 0x1f6088dc
sub eax, 0x14e81110
mov rbx, rbx
add eax, 0x34371dd4
add eax, 0x92ea07f
shl cl, 3
xchg r9, r9
inc r8
sar eax, cl
movsx eax, al
xchg rdx, rdx
xor ax, word [r14 + rdx - 2]
mov word [rdx - 2], ax
cmp r8, rsi
xchg r8, r8
jb 0x140067eb7
xor edx, edx
mov word [rbx + rsi*2], di
mov dword [rsp - 0x20], ecx
mov rcx, rbx
call fcn.14005ebf0
mov rcx, rbx
mov qword [rbp + 0x1040], rax
xchg r9, r9
call fcn.140072210
mov r14, qword [rsp + 0x50]
cmp rsi, 4
mov dword [rsp - 0x20], 0x2d4990d0
jbe 0x140067f46
mov rcx, qword [rsp + 0x30]
call fcn.140072210
mov rsi, qword [rbp + 0x1040]
mov rcx, rcx
test rsi, rsi
je 0x140067fc4
lea rbx, [rbp + 0xb70]
nop
mov dword [rsp - 0x30], esi
mov edx, dword [rbx + 8]
mov rcx, rsi
xor edx, 0x2fa0562a
call fcn.14005d1e0
mov r13, r13
test rax, rax
je 0x140067fc4
xor rax, qword [0x1400a2a90]
xchg rdi, rdi
inc rdi
mov qword [rbx], rax
add rbx, 0x10
cmp rdi, 0xc
mov rbx, rbx
jb 0x140067f61
mov al, 0x30
add al, 0x18
xor al, 0x18
mov dword [rsp - 0xc], esp
sub al, 4
xor al, 0x68
xor al, 0x64
xchg rbx, rbx
xor al, 0x41
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov r15, r15
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
xor al, al
jmp 0x140067fac