Function at 0x1400c1aa0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0xc0
xor r12d, r12d
xor dil, dil
mov qword [rsp + 0x68], r12
mov rsi, rcx
test rcx, rcx
je 0x1400c1eb1
mov qword [rax - 0x20], rbx
mov qword [rax - 0x28], rbp
mov qword [rax - 0x30], r13
mov qword [rax - 0x38], r14
mov qword [rax - 0x40], r15
mov r15d, 1
mov rax, qword [rcx]
mov edx, r15d
lea ecx, [r12 + 5]
mov rbx, qword [rax + 0x30]
call fcn.1400210d0
mov rcx, qword [rsi + 8]
mov r14, rax
mov ebp, r12d
mov dword [rsp + 0xf0], r12d
mov qword [rax], rcx
mov eax, r12d
mov dword [rsp + 0xe8], eax
cmp dword [rsi + 0x34], eax
jle 0x1400c1d8c
movzx eax, byte [rsp + 0xe0]
mov r13d, r12d
mov byte [rsp + 0xe0], al
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x58], r12
test rbx, rbx
je 0x1400c1b50
mov rax, qword [rbx + 8]
mov qword [rsp + 0x68], rax
movzx eax, byte [rbx + 0x20]
mov byte [rsp + 0xe0], al
cmp al, 2
movzx edi, dil
mov rax, qword [rsi + 0x48]
cmove edi, r15d
xor edx, edx
mov dword [rsp + 0xf8], edi
mov rbx, qword [rax + r13]
lea ecx, [rdx + 8]
call fcn.1400210d0
mov rcx, qword [rbx]
mov r15, rax
mov qword [rsp + 0x70], rax
mov qword [rax + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 0x10], rcx
mov rcx, qword [rbx + 0x10]
mov qword [rax + 0x18], rcx
mov rcx, qword [rbx + 0x18]
mov qword [rax + 0x20], rcx
mov byte [rax + 0x3e], r12b
mov qword [rax], r12
mov dword [rax + 0x38], ebp
mov qword [rax + 0x28], r12
mov qword [rax + 0x30], r12
cmp qword [r14 + 0x10], r12
jne 0x1400c1bb8
mov qword [r14 + 0x10], rax
jmp 0x1400c1bbf
mov rax, qword [r14 + 0x18]
mov qword [rax], r15
mov qword [r14 + 0x18], r15
cmp dil, 1
jne 0x1400c1bce
or byte [r15 + 0x3e], 0x80
mov rax, qword [rsi + 0x40]
mov edx, 1
mov rcx, qword [rsp + 0x58]
mov rdi, r15
mov ebx, dword [rsp + 0xe8]
inc ebx
mov eax, dword [rcx + rax]
sub eax, 2
cdqe
cmp rax, rdx
jle 0x1400c1d03
mov r15d, dword [rsp + 0xf8]
lea r13, [rax - 1]
add ebx, r13d
lea eax, [r13 + 1]
mov dword [rsp + 0xe8], ebx
lea ebp, [rdx + 0xf]
mov dword [rsp + 0x50], eax
nop word [rax + rax]
mov rcx, qword [rsp + 0x60]
xor edx, edx
mov rax, qword [rsi + 0x48]
mov rbx, qword [rcx + rax]
lea ecx, [rdx + 8]
call fcn.1400210d0
mov rcx, qword [rbx + rbp]
mov rdx, rax
mov qword [rax + 8], rcx
mov rcx, qword [rbx + rbp + 8]
mov qword [rax + 0x10], rcx
mov rcx, qword [rbx + rbp + 0x10]
mov qword [rax + 0x18], rcx
mov rcx, qword [rbx + rbp + 0x18]
mov qword [rax + 0x20], rcx
mov byte [rax + 0x3e], r12b
mov qword [rax], r12
mov eax, dword [rsp + 0xf0]
mov dword [rdx + 0x38], eax
mov qword [rdx + 0x28], r12
mov qword [rdx + 0x30], r12
cmp qword [r14 + 0x10], r12
jne 0x1400c1c82
mov qword [r14 + 0x10], rdx
jmp 0x1400c1c89
mov rax, qword [r14 + 0x18]
mov qword [rax], rdx
mov qword [r14 + 0x18], rdx
cmp r15b, 1
jne 0x1400c1c97
or byte [rdx + 0x3e], 0x80
test rdi, rdi
je 0x1400c1cd6
mov rax, qword [rdx + 0x28]
test rax, rax
jne 0x1400c1cad
mov rax, rdx
xor r8b, r8b
jmp 0x1400c1cb2
movzx r8d, byte [rdx + 0x3c]
mov rcx, qword [rdi + 0x30]
test rcx, rcx
jne 0x1400c1cc3
mov qword [rdx + 0x28], rdi
mov cl, 1
jmp 0x1400c1ccb
mov qword [rdx + 0x28], rcx
movzx ecx, byte [rdi + 0x3d]
mov byte [rdx + 0x3c], cl
mov qword [rdi + 0x30], rax
mov byte [rdi + 0x3d], r8b
add rbp, 0x10
mov rdi, rdx
sub r13, 1
jne 0x1400c1c20
mov r15, qword [rsp + 0x70]
mov ebx, dword [rsp + 0xe8]
mov ebp, dword [rsp + 0xf0]
mov r13, qword [rsp + 0x60]
mov edx, dword [rsp + 0x50]
mov rax, qword [rsi + 0x48]
mov r9, rdi
movsxd r8, edx
mov edx, ebp
shl r8, 4
mov rcx, qword [rax + r13]
mov eax, dword [rsp + 0xf8]
add r8, rcx
mov byte [rsp + 0x40], al
mov byte [rsp + 0x38], r12b
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rcx
mov rcx, r14
mov byte [rsp + 0x20], 1
call fcn.1400c1440
add qword [rsp + 0x58], 4
inc ebx
mov edi, dword [rsp + 0xf8]
inc ebp
movzx eax, byte [rsp + 0xe0]
add r13, 8
mov r15d, 1
mov dword [rsp + 0xe8], ebx
mov rbx, qword [rsp + 0x68]
mov dword [rsp + 0xf0], ebp
mov qword [rsp + 0x60], r13
cmp ebp, dword [rsi + 0x34]
jl 0x1400c1b37
mov eax, dword [rsp + 0xe8]
mov rbx, qword [r14 + 0x10]
lea edi, [rax + rax]
test rbx, rbx
je 0x1400c1dbe
test byte [rbx + 0x3e], 1
jne 0x1400c1dac
mov r8, qword [rbx]
mov rdx, rbx
mov rcx, r14
call fcn.1400bfb70
cmp dword [r14 + 0x20], edi
jg 0x1400c1e5e
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400c1d98
cmp dword [r14 + 0x20], r12d
je 0x1400c1e81
mov rbx, qword [r14 + 0x10]
mov ebp, r12d
cmp qword [rsi + 0x58], rbp
mov r13d, r12d
setne bpl
test rbx, rbx
je 0x1400c1e81
movaps xmmword [rsp + 0x80], xmm6
movsd xmm6, qword [0x140158d88]
test byte [rbx + 0x3e], 1
jne 0x1400c1ed1
mov rcx, rbx
call fcn.1400c1580
mov rcx, qword [r14 + 8]
mov qword [rax], rcx
mov qword [r14 + 8], rax
cmp dword [rax + 0x30], 2
jle 0x1400c1ed1
movsd xmm1, qword [rax + 0x10]
movsd xmm0, qword [rsi + 0x60]
subsd xmm1, qword [rax + 8]
mulsd xmm0, xmm6
comisd xmm0, xmm1
ja 0x1400c1ecd
movsd xmm1, qword [rax + 0x20]
movsd xmm0, qword [rsi + 0x68]
subsd xmm1, qword [rax + 0x18]
mulsd xmm0, xmm6
comisd xmm0, xmm1
ja 0x1400c1ecd
inc r13d
cmp dword [rax + 0x34], r12d
jge 0x1400c1ed1
mov ebp, r12d
jmp 0x1400c1ed1
mov rcx, qword [rsi]
add rcx, 0x40
call fcn.1400206b0
mov ecx, r15d
test rax, rax
je 0x1400c1ebf
mov r8, rax
lea rdx, str.Bad_face__id:__s__found_n
call fcn.140002870
mov rcx, r14
call fcn.1400c1a30
mov r14, qword [rsp + 0xa0]
mov r13, qword [rsp + 0xa8]
mov rbp, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xb8]
mov r15, qword [rsp + 0x98]
xor eax, eax
add rsp, 0xc0
pop r12
pop rdi
pop rsi
ret
lea rdx, str.Bad_face_found_n
call fcn.140002870
jmp 0x1400c1e81
mov dword [rax + 0x30], r12d
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400c1df3
movaps xmm6, xmmword [rsp + 0x80]
mov dword [rsp + 0xe0], r13d
test r13d, r13d
je 0x1400c1e81
mov eax, dword [rsi + 0x34]
mov edi, r12d
test eax, eax
jle 0x1400c1f2b
mov rbx, r12
mov dword [rsp + 0xe0], r13d
nop word [rax + rax]
mov rcx, qword [rsi + 0x48]
mov rcx, qword [rbx + rcx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [rsi + 0x34]
lea rbx, [rbx + 8]
inc edi
cmp edi, eax
jl 0x1400c1f10
cmp r13d, eax
jle 0x1400c1f99
mov rcx, qword [rsi + 0x40]
movsxd r15, r13d
lea rbx, [r15*4]
mov rdx, rbx
call fcn.140002700
mov rcx, qword [rsi + 0x48]
lea rdx, [r15*8]
mov qword [rsi + 0x40], rax
call fcn.140002700
mov rcx, qword [rsi + 0x38]
mov rdx, r15
shl rdx, 5
mov qword [rsi + 0x48], rax
call fcn.140002700
mov rcx, qword [rsi + 0x50]
mov rdx, rbx
mov qword [rsi + 0x38], rax
call fcn.140002700
mov rcx, qword [rsi + 0x58]
mov qword [rsi + 0x50], rax
test rcx, rcx
je 0x1400c1f99
mov rdx, r15
call fcn.140002700
mov qword [rsi + 0x58], rax
mov eax, r13d
cmp edi, r13d
mov edx, 8
cmovge eax, edi
movsxd rcx, eax
call fcn.140001250
mov rcx, qword [r14 + 8]
mov rdi, rax
test ebp, ebp
je 0x1400c2257
test rcx, rcx
je 0x1400c2003
mov edx, dword [rcx + 0x30]
cmp edx, 2
jle 0x1400c1ffb
movsxd r8, dword [rcx + 0x34]
mov rax, qword [rdi + r8*8]
test rax, rax
jne 0x1400c1fde
mov qword [rdi + r8*8], rcx
jmp 0x1400c1ffb
cmp dword [rax + 0x30], edx
jge 0x1400c1ff4
mov dword [rax + 0x34], 0xffffffff
movsxd rax, dword [rcx + 0x34]
mov qword [rdi + rax*8], rcx
jmp 0x1400c1ffb
mov dword [rcx + 0x34], 0xffffffff
mov rcx, qword [rcx]
test rcx, rcx
jne 0x1400c1fc3
mov rax, qword [rsi]
mov r13d, r12d
mov ebx, r12d
mov r15, qword [rax + 0x30]
mov eax, dword [rsi + 0x34]
test eax, eax
jle 0x1400c207a
mov rbp, r12
nop word [rax + rax]
cmp qword [rdi + rbp*8], 0
mov rax, qword [r15 + 8]
mov qword [rsp + 0xe8], rax
jne 0x1400c2048
mov rcx, r15
call fcn.140073970
mov rcx, qword [rsi]
mov rdx, r15
call fcn.1400739f0
jmp 0x1400c2061
mov rcx, qword [rsi + 0x58]
inc ebx
movzx eax, byte [rcx + rbp]
mov byte [rcx + r12], al
mov rax, qword [rdi + rbp*8]
mov qword [rdi + r12*8], rax
inc r12
mov eax, dword [rsi + 0x34]
inc r13d
mov r15, qword [rsp + 0xe8]
inc rbp
cmp r13d, eax
jl 0x1400c2020
xor r12d, r12d
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x1400c20ae
movsxd rdx, ebx
cmp dword [rcx + 0x30], 2
jle 0x1400c20a3
cmp dword [rcx + 0x34], 0
jge 0x1400c20a3
mov rax, qword [rsi + 0x58]
inc ebx
mov byte [rdx + rax], 0xa
mov qword [rdi + rdx*8], rcx
inc rdx
mov rcx, qword [rcx]
test rcx, rcx
jne 0x1400c2086
mov eax, dword [rsi + 0x34]
cmp ebx, eax
jge 0x1400c20d4
movsxd rcx, ebx
nop word [rax + rax]
mov rax, qword [rsi + 0x58]
lea rcx, [rcx + 1]
inc ebx
mov byte [rcx + rax - 1], 0xa
cmp ebx, dword [rsi + 0x34]
jl 0x1400c20c0
mov r13d, dword [rsp + 0xe0]
movsxd rax, r13d
test r13d, r13d
jle 0x1400c21ef
mov r15, r12
mov r13, rax
nop
mov rbx, qword [rdi + r12*8]
movsxd rax, dword [rbx + 0x30]
lea ebp, [rax + 1]
cmp ebp, 4
jl 0x1400c21d7
lea rcx, [rax + 1]
shl rcx, 4
call fcn.140001bb0
mov rcx, qword [rsi + 0x40]
mov r11, rax
mov dword [rcx + r12*4], ebp
mov rcx, qword [rsi + 0x48]
mov qword [rcx + r12*8], rax
mov r10, qword [rbx + 0x28]
movzx r8d, byte [rbx + 0x38]
lea rdx, [r8 + r8]
xor r8b, 1
mov rcx, qword [r10 + rdx*8 + 8]
mov qword [rax], rcx
mov rcx, qword [r10 + rdx*8 + 0x10]
mov qword [rax + 8], rcx
movzx r9d, r8b
lea rcx, [r9 + r9]
mov rax, qword [r10 + rcx*8 + 8]
mov qword [r11 + 0x10], rax
mov rax, qword [r10 + rcx*8 + 0x10]
mov qword [r11 + 0x18], rax
mov rdx, qword [r10 + r9*8 + 0x28]
cmp rdx, qword [rbx + 0x28]
je 0x1400c21a4
lea r8, [r11 + 0x20]
nop
movzx eax, byte [r9 + r10 + 0x3c]
lea r8, [r8 + 0x10]
xor al, 1
lea r10, [rdx]
movzx r9d, al
lea rcx, [r9 + r9]
mov rax, qword [rdx + rcx*8 + 8]
mov qword [r8 - 0x10], rax
mov rax, qword [rdx + rcx*8 + 0x10]
mov qword [r8 - 8], rax
mov rdx, qword [rdx + r9*8 + 0x28]
cmp rdx, qword [rbx + 0x28]
jne 0x1400c2170
mov rcx, qword [rsi + 0x38]
mov rax, qword [rbx + 8]
mov qword [r15 + rcx], rax
mov rcx, qword [rsi + 0x38]
mov rax, qword [rbx + 0x10]
mov qword [r15 + rcx + 0x10], rax
mov rcx, qword [rsi + 0x38]
mov rax, qword [rbx + 0x18]
mov qword [r15 + rcx + 8], rax
mov rcx, qword [rsi + 0x38]
mov rax, qword [rbx + 0x20]
mov qword [r15 + rcx + 0x18], rax
inc r12
add r15, 0x20
cmp r12, r13
jl 0x1400c20f0
mov r13d, dword [rsp + 0xe0]
mov rcx, rdi
mov dword [rsi + 0x34], r13d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [r14 + 0x10]
test rcx, rcx
je 0x1400c2225
nop word [rax + rax]
mov rbx, qword [rcx]
mov edx, 8
call fcn.1400210a0
mov rcx, rbx
test rbx, rbx
jne 0x1400c2210
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x1400c2245
nop
mov rbx, qword [rcx]
mov edx, 8
call fcn.1400210a0
mov rcx, rbx
test rbx, rbx
jne 0x1400c2230
mov edx, 5
mov rcx, r14
call fcn.1400210a0
jmp 0x1400c1e89
test rcx, rcx
je 0x1400c2275
nop dword [rax]
cmp dword [rcx + 0x30], 2
jle 0x1400c226d
mov qword [rax], rcx
add rax, 8
mov rcx, qword [rcx]
test rcx, rcx
jne 0x1400c2260
mov rcx, qword [rsi + 0x58]
test rcx, rcx
je 0x1400c20dc
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x58], r12
jmp 0x1400c20dc