Function at 0x180002e10
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov r12, r9
mov r15, r8
mov r13, rdx
mov r14, rcx
xor esi, esi
mov edi, esi
mov dword [rbp - 0x40], esi
mov rbx, qword [rbp + 0x60]
cmp dword [rcx + 0x1c], 1
jl 0x180002e6f
mov rax, qword [rbx]
mov ecx, dword [rax + 4]
test ecx, ecx
je 0x180002e5e
cmp ecx, dword [r14 + 0x14]
je 0x180002e6f
mov rcx, r13
call qword [0x18000b2f8]
mov rax, r13
jmp 0x1800033d1
lea rcx, [rbp - 0x38]
call qword [0x18000b2f8]
nop
mov r8, r12
lea rdx, [rbp - 0x30]
mov rcx, r14
call fcn.180003b10
nop
mov ecx, dword [r14 + 0x1c]
test ecx, ecx
je 0x180003342
sub ecx, 1
je 0x1800031b1
sub ecx, 1
je 0x180002ff9
cmp ecx, 1
jne 0x1800033a9
lea rcx, [rbp + 0x40]
call qword [0x18000b2f8]
nop
mov r9, rbx
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x48]
mov rcx, r14
call fcn.180002b30
nop
mov rdx, rax
lea rcx, [rbp + 0x40]
call qword [0x18000b350]
nop
lea rcx, [rbp - 0x48]
call qword [0x18000b110]
mov ecx, dword [r14 + 0x14]
mov ebx, ecx
mov rax, qword [r15]
cmp ecx, dword [rax + 4]
jge 0x180002f57
nop word [rax + rax]
mov r8d, ecx
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x40]
call qword [0x18000b330]
nop
mov r9, rax
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x48]
mov rcx, r14
call fcn.180002b30
nop
mov rdx, rax
lea rcx, [rbp + 0x40]
call qword [0x18000b350]
nop
lea rcx, [rbp - 0x48]
call qword [0x18000b110]
nop
lea rcx, [rbp - 0x50]
call qword [0x18000b110]
mov ecx, dword [r14 + 0x14]
add ebx, ecx
mov rax, qword [r15]
cmp ebx, dword [rax + 4]
jl 0x180002f00
mov rcx, r15
call qword [0x18000b378]
mov rbx, rax
lea rcx, [rbp + 0x40]
call qword [0x18000b378]
mov rdi, rax
lea rcx, [rbp - 0x50]
call qword [0x18000b2f8]
mov dword [rbp - 0x40], 8
mov rcx, qword [rbp + 0x40]
mov r8d, dword [rcx + 4]
mov rcx, qword [r15]
mov edx, dword [rcx + 4]
cmp r8d, edx
cmovl edx, r8d
test edx, edx
jle 0x180002fd0
sub rdi, rbx
nop dword [rax]
movzx r8d, byte [rdi + rbx]
xor r8b, byte [rbx]
mov edx, esi
lea rcx, [rbp - 0x50]
call qword [0x18000b358]
inc esi
lea rbx, [rbx + 1]
mov rax, qword [rbp + 0x40]
mov edx, dword [rax + 4]
mov rax, qword [r15]
mov ecx, dword [rax + 4]
cmp edx, ecx
cmovl ecx, edx
cmp esi, ecx
jl 0x180002fa0
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x38]
call qword [0x18000b350]
nop
lea rcx, [rbp - 0x50]
call qword [0x18000b110]
nop
lea rcx, [rbp + 0x40]
call qword [0x18000b110]
jmp 0x1800033a9
mov r9, rbx
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x20]
mov rcx, r14
call fcn.180002b30
mov r13, rax
mov r9d, dword [r14 + 0x14]
xor r8d, r8d
lea rdx, [rbp - 0x28]
mov rcx, r15
call qword [0x18000b338]
mov qword [rbp - 0x48], rax
mov rcx, rax
call qword [0x18000b378]
mov rbx, rax
mov rcx, r13
call qword [0x18000b378]
mov r12, rax
lea rcx, [rbp - 0x50]
call qword [0x18000b2f8]
mov dword [rbp - 0x40], 4
mov edi, esi
mov rcx, qword [r13]
mov r8d, dword [rcx + 4]
mov rcx, qword [rbp - 0x48]
mov rcx, qword [rcx]
mov edx, dword [rcx + 4]
cmp r8d, edx
cmovl edx, r8d
test edx, edx
jle 0x1800030b4
sub r12, rbx
mov r14, qword [rbp - 0x48]
nop word [rax + rax]
movzx r8d, byte [r12 + rbx]
xor r8b, byte [rbx]
mov edx, edi
lea rcx, [rbp - 0x50]
call qword [0x18000b358]
inc edi
lea rbx, [rbx + 1]
mov rax, qword [r13]
mov edx, dword [rax + 4]
mov rax, qword [r14]
mov ecx, dword [rax + 4]
cmp edx, ecx
cmovl ecx, edx
cmp edi, ecx
jl 0x180003080
mov r14, qword [rbp + 0x40]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x38]
call qword [0x18000b350]
nop
lea rcx, [rbp - 0x50]
call qword [0x18000b110]
nop
lea rcx, [rbp - 0x28]
call qword [0x18000b110]
nop
lea rcx, [rbp - 0x20]
call qword [0x18000b110]
mov rdx, qword [r15]
cmp dword [rdx + 4], 0
jle 0x1800033a9
mov r8d, dword [r14 + 0x14]
nop dword [rax]
nop dword [rax + rax]
lea eax, [r8 + rsi]
cmp eax, dword [rdx + 4]
jge 0x1800031a0
mov r9d, r8d
mov r8d, esi
lea rdx, [rbp - 0x48]
mov rcx, r15
call qword [0x18000b338]
nop
mov r9, rax
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x28]
mov rcx, r14
call fcn.180002b30
mov rbx, rax
mov r9d, dword [r14 + 0x14]
lea r8d, [r9 + rsi]
lea rdx, [rbp - 0x20]
mov rcx, r15
call qword [0x18000b338]
nop
mov r9, rbx
mov r8, rax
lea rdx, [rbp + 0x40]
mov rcx, r14
call fcn.180002a70
nop
mov rdx, rax
lea rcx, [rbp - 0x38]
call qword [0x18000b350]
nop
lea rcx, [rbp + 0x40]
call qword [0x18000b110]
nop
lea rcx, [rbp - 0x20]
call qword [0x18000b110]
nop
lea rcx, [rbp - 0x28]
call qword [0x18000b110]
nop
lea rcx, [rbp - 0x48]
call qword [0x18000b110]
mov r8d, dword [r14 + 0x14]
mov rdx, qword [r15]
add esi, r8d
cmp esi, dword [rdx + 4]
jl 0x180003100
jmp 0x1800033a9
mov rdx, rbx
lea rcx, [rbp - 0x50]
call qword [0x18000b308]
nop
mov ebx, esi
mov dword [rbp + 0x40], ebx
mov rax, qword [r15]
cmp dword [rax + 4], ebx
jle 0x180003336
mov ecx, dword [r14 + 0x14]
nop dword [rax]
nop dword [rax + rax]
mov r9d, ecx
mov r8d, ebx
lea rdx, [rbp - 0x28]
mov rcx, r15
call qword [0x18000b338]
nop
mov r9, rax
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x20]
mov rcx, r14
call fcn.180003d00
nop
mov rdx, rax
lea rcx, [rbp - 0x38]
call qword [0x18000b350]
nop
lea rcx, [rbp - 0x20]
call qword [0x18000b110]
nop
lea rcx, [rbp - 0x28]
call qword [0x18000b110]
mov r9d, dword [r14 + 0x14]
mov r8d, ebx
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x38]
call qword [0x18000b338]
mov r13, rax
mov rcx, rax
call qword [0x18000b378]
mov rbx, rax
lea rcx, [rbp - 0x50]
call qword [0x18000b378]
mov r12, rax
lea rcx, [rbp - 0x48]
call qword [0x18000b2f8]
or edi, 2
mov dword [rbp - 0x40], edi
mov edi, esi
mov rcx, qword [rbp - 0x50]
mov r8d, dword [rcx + 4]
mov rcx, qword [r13]
mov edx, dword [rcx + 4]
cmp r8d, edx
cmovl edx, r8d
test edx, edx
jle 0x1800032c1
sub r12, rbx
nop dword [rax + rax]
movzx r8d, byte [r12 + rbx]
xor r8b, byte [rbx]
mov edx, edi
lea rcx, [rbp - 0x48]
call qword [0x18000b358]
inc edi
lea rbx, [rbx + 1]
mov rax, qword [rbp - 0x50]
mov edx, dword [rax + 4]
mov rax, qword [r13]
mov ecx, dword [rax + 4]
cmp edx, ecx
cmovl ecx, edx
cmp edi, ecx
jl 0x180003290
lea r9, [rbp - 0x48]
mov r8d, dword [r14 + 0x14]
mov ebx, dword [rbp + 0x40]
mov edx, ebx
lea rcx, [rbp - 0x38]
call qword [0x18000b360]
mov edi, dword [rbp - 0x40]
and edi, 0xfffffffd
mov dword [rbp - 0x40], edi
lea rcx, [rbp - 0x48]
call qword [0x18000b110]
nop
lea rcx, [rbp - 0x10]
call qword [0x18000b110]
mov r9d, dword [r14 + 0x14]
mov r8d, ebx
lea rdx, [rbp - 0x18]
mov rcx, r15
call qword [0x18000b338]
mov rdx, rax
lea rcx, [rbp - 0x50]
call qword [0x18000b318]
lea rcx, [rbp - 0x18]
call qword [0x18000b110]
mov ecx, dword [r14 + 0x14]
add ebx, ecx
mov dword [rbp + 0x40], ebx
mov rax, qword [r15]
cmp ebx, dword [rax + 4]
jl 0x1800031e0
lea rcx, [rbp - 0x50]
call qword [0x18000b110]
jmp 0x1800033a9
mov rax, qword [r15]
cmp dword [rax + 4], 0
jle 0x1800033a9
mov ecx, dword [r14 + 0x14]
nop
mov r9d, ecx
mov r8d, esi
lea rdx, [rbp - 0x18]
mov rcx, r15
call qword [0x18000b338]
nop
mov r9, rax
lea r8, [rbp - 0x30]
lea rdx, [rbp + 0x40]
mov rcx, r14
call fcn.180003d00
nop
mov rdx, rax
lea rcx, [rbp - 0x38]
call qword [0x18000b350]
nop
lea rcx, [rbp + 0x40]
call qword [0x18000b110]
nop
lea rcx, [rbp - 0x18]
call qword [0x18000b110]
mov ecx, dword [r14 + 0x14]
add esi, ecx
mov rax, qword [r15]
cmp esi, dword [rax + 4]
jl 0x180003350
lea rdx, [rbp - 0x38]
mov rcx, qword [rbp + 0x48]
call qword [0x18000b310]
nop
lea rcx, [rbp - 0x30]
call qword [0x18000b110]
nop
lea rcx, [rbp - 0x38]
call qword [0x18000b110]
mov rax, qword [rbp + 0x48]
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret