Function at 0x1800805c0
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], r14
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1800c3040]
xor rax, rsp
mov qword [rbp - 8], rax
xor edi, edi
lea r14, [0x1800c3170]
cmp byte [0x1800c4a07], dil
je 0x18008074a
lea rcx, [0x1800c4bf0]
call fcn.180034c20
mov eax, dword [0x1800c4bf0]
cmp eax, 1
jne 0x18008072d
mov rdx, qword [0x180a4f150]
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], rdi
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], dil
jne 0x180080640
lea rcx, [rbp - 0x50]
call fcn.18000fe70
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.180089dc0
nop
cmp byte [0x1800c4a08], 0
je 0x1800806ac
mov ecx, 8
call fcn.18009ac60
mov rbx, rax
mov qword [rax], rdi
call fcn.180088bb0
mov rcx, rax
call fcn.180088ee0
test rax, rax
je 0x180080706
mov qword [rbx], rax
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rdx, qword [rbp - 0x30]
xor r9d, r9d
mov r8b, 1
mov rcx, rbx
call fcn.180080940
jmp 0x180080706
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova r9, qword [rbp - 0x30]
mov rsi, qword [rbp - 0x20]
mov rax, qword [0x1800c3188]
cmp rsi, rax
ja 0x1800806f4
mov rbx, r14
cmp rax, 0xf
cmova rbx, qword [0x1800c3170]
mov qword [0x1800c3180], rsi
mov r8, rsi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + rbx], 0
jmp 0x1800806ff
mov rdx, rsi
mov rcx, r14
call fcn.180018cf0
mov byte [0x1800c4a09], 1
mov dword [0x1800c4bf0], edi
lea rax, [rbp - 0x10]
mov qword [0x180a4f150], rax
mov byte [0x1800c4a07], 0
lea rcx, [rbp - 0x30]
call fcn.18000fac0
mov eax, dword [0x1800c4bf0]
cmp eax, 2
jne 0x18008074a
mov dword [0x1800c4bf0], edi
lea rax, [rbp - 0x10]
mov qword [0x180a4f150], rax
mov byte [0x1800c4a07], 0
cmp byte [0x1800c4a09], 0
je 0x1800807f4
cmp dword [0x1800c4bf4], 0
jne 0x1800807f4
lea rcx, [0x1800c4bf4]
call fcn.180034450
mov eax, dword [0x1800c4bf4]
cmp eax, 1
jne 0x1800807d5
cmp qword [0x180a4f140], 0
je 0x1800807da
lea ecx, [rax + 7]
call fcn.18009ac60
mov rsi, rax
mov qword [rax], rdi
mov rbx, qword [0x180a4f140]
mov rdx, rbx
call fcn.1800890f0
test al, al
jne 0x1800807da
test rbx, rbx
je 0x1800807da
mov qword [rsi], rbx
cmp qword [0x1800c3188], 0xf
cmova r14, qword [0x1800c3170]
mov r9d, dword [0x180a4f148]
mov r8b, 1
mov rdx, r14
mov rcx, rsi
call fcn.180080940
jmp 0x1800807da
cmp eax, 2
jne 0x1800807f4
mov dword [0x180a4f148], edi
mov qword [0x180a4f140], rdi
mov dword [0x1800c4bf4], edi
mov byte [0x1800c4a09], 0
xor r9d, r9d
lea r8, [rbp - 0x10]
xor edx, edx
lea rbx, [0x1800c4bf8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_InitOnceBeginInitialize]
test eax, eax
jne 0x180080818
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
cmp dword [rbp - 0x10], 0
je 0x1800808d9
mov qword [rbp - 0x50], rbx
mov dword [rbp - 0x48], 4
movdqa xmm0, xmmword [0x1800afe70]
movdqu xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x20], 0x490e051a
mov word [rbp - 0x1c], 0x45
mov byte [rbp - 0x1a], 1
mov rdx, rdi
nop
lea eax, [rdx + 0x58]
xor byte [rbp + rdx - 0x30], al
inc rdx
cmp rdx, 0x15
jb 0x180080850
mov byte [rbp - 0x1a], 0
lea r8, [rbp - 0x30]
mov edx, 0x98967f
lea rcx, [0x1800c59c0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov ecx, 8
call fcn.18009ac60
mov qword [rax], rdi
movdqa xmm0, xmmword [0x1800b07d0]
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x20], 0x91
mov byte [rbp - 0x1e], 1
nop
lea ecx, [rdi - 0x58]
xor byte [rbp + rdi - 0x30], cl
inc rdi
cmp rdi, 0x11
jb 0x1800808a0
mov byte [rbp - 0x1e], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x30]
mov rcx, rax
call fcn.180080940
nop
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_InitOnceComplete]
test eax, eax
je 0x1800808ff
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.18009ab20
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.18009a8d0
int3