Function at 0x140009dd3
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 [0x140102e18]
inc qword [0x140103680]
inc qword [0x140103688]
inc qword [0x1401037d8]
inc qword [0x1401037f8]
inc qword [0x1401037e0]
inc qword [0x140103808]
inc qword [0x1401037e8]
inc qword [0x140103810]
inc qword [0x140103868]
inc qword [0x140103898]
inc qword [0x1401038a8]
mov rsi, r8
inc qword [0x140103890]
mov rdi, rdx
inc qword [0x1401038a0]
mov r14, rcx
inc qword [0x140103880]
mov rax, qword [0x140103800]
inc qword [0x140103878]
mov rcx, qword [0x140103860]
inc qword [0x1401038b0]
add rax, 2
inc qword [0x1401038d0]
mov qword [0x140103800], rax
inc qword [0x1401038b8]
add rcx, 2
inc qword [0x1401038c8]
mov qword [0x140103860], rcx
inc qword [0x140103908]
mov ecx, 0x100
call fcn.140014754
inc qword [0x1401037f0]
inc qword [0x140103820]
inc qword [0x140103828]
inc qword [0x140103950]
inc qword [0x140103958]
mov rbx, rax
add qword [0x140103960], 2
xor r15d, r15d
mov r8d, 0x100
mov rcx, rax
xor edx, edx
call fcn.14000d450
lea rcx, [rsp + 0x28]
mov qword [rcx], 0
call fcn.140009bea
inc qword [0x140103858]
mov rax, qword [0x140102e20]
mov rcx, qword [0x140103690]
mov rdx, r15
mov byte [rbx + r15], dl
inc r15
cmp r15, 0x100
jne 0x140009f12
add rax, rdx
inc rax
lea r8, [rcx + rdx]
inc r8
mov qword [0x140102e20], rax
mov qword [0x140103690], r8
inc qword [0x140103698]
mov r9, qword [r14 + 8]
sub r9, qword [r14]
mov r10, qword [0x1401036a0]
inc r10
xor r11d, r11d
xor ecx, ecx
xor r15d, r15d
inc qword [0x140102e28]
lea rax, [r8 + r11]
inc rax
mov qword [0x140103690], rax
add r15b, byte [rbx + rcx]
mov rax, rcx
xor edx, edx
div r9
lea rax, [r10 + rcx]
mov qword [0x1401036a0], rax
mov rax, qword [r14]
add r15b, byte [rax + rdx]
lea rax, [r8 + r11]
add rax, 2
mov qword [0x140103690], rax
mov al, byte [rbx + rcx]
movzx edx, r15b
lea r12, [r8 + r11 + 3]
mov qword [0x140103690], r12
mov bpl, byte [rbx + rdx]
lea r12, [r8 + r11 + 4]
mov qword [0x140103690], r12
mov byte [rbx + rcx], bpl
lea r12, [r8 + r11]
add r12, 5
mov qword [0x140103690], r12
mov byte [rbx + rdx], al
inc rcx
add r11, 5
cmp r11, 0x500
jne 0x140009f60
test rsi, rsi
je 0x14000a0a5
xor eax, eax
xor ecx, ecx
xor edx, edx
inc qword [0x140102e30]
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 [0x140103690]
lea r10, [r9 + 1]
mov qword [0x140103690], r10
mov r10b, byte [rbx + r8]
add cl, r10b
movzx r11d, cl
lea r14, [r9 + 3]
mov qword [0x140103690], r14
mov bpl, byte [rbx + r11]
lea r14, [r9 + 4]
mov qword [0x140103690], r14
mov byte [rbx + r8], bpl
lea r14, [r9 + 5]
mov qword [0x140103690], r14
mov byte [rbx + r11], r10b
lea r11, [r9 + 6]
add r10b, byte [rbx + r8]
mov qword [0x140103690], r11
movzx r8d, r10b
add r9, 8
mov qword [0x140103690], r9
mov r8b, byte [rbx + r8]
xor byte [rdi + rax], r8b
inc rax
cmp rsi, rax
jne 0x140009ffe
inc qword [0x1401036a8]
inc qword [0x140103968]
inc qword [0x140103800]
inc qword [0x140103860]
inc qword [0x140103978]
inc qword [0x140103970]
inc qword [0x140103980]
inc qword [0x140103990]
inc qword [0x140103998]
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