Function at 0x14015febc
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x20], r8d
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
movsxd r12, dword [rsp + 0xc0]
xor eax, eax
cmp dword [rcx], eax
mov ebx, 0xd
mov r10, qword [rsp + 0xb8]
mov ebp, r8d
sete al
mov dword [rsp + 0x2c], r9d
mov dword [rsp + 0x28], eax
mov rsi, rcx
lea eax, [r12 - 1]
mov r8d, ebx
movsxd r15, eax
mov r9, r15
test eax, eax
js 0x14015ff2f
movzx ecx, byte [r9 + r10]
lea eax, [r8*8]
xor ecx, eax
xor r8d, ecx
sub r9, 1
jns 0x14015ff17
movzx ecx, byte [rsp + 0xb0]
lea eax, [r8*8]
xor eax, ecx
mov dword [rsp + 0x24], ecx
xor eax, r8d
xor edx, edx
div dword [rsi + 0x14]
mov rax, qword [rsi + 0x20]
mov r13d, edx
mov rdi, qword [rax + rdx*8]
test rdi, rdi
je 0x14015fffb
cmp byte [rdi + 0x30], cl
jne 0x14015ff86
cmp dword [rdi + 0x1c], r12d
jne 0x14015ff86
mov r8, r12
lea rcx, [rdi + 0x31]
mov rdx, r10
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14015ff96
mov cl, byte [rsp + 0xb0]
mov rdi, qword [rdi]
mov r10, qword [rsp + 0xb8]
test rdi, rdi
jne 0x14015ff61
test rdi, rdi
je 0x14015fffb
mov ecx, dword [rdi + 0x10]
mov eax, ecx
sub eax, dword [rdi + 0x18]
cmp eax, 0x16
jge 0x14015ffe9
lea ebx, [rcx + rcx]
mov rcx, rdi
movsxd rdx, ebx
call fcn.1400f364c
mov rdx, rax
test rax, rax
je 0x140160176
mov dword [rax + 0x10], ebx
mov rcx, qword [rsi + 0x20]
lea r8, [rcx + r13*8]
mov rcx, qword [r8]
cmp rcx, rdi
je 0x14015ffe3
mov rax, qword [rcx]
mov r8, rcx
mov rcx, rax
cmp rax, rdi
jne 0x14015ffd5
mov qword [r8], rdx
mov rdi, rdx
mov ebx, dword [rdi + 0x18]
mov r14, qword [rsp + 0x98]
neg ebx
jmp 0x140160217
mov r14d, dword [rsp + 0xc0]
mov ecx, dword [rsi + 0x14]
lea eax, [r14 + 1]
movsxd r12, eax
mov eax, 0x80
add r12, 0x71
cmp r12, rax
cmovl r12, rax
mov eax, dword [rsi + 0x10]
add eax, eax
mov qword [rsp + 0x40], r12
cmp eax, ecx
jl 0x140160166
mov rax, qword [rsi + 0x20]
lea r13d, [rcx + rcx]
movsxd rdi, r13d
shl rdi, 3
mov rcx, rdi
mov dword [rsp + 0x20], r13d
mov qword [rsp + 0x38], rax
call fcn.1400f35e8
mov qword [rsp + 0x30], rax
mov r14, rax
test rax, rax
je 0x140160176
mov r8, rdi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [rsp + 0x90], eax
cmp dword [rsi + 0x14], eax
jle 0x140160114
mov r14, qword [rsp + 0x38]
mov r12d, r13d
mov rbp, qword [rsp + 0x30]
mov rdi, qword [r14]
test rdi, rdi
je 0x1401600ec
mov rax, qword [rdi]
lea rcx, [rdi + 0x30]
mov qword [r14], rax
mov r13d, ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
sub eax, 1
movsxd r8, eax
js 0x1401600c8
movzx edx, byte [r8 + rdi + 0x30]
lea ecx, [r13*8]
xor edx, ecx
xor r13d, edx
sub r8, 1
jns 0x1401600af
xor edx, edx
mov eax, r13d
div r12d
mov rax, qword [rbp + rdx*8]
mov qword [rdi], rax
mov qword [rbp + rdx*8], rdi
mov rdi, qword [r14]
test rdi, rdi
jne 0x140160095
mov eax, dword [rsp + 0x90]
inc eax
add r14, 8
mov dword [rsp + 0x90], eax
cmp eax, dword [rsi + 0x14]
jl 0x14016008d
mov ebp, dword [rsp + 0xa8]
mov r12, qword [rsp + 0x40]
mov r14, qword [rsp + 0x30]
mov r13d, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
call fcn.1400f3680
mov dword [rsi + 0x14], r13d
mov qword [rsi + 0x20], r14
test r15, r15
js 0x140160149
mov rdx, qword [rsp + 0xb8]
movzx ecx, byte [r15 + rdx]
lea eax, [rbx*8]
xor ecx, eax
xor ebx, ecx
sub r15, 1
jns 0x140160133
mov r14d, dword [rsp + 0xc0]
lea eax, [rbx*8]
xor eax, dword [rsp + 0x24]
xor edx, edx
xor eax, ebx
div r13d
mov r13d, edx
mov rcx, r12
call fcn.1400f35e8
mov rdi, rax
test rax, rax
jne 0x140160180
mov eax, 7
jmp 0x1401602f1
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 0x30]
call sub.VCRUNTIME140.dll_memset
mov al, byte [rsp + 0xb0]
lea rcx, [rdi + 0x31]
mov rdx, qword [rsp + 0xb8]
movsxd rbx, r14d
mov r8, rbx
mov byte [rdi + 0x30], al
mov dword [rdi + 0x10], r12d
call sub.VCRUNTIME140.dll_memcpy
mov dword [rdi + 0x1c], r14d
lea eax, [r14 + 0x32]
mov r14, qword [rsp + 0x98]
mov byte [rbx + rdi + 0x31], 0
mov dword [rdi + 0x18], eax
mov rax, qword [rsi + 0x20]
mov edx, r13d
mov rcx, qword [rax + rdx*8]
mov qword [rdi], rcx
mov rax, qword [rsi + 0x20]
mov qword [rax + rdx*8], rdi
mov rdx, r14
inc dword [rsi + 0x10]
movsxd rcx, dword [rdi + 0x18]
add rcx, rdi
call fcn.140161d78
mov ebx, dword [rdi + 0x18]
add ebx, eax
mov qword [rdi + 0x28], r14
mov dword [rdi + 0x18], ebx
mov dword [rdi + 0x14], ebx
cmp dword [rsi], 1
je 0x140160217
inc ebx
mov dword [rdi + 0x18], ebx
mov eax, dword [rsi]
neg eax
sbb cx, cx
mov word [rdi + 0x22], cx
cmp r14, qword [rdi + 0x28]
je 0x14016026c
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call fcn.140125284
movsxd rcx, dword [rdi + 0x18]
mov rdx, r14
sub rdx, qword [rdi + 0x28]
add rcx, rdi
call fcn.140161d78
add dword [rdi + 0x18], eax
mov r11d, 1
mov eax, dword [rdi + 0x18]
mov dword [rdi + 0x14], eax
mov qword [rdi + 0x28], r14
cmp dword [rsi], r11d
je 0x140160271
inc eax
mov dword [rdi + 0x18], eax
mov eax, dword [rsi]
neg eax
sbb cx, cx
and dword [rdi + 0x24], 0
mov word [rdi + 0x22], cx
jmp 0x140160271
mov r11d, dword [rsp + 0x28]
test ebp, ebp
js 0x1401602e0
cmp dword [rsi], 1
jne 0x140160280
mov byte [rdi + 0x21], 1
jmp 0x1401602e4
movsx eax, word [rdi + 0x22]
cmp ebp, eax
je 0x1401602b2
cmp dword [rsi], 0
jne 0x1401602da
movsxd rax, dword [rdi + 0x18]
movsxd rdx, ebp
mov byte [rax + rdi], 1
inc dword [rdi + 0x18]
movsxd rcx, dword [rdi + 0x18]
add rcx, rdi
call fcn.140161d78
add dword [rdi + 0x18], eax
and dword [rdi + 0x24], 0
mov word [rdi + 0x22], bp
mov ebp, dword [rsp + 0x2c]
test r11d, r11d
je 0x1401602e4
movsxd rcx, dword [rdi + 0x18]
mov eax, ebp
sub eax, dword [rdi + 0x24]
add rcx, rdi
add eax, 2
movsxd rdx, eax
call fcn.140161d78
add dword [rdi + 0x18], eax
mov dword [rdi + 0x24], ebp
jmp 0x1401602e4
mov word [rdi + 0x22], bp
jmp 0x1401602bb
mov byte [rdi + 0x20], 1
mov eax, dword [rdi + 0x18]
mov rcx, qword [rsi + 8]
add eax, ebx
add dword [rcx], eax
xor eax, eax
mov rbx, qword [rsp + 0xa0]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret