Function at 0x140005ce0
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 [0x140014080]
movdqu xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x140014090]
movdqu xmmword [rsp + 0x60], xmm1
mov dword [rsp + 0x70], 0x75574d46
mov dword [rsp + 0x74], 0x4a505146
mov dword [rsp + 0x78], 0x717f4d4c
mov word [rsp + 0x7c], 0x4d56
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 0x140005dd0
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 0x140005e90
lea rdx, [rsp + 0x51]
lea rcx, [rbp - 0x80]
call fcn.140007c50
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.140010a54
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.140006da0
mov rcx, rdi
call fcn.140010700
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 0x140005faa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005fa5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005fa5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010700
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r12w
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140005ff9
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005ff4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005ff4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010700
mov ebx, r12d
test edi, edi
sete bl
test edi, edi
jne 0x14000604f
lea rax, [rbp - 0x30]
nop dword [rax]
lea r14, [r14 + 1]
cmp word [rax + r14*2], 0
jne 0x140006010
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 0x14000605e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x3e0]
xor rcx, rsp
call fcn.1400106e0
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