Function at 0x140009d8c
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov rax, qword [0x140046180]
xor rax, rsp
mov qword [rbp + 0x18], rax
mov qword [rsp + 0x58], r9
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x60], rdx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
mov rax, qword [rbp + 0x80]
mov qword [rsp + 0x48], rax
mov r14, qword [rbp + 0x88]
mov qword [rsp + 0x70], r14
mov rsi, qword [rbp + 0x90]
mov rax, qword [rbp + 0x98]
mov qword [rsp + 0x40], rax
mov r15, qword [rbp + 0xa0]
call fcn.140008d64
mov rcx, rax
mov r8, rdi
lea rdx, [rbp - 0x58]
call fcn.140008e38
nop
cmp qword [rbp - 0x48], 0
jne 0x140009e58
call fcn.140008d64
mov rcx, rax
lea r8, [rbp - 0x58]
mov rdx, rdi
call fcn.140008ee0
mov edi, eax
test eax, eax
jne 0x140009e41
cmp qword [rbp - 0x48], 0
jne 0x140009e58
cmp qword [rbp - 0x40], 0x10
jb 0x140009e51
mov rcx, qword [rbp - 0x58]
call fcn.1400233e4
mov eax, edi
jmp 0x14000a436
mov rax, qword [0x140039fe8]
mov qword [rbp], rax
mov eax, dword [0x140039ff0]
mov dword [rbp + 8], eax
movzx eax, word [0x140039ff4]
mov word [rbp + 0xc], ax
mov r13d, 0xc
mov ecx, r13d
mov al, byte [rbp + rcx - 1]
xor byte [rbp + rcx], al
dec rcx
test rcx, rcx
jg 0x140009e80
xor byte [rbp], 0xef
movabs rax, 0xd6f684e193f297
mov qword [rbp - 8], rax
mov r12d, 6
mov ecx, r12d
mov al, byte [rbp + rcx - 9]
xor byte [rbp + rcx - 8], al
dec rcx
test rcx, rcx
jg 0x140009eab
xor byte [rbp - 8], 0xd5
mov qword [rbp - 0x68], 0xf
and qword [rbp - 0x70], 0
mov byte [rbp - 0x80], 0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp]
lea rcx, [rbp - 0x80]
call fcn.140002348
nop
lea r8, [rbp - 0x58]
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x30]
call fcn.14000b0d0
mov rdi, rax
lea rdx, [rbp - 0x80]
mov rcx, r14
call fcn.14000a560
mov rcx, rax
mov rdx, rdi
call fcn.1400052c0
nop
cmp qword [rbp - 0x18], 0x10
jb 0x140009f2d
mov rcx, qword [rbp - 0x30]
call fcn.1400233e4
mov qword [rbp - 0x18], 0xf
xor edi, edi
mov qword [rbp - 0x20], rdi
mov byte [rbp - 0x30], dil
cmp qword [rbp - 0x68], 0x10
jb 0x140009f4f
mov rcx, qword [rbp - 0x80]
call fcn.1400233e4
mov qword [rsp + 0x38], r15
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r14
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
call fcn.140012e10
test eax, eax
jne 0x140009f9f
cmp qword [rbp - 0x40], 0x10
jb 0x140009f95
mov rcx, qword [rbp - 0x58]
call fcn.1400233e4
mov eax, 2
jmp 0x14000a436
mov rax, qword [str.___L]
mov qword [rbp], rax
mov rax, qword [0x14003a000]
mov qword [rbp + 8], rax
mov eax, dword [0x14003a008]
mov dword [rbp + 0x10], eax
movzx eax, word [0x14003a00c]
mov word [rbp + 0x14], ax
mov r14d, 0x14
mov ecx, r14d
mov al, byte [rbp + rcx - 1]
xor byte [rbp + rcx], al
dec rcx
test rcx, rcx
jg 0x140009fd2
xor byte [rbp], 0x5d
mov qword [rbp - 0x68], 0xf
mov qword [rbp - 0x70], rdi
mov byte [rbp - 0x80], dil
mov r8, qword [r15 + 8]
mov rdx, qword [r15]
lea rcx, [rbp - 0x80]
call fcn.140002348
nop
jmp 0x14000a08f
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp]
repne scasb al, byte [rdi]
not rcx
lea r9, [rcx - 1]
xor r8d, r8d
lea rdx, [rbp]
lea rcx, [rbp - 0x80]
call fcn.140006cd0
or rcx, 0xffffffffffffffff
cmp rax, rcx
je 0x14000a0c2
mov edx, 0x5a2bc0
mov ecx, 0xb9f5b9c
call fcn.140022154
mov ecx, 0x1388
call rax
mov qword [rsp + 0x38], r15
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
call fcn.140012e10
xor edi, edi
test eax, eax
je 0x14000a09d
cmp dword [rsi], 0x193
je 0x14000a00c
jmp 0x14000a0c2
cmp qword [rbp - 0x68], 0x10
jb 0x14000a0ad
mov rcx, qword [rbp - 0x80]
call fcn.1400233e4
mov qword [rbp - 0x68], 0xf
mov qword [rbp - 0x70], rdi
mov byte [rbp - 0x80], dil
jmp 0x140009f85
cmp qword [rbp - 0x68], 0x10
jb 0x14000a0d2
mov rcx, qword [rbp - 0x80]
call fcn.1400233e4
cmp dword [rsi], 0x191
jne 0x14000a424
call fcn.140008d64
mov rcx, rax
mov r8, qword [rsp + 0x68]
lea rdx, [rbp - 0x30]
call fcn.140008e38
nop
mov rdx, qword [rax + 0x10]
mov qword [rbp - 8], rdx
cmp qword [rax + 0x18], 0x10
jb 0x14000a107
mov rax, qword [rax]
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0x10
cmovae rcx, qword [rbp - 0x58]
mov r8, rdx
mov rdi, qword [rbp - 0x48]
cmp rdi, rdx
cmovb r8, rdi
mov rdx, rax
call fcn.14002bec0
movsxd rcx, eax
xor eax, eax
mov rdx, qword [rbp - 8]
cmp rdi, rdx
setne al
cmp rdi, rdx
mov rdx, 0xffffffffffffffff
cmovb eax, edx
test rcx, rcx
cmovne eax, ecx
test eax, eax
sete dil
cmp qword [rbp - 0x18], 0x10
jb 0x14000a163
mov rcx, qword [rbp - 0x30]
call fcn.1400233e4
test dil, dil
je 0x14000a190
call fcn.140008d64
mov rcx, rax
lea r8, [rbp - 0x58]
mov rdx, qword [rsp + 0x68]
call fcn.140008ee0
mov edi, eax
test eax, eax
jne 0x14000a18b
cmp qword [rbp - 0x48], 0
jne 0x14000a190
jmp 0x140009e41
call fcn.140008d64
mov rcx, rax
mov r8, qword [rsp + 0x68]
lea rdx, [rbp - 0x30]
call fcn.140008e38
nop
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.1400052c0
nop
cmp qword [rbp - 0x18], 0x10
jb 0x14000a1c4
mov rcx, qword [rbp - 0x30]
call fcn.1400233e4
mov rax, qword [str._C_7M_X10]
mov qword [rbp], rax
mov eax, dword [0x14003a018]
mov dword [rbp + 8], eax
movzx eax, word [0x14003a01c]
mov word [rbp + 0xc], ax
mov al, byte [rbp + r13 - 1]
xor byte [rbp + r13], al
dec r13
test r13, r13
jg 0x14000a1e3
xor byte [rbp], 0x4b
movabs rax, 0x60403257254421
mov qword [rbp - 8], rax
mov al, byte [rbp + r12 - 9]
xor byte [rbp + r12 - 8], al
dec r12
test r12, r12
jg 0x14000a207
xor byte [rbp - 8], 0x63
mov r13d, 0xf
mov qword [rbp - 0x68], r13
and qword [rbp - 0x70], 0
mov byte [rbp - 0x80], 0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp]
lea rcx, [rbp - 0x80]
call fcn.140002348
nop
lea r8, [rbp - 0x58]
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x30]
call fcn.14000b0d0
mov rdi, rax
lea rdx, [rbp - 0x80]
mov r12, qword [rsp + 0x70]
mov rcx, r12
call fcn.14000a560
mov rcx, rax
mov rdx, rdi
call fcn.1400052c0
nop
cmp qword [rbp - 0x18], 0x10
jb 0x14000a292
mov rcx, qword [rbp - 0x30]
call fcn.1400233e4
mov qword [rbp - 0x18], r13
xor edi, edi
mov qword [rbp - 0x20], rdi
mov byte [rbp - 0x30], dil
cmp qword [rbp - 0x68], 0x10
jb 0x14000a2b0
mov rcx, qword [rbp - 0x80]
call fcn.1400233e4
mov qword [rsp + 0x38], r15
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r12
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov r13, qword [rsp + 0x60]
mov rcx, r13
call fcn.140012e10
test eax, eax
jne 0x14000a2ee
jmp 0x140009f85
mov rax, qword [str.PF4f_as]
mov qword [rbp], rax
mov rax, qword [str.Z37C]
mov qword [rbp + 8], rax
mov eax, dword [0x14003a030]
mov dword [rbp + 0x10], eax
movzx eax, word [0x14003a034]
mov word [rbp + 0x14], ax
mov al, byte [rbp + r14 - 1]
xor byte [rbp + r14], al
dec r14
test r14, r14
jg 0x14000a318
xor byte [rbp], 0x25
mov r14d, 0xf
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x70], rdi
mov byte [rbp - 0x80], dil
mov r8, qword [r15 + 8]
mov rdx, qword [r15]
lea rcx, [rbp - 0x80]
call fcn.140002348
nop
jmp 0x14000a3c9
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp]
repne scasb al, byte [rdi]
not rcx
lea r9, [rcx - 1]
xor r8d, r8d
lea rdx, [rbp]
lea rcx, [rbp - 0x80]
call fcn.140006cd0
or rcx, 0xffffffffffffffff
cmp rax, rcx
je 0x14000a3f5
mov edx, 0x5a2bc0
mov ecx, 0xb9f5b9c
call fcn.140022154
mov ecx, 0x1388
call rax
mov qword [rsp + 0x38], r15
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r12
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov rcx, r13
call fcn.140012e10
test eax, eax
je 0x14000a3d3
cmp dword [rsi], 0x193
je 0x14000a353
jmp 0x14000a3f5
cmp qword [rbp - 0x68], 0x10
jb 0x14000a3e3
mov rcx, qword [rbp - 0x80]
call fcn.1400233e4
mov qword [rbp - 0x68], r14
and qword [rbp - 0x70], 0
mov byte [rbp - 0x80], 0
jmp 0x140009f85
cmp qword [rbp - 0x68], 0x10
jb 0x14000a405
mov rcx, qword [rbp - 0x80]
call fcn.1400233e4
cmp dword [rsi], 0x191
jne 0x14000a424
cmp qword [rbp - 0x40], 0x10
jb 0x14000a41d
mov rcx, qword [rbp - 0x58]
call fcn.1400233e4
mov eax, 4
jmp 0x14000a436
cmp qword [rbp - 0x40], 0x10
jb 0x14000a434
mov rcx, qword [rbp - 0x58]
call fcn.1400233e4
xor eax, eax
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.140022ee0
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret