Function at 0x140009de3
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x30
inc qword [0x140102e98]
inc qword [0x140103700]
inc qword [0x140103708]
inc qword [0x140103858]
inc qword [0x140103878]
inc qword [0x140103860]
inc qword [0x140103888]
inc qword [0x140103868]
inc qword [0x140103890]
inc qword [0x1401038e8]
inc qword [0x140103918]
inc qword [0x140103928]
mov rsi, r8
inc qword [0x140103910]
mov rdi, rdx
inc qword [0x140103920]
mov r14, rcx
inc qword [0x140103900]
mov rax, qword [0x140103880]
inc qword [0x1401038f8]
mov rcx, qword [0x1401038e0]
inc qword [0x140103930]
add rax, 2
inc qword [0x140103950]
mov qword [0x140103880], rax
inc qword [0x140103938]
add rcx, 2
inc qword [0x140103948]
mov qword [0x1401038e0], rcx
inc qword [0x140103988]
mov ecx, 0x100
call fcn.140014754
inc qword [0x140103870]
inc qword [0x1401038a0]
inc qword [0x1401038a8]
inc qword [0x1401039d0]
inc qword [0x1401039d8]
mov rbx, rax
add qword [0x1401039e0], 2
xor r15d, r15d
mov r8d, 0x100
mov rcx, rax
xor edx, edx
call fcn.14000d460
lea rcx, [rsp + 0x28]
mov qword [rcx], 0
call fcn.140009bee
inc qword [0x1401038d8]
mov rax, qword [0x140102ea0]
mov rcx, qword [0x140103710]
mov rdx, r15
mov byte [rbx + r15], dl
inc r15
cmp r15, 0x100
jne 0x140009f22
add rax, rdx
inc rax
lea r8, [rcx + rdx]
inc r8
mov qword [0x140102ea0], rax
mov qword [0x140103710], r8
inc qword [0x140103718]
mov r9, qword [r14 + 8]
sub r9, qword [r14]
mov r10, qword [0x140103720]
inc r10
xor r11d, r11d
xor ecx, ecx
xor r15d, r15d
inc qword [0x140102ea8]
lea rax, [r8 + r11]
inc rax
mov qword [0x140103710], rax
add r15b, byte [rbx + rcx]
mov rax, rcx
xor edx, edx
div r9
lea rax, [r10 + rcx]
mov qword [0x140103720], rax
mov rax, qword [r14]
add r15b, byte [rax + rdx]
lea rax, [r8 + r11]
add rax, 2
mov qword [0x140103710], rax
mov al, byte [rbx + rcx]
movzx edx, r15b
lea r12, [r8 + r11 + 3]
mov qword [0x140103710], r12
mov bpl, byte [rbx + rdx]
lea r12, [r8 + r11 + 4]
mov qword [0x140103710], r12
mov byte [rbx + rcx], bpl
lea r12, [r8 + r11]
add r12, 5
mov qword [0x140103710], r12
mov byte [rbx + rdx], al
inc rcx
add r11, 5
cmp r11, 0x500
jne 0x140009f70
test rsi, rsi
je 0x14000a0b5
xor eax, eax
xor ecx, ecx
xor edx, edx
inc qword [0x140102eb0]
lea r8d, [rdx + 1]
lea r9d, [rdx + 0x100]
test r8d, r8d
cmovns r9d, r8d
and r9d, 0xffffff00
neg r9d
add edx, r9d
inc edx
movsxd r8, edx
mov r9, qword [0x140103710]
lea r10, [r9 + 1]
mov qword [0x140103710], r10
mov r10b, byte [rbx + r8]
add cl, r10b
movzx r11d, cl
lea r14, [r9 + 3]
mov qword [0x140103710], r14
mov bpl, byte [rbx + r11]
lea r14, [r9 + 4]
mov qword [0x140103710], r14
mov byte [rbx + r8], bpl
lea r14, [r9 + 5]
mov qword [0x140103710], r14
mov byte [rbx + r11], r10b
lea r11, [r9 + 6]
add r10b, byte [rbx + r8]
mov qword [0x140103710], r11
movzx r8d, r10b
add r9, 8
mov qword [0x140103710], r9
mov r8b, byte [rbx + r8]
xor byte [rdi + rax], r8b
inc rax
cmp rsi, rax
jne 0x14000a00e
inc qword [0x140103728]
inc qword [0x1401039e8]
inc qword [0x140103880]
inc qword [0x1401038e0]
inc qword [0x1401039f8]
inc qword [0x1401039f0]
inc qword [0x140103a00]
inc qword [0x140103a10]
inc qword [0x140103a18]
mov edx, 0x100
mov rcx, rbx
call fcn.140014798
nop
add rsp, 0x30
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret