Function at 0x140005de0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x3f0]
sub rsp, 0x4f0
mov rax, qword [0x140019040]
xor rax, rsp
mov qword [rbp + 0x3e0], rax
mov rbx, rdx
mov r15, rcx
xor r12d, r12d
mov qword [rbp - 0x40], r12
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
lea r8, [0x1400137ec]
mov edx, 0x208
lea rcx, [rbp - 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov r8, rbx
mov edx, 0x208
lea rcx, [rbp - 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, [0x1400137f0]
mov edx, 0x208
lea rcx, [rbp - 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, [0x1400137f8]
mov edx, 0x208
lea rcx, [rbp - 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
movdqa xmm0, xmmword [0x1400140a0]
movdqu xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x140014070]
movdqu xmmword [rsp + 0x60], xmm1
mov dword [rsp + 0x70], 0x44667c77
mov dword [rsp + 0x74], 0x7b616077
mov dword [rsp + 0x78], 0x404e7c7d
mov word [rsp + 0x7c], 0x7c67
xor eax, eax
mov byte [rsp + 0x7e], al
nop word [rax + rax]
movzx ecx, byte [rsp + 0x50]
xor byte [rsp + rax + 0x51], cl
movzx ecx, byte [rsp + 0x50]
xor byte [rsp + rax + 0x52], cl
movzx ecx, byte [rsp + 0x50]
xor byte [rsp + rax + 0x53], cl
movzx ecx, byte [rsp + 0x50]
xor byte [rsp + rax + 0x54], cl
movzx ecx, byte [rsp + 0x50]
xor byte [rsp + rax + 0x55], cl
movzx ecx, byte [rsp + 0x50]
xor byte [rsp + rax + 0x56], cl
movzx ecx, byte [rsp + 0x50]
xor byte [rsp + rax + 0x57], cl
movzx ecx, byte [rsp + 0x50]
xor byte [rsp + rax + 0x58], cl
movzx ecx, byte [rsp + 0x50]
xor byte [rsp + rax + 0x59], cl
movzx ecx, byte [rsp + 0x50]
xor byte [rsp + rax + 0x5a], cl
movzx ecx, byte [rsp + 0x50]
xor byte [rsp + rax + 0x5b], cl
movzx ecx, byte [rsp + 0x50]
xor byte [rsp + rax + 0x5c], cl
movzx ecx, byte [rsp + 0x50]
xor byte [rsp + rax + 0x5d], cl
movzx ecx, byte [rsp + 0x50]
xor byte [rsp + rax + 0x5e], cl
movzx ecx, byte [rsp + 0x50]
xor byte [rsp + rax + 0x5f], cl
add rax, 0xf
cmp rax, 0x2d
jb 0x140005ed0
mov byte [rsp + 0x7e], r12b
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], r12
lea rax, [rsp + 0x51]
mov r14, 0xffffffffffffffff
mov r8, r14
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], r12b
jne 0x140005f90
lea rdx, [rsp + 0x51]
lea rcx, [rbp - 0x80]
call fcn.140007d50
nop
mov esi, dword [rbp - 0x70]
lea r8, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova r8, qword [rbp - 0x80]
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
lea r9d, [rsi + 1]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
mov eax, 2
mul rbx
cmovb rax, r14
mov rcx, rax
call fcn.140010b54
mov rdi, rax
lea r8, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova r8, qword [rbp - 0x80]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
lea r9d, [rsi + 1]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.140006ea0
mov rcx, rdi
call fcn.140010800
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rdx, qword [rbp - 0x60]
mov qword [rsp + 0x40], r12
lea rax, [rbp - 0x40]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x1400060aa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400060a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400060a5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010800
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r12w
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x1400060f9
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400060f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400060f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010800
mov ebx, r12d
test edi, edi
sete bl
test edi, edi
jne 0x14000614f
lea rax, [rbp - 0x30]
nop dword [rax]
lea r14, [r14 + 1]
cmp word [rax + r14*2], 0
jne 0x140006110
lea eax, [r14*2 + 2]
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, r15
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, r12d
test eax, eax
sete bl
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14000615e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x3e0]
xor rcx, rsp
call fcn.1400107e0
lea r11, [rsp + 0x4f0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret