Function at 0x14010fdd4
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov byte [rax + 0x20], r9b
mov qword [rax + 0x18], r8
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov ebx, dword [rdx]
mov r15, rdx
mov r14, qword [rbp + 0x60]
mov r13b, 0x20
mov dword [rcx], ebx
mov sil, byte [r14 + 0x1f4]
mov rdx, r15
mov al, sil
mov rcx, r14
or al, r13b
mov byte [r14 + 0x1f4], al
call fcn.1400d5938
xor sil, byte [r14 + 0x1f4]
and sil, r13b
xor sil, byte [r14 + 0x1f4]
mov byte [r14 + 0x1f4], sil
movzx eax, word [r15 + 0x10]
cmp ax, 4
je 0x14010fe0a
xor edi, edi
lea ecx, [rdi + 0x15]
cmp ax, cx
jne 0x14010fe94
mov edi, dword [r15]
mov al, sil
mov rdx, r15
or al, r13b
mov rcx, r14
mov byte [r14 + 0x1f4], al
call fcn.1400d5938
xor sil, byte [r14 + 0x1f4]
and sil, r13b
xor byte [r14 + 0x1f4], sil
movzx eax, word [r15 + 0x10]
mov sil, byte [r14 + 0x1f4]
cmp ax, 4
je 0x14010fe59
mov r12d, 1
cmp ax, 3
jne 0x14010fefb
mov rcx, qword [r14 + 0x2c8]
test rcx, rcx
je 0x14010feb4
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x18]
mov rax, qword [r14 + 0x30]
mov byte [r14 + 0x33c], r12b
mov byte [rax + 6], r12b
mov sil, byte [r14 + 0x1f4]
mov rdx, r15
mov al, sil
mov rcx, r14
or al, r13b
mov byte [r14 + 0x1f4], al
call fcn.1400d5938
xor sil, byte [r14 + 0x1f4]
and sil, r13b
xor byte [r14 + 0x1f4], sil
cmp word [r15 + 0x10], 4
je 0x14010fec3
xor r9d, r9d
xor r8d, r8d
mov rdx, r15
mov rcx, r14
call fcn.1400dcf54
test al, al
jne 0x1401101d0
movzx eax, word [r15 + 0x10]
sub ax, 7
cmp ax, 0xb
ja 0x14010ff28
xor r13d, r13d
jmp 0x14010ff33
cmp word [r15 + 0x10], r12w
je 0x14010ff23
mov r13, qword [r15 + 8]
mov r8, r13
lea rdx, [rbp - 0x50]
mov rcx, r14
call fcn.1400d7580
test qword [rbp - 0x50], 0xfffffffffffffff8
jne 0x14010ff57
cmp qword [rbp - 0x40], 0
jne 0x14010ff57
xor edx, edx
jmp 0x14010ff5a
mov rdx, r12
mov rsi, qword [rbp + 0x40]
lea rcx, [rsi + 0x10]
call fcn.14001cb98
test qword [rbp - 0x50], 0xfffffffffffffff8
mov rax, rsi
mov byte [rax + 0x20], 0
jne 0x14010ff84
cmp qword [rbp - 0x40], 0
jne 0x14010ff84
mov al, r12b
jmp 0x14010ff86
xor al, al
mov rcx, qword [rbp + 0x50]
mov rdx, r15
mov byte [rcx + 0x10], al
mov rcx, r14
call fcn.1400e6528
xor eax, eax
mov dword [rbp - 0x30], 0x40
lea rdx, [rbp - 0x38]
mov qword [rbp - 0x60], rax
lea rcx, [rsi + 0x10]
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x58], eax
mov byte [rbp - 0x28], al
call fcn.140112b84
test eax, eax
setne sil
cmp dword [rbp - 0x30], 0x40
jbe 0x14010ffd1
mov rcx, qword [rbp - 0x38]
call fcn.1400690f4
test sil, sil
je 0x140110024
xor esi, esi
cmp byte [rbp + 0x58], sil
je 0x140110026
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14010fff6
mov rax, qword [rbp - 0x48]
mov rcx, qword [rax + rcx*8 - 8]
mov rdx, qword [rcx + 0x10]
jmp 0x14011001a
mov rcx, qword [rbp - 0x50]
and rcx, 0xfffffffffffffff8
je 0x140110017
lea rdx, [rbp - 0x60]
call fcn.14010268c
mov rdx, qword [rax]
test rdx, rdx
je 0x140110017
mov rdx, qword [rdx + 0x10]
jmp 0x14011001a
mov rdx, rsi
mov rcx, r14
call fcn.14010daf4
jmp 0x140110026
xor esi, esi
movsd xmm1, qword [r15 + 0x10]
mov rcx, qword [rbp + 0x40]
mov eax, dword [r15]
movsd qword [rbp - 8], xmm1
movups xmm0, xmmword [r15]
movups xmmword [rbp - 0x18], xmm0
mov dword [rcx + 4], eax
test edi, edi
je 0x14011020f
mov sil, byte [r14 + 0x1f4]
mov rdx, r15
mov al, sil
mov rcx, r14
or al, 0x20
mov byte [r14 + 0x1f4], al
call fcn.1400d5938
xor sil, byte [r14 + 0x1f4]
and sil, 0x20
xor byte [r14 + 0x1f4], sil
cmp word [r15 + 0x10], 4
je 0x14011004b
mov esi, 0x16
cmp word [r15 + 0x10], si
je 0x1401101ee
mov rdx, qword [r14 + 0x30]
xor ebx, ebx
mov eax, dword [r15]
mov dword [rdx + 0x148], eax
lea rax, [rdx + 0x128]
mov qword [rax + 0x10], rbx
mov dword [rdx + 0x14c], 0x3c1
cmp qword [rax + 0x18], 0x10
jb 0x1401100c1
mov rax, qword [rax]
lea rcx, [rbp - 0x38]
mov byte [rax], bl
call fcn.1400583b0
mov rcx, qword [rbp - 0x38]
test rcx, rcx
jne 0x1401100e5
mov rcx, qword [rbp - 0x30]
call fcn.140058c7c
mov rcx, rax
mov qword [rbp - 0x38], rax
movzx edx, byte [rcx]
lea rax, [0x1401f8d78]
mov byte [rdx + rcx + 1], r12b
movzx edx, byte [rcx]
mov qword [rcx + rdx*8 + 0x10], rax
add byte [rcx], r12b
mov al, byte [rcx]
test rcx, rcx
jne 0x140110118
mov rcx, qword [rbp - 0x30]
call fcn.140058c7c
mov rcx, rax
mov qword [rbp - 0x38], rax
mov al, byte [rax]
movzx eax, al
mov byte [rax + rcx + 1], 4
movzx eax, byte [rcx]
mov qword [rcx + rax*8 + 0x10], rsi
add byte [rcx], r12b
cmp byte [rbp - 0x20], bl
je 0x140110144
mov dl, byte [rbp - 0x1f]
mov rcx, qword [rbp - 0x28]
call fcn.140058e00
mov qword [rbp - 0x28], rbx
mov word [rbp - 0x20], bx
lea rcx, [rbp - 0x38]
call fcn.14005a7d8
mov rdx, qword [r14 + 0x30]
lea rax, [rdx + 0x128]
mov dword [rdx + 0x148], edi
mov qword [rax + 0x10], rbx
mov dword [rdx + 0x14c], 0x62
cmp qword [rax + 0x18], 0x10
jb 0x140110176
mov rax, qword [rax]
lea rcx, [rbp - 0x38]
mov byte [rax], bl
call fcn.1400583b0
mov rax, qword [rbp - 0x38]
test rax, rax
jne 0x140110197
mov rcx, qword [rbp - 0x30]
call fcn.140058c7c
mov qword [rbp - 0x38], rax
movzx ecx, byte [rax]
mov byte [rcx + rax + 1], 4
movzx ecx, byte [rax]
mov qword [rax + rcx*8 + 0x10], 0x15
add byte [rax], r12b
cmp byte [rbp - 0x20], bl
je 0x1401101c7
mov dl, byte [rbp - 0x1f]
mov rcx, qword [rbp - 0x28]
call fcn.140058e00
mov qword [rbp - 0x28], rbx
mov word [rbp - 0x20], bx
lea rcx, [rbp - 0x38]
call fcn.14005a7d8
mov al, r12b
mov rbx, qword [rsp + 0xc8]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rdx, r15
mov rcx, r14
call fcn.1400d5938
cmp word [r15 + 0x10], 4
je 0x1401101ee
mov rcx, qword [rbp + 0x40]
xor esi, esi
mov eax, dword [r15]
mov dword [rcx + 4], eax
jmp 0x140110222
mov rdx, r15
mov rcx, r14
call fcn.1400d5938
cmp word [r15 + 0x10], 4
je 0x14011020f
mov eax, ebx
shr eax, 0x1f
test al, al
je 0x1401102fc
mov rdi, qword [r14 + 0x58]
mov esi, ebx
btr esi, 0x1f
mov rcx, rdi
mov r8d, esi
mov edx, dword [rdi + 0x138]
call fcn.14000d7d0
test al, al
je 0x140110259
mov edx, dword [rdi + 0x138]
mov dword [rbp + 0x40], edx
jmp 0x14011026b
mov r8d, esi
lea rdx, [rbp + 0x40]
mov rcx, rdi
call fcn.1400616f4
mov edx, dword [rbp + 0x40]
mov rcx, qword [r14 + 0x58]
xor r8d, r8d
call fcn.14000d5bc
xor esi, esi
mov ecx, dword [rax + 0xc]
test ecx, ecx
je 0x14011028a
cmp dword [rax + 0x10], esi
je 0x14011028a
cmp ecx, dword [rax + 0x10]
jne 0x14011028d
mov r12b, sil
mov rdx, qword [r14 + 0x30]
mov dword [rdx + 0x148], ebx
lea rax, [rdx + 0x128]
mov qword [rax + 0x10], rsi
test r12b, r12b
je 0x1401102b3
mov dword [rdx + 0x14c], 0x484
jmp 0x1401102bd
mov dword [rdx + 0x14c], 0x485
cmp qword [rax + 0x18], 0x10
jb 0x1401102c7
mov rax, qword [rax]
lea rcx, [rbp - 0x38]
mov byte [rax], sil
call fcn.1400583b0
cmp byte [rbp - 0x20], sil
je 0x1401102ed
mov dl, byte [rbp - 0x1f]
mov rcx, qword [rbp - 0x28]
call fcn.140058e00
mov qword [rbp - 0x28], rsi
mov word [rbp - 0x20], si
cmp qword [rbp - 0x38], rsi
je 0x1401102fc
lea rcx, [rbp - 0x38]
call fcn.14005a7d8
mov rcx, qword [r14 + 0x410]
test rcx, rcx
je 0x140110326
mov eax, dword [r15]
lea r8, [rbp - 0x50]
mov dword [rbp + 0x44], eax
lea rdx, [rbp - 0x18]
mov rax, qword [rcx]
mov dword [rbp + 0x40], ebx
mov r9, qword [rbp + 0x40]
call qword [rax + 0xf0]
mov rax, qword [rbp + 0x50]
mov dword [rax], esi
mov qword [rax + 8], r13
xor al, al
jmp 0x1401101d3