Function at 0x14010fd00
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x1c8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x140], 0xfffffffffffffffe
mov rsi, rcx
mov rcx, qword [rbp + 0x1b0]
mov dword [rsi + 0xc], r9d
mov r14d, r9d
mov rbx, r8
lea rax, [0x14038d0ec]
movsxd r9, dword [0x14038d0ec]
mov r8, r9
xor r8, rax
and r9, rax
lea rax, [r8 + r9*2]
mov r9d, dword [0x14038d0e4]
test r14d, r14d
jns case.0x14010fdd1.4
cmp byte [rsi + 0x10], 0
je case.0x14010fdd1.4
mov r13d, dword [0x140467440]
lea r8d, [r13 + 1]
mov dword [0x140467440], r8d
xor edi, edi
mov dword [rbp + 0xbc], r8d
test r13d, r8d
jne 0x14010fdb0
test r9d, r9d
jle 0x14010fdb0
xor r8d, r8d
xor edi, edi
nop dword [rax]
movsxd r8, r8d
xor edi, dword [rax + r8]
add r8d, 4
cmp r8d, r9d
jl 0x14010fda0
lea eax, [r14 + 0x14]
cmp eax, 0x13
mov dword [rbp + 0x13c], edx
ja case.0x14010fdd1.18
lea r8, [0x140110fac]
movsxd rax, dword [r8 + rax*4]
add rax, r8
jmp rax
movzx edx, word [0x1404bd874]
mov r8d, 0x90520cf7
call fcn.14009e530
test rax, rax
lea r15, [0x14038ad28]
cmovne r15, rax
lea r14, [rbp + 0xc8]
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xe0], 0xf
mov byte [rbp + 0xc8], 0
mov rcx, r15
mov edx, 0x522f1e4b
call fcn.14009e330
mov r12, rax
cmp rax, 0xf
jbe 0x1401103c9
mov rcx, r14
mov rdx, r12
mov r9, r15
call fcn.14008d0f0
jmp 0x1401103e7
mov qword [rbp + 0x130], r13
movzx edx, word [0x1404bd872]
mov r8d, 0x90520cf7
call fcn.14009e530
test rax, rax
lea r12, [0x14038ad28]
cmovne r12, rax
lea r15, [rbp + 0xc8]
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xe0], 0xf
mov byte [rbp + 0xc8], 0
mov rcx, r12
mov edx, 0x522f1e4b
call fcn.14009e330
mov r13, rax
cmp rax, 0xf
jbe 0x140110267
mov rcx, r15
mov rdx, r13
mov r9, r12
call fcn.14008d0f0
jmp 0x140110285
mov qword [rbp + 0x130], r13
movzx edx, word [0x1404bd86a]
mov r8d, 0x90520cf7
call fcn.14009e530
test rax, rax
lea r12, [0x14038ad28]
cmovne r12, rax
lea r15, [rbp + 0xc8]
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xe0], 0xf
mov byte [rbp + 0xc8], 0
mov rcx, r12
mov edx, 0x522f1e4b
call fcn.14009e330
mov r13, rax
cmp rax, 0xf
jbe 0x140110322
mov rcx, r15
mov rdx, r13
mov r9, r12
call fcn.14008d0f0
jmp 0x140110340
mov qword [rbp + 0x130], r13
movzx edx, word [0x1404bd868]
mov r8d, 0x90520cf7
call fcn.14009e530
test rax, rax
lea r12, [0x14038ad28]
cmovne r12, rax
lea r15, [rbp + 0xc8]
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xe0], 0xf
mov byte [rbp + 0xc8], 0
mov rcx, r12
mov edx, 0x522f1e4b
call fcn.14009e330
mov r13, rax
cmp rax, 0xf
jbe 0x140110472
mov rcx, r15
mov rdx, r13
mov r9, r12
call fcn.14008d0f0
jmp 0x140110490
movzx edx, word [0x1404bd866]
mov r8d, 0x90520cf7
call fcn.14009e530
test rax, rax
lea r15, [0x14038ad28]
cmovne r15, rax
lea r14, [rbp + 0xc8]
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xe0], 0xf
mov byte [rbp + 0xc8], 0
mov rcx, r15
mov edx, 0x522f1e4b
call fcn.14009e330
mov r12, rax
cmp rax, 0xf
jbe 0x140110519
mov rcx, r14
mov rdx, r12
mov r9, r15
call fcn.14008d0f0
jmp 0x140110537
mov qword [rbp + 0x130], r13
movzx edx, word [0x1404bd860]
mov r8d, 0x90520cf7
call fcn.14009e530
test rax, rax
lea r12, [0x14038ad28]
cmovne r12, rax
lea r15, [rbp + 0xc8]
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xe0], 0xf
mov byte [rbp + 0xc8], 0
mov rcx, r12
mov edx, 0x522f1e4b
call fcn.14009e330
mov r13, rax
cmp rax, 0xf
jbe 0x1401105b4
mov rcx, r15
mov rdx, r13
mov r9, r12
call fcn.14008d0f0
jmp 0x1401105d2
mov qword [rbp + 0x130], r13
movzx edx, word [0x1404bd86e]
mov r8d, 0x90520cf7
call fcn.14009e530
test rax, rax
lea r12, [0x14038ad28]
cmovne r12, rax
lea r15, [rbp + 0xc8]
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xe0], 0xf
mov byte [rbp + 0xc8], 0
mov rcx, r12
mov edx, 0x522f1e4b
call fcn.14009e330
mov r13, rax
cmp rax, 0xf
jbe 0x14011065b
mov rcx, r15
mov rdx, r13
mov r9, r12
call fcn.14008d0f0
jmp 0x140110679
mov qword [rbp + 0x130], r13
movzx edx, word [0x1404bd86c]
mov r8d, 0x90520cf7
call fcn.14009e530
test rax, rax
lea r12, [0x14038ad28]
cmovne r12, rax
lea r15, [rbp + 0xc8]
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xe0], 0xf
mov byte [rbp + 0xc8], 0
mov rcx, r12
mov edx, 0x522f1e4b
call fcn.14009e330
mov r13, rax
cmp rax, 0xf
jbe 0x140110702
mov rcx, r15
mov rdx, r13
mov r9, r12
call fcn.14008d0f0
jmp 0x140110720
movzx edx, word [0x1404bd862]
mov r8d, 0x90520cf7
call fcn.14009e530
test rax, rax
lea r15, [0x14038ad28]
cmovne r15, rax
lea r14, [rbp + 0xc8]
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xe0], 0xf
mov byte [rbp + 0xc8], 0
mov rcx, r15
mov edx, 0x522f1e4b
call fcn.14009e330
mov r12, rax
cmp rax, 0xf
jbe 0x1401107a9
mov rcx, r14
mov rdx, r12
mov r9, r15
call fcn.14008d0f0
jmp 0x1401107c7
movzx edx, word [0x1404bd864]
mov r8d, 0x90520cf7
call fcn.14009e530
test rax, rax
lea r15, [0x14038ad28]
cmovne r15, rax
lea r14, [rbp + 0xc8]
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xe0], 0xf
mov byte [rbp + 0xc8], 0
mov rcx, r15
mov edx, 0x522f1e4b
call fcn.14009e330
mov r12, rax
cmp rax, 0xf
jbe 0x14011084d
mov rcx, r14
mov rdx, r12
mov r9, r15
call fcn.14008d0f0
jmp 0x14011086b
mov qword [rbp + 0xd8], r13
mov rcx, r15
mov rdx, r12
mov r8, r13
call fcn.14036f110
mov byte [rbp + r13 + 0xc8], 0
lea rax, [0x14038a448]
mov qword [rbp + 0xc0], rax
cmp qword [rbp + 0xe0], 0x10
mov r13, qword [rbp + 0x130]
mov r12d, dword [rbp + 0x13c]
jb 0x1401102b2
mov r15, qword [rbp + 0xc8]
mov dword [rsp + 0x20], r14d
lea rcx, [rbp - 0x50]
mov edx, 0x100
mov r8, r15
mov r9, rbx
call fcn.14007dab0
mov rax, qword [rbp + 0xe0]
cmp rax, 0x10
jb 0x1401108ea
mov rcx, qword [rbp + 0xc8]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x1401108e5
mov r8, qword [rcx - 8]
mov rdx, rcx
xor rdx, 0xfffffffffffffff8
movabs r9, 0x7ffffffffffffff8
and r9, rcx
lea rcx, [rdx + r9*2]
sub rcx, r8
cmp rcx, 0x20
jb 0x1401108db
call fcn.14032786c
mov qword [rbp + 0xd8], r13
mov rcx, r15
mov rdx, r12
mov r8, r13
call fcn.14036f110
mov byte [rbp + r13 + 0xc8], 0
lea rax, [0x14038a448]
mov qword [rbp + 0xc0], rax
cmp qword [rbp + 0xe0], 0x10
mov r13, qword [rbp + 0x130]
mov r12d, dword [rbp + 0x13c]
jb 0x14011036d
mov r15, qword [rbp + 0xc8]
mov dword [rsp + 0x20], r14d
lea rcx, [rbp - 0x50]
mov edx, 0x100
mov r8, r15
mov r9, rbx
call fcn.14007dab0
mov rax, qword [rbp + 0xe0]
cmp rax, 0x10
jb 0x1401108ea
mov rcx, qword [rbp + 0xc8]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x1401108e5
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jb 0x1401108db
call fcn.14032786c
mov qword [rbp + 0xd8], r12
mov rcx, r14
mov rdx, r15
mov r8, r12
call fcn.14036f110
mov byte [rbp + r12 + 0xc8], 0
lea rax, [0x14038a448]
mov qword [rbp + 0xc0], rax
cmp qword [rbp + 0xe0], 0x10
mov r12d, dword [rbp + 0x13c]
jb 0x14011040d
mov r14, qword [rbp + 0xc8]
lea rcx, [rbp - 0x50]
mov edx, 0x100
mov r8, r14
mov r9, rbx
call fcn.14007dab0
mov rax, qword [rbp + 0xe0]
cmp rax, 0x10
jb 0x1401108ea
mov rcx, qword [rbp + 0xc8]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x1401108e5
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x140110aa2
mov rcx, rax
xor rcx, 0x28
and eax, 0x28
lea rdx, [rcx + rax*2]
jmp 0x1401108e2
mov qword [rbp + 0xd8], r13
mov rcx, r15
mov rdx, r12
mov r8, r13
call fcn.14036f110
mov byte [rbp + r13 + 0xc8], 0
lea rax, [0x14038a448]
mov qword [rbp + 0xc0], rax
cmp qword [rbp + 0xe0], 0x10
mov r13, qword [rbp + 0x130]
mov r12d, dword [rbp + 0x13c]
jb 0x1401104bd
mov r15, qword [rbp + 0xc8]
mov dword [rsp + 0x20], r14d
lea rcx, [rbp - 0x50]
mov edx, 0x100
mov r8, r15
mov r9, rbx
call fcn.14007dab0
mov rax, qword [rbp + 0xe0]
cmp rax, 0x10
jb 0x1401108ea
mov rcx, qword [rbp + 0xc8]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x1401108e5
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jb 0x1401108db
call fcn.14032786c
mov qword [rbp + 0xd8], r12
mov rcx, r14
mov rdx, r15
mov r8, r12
call fcn.14036f110
mov byte [rbp + r12 + 0xc8], 0
lea rax, [0x14038a448]
mov qword [rbp + 0xc0], rax
cmp qword [rbp + 0xe0], 0x10
mov r12d, dword [rbp + 0x13c]
jb 0x14011055d
mov r14, qword [rbp + 0xc8]
lea rcx, [rbp - 0x50]
mov edx, 0x100
mov r8, r14
mov r9, rbx
call fcn.14007dab0
mov rax, qword [rbp + 0xe0]
cmp rax, 0x10
jb 0x1401108ea
mov rcx, qword [rbp + 0xc8]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x1401108e5
mov r8, qword [rcx - 8]
sub rcx, r8
add rcx, 0xfffffffffffffff8
cmp rcx, 0x20
jb 0x1401108db
call fcn.14032786c
mov qword [rbp + 0xd8], r13
mov rcx, r15
mov rdx, r12
mov r8, r13
call fcn.14036f110
mov byte [rbp + r13 + 0xc8], 0
lea rax, [0x14038a448]
mov qword [rbp + 0xc0], rax
cmp qword [rbp + 0xe0], 0x10
mov r13, qword [rbp + 0x130]
mov r12d, dword [rbp + 0x13c]
jb 0x1401105ff
mov r15, qword [rbp + 0xc8]
mov dword [rsp + 0x20], r14d
lea rcx, [rbp - 0x50]
mov edx, 0x100
mov r8, r15
mov r9, rbx
call fcn.14007dab0
mov rax, qword [rbp + 0xe0]
cmp rax, 0x10
jb 0x1401108ea
mov rcx, qword [rbp + 0xc8]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x1401108e5
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jb 0x1401108db
call fcn.14032786c
mov qword [rbp + 0xd8], r13
mov rcx, r15
mov rdx, r12
mov r8, r13
call fcn.14036f110
mov byte [rbp + r13 + 0xc8], 0
lea rax, [0x14038a448]
mov qword [rbp + 0xc0], rax
cmp qword [rbp + 0xe0], 0x10
mov r13, qword [rbp + 0x130]
mov r12d, dword [rbp + 0x13c]
jb 0x1401106a6
mov r15, qword [rbp + 0xc8]
mov dword [rsp + 0x20], r14d
lea rcx, [rbp - 0x50]
mov edx, 0x100
mov r8, r15
mov r9, rbx
call fcn.14007dab0
mov rax, qword [rbp + 0xe0]
cmp rax, 0x10
jb 0x1401108ea
mov rcx, qword [rbp + 0xc8]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x1401108e5
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jb 0x1401108db
call fcn.14032786c
mov qword [rbp + 0xd8], r13
mov rcx, r15
mov rdx, r12
mov r8, r13
call fcn.14036f110
mov byte [rbp + r13 + 0xc8], 0
lea rax, [0x14038a448]
mov qword [rbp + 0xc0], rax
cmp qword [rbp + 0xe0], 0x10
mov r13, qword [rbp + 0x130]
mov r12d, dword [rbp + 0x13c]
jb 0x14011074d
mov r15, qword [rbp + 0xc8]
mov dword [rsp + 0x20], r14d
lea rcx, [rbp - 0x50]
mov edx, 0x100
mov r8, r15
mov r9, rbx
call fcn.14007dab0
mov rax, qword [rbp + 0xe0]
cmp rax, 0x10
jb 0x1401108ea
mov rcx, qword [rbp + 0xc8]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x1401108e5
mov r8, qword [rcx - 8]
sub rcx, r8
add rcx, 0xfffffffffffffff8
cmp rcx, 0x20
jb 0x1401108db
call fcn.14032786c
mov qword [rbp + 0xd8], r12
mov rcx, r14
mov rdx, r15
mov r8, r12
call fcn.14036f110
mov byte [rbp + r12 + 0xc8], 0
lea rax, [0x14038a448]
mov qword [rbp + 0xc0], rax
cmp qword [rbp + 0xe0], 0x10
mov r12d, dword [rbp + 0x13c]
jb 0x1401107ed
mov r14, qword [rbp + 0xc8]
lea rcx, [rbp - 0x50]
mov edx, 0x100
mov r8, r14
mov r9, rbx
call fcn.14007dab0
mov rax, qword [rbp + 0xe0]
cmp rax, 0x10
jb 0x1401108ea
mov rcx, qword [rbp + 0xc8]
cmp byte [0x1404bdcc9], 0
jne 0x140110833
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x1401108e5
mov r8, qword [rcx - 8]
sub rcx, r8
add rcx, 0xfffffffffffffff8
cmp rcx, 0x20
jb 0x1401108db
call fcn.14032786c
mov qword [rbp + 0xd8], r12
mov rcx, r14
mov rdx, r15
mov r8, r12
call fcn.14036f110
mov byte [rbp + r12 + 0xc8], 0
lea rax, [0x14038a448]
mov qword [rbp + 0xc0], rax
cmp qword [rbp + 0xe0], 0x10
mov r12d, dword [rbp + 0x13c]
jb 0x140110891
mov r14, qword [rbp + 0xc8]
lea rcx, [rbp - 0x50]
mov edx, 0x100
mov r8, r14
mov r9, rbx
call fcn.14007dab0
mov rax, qword [rbp + 0xe0]
cmp rax, 0x10
jb 0x1401108ea
mov rcx, qword [rbp + 0xc8]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x1401108e5
mov r8, qword [rcx - 8]
sub rcx, r8
add rcx, 0xfffffffffffffff8
cmp rcx, 0x20
jae 0x140110aa7
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.14009e2b0
lea rcx, [rbp + 0xd8]
mov qword [rbp + 0xf0], 0
mov qword [rbp + 0xf8], 0xf
mov byte [rbp + 0xe0], 0
lea rax, [0x14038a448]
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0x118], 0
mov qword [rbp + 0x120], 0xf
mov byte [rbp + 0x108], 0
mov qword [rbp + 0x100], rax
mov dword [rbp + 0xc0], r12d
movaps xmm0, xmmword [0x14038d0d0]
movups xmmword [rbp + 0xc4], xmm0
mov edx, 0x408
add rdx, qword [rsi + 0x18]
call fcn.14021a110
lea rcx, [rbp + 0x100]
lea rdx, [rbp - 0x50]
call fcn.140219240
mov byte [rbp + 0x128], 0
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
mov r10, qword [case.0x140116dad.0]
mov qword [rsp + 0x20], 0
lea rdx, [rbp + 0xb0]
lea r9, [rbp + 0xc0]
xor r8d, r8d
call r10
mov rax, qword [rbp + 0x120]
cmp rax, 0x10
jb 0x1401109ee
mov rcx, qword [rbp + 0x108]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x1401109e9
mov r8, qword [rcx - 8]
sub rcx, r8
add rcx, 0xfffffffffffffff8
cmp rcx, 0x20
jae 0x140110a98
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.14009e2b0
mov qword [rbp + 0x118], 0
mov qword [rbp + 0x120], 0xf
mov byte [rbp + 0x108], 0
mov rax, qword [rbp + 0xf8]
cmp rax, 0x10
jb case.0x14010fdd1.4
mov rcx, qword [rbp + 0xe0]
cmp byte [0x1404bdcc8], 0
jne 0x140110a35
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140110a7e
and r13d, dword [rbp + 0xbc]
mov edx, dword [0x14038d0f0]
xor r8d, r8d
cmp r13d, 1
sbb r8d, r8d
sub edx, edi
test edx, r8d
setne dl
or dl, byte [0x1404bdcc8]
and dl, 1
mov byte [0x1404bdcc8], dl
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x140110a9d
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.14009e2b0
nop
add rsp, 0x1c8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.14032786c
call fcn.14032786c
call fcn.14032786c
call fcn.14032786c
int3