Function at 0x18009e370
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x1800e5c38]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov r15, qword [rsp + 0x100]
mov r13d, r9d
imul eax, r9d, 0x320
mov r14, r8
mov r10, rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x68], rcx
mov ebp, r9d
mov dword [rsp + 0x38], eax
mov ebx, dword [rsp + 0x38]
cmp r9d, eax
ja 0x18009e571
mov edi, dword [rsp + 0x38]
mov r12, qword [rsp + 0x68]
nop dword [rax + rax]
cmp ebp, 0x205a
ja 0x18009e540
je 0x18009e4c8
mov eax, ebp
sub eax, 0x52
je 0x18009e4bd
sub eax, 6
je 0x18009e454
sub eax, 0xe
je 0x18009e415
cmp eax, 0x4b
je 0x18009e5a7
jmp 0x18009e67f
mov eax, dword [rcx]
lea r9, [rsp + 0x70]
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x60]
mov eax, dword [r14]
mov r8d, 0x6f
mov qword [rsp + 0x60], rax
mov rcx, r10
mov rax, qword [r15]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call fcn.180060a90
mov ebx, eax
jmp 0x18009e67a
mov rdx, qword [r15 + 0x10]
lea rcx, [rsp + 0x78]
xor r8d, r8d
call fcn.18004a1f0
mov rdx, rax
mov rcx, r14
call fcn.18004ac80
mov rdx, qword [rsp + 0x90]
cmp rdx, 0x10
jb 0x18009e4b0
mov rcx, qword [rsp + 0x78]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009e4ab
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009e699
call fcn.1800cfd58
mov dword [rsp + 0x48], 0
jmp 0x18009e67a
xor edi, edi
lea r12, [r15 + 0x10]
jmp 0x18009e67f
movzx eax, byte [r15]
test al, al
je 0x18009e4f0
mov edx, eax
mov ecx, edi
mov eax, edi
shl eax, 5
shr ecx, 0x1b
mov edi, ecx
xor edi, eax
movsx eax, byte [r12]
xor edi, eax
inc r12
sub rdx, 1
jne 0x18009e4d2
cmp dword [r15 + 4], 0
jne 0x18009e67f
mov r8d, dword [r15 + 8]
test r8d, r8d
je 0x18009e67f
add r8d, 3
mov rdx, r14
shr r8d, 2
test r8d, r8d
je 0x18009e67f
nop dword [rax]
mov ecx, edi
lea rdx, [rdx + 4]
mov eax, edi
shr ecx, 0x10
shl eax, 0x10
mov edi, ecx
xor edi, eax
xor edi, dword [rdx - 4]
sub r8d, 1
jne 0x18009e520
jmp 0x18009e67f
cmp ebp, 0x22b8
je 0x18009e5f2
cmp ebp, 0x283e
je 0x18009e571
cmp ebp, 0x4062
jne 0x18009e67f
mov ecx, 0x36
mov eax, ecx
sub eax, 0x36
je 0x18009e59e
cmp eax, 1
jne 0x18009e5a0
mov eax, ebx
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1800d0500
mov rbx, qword [rsp + 0xf8]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ebx, edi
inc ecx
cmp ecx, 0x38
jb 0x18009e565
mov esi, 0xd4
nop dword [rax]
mov eax, esi
sub eax, 0xd4
je 0x18009e5c0
cmp eax, 1
je 0x18009e571
jmp 0x18009e5e8
mov eax, dword [r14]
lea r8, [rsp + 0x60]
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x40]
mov rax, qword [r15]
mov r9d, 0x10f
xor ecx, ecx
mov qword [rsp + 0x60], rax
call fcn.1800a0b70
mov ebx, eax
inc esi
cmp esi, 0xd6
jb 0x18009e5b0
cmp qword [r15 + 0x18], 0x10
mov rsi, r15
jb 0x18009e5ff
mov rsi, qword [r15]
xor edx, edx
mov byte [rsp + 0x30], 0
mov rcx, r14
call fcn.18004afd0
mov ecx, dword [r15 + 0x10]
lea r9, [rsp + 0x48]
mov dword [rsp + 0x58], ecx
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rcx
mov r8d, 0x9e
mov rcx, rax
call fcn.1800b2f10
test al, al
je 0x18009e662
mov eax, dword [rsp + 0x48]
cmp qword [r14 + 0x10], rax
jb 0x18009e6a0
mov qword [r14 + 0x10], rax
mov rcx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x18009e65c
mov rcx, qword [r14]
mov byte [rcx + rax], 0
jmp 0x18009e67a
mov qword [r14 + 0x10], 0
mov rax, r14
cmp qword [r14 + 0x18], 0x10
jb 0x18009e677
mov rax, qword [r14]
mov byte [rax], 0
mov r10, qword [rsp + 0x50]
imul eax, r13d, 0x64
add ebp, eax
cmp ebp, dword [rsp + 0x38]
ja 0x18009e571
mov rcx, qword [rsp + 0x68]
jmp 0x18009e3e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800661e0
int3