Function at 0x1800fd350
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x2f]
sub rsp, 0xa8
xor r12d, r12d
lea r8, [rbp + 0x7f]
xor r9d, r9d
mov qword [rbp - 0x21], r12
mov r13, rcx
mov qword [rbp + 0x7f], r12
mov edi, r12d
mov r15d, r12d
lea edx, [r12 + 0x1b]
call fcn.1800f56f0
mov dword [rbp + 0x77], eax
mov ebx, eax
test eax, eax
jne 0x1800fd5ec
movsxd r8, dword [r13 + 0x208]
lea edx, [rax + 1]
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0x98], r14
mov r14, qword [rbp + 0x7f]
mov rcx, r14
call fcn.180057de0
movsxd r8, dword [r13 + 0x1e8]
lea edx, [rbx + 2]
mov rcx, r14
call fcn.180057de0
nop dword [rax]
mov rcx, r14
call fcn.1800567d0
cmp eax, 0x64
jne 0x1800fd43e
xor edx, edx
mov rcx, r14
call fcn.180057530
mov esi, eax
mov edi, r12d
cmp dword [r13 + 0x1e8], r12d
jle 0x1800fd43a
mov r14, qword [rbp - 0x21]
nop dword [rax]
lea r9, [rbp + 0x77]
mov r8d, edi
mov edx, esi
mov rcx, r13
call fcn.1800fd050
xor r14, rax
inc edi
cmp edi, dword [r13 + 0x1e8]
jl 0x1800fd410
mov ebx, dword [rbp + 0x77]
mov qword [rbp - 0x21], r14
mov r14, qword [rbp + 0x7f]
test ebx, ebx
je 0x1800fd3e0
mov rcx, r14
call fcn.1800558e0
test ebx, ebx
jne 0x1800fd5d8
mov ebx, eax
test eax, eax
jne 0x1800fd5d8
mov rax, qword [r13 + 0x48]
mov rsi, r12
mov rdx, qword [r13 + 0x1b8]
mov qword [rbp - 0x31], r12
mov rcx, qword [rax]
mov qword [rbp - 9], rcx
lea rcx, str.SELECT__s
call fcn.18002b780
mov rdi, rax
test rax, rax
jne 0x1800fd48d
lea ebx, [rax + 7]
jmp 0x1800fd5d0
mov rcx, qword [r13 + 0x18]
lea rax, [rbp - 0x31]
mov qword [rsp + 0x30], r12
mov r9d, 0x80
mov qword [rsp + 0x28], rax
mov r8d, 0xffffffff
mov rdx, rdi
mov qword [rsp + 0x20], r12
call fcn.1800a6360
mov rcx, rdi
mov ebx, eax
call fcn.180028850
test ebx, ebx
jne 0x1800fd5cc
mov rdi, qword [rbp - 0x31]
nop
mov rcx, rdi
call fcn.1800567d0
cmp eax, 0x64
jne 0x1800fd5cc
xor edx, edx
mov rcx, rdi
call fcn.1800575d0
mov rsi, rax
mov qword [rbp - 1], rax
mov dword [rbp + 0x77], r12d
cmp qword [r13 + 0x58], r12
je 0x1800fd50d
mov edx, dword [r13 + 0x30]
mov rcx, rdi
inc edx
call fcn.180057530
mov dword [rbp + 0x77], eax
mov rax, r12
mov dword [rbp + 0x7f], r12d
mov qword [rbp + 7], rax
mov r14d, r12d
nop dword [rax + rax]
cmp r14d, dword [r13 + 0x30]
jge 0x1800fd4d0
mov rcx, qword [r13 + 0x40]
cmp byte [rax + rcx], r12b
jne 0x1800fd5b6
lea edx, [r14 + 1]
mov rcx, rdi
call fcn.180057670
mov rbx, qword [r13 + 0x48]
lea r9, [rbp - 0x39]
mov r8d, 0xffffffff
mov qword [rbp - 0x39], r12
mov rdx, rax
mov rcx, rbx
mov rdi, qword [rbx]
call qword [rdi + 0x18]
test eax, eax
jne 0x1800fd60d
mov rcx, qword [rbp - 0x39]
mov qword [rcx], rbx
cmp dword [rdi], 1
jl 0x1800fd60d
mov edx, dword [rbp + 0x77]
mov rcx, qword [rbp - 0x39]
call qword [rdi + 0x30]
mov ebx, eax
test eax, eax
je 0x1800fd60d
mov rcx, qword [rbp - 0x39]
call qword [rdi + 0x20]
mov r11, r12
mov qword [rbp - 0x39], r12
mov rdi, qword [rbp - 9]
test r11, r11
je 0x1800fd5a7
mov rcx, r11
call qword [rdi + 0x20]
mov rax, qword [rbp + 7]
cmp ebx, 0x65
mov rdi, qword [rbp - 0x31]
cmove ebx, r12d
inc r14d
inc rax
mov dword [rbp + 0x7f], r14d
mov qword [rbp + 7], rax
test ebx, ebx
je 0x1800fd520
mov rsi, qword [rbp - 0x31]
mov rcx, rsi
call fcn.180055800
mov rdi, qword [rbp - 0x21]
mov rsi, qword [rsp + 0xa0]
mov r14, qword [rsp + 0x98]
mov rax, qword [rbp + 0x6f]
cmp rdi, r15
sete r12b
mov dword [rax], r12d
mov eax, ebx
add rsp, 0xa8
pop r15
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret
mov r11, qword [rbp - 0x39]
mov ebx, eax
mov qword [rbp - 0x11], r11
test eax, eax
jne 0x1800fd598
jmp 0x1800fd640
mov rsi, qword [rbp - 1]
mov r14d, dword [rbp + 0x7f]
nop dword [rax + rax]
mov rdi, qword [rbp - 9]
lea rax, [rbp - 0x29]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x15]
lea rax, [rbp - 0x19]
mov dword [rbp - 0x25], r12d
lea r8, [rbp - 0x25]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0xf]
mov dword [rbp - 0x15], r12d
mov rcx, r11
mov dword [rbp - 0x19], r12d
mov dword [rbp - 0x29], r12d
call qword [rdi + 0x28]
mov ebx, eax
test eax, eax
jne 0x1800fd75d
movsxd rax, dword [rbp + 0x77]
lea rsi, [rsi + rsi*8]
movsxd r13, dword [rbp - 0x29]
add rsi, rax
mov edi, dword [rbp - 0x25]
mov r10, qword [rbp + 0xf]
imul rcx, rsi, 0x51
movsxd r14, r14d
add rcx, r14
lea rax, [rcx*8]
add rax, r13
add rcx, rax
test edi, edi
jle 0x1800fd6d5
mov rdx, r10
mov r8d, edi
nop word [rax + rax]
movsx rax, byte [rdx]
lea rcx, [rcx + rcx*8]
add rcx, rax
lea rdx, [rdx + 1]
sub r8, 1
jne 0x1800fd6c0
mov r11, qword [rbp - 0x11]
xor r15, rcx
mov rcx, qword [rbp + 0x67]
mov eax, dword [rcx + 0x1e8]
cmp eax, 1
jle 0x1800fd630
mov r9, qword [rcx + 0x1f0]
lea ebx, [rax - 1]
add r9, 0x28
mov r11d, 1
movsxd rdx, dword [r9]
cmp edx, edi
jg 0x1800fd747
lea rcx, [r11 + rsi*8]
mov r8, rdx
add rcx, rsi
lea rax, [r14 + rcx*8]
add rcx, rax
lea rax, [rcx*8]
add rax, r13
add rcx, rax
mov rax, r12
test edx, edx
jle 0x1800fd744
movsx rdx, byte [rax + r10]
lea rcx, [rcx + rcx*8]
add rcx, rdx
inc rax
cmp rax, r8
jl 0x1800fd730
xor r15, rcx
inc r11
add r9, 0x28
sub rbx, 1
jne 0x1800fd703
mov r11, qword [rbp - 0x11]
jmp 0x1800fd630
mov r13, qword [rbp + 0x67]
mov r11, qword [rbp - 0x11]
jmp 0x1800fd59c