Function at 0x140008f84
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7f8]
sub rsp, 0x8f8
mov rax, qword [0x1400108b0]
xor rax, rsp
mov qword [rbp + 0x7e0], rax
mov rax, qword [rbp + 0x860]
movzx ebx, dx
mov rdx, qword [rbp + 0x868]
xor r12d, r12d
mov qword [rsp + 0x58], rax
mov r15, r8
mov rax, qword [rbp + 0x870]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x878]
mov qword [rsp + 0x78], rax
mov rax, qword [rbp + 0x880]
mov qword [rbp - 0x80], rax
mov rax, qword [rbp + 0x888]
mov qword [rbp - 0x70], rax
mov rax, qword [rbp + 0x890]
mov qword [rsp + 0x68], rdx
lea rdx, [rbp - 0x68]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x60], r9
mov byte [rsp + 0x34], r12b
call fcn.14000a134
cmp dword [0x140010890], r12d
jge 0x14000903b
call fcn.1400098cc
mov dword [0x140010890], eax
test eax, eax
js 0x14000949d
movzx edx, bx
lea rcx, [rbp - 0x68]
call fcn.140009a30
test eax, eax
js 0x14000949d
cmp qword [0x140011c80], r12
lea rdi, [0x140011c80]
jne 0x14000907b
movabs rax, 0xfffff78000000014
mov rcx, rdi
mov rax, qword [rax]
mov qword [0x140011c80], rax
call fcn.14000a170
cmp byte [0x140011ca0], r12b
lea rsi, [0x140011ca0]
mov r14d, 8
jne 0x1400090d8
mov rbx, r12
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call fcn.14000a3ec
xor edx, edx
mov rcx, rdi
cmp eax, 1
je 0x1400090b9
lea r8d, [rdx + 0xa]
call fcn.14000a3ec
add al, 0x30
jmp 0x1400090c6
mov r8d, 0x1a
call fcn.14000a3ec
add al, 0x41
mov byte [rbx + rsi], al
inc rbx
cmp rbx, r14
jl 0x140009094
mov byte [0x140011ca8], r12b
mov rax, qword [0x140011c80]
lea rcx, [rbp + 0x3f0]
xor edx, edx
mov qword [rbp - 0x78], rax
mov r8d, 0x3e8
call fcn.14000bcc0
xor edx, edx
lea rcx, [rbp + 0x1d0]
mov r8d, 0x104
call fcn.14000bcc0
or r14, 0xffffffffffffffff
mov rsi, r14
inc rsi
cmp byte [r15 + rsi], r12b
jne 0x140009112
movzx eax, word [r15]
lea rcx, [rsp + 0x30]
mov word [rsp + 0x30], ax
mov byte [rsp + 0x32], r12b
call fcn.14000a4a4
movzx ecx, word [r15 + 2]
mov edi, eax
mov word [rsp + 0x30], cx
lea rcx, [rsp + 0x30]
call fcn.14000a4a4
movzx ecx, word [r15 + rsi - 2]
mov ebx, eax
mov word [rsp + 0x30], cx
lea rcx, [rsp + 0x30]
call fcn.14000a4a4
xor eax, edi
lea rcx, [rbp + 0x3f0]
xor eax, ebx
mov r8, rsi
movzx eax, al
mov rdx, r15
mov dword [rsp + 0x40], eax
lea r13d, [rax*2 + 2]
sub r8, r13
call fcn.14000bdc0
mov rbx, r12
xor edi, edi
lea r12, [r13 - 2]
test r12, r12
je 0x1400091c4
sub r15, r13
add rsi, r15
movzx eax, word [rsi + rdi]
lea rcx, [rsp + 0x30]
mov word [rsp + 0x30], ax
call fcn.14000a4a4
xor al, bl
add rdi, 2
mov byte [rbp + rbx + 0x1d0], al
inc rbx
cmp rdi, r12
jb 0x14000919c
xor r13d, r13d
lea rcx, [rbp - 0x50]
xor edx, edx
mov qword [rsp + 0x50], r13
mov r8d, 0x104
call fcn.14000bcc0
lea edx, [r13 + 2]
lea r8d, [r13 + 8]
lea rcx, [0x140011c80]
call fcn.14000a3ec
mov rdi, qword [rsp + 0x58]
mov rdx, r14
movsxd r15, eax
inc rdx
cmp byte [rdi + rdx], r13b
jne 0x1400091fc
mov r12, qword [rsp + 0x60]
mov rax, r14
inc rax
cmp byte [r12 + rax], r13b
jne 0x14000920d
add rax, r15
lea r8, [rbp + 0x3f0]
mov rcx, r14
inc rcx
cmp byte [r8 + rcx], r13b
jne 0x140009223
add rcx, 0x23
lea rbx, [rdx + rax]
add rbx, rcx
mov rcx, rbx
and ecx, 0xf
je 0x14000924a
mov eax, 0x10
sub rax, rcx
add rbx, rax
lea rcx, [rbx + 0x12c]
call fcn.14000a3d4
mov rsi, rax
test rax, rax
je 0x14000949d
lea r8, [rbx + 0x12c]
xor edx, edx
mov rcx, rax
call fcn.14000bcc0
mov qword [rsi + 8], r13
movabs rax, 0x6addaf8cef1b7c1
mov qword [rsi], rax
lea r13, [rsi + 0x30]
movzx ecx, word [0x14000c9a0]
lea rbx, [r13 + 8]
mov word [rbx], cx
mov r8, r14
mov al, byte [0x14000c9a2]
mov byte [rbx + 2], al
lea rax, [rbp + 0x3f0]
inc r8
cmp byte [rax + r8], 0
jne 0x1400092a9
lea rdx, [rbp + 0x3f0]
lea rcx, [rbx + 5]
call fcn.14000bdc0
lea rcx, [rbp + 0x3f0]
mov rax, r14
inc rax
cmp byte [rcx + rax], 0
jne 0x1400092cd
add rbx, 7
mov r8, r14
add rbx, rax
inc r8
cmp byte [rdi + r8], 0
jne 0x1400092e0
mov rdx, rdi
mov rcx, rbx
call fcn.14000bdc0
mov rax, r14
inc rax
cmp byte [rdi + rax], 0
jne 0x1400092f8
add rbx, rax
mov r8, r14
inc r8
cmp byte [r12 + r8], 0
jne 0x140009307
mov rdx, r12
lea rcx, [rbx + 2]
call fcn.14000bdc0
mov rax, r14
inc rax
cmp byte [r12 + rax], 0
jne 0x140009320
mov rdi, qword [rsp + 0x68]
add rbx, 4
add rbx, rax
mov r8, r14
xor r12d, r12d
inc r8
cmp byte [rdi + r8], r12b
jne 0x14000933c
mov rdx, rdi
mov rcx, rbx
call fcn.14000bdc0
mov rax, r14
inc rax
cmp byte [rdi + rax], r12b
jne 0x140009353
test r15d, r15d
lea rdi, [rbx + rax]
mov eax, 8
mov rbx, r12
cmove r15d, eax
movsxd r15, r15d
test r15, r15
je 0x14000939a
mov edx, 1
lea rcx, [0x140011c80]
mov r8d, 0xff
call fcn.14000a3ec
mov byte [rbp + rbx - 0x50], al
inc rbx
cmp rbx, r15
jb 0x140009377
mov r8, r15
lea rdx, [rbp - 0x50]
lea rcx, [rdi + 2]
call fcn.14000bdc0
lea rbx, [rdi + 4]
mov rax, r14
add rbx, r15
lea rdi, [0x140011ca0]
inc rax
cmp byte [rdi + rax], r12b
jne 0x1400093bb
mov r9, rdi
mov dword [rsp + 0x20], eax
mov r8, r15
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x50]
call fcn.14000acfc
mov r8, r14
inc r8
cmp byte [rdi + r8], r12b
jne 0x1400093de
mov rdx, rdi
mov rcx, rbx
call fcn.14000bdc0
mov rax, r14
inc rax
cmp byte [rdi + rax], r12b
jne 0x1400093f5
sub rbx, r13
lea rcx, [rbp + 0xc0]
add rbx, 2
xor edx, edx
add rax, rbx
mov r8d, 0x104
mov qword [rsi + 0x10], rax
add rax, 0xfffffffffffffff8
mov qword [r13], rax
mov qword [rsp + 0x48], r12
call fcn.14000bcc0
mov ebx, dword [rsp + 0x40]
lea r8, [rbp + 0xc0]
mov r9d, ebx
lea rdx, [rbp + 0x1d0]
lea rcx, [rbp + 0x3f0]
call fcn.14000a020
mov rdx, qword [rsi + 0x10]
lea rax, [rbp + 0xc0]
lea r8, [rsi + 0x20]
mov qword [rsp + 0x28], rbx
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov rcx, r13
mov r12d, ebx
call fcn.14000aa78
mov rdx, qword [rsp + 0x48]
mov rcx, rsi
and qword [rsi + 0x10], 0
add rdx, 0x20
mov qword [rsi + 0x18], rdx
call fcn.140009e2c
test eax, eax
jns 0x1400094c2
mov rcx, rsi
call fcn.14000a3bc
xor al, al
mov rcx, qword [rbp + 0x7e0]
xor rcx, rsp
call fcn.14000ba40
add rsp, 0x8f8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r8d, ebx
lea rdx, [rbp + 0xc0]
lea rcx, [rsp + 0x50]
call fcn.140009710
mov rdi, qword [rsp + 0x50]
xor r11d, r11d
test rdi, rdi
je 0x1400096ec
mov cl, byte [rdi + 2]
lea ebx, [r11 + 1]
xor cl, byte [rdi + 1]
mov r10d, dword [rsp + 0x34]
cmp cl, 0x4c
jne 0x14000951a
movsx ecx, byte [rdi + 6]
movsx eax, byte [rdi]
add eax, ecx
cmp eax, 0xffffffad
jne 0x14000951a
movsx eax, byte [rdi + 5]
sub eax, ecx
movzx r10d, r10b
cmp eax, 0xffffffa0
cmove r10d, ebx
mov r13, qword [rsp + 0x38]
lea rdx, [rdi + 0x20]
mov ecx, 8
mov rax, r11
cmp qword [rdi + 0x10], rcx
jbe 0x140009569
mov cl, byte [rdx]
test r13, r13
je 0x14000955c
test cl, cl
je 0x140009556
mov r9, r13
mov r8, rdx
sub r9, rdx
mov byte [r9 + r8], cl
add rax, rbx
add r8, rbx
mov cl, byte [r8]
test cl, cl
jne 0x140009545
mov byte [rax + r13], r11b
jmp 0x140009569
test cl, cl
je 0x140009569
add rax, rbx
cmp byte [rax + rdx], r11b
jne 0x140009560
xor ecx, ecx
mov qword [rsp + 0x38], r11
mov dword [rdi], ecx
test r10b, r10b
je 0x1400096d2
mov r8, qword [rsp + 0x70]
lea rsi, [rdx + 1]
add rsi, rax
mov rdx, r11
mov al, byte [rsi]
test r8, r8
je 0x1400095b0
test al, al
je 0x1400095aa
mov rcx, r8
sub rcx, rsi
mov byte [rcx + rsi], al
add rdx, rbx
add rsi, rbx
mov al, byte [rsi]
test al, al
jne 0x14000959b
mov byte [r8 + rdx], r11b
jmp 0x1400095bc
test al, al
je 0x1400095bc
add rsi, rbx
cmp byte [rsi], r11b
jne 0x1400095b4
add rsi, rbx
lea rcx, [rbp + 0x2e0]
xor edx, edx
mov r8d, 0x104
movsxd rbx, dword [rsi]
add rsi, 4
call fcn.14000bcc0
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x28], r12
lea r9, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x2e0]
mov rdx, rbx
mov rcx, rsi
call fcn.14000a824
add rbx, rsi
mov rax, r14
lea rsi, [0x140011ca0]
inc rax
cmp byte [rsi + rax], 0
jne 0x14000960f
mov r9, rsi
mov dword [rsp + 0x20], eax
mov r8, r15
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x50]
call fcn.14000acfc
xor r11d, r11d
mov edx, r11d
test r15, r15
je 0x140009687
lea r8d, [r11 + 1]
mov cl, byte [rdi + 1]
test cl, cl
jne 0x14000964c
mov byte [rdi + 1], r8b
mov cl, r8b
mov al, byte [rbp + rdx - 0x50]
cmp byte [rbp + rdx + 0x2e0], al
jne 0x140009663
add rdx, r8
cmp rdx, r15
jb 0x14000963e
jmp 0x140009687
sar cl, cl
mov byte [rdi + 1], cl
test r13, r13
je 0x140009687
inc r14
cmp byte [r14 + r13], r11b
jne 0x14000966d
movsx edx, cl
mov r8, r14
mov rcx, r13
call fcn.14000bcc0
xor r11d, r11d
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140009698
mov rax, qword [rbx + 1]
mov qword [rcx], rax
cmp qword [rsp + 0x38], r11
jne 0x1400096a3
xor eax, eax
mov dword [rdi], eax
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x1400096b3
mov rax, qword [rbx + 9]
mov qword [rcx], rax
mov rax, qword [rbp - 0x78]
cmp rax, qword [0x140011c80]
jne 0x1400096c4
xor eax, eax
mov dword [rdi], eax
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1400096d2
mov eax, dword [rbx + 0x11]
mov dword [rcx], eax
cmp qword [rsp + 0x38], r11
jne 0x1400096dd
xor eax, eax
mov dword [rdi], eax
mov al, byte [rdi + 1]
mov rcx, rdi
mov dword [rsp + 0x34], eax
call fcn.14000a3bc
xor edx, edx
lea rcx, [rbp + 0xc0]
mov r8d, 0x104
call fcn.14000bcc0
call fcn.140009928
mov al, byte [rsp + 0x34]
jmp 0x14000949f