Function at 0x14009aef0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push r12
push r13
push r15
lea rbp, [rsp - 0x78]
mov eax, 0x178
call fcn.1400cc090
sub rsp, rax
mov rax, qword [0x140175060]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0xe0]
mov r12, qword [rbp + 0xf8]
mov r15, r8
xor r8d, r8d
mov qword [rbp - 0x38], rax
mov rax, qword [rbp + 0xf0]
shr r15, 3
mov rbx, rdx
mov rdx, qword [rbp + 0xd0]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], rcx
mov rcx, qword [rbp + 0xe8]
lea eax, [r15 - 0x14]
mov rsi, r9
mov qword [rbp - 0x80], r9
mov qword [rbp - 0x70], rdx
mov qword [rbp - 0x40], rcx
mov qword [rsp + 0x68], r12
mov r13d, r8d
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x40], r8d
mov qword [rbp - 0x68], 2
test eax, 0xfffffff3
jne 0x14009b6f9
cmp r15d, 0x18
je 0x14009b6f9
mov qword [rsp + 0x168], r14
test r9, r9
jne 0x14009afb8
call fcn.140058b80
mov rdx, qword [rbp - 0x70]
xor r8d, r8d
mov rsi, rax
mov qword [rbp - 0x80], rax
mov rcx, qword [rbp + 0xd8]
mov eax, 0x200
cmp rbx, rax
cmovb rbx, rax
lea rax, [rbx + 0x3f]
and rax, 0xffffffffffffffc0
mov qword [rbp - 0x60], rax
test rcx, rcx
je 0x14009afea
movsxd rax, r15d
cmp rcx, rax
cmovb rdx, r8
mov qword [rbp - 0x70], rdx
movsxd r14, r15d
cmp rcx, r14
cmova rcx, r14
mov qword [rbp + 0xd8], rcx
test rdx, rdx
je 0x14009b00c
mov r8, rcx
lea rcx, [rbp + 0x10]
call fcn.1400cdc90
call fcn.14008ccd0
mov qword [rsp + 0x70], rax
test rax, rax
je 0x14009b2b0
mov qword [rsp + 0x170], rdi
call fcn.1400819e0
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14009b29e
mov rcx, rax
call fcn.140081a60
mov rcx, rdi
call fcn.140081950
mov r13, qword [rsp + 0x38]
mov rcx, r13
mov rdi, rax
call fcn.140081950
mov rcx, r13
mov qword [rsp + 0x60], rax
call fcn.140081950
mov rcx, r13
mov qword [rsp + 0x78], rax
call fcn.140081950
mov rcx, r13
mov qword [rsp + 0x48], rax
call fcn.140081950
mov rcx, r13
mov qword [rsp + 0x50], rax
call fcn.140081950
mov rcx, r13
mov qword [rbp - 0x58], rax
call fcn.140081950
mov rcx, r13
mov qword [rsp + 0x58], rax
call fcn.140081950
mov rbx, rax
mov qword [rbp - 0x78], rax
call fcn.140074810
mov r8, qword [rbp - 0x60]
mov rcx, rbx
mov rdx, rax
dec r8d
call fcn.140074f70
test eax, eax
je 0x14009b285
mov ebx, dword [rsp + 0x40]
xor edx, edx
mov rcx, r12
mov r8d, ebx
call fcn.1400a6450
inc ebx
mov dword [rsp + 0x40], ebx
test eax, eax
je 0x14009b285
cmp qword [rbp + 0xd8], 0
je 0x14009b10d
cmp qword [rbp - 0x70], 0
je 0x14009b10d
xor eax, eax
mov ebx, eax
mov qword [rbp + 0xd8], rax
jmp 0x14009b126
lea rcx, [rbp + 0x10]
mov edx, r15d
call fcn.14005d7d0
test eax, eax
js 0x14009b285
mov ebx, 1
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x10]
mov r8, r14
call fcn.1400cdc90
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x30]
mov r8, r14
call fcn.1400cdc90
lea rax, [r14 - 1]
test rax, rax
js 0x14009b15b
nop
inc byte [rbp + rax - 0x10]
jne 0x14009b15b
dec rax
jns 0x14009b150
lea r8, [rbp - 0x30]
lea rcx, [rbp + 0x10]
xor r9d, r9d
mov rdx, r14
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rsi
call fcn.14007fc10
test eax, eax
je 0x14009b285
lea r8, [rbp + 0x30]
lea rcx, [rbp - 0x10]
xor r9d, r9d
mov rdx, r14
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rsi
call fcn.14007fc10
test eax, eax
je 0x14009b285
xor eax, eax
mov edx, eax
test r15d, r15d
jle 0x14009b223
cmp r15d, 0x20
jb 0x14009b223
mov r8d, eax
mov eax, r15d
and eax, 0x8000001f
jge 0x14009b1d0
dec eax
or eax, 0xffffffe0
inc eax
mov r9d, r15d
sub r9d, eax
nop word [rax + rax]
movsxd rax, r8d
add rdx, 0x20
movdqu xmm0, xmmword [rbp + rax - 0x30]
movdqu xmm1, xmmword [rbp + rax + 0x30]
pxor xmm1, xmm0
movdqu xmmword [rbp + rax - 0x30], xmm1
lea eax, [r8 + 0x10]
add r8d, 0x20
movsxd rcx, eax
movdqu xmm0, xmmword [rbp + rcx - 0x30]
movdqu xmm1, xmmword [rbp + rcx + 0x30]
pxor xmm1, xmm0
movdqu xmmword [rbp + rcx - 0x30], xmm1
cmp r8d, r9d
jl 0x14009b1e0
cmp rdx, r14
jge 0x14009b241
nop dword [rax + rax]
movzx eax, byte [rbp + rdx + 0x30]
inc rdx
xor byte [rbp + rdx - 0x31], al
cmp rdx, r14
jl 0x14009b230
or byte [rbp - 0x30], 0x80
mov r8, qword [rsp + 0x48]
or byte [rbp + r14 - 0x31], 1
lea rcx, [rbp - 0x30]
mov edx, r15d
call fcn.140073cf0
test rax, rax
je 0x14009b285
mov rcx, qword [rsp + 0x48]
mov r9d, ebx
mov r8, r13
mov edx, 0x32
mov qword [rsp + 0x20], r12
call fcn.1400a6770
test eax, eax
jg 0x14009b2c0
je 0x14009b0d0
mov r13d, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call fcn.140081890
mov rcx, qword [rsp + 0x38]
call fcn.140081910
mov rcx, qword [rsp + 0x70]
call fcn.14008cc80
mov rdi, qword [rsp + 0x170]
mov r14, qword [rsp + 0x168]
mov eax, r13d
jmp 0x14009b6fb
xor r8d, r8d
mov rcx, r12
lea edx, [r8 + 2]
call fcn.1400a6450
test eax, eax
je 0x14009b285
xor r8d, r8d
mov rcx, r12
lea edx, [r8 + 3]
call fcn.1400a6450
test eax, eax
je 0x14009b285
mov rcx, qword [rbp - 0x60]
mov rbx, qword [rsp + 0x78]
movabs rax, 0xcccccccccccccccd
dec rcx
xor r13d, r13d
lea rsi, [r14 - 1]
mul rcx
mov r12, rdx
shr r12, 7
nop dword [rax]
test r13d, r13d
je 0x14009b32c
mov rcx, qword [rsp + 0x68]
mov r8d, r13d
xor edx, edx
call fcn.1400a6450
test eax, eax
je 0x14009b285
xor edx, edx
mov rcx, rbx
call fcn.140074730
xor ecx, ecx
mov ebx, ecx
test r12d, r12d
js 0x14009b3e3
mov rax, rsi
test rsi, rsi
js 0x14009b35b
nop dword [rax + rax]
inc byte [rbp + rax - 0x10]
jne 0x14009b35b
dec rax
jns 0x14009b350
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x28], rcx
lea r8, [rbp - 0x30]
lea rcx, [rbp - 0x10]
xor r9d, r9d
mov rdx, r14
mov qword [rsp + 0x20], rax
call fcn.14007fc10
test eax, eax
je 0x14009b285
lea rcx, [rbp - 0x30]
mov r8, rdi
mov edx, r15d
call fcn.140073cf0
test rax, rax
je 0x14009b285
lea r8d, [r15*8]
mov rdx, rdi
mov rcx, rdi
imul r8d, ebx
call fcn.140074f70
test eax, eax
je 0x14009b285
mov rdx, qword [rsp + 0x78]
mov r8, rdi
mov rcx, rdx
call fcn.140081d00
test eax, eax
je 0x14009b285
inc ebx
mov ecx, 0
cmp ebx, r12d
jle 0x14009b343
mov rdx, qword [rbp - 0x60]
mov rbx, qword [rsp + 0x78]
dec edx
mov rcx, rbx
call fcn.140074400
test eax, eax
je 0x14009b285
mov rcx, qword [rsp + 0x50]
mov rdx, rbx
call fcn.140074200
test rax, rax
je 0x14009b285
mov rdx, qword [rsp + 0x50]
mov r8, qword [rbp - 0x78]
mov rcx, rdx
call fcn.140081d00
test eax, eax
je 0x14009b285
mov rdx, qword [rsp + 0x48]
mov rcx, rdi
call fcn.140075120
test eax, eax
je 0x14009b285
mov rax, qword [rsp + 0x38]
mov r8, qword [rsp + 0x50]
mov rdx, qword [rbp - 0x58]
mov r9, rdi
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.1400893f0
test eax, eax
je 0x14009b285
call fcn.140074810
mov rdx, qword [rbp - 0x58]
mov rcx, rdi
mov r8, rax
call fcn.140081db0
test eax, eax
je 0x14009b285
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov r8, rdi
call fcn.140081db0
test eax, eax
je 0x14009b285
mov rdx, qword [rbp - 0x78]
mov rcx, qword [rsp + 0x58]
call fcn.140073f30
test eax, eax
js 0x14009b4dc
mov rax, qword [rsp + 0x68]
mov r8, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
mov r9d, 1
mov qword [rsp + 0x20], rax
lea edx, [r9 + 0x31]
call fcn.1400a6770
test eax, eax
jg 0x14009b4ff
jne 0x14009b285
inc r13d
cmp r13d, 0x1000
jl 0x14009b310
mov rsi, qword [rbp - 0x80]
mov r12, qword [rsp + 0x68]
mov r13, qword [rsp + 0x38]
jmp 0x14009b0d0
mov rbx, qword [rsp + 0x68]
mov edx, 2
lea r8d, [rdx - 1]
mov rcx, rbx
call fcn.1400a6450
test eax, eax
je 0x14009b285
call fcn.140074810
mov r15, qword [rsp + 0x58]
mov r12, qword [rbp - 0x78]
mov rdx, r15
mov rcx, r12
mov r8, rax
call fcn.140081db0
test eax, eax
je 0x14009b285
mov rsi, qword [rsp + 0x38]
mov r9, qword [rsp + 0x48]
mov r8, r12
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x20], rsi
call fcn.1400893f0
test eax, eax
je 0x14009b285
mov edx, 2
mov rcx, r12
call fcn.140074730
test eax, eax
je 0x14009b285
mov rcx, qword [rsp + 0x70]
mov r8, rsi
mov rdx, r15
call fcn.14008cd50
test eax, eax
je 0x14009b285
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
mov r9, r15
mov qword [rsp + 0x28], rax
mov r8, rdi
mov rdx, r12
mov qword [rsp + 0x20], rsi
call fcn.14008a3a0
test eax, eax
je 0x14009b285
nop dword [rax]
mov rcx, qword [rsp + 0x60]
cmp dword [rcx + 8], 1
jne 0x14009b623
mov rax, qword [rcx]
cmp qword [rax], 1
jne 0x14009b623
cmp dword [rcx + 0x10], 0
jne 0x14009b623
call fcn.140074810
mov rdx, r12
mov rcx, r12
mov r8, rax
call fcn.140081d00
test eax, eax
je 0x14009b285
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
inc dword [rbp - 0x68]
mov qword [rsp + 0x28], rax
mov r9, r15
mov r8, rdi
mov rdx, r12
mov qword [rsp + 0x20], rsi
call fcn.14008a3a0
test eax, eax
jne 0x14009b5c0
jmp 0x14009b285
mov edx, 3
mov rcx, rbx
lea r8d, [rdx - 2]
call fcn.1400a6450
test eax, eax
je 0x14009b285
mov rbx, qword [rbp - 0x50]
mov dword [rsp + 0x30], 1
nop dword [rax + rax]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14009b65e
call fcn.140074350
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14009b66c
call fcn.140074350
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14009b67a
call fcn.140074350
mov rcx, r15
call fcn.1400742e0
mov rcx, qword [rsp + 0x48]
mov qword [rbx + 0x10], rax
call fcn.1400742e0
mov rcx, qword [rsp + 0x60]
mov qword [rbx + 0x18], rax
call fcn.1400742e0
cmp qword [rbx + 0x10], 0
mov qword [rbx + 0x20], rax
je 0x14009b6f1
cmp qword [rbx + 0x18], 0
je 0x14009b6f1
test rax, rax
je 0x14009b6f1
mov rax, qword [rbp - 0x40]
test rax, rax
je 0x14009b6c1
mov dword [rax], r13d
mov rdx, qword [rbp - 0x48]
test rdx, rdx
je 0x14009b6d0
mov rax, qword [rbp - 0x68]
mov dword [rdx], eax
mov rax, qword [rbp - 0x38]
test rax, rax
je 0x14009b285
lea rdx, [rbp + 0x10]
mov r8, r14
mov rcx, rax
call fcn.1400cdc90
jmp 0x14009b285
xor r13d, r13d
jmp 0x14009b28a
xor eax, eax
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1400cbcb0
add rsp, 0x178
pop r15
pop r13
pop r12
pop rsi
pop rbx
pop rbp
ret