Function at 0x1800db268
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 - 0x58]
sub rsp, 0x120
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
xor r14d, r14d
mov esi, r14d
mov dword [rbp + 0x60], r14d
mov dword [rsp + 0x2c], 0x38
lea edx, [r14 + 0x5d]
mov word [rsp + 0x30], dx
lea ecx, [rdx - 0x1d]
mov word [rsp + 0x32], cx
lea eax, [rdx - 0x15]
mov word [rsp + 0x34], ax
lea eax, [rdx - 9]
mov word [rsp + 0x36], ax
lea eax, [rdx - 6]
mov word [rsp + 0x38], ax
lea eax, [rdx - 0x13]
mov word [rsp + 0x3a], ax
mov word [rsp + 0x3c], dx
mov word [rsp + 0x3e], ax
lea eax, [rdx - 0x47]
mov word [rsp + 0x40], ax
mov word [rsp + 0x42], dx
mov word [rsp + 0x44], cx
mov word [rsp + 0x46], dx
xor eax, eax
mov word [rsp + 0x48], ax
movzx eax, word [rsp + 0x30]
mov edx, r14d
lea r15d, [r14 + 1]
movzx eax, word [rsp + rdx*2 + 0x30]
mov ecx, dword [rsp + 0x2c]
xor cx, ax
mov word [rsp + rdx*2 + 0x30], cx
add rdx, r15
cmp rdx, 0xc
jb 0x1800db304
mov word [rsp + 0x48], r14w
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rax, [rsp + 0x30]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r14w
jne 0x1800db33d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.18000c67c
nop
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.1800d8ec4
mov edi, eax
mov r13d, 0x1000
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x1800db3ae
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, r13
jb 0x1800db3a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800db3a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180157a14
movdqa xmm0, xmmword [0x180165920]
movdqu xmmword [rbp - 0x80], xmm0
mov word [rsp + 0x70], r14w
xor edx, edx
lea r8d, [rdx + 0x1a]
lea rcx, [rsp + 0x30]
call qword [sym.imp.VCRUNTIME140.dll_memset]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea rcx, [rbp - 0x70]
call fcn.1800d7fb8
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r14
mov r12d, 7
mov qword [rsp + 0x68], r12
mov word [rsp + 0x50], r14w
cmp edi, 0xffffffff
je 0x1800db573
mov edx, edi
lea rcx, [rbp - 0x48]
call fcn.1800d7fb8
mov rbx, rax
lea rax, [rsp + 0x50]
cmp rax, rbx
je 0x1800db494
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1800db464
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, r13
jb 0x1800db45f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800db45f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180157a14
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r12
mov word [rsp + 0x50], r14w
mov r8d, 0x20
mov rdx, rbx
lea rcx, [rsp + 0x50]
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r12
mov word [rbx], r14w
lea rcx, [rbp - 0x48]
call fcn.18000bd8c
mov r9, qword [rbp - 0x60]
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rcx, qword [rbp - 0x70]
mov r10, qword [rsp + 0x60]
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r8, qword [rsp + 0x50]
mov rdx, r10
cmp r9, r10
cmovb rdx, r9
test rdx, rdx
je 0x1800db4ea
sub r8, rcx
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x1800db4f1
add rcx, 2
sub rdx, r15
jne 0x1800db4d7
cmp r10, r9
jb 0x1800db4f1
jbe 0x1800db556
mov eax, 0x49
mov word [rsp + 0x20], ax
mov eax, 0x6a
mov word [rsp + 0x22], ax
mov eax, 0x68
mov word [rsp + 0x24], ax
mov eax, 0x69
mov word [rsp + 0x26], ax
mov word [rsp + 0x28], r14w
movzx eax, word [rsp + 0x20]
mov esi, r15d
mov rcx, r14
movzx eax, word [rsp + rcx*2 + 0x20]
sub ax, r15w
mov word [rsp + rcx*2 + 0x20], ax
add rcx, r15
cmp rcx, 4
jb 0x1800db52a
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x70]
call fcn.1800b5348
test eax, eax
mov bl, r14b
jne 0x1800db559
mov bl, r15b
test r15b, sil
je 0x1800db56f
xor edx, edx
lea r8d, [rdx + 0xa]
lea rcx, [rsp + 0x20]
call qword [sym.imp.VCRUNTIME140.dll_memset]
test bl, bl
jne 0x1800db5ad
lea rax, [rbp - 0x28]
mov qword [rbp + 0x68], rax
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x28]
call fcn.18000be28
mov rbx, rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 8]
call fcn.18000be28
nop
mov rcx, rax
call fcn.18000bd8c
mov rcx, rbx
call fcn.18000bd8c
mov edi, r14d
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1800db5ee
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, r13
jb 0x1800db5e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800db5e9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180157a14
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r12
mov word [rsp + 0x50], r14w
lea rcx, [rbp - 0x70]
call fcn.18000bd8c
mov eax, edi
mov rbx, qword [rsp + 0x178]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret