Function at 0x14008aa70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
xchg rbp, rcx
mov qword [rsp + 0x18], rcx
xchg rbp, rcx
nop
mov qword [rsp - 8], rsi
sub rsp, 8
nop
sub rsp, 8
mov qword [rsp], rdi
nop
sub rsp, 8
mov qword [rsp], r14
sub rsp, 0x60
movsxd rax, dword [rcx + 0x3c]
mov rsp, rsp
mov r14, rdx
xchg r8, rsp
mov rsi, rsp
xchg rsp, r8
mov rbx, rcx
mov edx, dword [rax + rcx + 0x98]
xchg r8, r8
test edx, edx
je 0x14008ab47
cmp dword [rax + rcx + 0x9c], 0
je 0x14008ab47
mov r14, r14
call fcn.140085cb0
mov rdi, rax
test rax, rax
xchg rbp, rbp
je 0x14008ab47
movzx r8d, word [rax + 0xe]
xor ebp, ebp
movzx ecx, word [rax + 0xc]
xchg rbx, rbx
mov edx, ebp
add r8d, ecx
je 0x14008ab47
lea rcx, [rax + 0x10]
mov r11, r11
mov eax, dword [rcx]
test eax, eax
js 0x14008ab25
cmp ax, 0x10
mov dword [rsp - 0x10], ecx
je 0x14008ab7b
inc edx
nop
sub rcx, 0x541cfdb8
add rcx, 0x541cfdc0
cmp edx, r8d
jb 0x14008ab0d
mov dword [rsp - 0x28], 0x5d1d2028
xor al, al
lea r11, [rsp + 0x60]
xchg r10, rbx
mov r10, qword [r11 + 0x28]
xchg r10, rbx
mov rbp, qword [r11 + 0x30]
mov dword [rsp - 0x38], edx
xchg rsp, r8
mov r8, r11
xchg r8, rsp
pop r14
mov dword [rsp - 0xc], ebx
pop rdi
nop
add rsp, 8
mov rsi, qword [rsp - 8]
ret
mov edx, dword [rcx + 4]
test edx, edx
xchg r11, r11
jns 0x14008ab47
btr edx, 0x1f
add rdx, rdi
mov r15, r15
je 0x14008ab47
mov r8d, 0x57501f5e
xor r8d, 0x78ad95a6
sub r8d, 0x20344691
xor r8d, 0x34330e1a
xor r8d, 0x3bfa4a7c
xchg rcx, rdi
mov rdi, rcx
xchg rdi, rcx
call fcn.14008b040
mov r13, r13
test rax, rax
je 0x14008ab47
mov r8d, 0x362366be
xor r8d, 0x40514e09
sub r8d, 0x571cb232
xor r8d, 0x1f55728c
xchg rdx, r11
mov r11, rax
xchg rdx, r11
mov rcx, rdi
xchg r10, r10
call fcn.14008afd0
test rax, rax
je 0x14008ab47
xchg r11, r11
mov edx, dword [rax]
xchg rbx, rsi
mov rcx, rsi
xchg rbx, rsi
call fcn.140085cb0
xchg r8, rax
mov rax, r8
xchg r8, rax
test rax, rax
mov dword [rsp - 0x24], 0x2a0841d
je 0x14008ab47
mov eax, 0x5fb8ae54
xor eax, 0x503e5e04
add eax, 0x5f285c27
xor eax, 0x6eaf4c75
mov dword [rsp + 0x20], 0x4d0dbbe9
sub dword [rsp + 0x20], 0xe21cd0a
sub dword [rsp + 0x20], 0x219417b5
sub dword [rsp + 0x20], 0x1d40d6d2
mov word [rsp + 0x3c], ax
xchg rbx, rbx
mov dword [rsp + 0x24], 0x5824873a
sub dword [rsp + 0x24], 0x17d93106
add dword [rsp + 0x24], 0x3e3fda04
sub dword [rsp + 0x24], 0xd2d1aec
xor dword [rsp + 0x24], 0x7138155e
mov dword [rsp + 0x28], 0x794e522f
sub dword [rsp + 0x28], 0x2d05b1c4
xor dword [rsp + 0x28], 0x3c4cb890
sub dword [rsp + 0x28], 0x6fee18b0
mov dword [rsp + 0x2c], 0x3090fa5
xor dword [rsp + 0x2c], 0x40ca9a63
sub dword [rsp + 0x2c], 0x426cd96
xor dword [rsp + 0x2c], 0x5ac4074e
xor dword [rsp + 0x2c], 0x6521cf60
mov dword [rsp + 0x30], 0x77de159e
sub dword [rsp + 0x30], 0x40c002a8
xor dword [rsp + 0x30], 0x5cba641a
sub dword [rsp + 0x30], 0xd61b7f7
xor dword [rsp + 0x30], 0x5e48beb4
mov dword [rsp + 0x34], 0x4d7a0344
xor dword [rsp + 0x34], 0x3557e4b0
sub dword [rsp + 0x34], 0x439ec114
xor dword [rsp + 0x34], 0x20bbb71e
sub dword [rsp + 0x34], 0x13bb91ec
mov dword [rsp + 0x38], 0x7560fa47
add dword [rsp + 0x38], 0x2833915
xor dword [rsp + 0x38], 0x44f98afb
sub dword [rsp + 0x38], 0x214f1a56
sub dword [rsp + 0x38], 0x11cc9f11
mov qword [rsp + 0x80], rbp
mov r10, r10
mov rax, qword [rsp + 0x80]
nop dword [rax]
nop word [rax + rax]
mov dword [rsp - 0x24], 0x291d3234
mov rcx, qword [rsp + 0x80]
xchg rdi, rax
mov rdi, qword [rsp + 0x80]
xchg rdi, rax
and cl, 3
shl cl, 1
shl cl, 2
movzx edx, word [rsp + rax*2 + 0x20]
mov dword [rsp - 0x20], 0x750d3383
mov eax, 0x58790b84
sub eax, 0x2f3f702c
add eax, 0xbb5cc41
sub eax, 0x4a2238b
shr eax, cl
movzx ecx, al
mov rax, qword [rsp + 0x80]
mov dword [rsp - 0x18], ebp
xor cx, dx
mov word [rsp + rax*2 + 0x3e], cx
mov rax, qword [rsp + 0x80]
inc rax
xchg rsp, rsp
xchg r9, rax
mov qword [rsp + 0x80], r9
xchg r9, rax
mov rax, qword [rsp + 0x80]
mov dword [rsp - 0x38], esp
cmp rax, 0xf
jb 0x14008ad85
lea rax, [r8 + 6]
mov dword [rsp - 0x2c], ebx
mov word [rsp + 0x5c], bp
lea rdi, [rsp + 0x3e]
sub rdi, rax
nop word [rax + rax]
mov r10, r10
movzx edx, word [rax]
movzx ecx, word [rax + rdi]
sub edx, ecx
mov dword [rsp - 0xc], esp
jne 0x14008ae57
nop
sub rax, 0x1e379d41
add rax, 0x1e379d43
test ecx, ecx
jne 0x14008ae2c
xchg rsp, rsp
xor eax, eax
lea rdi, [rsp + 0x3e]
mov ecx, 0x112f2b81
xor ecx, 0x11be48a5
add ecx, 0x1502b2c0
xor ecx, 0x159415eb
rep stosb byte [rdi], al
mov r12, r12
test edx, edx
jne 0x14008ab47
mov eax, dword [r8 + 0x28]
mov r10, r10
xor eax, 0x476b3605
cmp eax, 0xb98432b8
jne 0x14008ab47
xchg rdi, rdi
cmp dword [r8 + 0x2c], 0x10000
jne 0x14008ab47
mov eax, dword [r8 + 0x30]
mov dword [rsp - 0x44], ebx
mov dword [r14], eax
mov eax, dword [r8 + 0x34]
mov dword [rsi], eax
mov dword [rsp - 0x38], 0x7eb091fc
mov al, 0x78
sub al, 0x2d
sub al, 0x48
xor al, 0x78
xor al, 0x7a
jmp 0x14008ab49