Function at 0x18006aa20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x290]
sub rsp, 0x390
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x3e0], rbx
mov rax, qword [0x180122010]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov rbx, rdx
mov r15, rcx
mov rcx, qword [rcx]
test rcx, rcx
je 0x18006ad6d
lea rdx, str.RegOpenKeyExW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
lea rdx, str.RegEnumKeyExW
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
lea rdx, str.RegCloseKey
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
mov qword [rsp + 0x40], rax
test rdi, rdi
je 0x18006ad6d
test r12, r12
je 0x18006ad6d
test rax, rax
je 0x18006ad6d
mov dword [rbp], 0x790053
mov dword [rbp + 4], 0x740073
mov dword [rbp + 8], 0x6d0065
mov dword [rbp + 0xc], 0x43005c
mov dword [rbp + 0x10], 0x720075
mov dword [rbp + 0x14], 0x650072
mov dword [rbp + 0x18], 0x74006e
mov dword [rbp + 0x1c], 0x6f0043
mov dword [rbp + 0x20], 0x74006e
mov dword [rbp + 0x24], 0x6f0072
mov dword [rbp + 0x28], 0x53006c
mov dword [rbp + 0x2c], 0x740065
mov dword [rbp + 0x30], 0x43005c
mov dword [rbp + 0x34], 0x6e006f
mov dword [rbp + 0x38], 0x720074
mov dword [rbp + 0x3c], 0x6c006f
mov dword [rbp + 0x40], 0x4b005c
mov dword [rbp + 0x44], 0x790065
mov dword [rbp + 0x48], 0x6f0062
mov dword [rbp + 0x4c], 0x720061
mov dword [rbp + 0x50], 0x200064
mov dword [rbp + 0x54], 0x61004c
mov dword [rbp + 0x58], 0x6f0079
mov dword [rbp + 0x5c], 0x740075
mov dword [rbp + 0x60], 0x73
xor r14d, r14d
mov qword [rsp + 0x58], r14
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp]
mov rcx, 0xffffffff80000002
call rdi
test eax, eax
jne 0x18006ad6d
mov esi, r14d
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x70]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x60], 0x104
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x60]
lea r8, [rbp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x58]
call r12
test eax, eax
jne 0x18006ad65
xor r13d, r13d
nop dword [rax]
nop word [rax + rax]
xor edx, edx
lea r8d, [rdx + 0x10]
lea rcx, [rbp + 0x70]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstoul]
mov r14d, eax
movzx edi, ax
cmp edi, 0x804
jne 0x18006ad27
lea rcx, [rsp + 0x70]
call fcn.180039600
nop
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], r13w
mov qword [rbp - 0x10], r13
mov qword [rbp - 8], r13
mov qword [rbp - 0x10], r13
mov qword [rbp - 8], 7
mov word [rbp - 0x20], r13w
lea r8, [rsp + 0x70]
mov edx, r14d
mov rcx, r15
call fcn.18006b050
test al, al
je 0x18006ad09
mov dword [rbp - 0x48], edi
lea rdx, str.00000000_0000_0000_0000_000000000000
lea rcx, [rbp - 0x40]
call fcn.1800034f0
lea rdx, str.00000000_0000_0000_0000_000000000000
lea rcx, [rbp - 0x20]
call fcn.1800034f0
mov rdi, qword [rbx + 8]
cmp qword [rbx + 0x10], rdi
je 0x18006acf8
mov qword [rsp + 0x50], rdi
mov eax, dword [rsp + 0x70]
mov dword [rdi], eax
lea rcx, [rdi + 8]
lea rdx, [rsp + 0x78]
call fcn.180005300
nop
lea rcx, [rdi + 0x28]
lea rdx, [rbp - 0x68]
call fcn.180005300
nop
mov eax, dword [rbp - 0x48]
mov dword [rdi + 0x48], eax
lea rcx, [rdi + 0x50]
lea rdx, [rbp - 0x40]
call fcn.180005300
nop
lea rcx, [rdi + 0x70]
lea rdx, [rbp - 0x20]
call fcn.180005300
nop
add qword [rbx + 8], 0x90
jmp 0x18006ad09
lea r8, [rsp + 0x70]
mov rdx, rdi
mov rcx, rbx
call fcn.18006dad0
nop
lea rcx, [rbp - 0x20]
call fcn.180003470
nop
lea rcx, [rbp - 0x40]
call fcn.180003470
nop
lea rcx, [rsp + 0x70]
call fcn.180039640
inc esi
mov dword [rsp + 0x60], 0x104
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x60]
lea r8, [rbp + 0x70]
mov edx, esi
mov rcx, qword [rsp + 0x58]
call r12
test eax, eax
je 0x18006ac00
mov r13, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
call r13
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.1800ba9e0
mov rbx, qword [rsp + 0x3e0]
add rsp, 0x390
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret