Function at 0x140019950
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
movzx esi, r8b
mov rbp, rdx
mov r12, rcx
mov r10d, dword [rdx + 8]
test r10d, r10d
je 0x140019cda
mov r11, qword [rdx]
cmp word [r11], 0
je 0x140019cda
xor r15d, r15d
mov r8d, r15d
test r10d, r10d
je 0x1400199c3
nop word [rax + rax]
mov eax, r8d
cmp word [r11 + rax*2], 0x2c
je 0x1400199db
inc r8d
cmp r8d, r10d
jb 0x1400199b0
add rcx, 0x48
call fcn.14001cb40
test rax, rax
je 0x1400199e5
mov eax, 8
jmp 0x140019cdf
mov eax, 0x11
jmp 0x140019cdf
mov edi, 0x32f54a96
mov eax, dword [rbp + 8]
test eax, eax
je 0x140019a24
mov rdx, qword [rbp]
mov r8d, eax
nop dword [rax + rax]
movzx eax, word [rdx]
imul ecx, eax, 0xc5
imul eax, edi, 0x34c3
add ecx, eax
mov eax, edi
shr eax, 2
mov edi, ecx
xor edi, eax
lea rdx, [rdx + 2]
sub r8, 1
jne 0x140019a00
mov rdx, qword [r12]
mov rax, rdx
test rdx, rdx
je 0x140019a76
cmp edi, dword [rax + 8]
je 0x140019a50
jae 0x140019a3d
mov rax, qword [rax + 0x18]
jmp 0x140019a41
mov rax, qword [rax + 0x20]
test rax, rax
jne 0x140019a30
jmp 0x140019a76
inc edi
mov rax, rdx
test rdx, rdx
je 0x140019a76
nop word [rax + rax]
cmp edi, dword [rax + 8]
je 0x140019a50
jae 0x140019a6d
mov rax, qword [rax + 0x18]
jmp 0x140019a71
mov rax, qword [rax + 0x20]
test rax, rax
jne 0x140019a60
mov ecx, 0x70
call fcn.140027918
mov r14, rax
mov qword [rsp + 0x78], rax
test rax, rax
je 0x140019b09
mov qword [rax], r15
mov dword [rax + 8], r15d
mov qword [rax + 0x18], r15
lea rdx, [rax + 0x20]
mov dword [rax + 0x30], 0xffffffff
mov dword [rax + 0x34], 5
mov qword [rax + 0x38], r15
mov dword [rax + 0x40], 0x3f400000
mov dword [rax + 0x44], 0x3e000000
add rax, 0x28
or rax, 1
mov qword [rdx], rax
or rdx, 2
mov qword [r14 + 0x28], rdx
lea rcx, [r14 + 0x48]
call fcn.140026d40
nop
mov rdx, rbp
lea rcx, [r14 + 0x48]
call fcn.140026d90
mov dword [r14 + 0x68], 0x10000
mov byte [r14 + 0x6d], sil
mov dword [r14 + 0x60], edi
mov qword [r14 + 0x58], r12
mov byte [r14 + 0x6e], 0
mov byte [r14 + 0x6c], 0
mov dword [r14 + 0x64], r15d
jmp 0x140019b0c
mov r14, r15
test r14, r14
jne 0x140019b1a
lea eax, [r14 + 6]
jmp 0x140019cdf
mov rbx, qword [r12 + 0x48]
mov ecx, 0x38
call fcn.140027918
mov rsi, rax
mov qword [rsp + 0x78], rax
test rax, rax
je 0x140019b5e
xor eax, eax
mov qword [rsi], rax
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], rax
mov qword [rsi + 0x20], rax
mov qword [rsi + 0x28], rax
mov qword [rsi + 0x30], rax
lea rcx, [rsi + 8]
call fcn.140026d40
jmp 0x140019b60
xor esi, esi
test rsi, rsi
je 0x140019c02
mov dword [rsi], edi
mov rdx, rbp
lea rcx, [rsi + 8]
call fcn.140026d90
test rbx, rbx
je 0x140019bb4
nop dword [rax]
lea rdx, [rbx + 8]
lea rcx, [rsi + 8]
call fcn.140027000
test al, al
jne 0x140019be6
mov r15, rbx
lea rdx, [rbx + 8]
lea rcx, [rsi + 8]
call fcn.1400270d0
test al, al
je 0x140019bab
mov rbx, qword [rbx + 0x28]
jmp 0x140019baf
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x140019b80
mov qword [rsi + 0x20], r15
xor ebp, ebp
mov qword [rsi + 0x28], rbp
mov qword [rsi + 0x30], rbp
mov byte [rsi + 0x18], 1
test r15, r15
je 0x140019c56
lea rdx, [r15 + 8]
lea rcx, [rsi + 8]
call fcn.1400270d0
test al, al
je 0x140019c50
mov qword [r15 + 0x28], rsi
jmp 0x140019c5b
lea rcx, [rsi + 8]
call fcn.1400275a0
nop
mov edx, 0x38
mov rcx, rsi
call fcn.140027954
mov r12, qword [rsp + 0x70]
xor ebp, ebp
mov rbx, qword [r12]
mov rsi, rbp
mov ecx, 0x28
call fcn.140027918
test rax, rax
je 0x140019cc6
xor ecx, ecx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
mov qword [rax + 0x20], rcx
mov qword [rax], r14
mov dword [rax + 8], edi
test rbx, rbx
je 0x140019c7d
nop dword [rax + rax]
cmp edi, dword [rbx + 8]
je 0x140019c9d
mov rsi, rbx
jae 0x140019c74
mov rbx, qword [rbx + 0x18]
jmp 0x140019c78
mov qword [r15 + 0x30], rsi
jmp 0x140019c5b
mov qword [r12 + 0x48], rsi
mov rdx, rsi
lea rcx, [r12 + 0x48]
call fcn.14001ead0
inc dword [r12 + 0x50]
mov r12, qword [rsp + 0x70]
jmp 0x140019c04
mov rbx, qword [rbx + 0x20]
test rbx, rbx
jne 0x140019c40
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rbp
mov byte [rax + 0xc], 1
test rsi, rsi
je 0x140019cb2
cmp edi, dword [rsi + 8]
jae 0x140019cac
mov qword [rsi + 0x18], rax
jmp 0x140019cb6
mov edx, 0x28
mov rcx, rax
call fcn.140027954
jmp 0x140019cc6
mov qword [rsi + 0x20], rax
jmp 0x140019cb6
mov qword [r12], rax
mov rdx, rax
mov rcx, r12
call fcn.14001ece0
inc dword [r12 + 8]
mov rax, qword [rsp + 0x88]
test rax, rax
je 0x140019cd6
mov qword [rax], r14
xor eax, eax
jmp 0x140019cdf
mov eax, 9
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret