Function at 0x1400c98e4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
mov r14d, r8d
mov rdi, rdx
mov rsi, rcx
test r8d, r8d
je 0x1400c9926
test rdx, rdx
jne 0x1400c9933
lea r8, [0x14000bc80]
lea rcx, [0x14000bbd8]
mov edx, 0x2c6
call fcn.1400a8be8
test rdi, rdi
jne 0x1400c9933
or eax, reloc.ADVAPI32.dll_TraceEvent
jmp 0x1400c9b1d
xor eax, eax
test r14d, r14d
je 0x1400c994f
mov rdx, rdi
mov r8, r14
rol eax, 1
movzx ecx, byte [rdx]
inc rdx
xor eax, ecx
dec r8
jne 0x1400c9940
mov r9, qword [rsi + 0x10]
xor edx, edx
div dword [rsi]
mov ecx, edx
mov ebx, edx
mov r15d, edx
shl rcx, 3
add r9, rcx
mov qword [rbp + 0x58], rcx
mov r12, qword [r9]
test r12, r12
jne 0x1400c999f
mov r8d, r14d
mov rdx, rdi
mov rcx, rsi
call fcn.1400cb6cc
test eax, eax
jns 0x1400c9997
lea rdx, [0x14017bf10]
lea rcx, [rbp + 0x50]
mov dword [rbp + 0x50], eax
call sub.msvcrt.dll__CxxThrowException
int3
shl ebx, 0xb
jmp 0x1400c9b1b
mov rax, qword [rsi + 0x18]
mov ecx, ebx
mov r13d, 1
and ecx, 0x1f
shr r15, 5
shl r13d, cl
test dword [rax + r15*4], r13d
jne 0x1400c9a5c
cmp byte [r12], 9
jne 0x1400c99f0
lea r8, [rbp + 0x48]
lea rdx, [rbp + 0x50]
mov rcx, r12
call fcn.1400cc548
cmp dword [rbp + 0x50], r14d
jne 0x1400c99f0
mov r8d, dword [rbp + 0x50]
mov rcx, qword [rbp + 0x48]
mov rdx, rdi
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x1400c9997
lea r9, [rbp + 0x48]
mov r8d, r14d
mov rdx, rdi
mov rcx, rsi
call fcn.1400cb6cc
test eax, eax
jns 0x1400c9a1a
lea rdx, [0x14017bf10]
lea rcx, [rbp + 0x50]
mov dword [rbp + 0x50], eax
call sub.msvcrt.dll__CxxThrowException
int3
mov r9, qword [rbp + 0x58]
mov r8, qword [rbp + 0x48]
mov rdx, r12
add r9, qword [rsi + 0x10]
mov rcx, rsi
call fcn.1400cb79c
test eax, eax
jns 0x1400c9a49
lea rdx, [0x14017bf10]
lea rcx, [rbp + 0x50]
mov dword [rbp + 0x50], eax
call sub.msvcrt.dll__CxxThrowException
int3
mov rax, qword [rsi + 0x18]
shl ebx, 0xb
or dword [rax + r15*4], r13d
or ebx, 1
jmp 0x1400c9b1b
mov r13d, dword [r12]
lea rax, [r12 + 8]
xor r15d, r15d
mov qword [rbp + 0x48], rax
test r13d, r13d
je 0x1400c9ab4
mov rcx, qword [rax]
cmp byte [rcx], 9
jne 0x1400c9aa4
lea r8, [rbp - 0x10]
lea rdx, [rbp + 0x50]
call fcn.1400cc548
cmp dword [rbp + 0x50], r14d
jne 0x1400c9aa0
mov r8d, dword [rbp + 0x50]
mov rcx, qword [rbp - 0x10]
mov rdx, rdi
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x1400c9ade
mov rax, qword [rbp + 0x48]
add rax, 8
inc r15d
mov qword [rbp + 0x48], rax
cmp r15d, r13d
jb 0x1400c9a71
lea r9, [rbp + 0x48]
mov r8d, r14d
mov rdx, rdi
mov rcx, rsi
call fcn.1400cb6cc
test eax, eax
jns 0x1400c9ae6
lea rdx, [0x14017bf10]
lea rcx, [rbp + 0x50]
mov dword [rbp + 0x50], eax
call sub.msvcrt.dll__CxxThrowException
int3
shl ebx, 0xb
or ebx, r15d
jmp 0x1400c9b1b
mov r9, qword [rbp + 0x58]
mov r8, qword [rbp + 0x48]
mov rdx, r12
add r9, qword [rsi + 0x10]
mov rcx, rsi
call fcn.1400cb8c8
test eax, eax
jns 0x1400c9b15
lea rdx, [0x14017bf10]
lea rcx, [rbp + 0x50]
mov dword [rbp + 0x50], eax
call sub.msvcrt.dll__CxxThrowException
int3
shl ebx, 0xb
or ebx, r13d
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret