Function at 0x140009924
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x128]
sub rsp, 0x1f0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140046180]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov r13, rdx
mov r14, rcx
mov rax, qword [rdx + 8]
mov rbx, qword [rax]
xor esi, esi
cmp rbx, rax
je 0x140009cab
lea r15d, [rsi + 0xf]
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x60], rsi
mov byte [rbp - 0x70], sil
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x38], rsi
mov byte [rbp - 0x48], sil
mov qword [rbp - 8], r15
mov qword [rbp - 0x10], rsi
mov byte [rbp - 0x20], sil
mov rax, qword [0x140039fb8]
mov qword [rbp + 0xb0], rax
mov al, byte [0x140039fc0]
mov byte [rbp + 0xb8], al
mov ecx, 7
mov al, byte [rbp + rcx + 0xaf]
xor byte [rbp + rcx + 0xb0], al
dec rcx
test rcx, rcx
jg 0x1400099bd
xor byte [rbp + 0xb0], 0xa2
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], rsi
mov byte [rsp + 0x38], sil
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0xb0]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp + 0xb0]
lea rcx, [rsp + 0x38]
call fcn.140002348
nop
lea rdx, [rbx + 0x40]
lea r8, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.14001d7c0
nop
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.1400052c0
nop
cmp qword [rsp + 0x78], 0x10
jb 0x140009a44
mov rcx, qword [rsp + 0x60]
call fcn.1400233e4
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x70], rsi
mov byte [rsp + 0x60], sil
cmp qword [rsp + 0x50], 0x10
jb 0x140009a65
mov rcx, qword [rsp + 0x38]
call fcn.1400233e4
mov rax, qword [str.k_an_ve]
mov qword [rbp + 0xc0], rax
mov eax, dword [0x140039fd0]
mov dword [rbp + 0xc8], eax
movzx eax, word [0x140039fd4]
mov word [rbp + 0xcc], ax
mov ecx, 0xc
mov al, byte [rbp + rcx + 0xbf]
xor byte [rbp + rcx + 0xc0], al
dec rcx
test rcx, rcx
jg 0x140009a92
xor byte [rbp + 0xc0], 8
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], rsi
mov byte [rsp + 0x38], sil
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0xc0]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp + 0xc0]
lea rcx, [rsp + 0x38]
call fcn.140002348
nop
lea rdx, [rbx + 0x40]
lea r8, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.14001d7c0
nop
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.1400052c0
nop
cmp qword [rsp + 0x78], 0x10
jb 0x140009b19
mov rcx, qword [rsp + 0x60]
call fcn.1400233e4
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x70], rsi
mov byte [rsp + 0x60], sil
cmp qword [rsp + 0x50], 0x10
jb 0x140009b3a
mov rcx, qword [rsp + 0x38]
call fcn.1400233e4
mov rax, qword [0x140039fd8]
mov qword [rbp + 0xd0], rax
mov eax, dword [0x140039fe0]
mov dword [rbp + 0xd8], eax
movzx eax, word [0x140039fe4]
mov word [rbp + 0xdc], ax
mov ecx, 0xc
mov al, byte [rbp + rcx + 0xcf]
xor byte [rbp + rcx + 0xd0], al
dec rcx
test rcx, rcx
jg 0x140009b67
xor byte [rbp + 0xd0], 0xd2
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], rsi
mov byte [rsp + 0x38], sil
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0xd0]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp + 0xd0]
lea rcx, [rsp + 0x38]
call fcn.140002348
nop
lea rdx, [rbx + 0x40]
lea r8, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.14001d7c0
nop
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.1400052c0
nop
cmp qword [rsp + 0x78], 0x10
jb 0x140009bee
mov rcx, qword [rsp + 0x60]
call fcn.1400233e4
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x70], rsi
mov byte [rsp + 0x60], sil
cmp qword [rsp + 0x50], 0x10
jb 0x140009c0f
mov rcx, qword [rsp + 0x38]
call fcn.1400233e4
cmp qword [rbp - 0x60], rsi
je 0x140009c5e
cmp qword [rbp - 0x38], rsi
je 0x140009c5e
cmp qword [rbp - 0x10], rsi
je 0x140009c5e
lea r8, [rbp - 0x70]
lea rdx, [rbx + 0x18]
lea rcx, [rbp + 0x10]
call fcn.140016134
nop
mov r8, rax
lea rdx, [rsp + 0x28]
mov rcx, r14
call fcn.14000aee0
nop
lea rcx, [rbp + 0x38]
call fcn.140009ce0
cmp qword [rbp + 0x28], 0x10
jb 0x140009c5e
mov rcx, qword [rbp + 0x10]
call fcn.1400233e4
nop
lea rcx, [rbp - 0x70]
call fcn.140009ce0
cmp byte [rbx + 0x69], sil
jne 0x140009ca1
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x69], sil
jne 0x140009c85
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x69], sil
je 0x140009c77
jmp 0x140009ca1
mov rax, qword [rbx + 8]
jmp 0x140009c98
cmp rbx, qword [rax + 0x10]
jne 0x140009c9e
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x69], sil
je 0x140009c8b
mov rbx, rax
cmp rbx, qword [r13 + 8]
jne 0x14000997a
cmp qword [r14 + 0x10], rsi
sete sil
mov eax, esi
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.140022ee0
mov rbx, qword [rsp + 0x240]
add rsp, 0x1f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret