Function at 0x180080020
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 [0x1800c2040]
xor rax, rsp
mov qword [rbp + 0x30], rax
xor r12d, r12d
mov edi, r12d
mov dword [rsp + 0x20], r12d
lea rsi, [r12 - 1]
lea r14, [0x1800c2170]
cmp byte [0x1800c3cf8], r12b
je 0x1800801c1
lea rcx, [0x1800c3ee0]
call fcn.180034680
mov eax, dword [0x1800c3ee0]
cmp eax, 1
jne 0x1800801a2
mov rdx, qword [0x180a4e3e8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r12
mov r8, rsi
nop
inc r8
cmp byte [rdx + r8], dil
jne 0x1800800b0
lea rcx, [rsp + 0x28]
call fcn.18000fb90
lea rdx, [rsp + 0x28]
lea rcx, [rbp + 0x10]
call fcn.180089680
nop
cmp byte [0x1800c3cf7], 0
je 0x18008011e
mov ecx, 8
call fcn.180099f80
mov rbx, rax
mov qword [rax], r12
call fcn.180088890
mov rcx, rax
call fcn.180088bc0
test rax, rax
je 0x180080179
mov qword [rbx], rax
lea rdx, [rbp + 0x10]
cmp qword [rbp + 0x28], 0xf
cmova rdx, qword [rbp + 0x10]
xor r9d, r9d
mov r8b, 1
mov rcx, rbx
call fcn.1800806a0
jmp 0x180080179
lea r9, [rbp + 0x10]
cmp qword [rbp + 0x28], 0xf
cmova r9, qword [rbp + 0x10]
mov r15, qword [rbp + 0x20]
mov rax, qword [0x1800c2188]
cmp r15, rax
ja 0x180080167
mov rbx, r14
cmp rax, 0xf
cmova rbx, qword [0x1800c2170]
mov qword [0x1800c2180], r15
mov r8, r15
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + r15], 0
jmp 0x180080172
mov rdx, r15
mov rcx, r14
call fcn.180018a10
mov byte [0x1800c3cf9], 1
mov dword [0x1800c3ee0], r12d
lea rax, [rsp + 0x20]
mov qword [0x180a4e3e8], rax
mov byte [0x1800c3cf8], 0
lea rcx, [rbp + 0x10]
call fcn.18000f7e0
mov eax, dword [0x1800c3ee0]
cmp eax, 2
jne 0x1800801c1
mov dword [0x1800c3ee0], r12d
lea rax, [rsp + 0x20]
mov qword [0x180a4e3e8], rax
mov byte [0x1800c3cf8], 0
cmp byte [0x1800c3cf9], 0
je 0x1800804c9
cmp dword [0x1800c3ee4], 0
jne 0x1800804c9
lea rcx, [0x1800c3ee4]
call fcn.180033eb0
mov eax, dword [0x1800c3ee4]
cmp eax, 1
jne 0x1800804a8
cmp qword [0x180a4e3d8], 0
je 0x1800804ad
lea ecx, [rax + 7]
call fcn.180099f80
mov r15, rax
mov qword [rax], r12
mov rbx, qword [0x180a4e3d8]
mov rdx, rbx
call fcn.180088dd0
test al, al
jne 0x1800804ad
test rbx, rbx
je 0x1800804ad
mov qword [r15], rbx
mov ebx, dword [0x180a4e3e0]
cmp qword [0x1800c2188], 0xf
cmova r14, qword [0x1800c2170]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r12
mov r8, rsi
inc r8
cmp byte [r14 + r8], 0
jne 0x180080260
mov rdx, r14
lea rcx, [rsp + 0x28]
call fcn.18000fb90
mov r8d, ebx
mov dl, 1
lea rcx, [rsp + 0x28]
call fcn.180080d00
test al, al
je 0x1800804ad
mov rcx, qword [r15]
test rcx, rcx
je 0x1800804ad
call fcn.180080970
mov r14, rax
test rax, rax
je 0x1800804ad
cmp dword [0x180a4e314], 7
jne 0x180080355
mov dword [rsp + 0x20], 0x3020601
mov dword [rsp + 0x24], 0x1000107
mov rcx, r12
nop dword [rax + rax]
lea eax, [rcx + 0x30]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 6
jb 0x1800802d0
mov byte [rsp + 0x27], 0
lea rax, [rsp + 0x20]
nop word [rax + rax]
inc rsi
cmp byte [rax + rsi], 0
jne 0x1800802f0
lea rcx, [0x180a4e468]
cmp qword [0x180a4e480], 0xf
cmova rcx, qword [0x180a4e468]
mov r8, qword [0x180a4e478]
cmp r8, rsi
jne 0x180080355
lea rdx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180080355
cmp byte [0x180a4e311], 1
jne 0x180080355
lea rdx, [0x180a4e488]
lea rcx, [rbp - 0x50]
call fcn.18000f6a0
mov edi, 1
cmp qword [rax + 0x10], 0
je 0x180080355
movzx ebx, dil
jmp 0x180080357
xor bl, bl
test dil, 1
je 0x180080369
and edi, 0xfffffffe
lea rcx, [rbp - 0x50]
call fcn.18000f7e0
test bl, bl
je 0x1800804ad
mov rdx, qword [0x180a4e3d0]
cmp byte [rdx + 0x50], 0
je 0x180080462
lea rax, [rsp + 0x70]
mov qword [rsp + 0x68], rax
add rdx, 0x78
lea rcx, [rsp + 0x70]
call fcn.18000f6a0
or edi, 0x10
lea rcx, [rbp - 0x70]
call fcn.1800118c0
or edi, 0x20
or edi, 2
mov dword [rsp + 0x20], edi
movdqa xmm0, xmmword [str.SXVZUj_RJJSTR_f_v]
movdqu xmmword [rbp + 0x10], xmm0
mov byte [rbp + 0x20], 1
mov rcx, r12
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx + 0x30]
xor byte [rbp + rcx + 0x10], al
inc rcx
cmp rcx, 0xf
jb 0x1800803d0
mov byte [rbp + 0x20], 0
lea r8, [rbp - 0x70]
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x30]
call fcn.180017110
nop
lea r9, [rsp + 0x70]
mov r8, rax
lea rdx, [rbp - 0x10]
call fcn.180011190
mov rbx, rax
or edi, 4
mov dword [rsp + 0x20], edi
mov rdx, qword [0x180a4e3d0]
add rdx, 0x58
lea rcx, [rsp + 0x48]
call fcn.18000f6a0
or edi, 0x48
mov rax, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x180080437
mov rbx, qword [rbx]
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rcx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
cmp r8, rax
jne 0x180080462
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180080462
mov bl, 1
jmp 0x180080464
xor bl, bl
test dil, 8
je 0x180080478
and edi, 0xfffffff7
lea rcx, [rsp + 0x48]
call fcn.18000f7e0
nop
test dil, 4
je 0x18008048b
and edi, 0xfffffffb
lea rcx, [rbp - 0x10]
call fcn.18000f7e0
nop
test dil, 2
je 0x18008049a
lea rcx, [rbp - 0x70]
call fcn.18000f7e0
test bl, bl
je 0x1800804ad
mov rcx, r14
call fcn.1800877e0
jmp 0x1800804ad
cmp eax, 2
jne 0x1800804c9
mov dword [0x180a4e3e0], r12d
mov qword [0x180a4e3d8], r12
mov dword [0x1800c3ee4], r12d
mov byte [0x1800c3cf9], 0
call fcn.180080530
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.180099e40
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