Function at 0x1400c6680
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rdi
push r12
push r14
push r15
mov eax, 0x168
call fcn.1400d2b70
sub rsp, rax
mov rax, qword [0x1401bbe90]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x1d0]
mov r12, qword [rsp + 0x1e8]
mov rbx, qword [rsp + 0x1c0]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x1e0]
mov r14, r8
mov qword [rsp + 0x98], rcx
mov rcx, qword [rsp + 0x1d8]
mov rdi, rdx
xor edx, edx
shr r14, 3
mov qword [rsp + 0xa8], rax
mov rbp, r9
mov qword [rsp + 0x88], r9
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0x78], r12
mov r15d, edx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x40], edx
mov qword [rsp + 0x80], 2
cmp r14d, 0x14
je 0x1400c673d
cmp r14d, 0x1c
je 0x1400c673d
cmp r14d, 0x20
je 0x1400c673d
xor eax, eax
jmp 0x1400c6fe2
mov qword [rsp + 0x160], rsi
mov qword [rsp + 0x158], r13
test r9, r9
jne 0x1400c6764
call fcn.1400932c0
xor edx, edx
mov rbp, rax
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x1c8]
mov eax, 0x200
cmp rdi, rax
cmovb rdi, rax
lea rax, [rdi + 0x3f]
and rax, 0xffffffffffffffc0
mov qword [rsp + 0x70], rax
test rcx, rcx
je 0x1400c6794
movsxd rax, r14d
cmp rcx, rax
cmovb rbx, rdx
movsxd rsi, r14d
cmp rcx, rsi
cmova rcx, rsi
mov qword [rsp + 0x1c8], rcx
test rbx, rbx
je 0x1400c67be
mov r8, rcx
lea rcx, [rsp + 0x100]
mov rdx, rbx
call fcn.1400cdaf0
call fcn.140073240
mov r13, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x1400c6fcf
call fcn.140087d80
mov qword [rsp + 0x58], rax
test rax, rax
je 0x1400c6fad
mov rcx, r13
call fcn.140073300
mov rcx, r13
call fcn.1400733f0
mov rcx, r13
mov rdi, rax
call fcn.1400733f0
mov rcx, r13
mov qword [rsp + 0x50], rax
call fcn.1400733f0
mov rcx, r13
mov r15, rax
call fcn.1400733f0
mov rcx, r13
mov qword [rsp + 0x48], rax
call fcn.1400733f0
mov rcx, r13
mov qword [rsp + 0xb8], rax
call fcn.1400733f0
mov rcx, r13
mov qword [rsp + 0x90], rax
call fcn.1400733f0
mov rcx, r13
mov qword [rsp + 0x68], rax
call fcn.1400733f0
mov rbx, rax
mov qword [rsp + 0x60], rax
call fcn.140071ca0
mov r8, qword [rsp + 0x70]
mov rcx, rbx
mov rdx, rax
dec r8d
call fcn.140083770
test eax, eax
je 0x1400c6fa1
nop dword [rax]
mov ebx, dword [rsp + 0x40]
xor edx, edx
mov rcx, r12
mov r8d, ebx
call fcn.1400c8200
inc ebx
mov dword [rsp + 0x40], ebx
test eax, eax
je 0x1400c6f9a
cmp qword [rsp + 0x1c8], 0
jne 0x1400c68c1
lea rcx, [rsp + 0x100]
mov edx, r14d
call fcn.1400764b0
mov ebx, 1
jmp 0x1400c68cd
xor eax, eax
mov ebx, eax
mov qword [rsp + 0x1c8], rax
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0xe0]
mov r8, rsi
call fcn.1400cdaf0
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x120]
mov r8, rsi
call fcn.1400cdaf0
lea r11, [rsi - 1]
test r11, r11
js 0x1400c6921
nop word [rax + rax]
add byte [rsp + r11 + 0xe0], 1
jne 0x1400c6921
sub r11, 1
jns 0x1400c6910
lea r8, [rsp + 0xc0]
lea rcx, [rsp + 0x100]
xor r9d, r9d
mov rdx, rsi
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rbp
call fcn.14009a040
test eax, eax
je 0x1400c6f93
lea r8, [rsp + 0x120]
lea rcx, [rsp + 0xe0]
xor r9d, r9d
mov rdx, rsi
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rbp
call fcn.14009a040
test eax, eax
je 0x1400c6f8c
xor ecx, ecx
test r14d, r14d
jle 0x1400c69a7
nop word [rax + rax]
movzx eax, byte [rsp + rcx + 0x120]
inc rcx
xor byte [rsp + rcx + 0xbf], al
cmp rcx, rsi
jl 0x1400c6990
or byte [rsp + 0xc0], 0x80
mov r8, qword [rsp + 0x48]
or byte [rsp + rsi + 0xbf], 1
lea rcx, [rsp + 0xc0]
mov edx, r14d
call fcn.140072280
test rax, rax
je 0x1400c6f85
mov rcx, qword [rsp + 0x48]
mov r9d, ebx
mov r8, r13
mov edx, 0x32
mov qword [rsp + 0x20], r12
call fcn.1400c8790
test eax, eax
jg 0x1400c6a05
test eax, eax
je 0x1400c6880
mov r15d, dword [rsp + 0x30]
jmp 0x1400c6fad
xor r8d, r8d
mov rcx, r12
lea edx, [r8 + 2]
call fcn.1400c8200
test eax, eax
je 0x1400c6f7e
xor r8d, r8d
mov rcx, r12
lea edx, [r8 + 3]
call fcn.1400c8200
test eax, eax
je 0x1400c6f77
mov rcx, qword [rsp + 0x70]
movabs rax, 0xcccccccccccccccd
xor r12d, r12d
dec rcx
lea r13, [rsi - 1]
mul rcx
mov rbp, rdx
shr rbp, 7
test r12d, r12d
je 0x1400c6a72
mov rcx, qword [rsp + 0x78]
mov r8d, r12d
xor edx, edx
call fcn.1400c8200
test eax, eax
je 0x1400c6f41
xor edx, edx
mov rcx, r15
call fcn.1400721f0
xor ecx, ecx
mov ebx, ecx
test ebp, ebp
js 0x1400c6b35
mov rax, r13
test r13, r13
js 0x1400c6aa0
add byte [rsp + rax + 0xe0], 1
jne 0x1400c6aa0
sub rax, 1
jns 0x1400c6a90
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x28], rcx
lea r8, [rsp + 0xc0]
lea rcx, [rsp + 0xe0]
xor r9d, r9d
mov rdx, rsi
mov qword [rsp + 0x20], rax
call fcn.14009a040
test eax, eax
je 0x1400c6f35
lea rcx, [rsp + 0xc0]
mov r8, rdi
mov edx, r14d
call fcn.140072280
test rax, rax
je 0x1400c6f29
lea r8d, [r14*8]
mov rdx, rdi
mov rcx, rdi
imul r8d, ebx
call fcn.140083770
test eax, eax
je 0x1400c6f1a
mov r8, rdi
mov rdx, r15
mov rcx, r15
call fcn.140075950
test eax, eax
je 0x1400c6f0b
inc ebx
mov ecx, 0
cmp ebx, ebp
jle 0x1400c6a88
mov rdx, qword [rsp + 0x70]
mov rcx, r15
dec edx
call fcn.140072650
test eax, eax
je 0x1400c6efc
mov rbx, qword [rsp + 0xb8]
mov rdx, r15
mov rcx, rbx
call fcn.140072110
test rax, rax
je 0x1400c6eed
mov r8, qword [rsp + 0x60]
mov rdx, rbx
mov rcx, rbx
call fcn.140075950
test eax, eax
je 0x1400c6ede
mov rdx, qword [rsp + 0x48]
mov rcx, rdi
call fcn.140083580
test eax, eax
je 0x1400c6ecf
mov rax, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x90]
mov r9, rdi
mov r8, rbx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.140083a60
test eax, eax
je 0x1400c6ec0
call fcn.140071ca0
mov rdx, qword [rsp + 0x90]
mov rcx, rdi
mov r8, rax
call fcn.140075880
test eax, eax
je 0x1400c6eb1
mov rdx, rbx
mov rbx, qword [rsp + 0x68]
mov r8, rdi
mov rcx, rbx
call fcn.140075880
test eax, eax
je 0x1400c6ea2
mov rdx, qword [rsp + 0x60]
mov rcx, rbx
call fcn.1400724a0
test eax, eax
js 0x1400c6c37
mov rbx, qword [rsp + 0x78]
mov r8, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x68]
mov r9d, 1
mov qword [rsp + 0x20], rbx
lea edx, [r9 + 0x31]
call fcn.1400c8790
test eax, eax
jg 0x1400c6c5e
test eax, eax
jne 0x1400c6e93
inc r12d
cmp r12d, 0x1000
jl 0x1400c6a56
mov rbp, qword [rsp + 0x88]
mov r12, qword [rsp + 0x78]
mov r13, qword [rsp + 0x38]
jmp 0x1400c6880
mov edx, 2
mov rcx, rbx
lea r8d, [rdx - 1]
call fcn.1400c8200
test eax, eax
je 0x1400c6e84
call fcn.140071ca0
mov rbp, qword [rsp + 0x68]
mov r14, qword [rsp + 0x60]
mov rdx, rbp
mov rcx, r14
mov r8, rax
call fcn.140075880
test eax, eax
je 0x1400c6e75
mov r15, qword [rsp + 0x48]
mov r13, qword [rsp + 0x38]
mov r8, r14
xor edx, edx
mov rcx, rdi
mov r9, r15
mov qword [rsp + 0x20], r13
call fcn.140083a60
test eax, eax
je 0x1400c6f70
mov edx, 2
mov rcx, r14
call fcn.1400721f0
test eax, eax
je 0x1400c6f69
mov rcx, qword [rsp + 0x58]
mov r8, r13
mov rdx, rbp
call fcn.1400879b0
test eax, eax
je 0x1400c6f62
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov r9, rbp
mov qword [rsp + 0x28], rax
mov r8, rdi
mov rdx, r14
mov qword [rsp + 0x20], r13
call fcn.140082b40
test eax, eax
je 0x1400c6f5b
nop word [rax + rax]
mov rcx, qword [rsp + 0x50]
cmp dword [rcx + 8], 1
jne 0x1400c6d8c
mov rax, qword [rcx]
cmp qword [rax], 1
jne 0x1400c6d8c
cmp dword [rcx + 0x10], 0
jne 0x1400c6d8c
call fcn.140071ca0
mov rdx, r14
mov rcx, r14
mov r8, rax
call fcn.140075950
test eax, eax
je 0x1400c6f54
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
inc dword [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov r9, rbp
mov r8, rdi
mov rdx, r14
mov qword [rsp + 0x20], r13
call fcn.140082b40
test eax, eax
jne 0x1400c6d20
mov r15d, dword [rsp + 0x30]
jmp 0x1400c6fad
mov edx, 3
mov rcx, rbx
lea r8d, [rdx - 2]
call fcn.1400c8200
test eax, eax
je 0x1400c6f4d
mov rbx, qword [rsp + 0x98]
mov dword [rsp + 0x30], 1
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400c6dc3
call fcn.140071e70
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400c6dd1
call fcn.140071e70
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400c6ddf
call fcn.140071e70
mov rcx, rbp
call fcn.140072a80
mov rcx, r15
mov qword [rbx + 0x10], rax
call fcn.140072a80
mov rcx, qword [rsp + 0x50]
mov qword [rbx + 0x18], rax
call fcn.140072a80
cmp qword [rbx + 0x10], 0
mov qword [rbx + 0x20], rax
je 0x1400c6e6d
cmp qword [rbx + 0x18], 0
je 0x1400c6e6d
test rax, rax
je 0x1400c6e6d
mov rax, qword [rsp + 0xb0]
test rax, rax
je 0x1400c6e28
mov dword [rax], r12d
mov rdx, qword [rsp + 0xa8]
test rdx, rdx
je 0x1400c6e3f
mov rax, qword [rsp + 0x80]
mov dword [rdx], eax
mov rax, qword [rsp + 0xa0]
test rax, rax
je 0x1400c6fa8
lea rdx, [rsp + 0x100]
mov r8, rsi
mov rcx, rax
call fcn.1400cdaf0
mov r15d, dword [rsp + 0x30]
jmp 0x1400c6fad
xor r15d, r15d
jmp 0x1400c6fad
mov r13, qword [rsp + 0x38]
mov r15d, dword [rsp + 0x30]
jmp 0x1400c6fad
mov r13, qword [rsp + 0x38]
mov r15d, dword [rsp + 0x30]
jmp 0x1400c6fad
mov r13, qword [rsp + 0x38]
mov r15d, dword [rsp + 0x30]
jmp 0x1400c6fad
mov r13, qword [rsp + 0x38]
mov r15d, dword [rsp + 0x30]
jmp 0x1400c6fad
mov r13, qword [rsp + 0x38]
mov r15d, dword [rsp + 0x30]
jmp 0x1400c6fad
mov r13, qword [rsp + 0x38]
mov r15d, dword [rsp + 0x30]
jmp 0x1400c6fad
mov r13, qword [rsp + 0x38]
mov r15d, dword [rsp + 0x30]
jmp 0x1400c6fad
mov r13, qword [rsp + 0x38]
mov r15d, dword [rsp + 0x30]
jmp 0x1400c6fad
mov r13, qword [rsp + 0x38]
mov r15d, dword [rsp + 0x30]
jmp 0x1400c6fad
mov r13, qword [rsp + 0x38]
mov r15d, dword [rsp + 0x30]
jmp 0x1400c6fad
mov r13, qword [rsp + 0x38]
mov r15d, dword [rsp + 0x30]
jmp 0x1400c6fad
mov r13, qword [rsp + 0x38]
mov r15d, dword [rsp + 0x30]
jmp 0x1400c6fad
mov r13, qword [rsp + 0x38]
mov r15d, dword [rsp + 0x30]
jmp 0x1400c6fad
mov r13, qword [rsp + 0x38]
mov r15d, dword [rsp + 0x30]
jmp 0x1400c6fad
mov r13, qword [rsp + 0x38]
mov r15d, dword [rsp + 0x30]
jmp 0x1400c6fad
mov r15d, dword [rsp + 0x30]
jmp 0x1400c6fad
mov r15d, dword [rsp + 0x30]
jmp 0x1400c6fad
mov r15d, dword [rsp + 0x30]
jmp 0x1400c6fad
mov r15d, dword [rsp + 0x30]
jmp 0x1400c6fad
mov r15d, dword [rsp + 0x30]
jmp 0x1400c6fad
mov r15d, dword [rsp + 0x30]
jmp 0x1400c6fad
mov r15d, dword [rsp + 0x30]
jmp 0x1400c6fad
mov r15d, dword [rsp + 0x30]
jmp 0x1400c6fad
mov r15d, dword [rsp + 0x30]
jmp 0x1400c6fad
mov r15d, dword [rsp + 0x30]
jmp 0x1400c6fad
mov r15d, dword [rsp + 0x30]
jmp 0x1400c6fad
mov r15d, dword [rsp + 0x30]
jmp 0x1400c6fad
mov r15d, dword [rsp + 0x30]
jmp 0x1400c6fad
mov r15d, dword [rsp + 0x30]
mov rcx, r13
call fcn.140073370
mov rcx, r13
call fcn.1400732c0
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1400c6fcf
mov rcx, rax
call fcn.140087960
mov r13, qword [rsp + 0x158]
mov rsi, qword [rsp + 0x160]
mov eax, r15d
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400cdac0
add rsp, 0x168
pop r15
pop r14
pop r12
pop rdi
pop rbp
pop rbx
ret