Function at 0x18002a010
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x1800c3040]
xor rax, rsp
mov qword [rbp + 0x30], rax
xor r15d, r15d
mov ebx, r15d
mov dword [rsp + 0x30], ebx
lea r12, section..text
mov qword [rbp + 0x18], r12
lea rax, [0x1800286b0]
mov qword [rbp + 0x20], rax
xor eax, eax
mov qword [rbp + 0x28], rax
mov qword [rsp + 0x28], r15
lea rax, [rbp + 0x18]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.180096e10
mov qword [rbp], r12
lea rax, [0x180029910]
mov qword [rbp + 8], rax
xor eax, eax
mov qword [rbp + 0x10], rax
mov qword [rsp + 0x28], r15
lea rax, [rbp]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.180096e10
lea rdi, [r15 - 1]
lea r14, [0x180a4f1d0]
cmp byte [0x1800c30d8], 1
jne 0x18002a2ba
cmp dword [0x180a4f07c], 7
jne 0x18002a16e
mov dword [rsp + 0x30], 0xbebdbbba
mov dword [rsp + 0x34], 0x100a4bc
mov ecx, r15d
lea eax, [rcx - 0x75]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 6
jb 0x18002a0f0
mov byte [rsp + 0x37], bl
lea rcx, [rsp + 0x30]
mov rax, rdi
nop dword [rax]
inc rax
cmp byte [rcx + rax], bl
jne 0x18002a110
mov rcx, r14
cmp qword [0x180a4f1e8], 0xf
cmova rcx, qword [0x180a4f1d0]
mov r8, qword [0x180a4f1e0]
cmp r8, rax
jne 0x18002a16e
lea rdx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18002a16e
cmp byte [0x180a4f079], 1
jne 0x18002a16e
lea rdx, [0x180a4f1f0]
lea rcx, [rbp - 0x40]
call fcn.18000f980
mov ebx, 1
cmp qword [rax + 0x10], r15
je 0x18002a16e
movzx esi, bl
jmp 0x18002a171
xor sil, sil
test bl, 1
je 0x18002a182
and ebx, 0xfffffffe
lea rcx, [rbp - 0x40]
call fcn.18000fac0
test sil, sil
je 0x18002a2ba
mov rdx, qword [0x180a4f138]
cmp byte [rdx + 0x50], r15b
je 0x18002a276
lea rax, [rbp - 0x80]
mov qword [rsp + 0x58], rax
add rdx, 0x78
lea rcx, [rbp - 0x80]
call fcn.18000f980
or ebx, 0x20
lea rcx, [rbp - 0x60]
call fcn.180011ba0
or ebx, 0x40
or ebx, 2
mov dword [rsp + 0x30], ebx
movdqa xmm0, xmmword [0x1800afc90]
movdqu xmmword [rbp + 0x18], xmm0
mov byte [rbp + 0x28], 1
mov rcx, r15
nop dword [rax]
lea eax, [rcx - 0x75]
xor byte [rbp + rcx + 0x18], al
inc rcx
cmp rcx, 0xf
jb 0x18002a1e0
mov byte [rbp + 0x28], 0
lea r8, [rbp - 0x60]
lea rdx, [rbp + 0x18]
lea rcx, [rbp - 0x20]
call fcn.1800173f0
nop
lea r9, [rbp - 0x80]
mov r8, rax
lea rdx, [rsp + 0x60]
call fcn.180011470
mov rsi, rax
or ebx, 4
mov dword [rsp + 0x30], ebx
mov rdx, qword [0x180a4f138]
add rdx, 0x58
lea rcx, [rsp + 0x38]
call fcn.18000f980
or ebx, 0x88
mov rax, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
jbe 0x18002a24a
mov rsi, qword [rsi]
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rcx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x48]
cmp r8, rax
jne 0x18002a276
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18002a276
mov sil, 1
jmp 0x18002a279
xor sil, sil
test bl, 8
je 0x18002a28c
and ebx, 0xfffffff7
lea rcx, [rsp + 0x38]
call fcn.18000fac0
nop
test bl, 4
je 0x18002a29f
and ebx, 0xfffffffb
lea rcx, [rsp + 0x60]
call fcn.18000fac0
nop
test bl, 2
je 0x18002a2b0
and ebx, 0xfffffffd
lea rcx, [rbp - 0x60]
call fcn.18000fac0
test sil, sil
je 0x18002a2ba
call fcn.18008bf30
cmp dword [0x180a4f07c], 7
jne 0x18002a35f
mov dword [rsp + 0x30], 0xbebdbbba
mov dword [rsp + 0x34], 0x100a4bc
mov rcx, r15
nop word [rax + rax]
lea eax, [rcx - 0x75]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 6
jb 0x18002a2e0
mov byte [rsp + 0x37], 0
lea rax, [rsp + 0x30]
nop word [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x18002a300
cmp qword [0x180a4f1e8], 0xf
cmova r14, qword [0x180a4f1d0]
mov r8, qword [0x180a4f1e0]
cmp r8, rdi
jne 0x18002a35f
lea rdx, [rsp + 0x30]
mov rcx, r14
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18002a35f
cmp byte [0x180a4f079], 1
jne 0x18002a35f
lea rdx, [0x180a4f1f0]
lea rcx, [rsp + 0x60]
call fcn.18000f980
or ebx, 0x10
cmp qword [rax + 0x10], 0
je 0x18002a35f
mov dil, 1
jmp 0x18002a362
xor dil, dil
test bl, 0x10
je 0x18002a371
lea rcx, [rsp + 0x60]
call fcn.18000fac0
test dil, dil
je 0x18002a37b
call fcn.18008cdd0
mov qword [rbp], r12
mov rax, qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov qword [rbp + 8], rax
xor eax, eax
mov qword [rbp + 0x10], rax
mov qword [rsp + 0x28], r15
lea rax, [rbp]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, dword [0x1800c3228]
call fcn.180096e10
test al, 1
je 0x18002a3c3
cmp byte [0x1800c30d8], 0
sete byte [0x1800c30d8]
mov qword [rbp], r12
mov rax, qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov qword [rbp + 8], rax
xor eax, eax
mov qword [rbp + 0x10], rax
mov qword [rsp + 0x28], r15
lea rax, [rbp]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 0x12]
call fcn.180096e10
test ax, ax
jns 0x18002a440
mov qword [rbp], r12
mov rax, qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov qword [rbp + 8], rax
xor eax, eax
mov qword [rbp + 0x10], rax
mov qword [rsp + 0x28], r15
lea rax, [rbp]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 0x77]
call fcn.180096e10
test al, 1
je 0x18002a440
cmp byte [0x1800c30d8], 0
sete byte [0x1800c30d8]
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.18009ab20
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret