Function at 0x1800ddcf0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov dword [rax + 0x10], edx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov qword [rbp - 0x31], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rdi, r9
mov esi, r8d
mov r14b, byte [0x18019018c]
xor r15d, r15d
test r9, r9
je 0x1800de039
mov ecx, dword [0x180195f94]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x18019e020], eax
jle 0x1800ddf9c
lea rcx, [0x18019e020]
call fcn.180157af0
or rbx, 0xffffffffffffffff
cmp dword [0x18019e020], ebx
jne 0x1800ddf9c
lea rax, [rbp - 0x51]
mov qword [rbp + 0x7f], rax
mov dword [rsp + 0x40], 0x76
mov byte [rsp + 0x44], 0x31
mov byte [rsp + 0x45], 0x13
mov byte [rsp + 0x46], 2
mov byte [rsp + 0x47], 0x38
mov byte [rsp + 0x48], 0x17
mov byte [rbp - 0x80], 2
mov byte [rbp - 0x7f], 0x1f
mov byte [rbp - 0x7e], r15b
mov byte [rbp - 0x7d], 0x13
mov byte [rbp - 0x7c], 0x25
mov byte [rbp - 0x7b], 0xf
mov byte [rbp - 0x7a], 5
mov byte [rbp - 0x79], 2
mov byte [rbp - 0x78], 0x13
mov byte [rbp - 0x77], 0x1b
mov byte [rbp - 0x76], 0x3f
mov byte [rbp - 0x75], 0x18
mov byte [rbp - 0x74], 0x10
mov byte [rbp - 0x73], 0x19
xor eax, eax
mov byte [rbp - 0x72], al
mov al, byte [rsp + 0x44]
mov edx, r15d
mov al, byte [rsp + rdx + 0x44]
mov ecx, dword [rsp + 0x40]
xor cl, al
mov byte [rsp + rdx + 0x44], cl
inc rdx
cmp rdx, 0x13
jb 0x1800ddddd
mov byte [rbp - 0x72], r15b
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
mov qword [rbp - 0x41], r15
mov qword [rbp - 0x39], r15
lea rax, [rsp + 0x44]
mov r8, rbx
inc r8
cmp byte [rax + r8], r15b
jne 0x1800dde0f
lea rdx, [rsp + 0x44]
lea rcx, [rbp - 0x51]
call fcn.18000c7ac
nop
mov dword [rsp + 0x30], 0x62
mov eax, dword [rsp + 0x30]
xor al, 0x6b
mov byte [rsp + 0x34], al
mov eax, dword [rsp + 0x30]
inc al
xor al, 0x65
mov byte [rsp + 0x35], al
mov eax, dword [rsp + 0x30]
add al, 2
xor al, 0x72
mov byte [rsp + 0x36], al
mov eax, dword [rsp + 0x30]
add al, 3
xor al, 0x6e
mov byte [rsp + 0x37], al
mov eax, dword [rsp + 0x30]
add al, 4
xor al, 0x65
mov byte [rsp + 0x38], al
mov eax, dword [rsp + 0x30]
add al, 5
xor al, 0x6c
mov byte [rsp + 0x39], al
mov eax, dword [rsp + 0x30]
add al, 6
xor al, 0x33
mov byte [rsp + 0x3a], al
mov eax, dword [rsp + 0x30]
add al, 7
xor al, 0x32
mov byte [rsp + 0x3b], al
xor eax, eax
mov byte [rsp + 0x3c], al
mov al, byte [rsp + 0x34]
mov rdx, r15
mov al, byte [rsp + rdx + 0x34]
mov ecx, dword [rsp + 0x30]
add cl, dl
xor cl, al
mov byte [rsp + rdx + 0x34], cl
inc rdx
cmp rdx, 8
jb 0x1800dde9a
mov byte [rsp + 0x3c], r15b
xorps xmm0, xmm0
movups xmmword [rbp - 0x71], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x61], xmm1
lea rax, [rsp + 0x34]
inc rbx
cmp byte [rax + rbx], r15b
jne 0x1800ddecc
mov r8, rbx
lea rdx, [rsp + 0x34]
lea rcx, [rbp - 0x71]
call fcn.18000c7ac
nop
lea rdx, [rbp - 0x71]
lea rcx, [rbp + 0xf]
call fcn.1800ceb58
nop
mov qword [rsp + 0x20], r15
mov r9b, 1
lea r8, [rbp - 0x51]
mov rdx, rax
lea rcx, [0x1801a0240]
call fcn.18006ac60
nop
mov rdx, qword [rbp - 0x59]
cmp rdx, 0x10
jb 0x1800ddf4f
inc rdx
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800ddf4a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800ddf4a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180157a14
movdqa xmm0, xmmword [0x180165930]
movdqu xmmword [rbp - 0x61], xmm0
mov byte [rbp - 0x71], r15b
xor edx, edx
lea r8d, [rdx + 9]
lea rcx, [rsp + 0x34]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [rdx + 0x14]
lea rcx, [rsp + 0x44]
call qword [sym.imp.VCRUNTIME140.dll_memset]
lea rcx, [0x180163af0]
call fcn.1801579fc
nop
lea rcx, [0x18019e020]
call fcn.180157a84
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
movups xmmword [rbp - 0x11], xmm0
movups xmmword [rbp - 1], xmm0
lea rbx, [0x1801a0250]
mov rcx, rbx
cmp qword [0x1801a0268], 0x10
cmovae rcx, qword [0x1801a0250]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x1800ddffb
mov rcx, rbx
cmp qword [0x1801a0268], 0x10
cmovae rcx, qword [0x1801a0250]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1801a0248], rax
mov r8, rax
mov rdx, rbx
call fcn.1800150f8
lea rcx, [rbp - 0x21]
call qword [0x1801a0240]
cmp word [rbp - 0x21], r15w
je 0x1800de035
mov dword [rbp + 0x6f], r15d
lea rdx, [rbp + 0x6f]
mov rcx, qword [rdi]
call fcn.1800dc8c0
cmp dword [rbp + 0x6f], r15d
setne cl
test al, al
je 0x1800de035
test r14b, r14b
je 0x1800de035
test cl, cl
jne 0x1800de035
cmp esi, 1
je 0x1800de039
mov al, 1
jmp 0x1800de03b
xor al, al
mov rbx, qword [rsp + 0x130]
add rsp, 0x100
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret