Function at 0x18000f53c
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rax, qword [0x180019018]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov r13, r8
mov qword [rsp + 0x48], rdx
mov r14, rdx
mov qword [rsp + 0x50], rcx
mov ebx, 0x208
lea rcx, [rsp + 0x60]
mov r8d, ebx
xor edx, edx
call sub.msvcrt.dll_memset
xor r15d, r15d
lea rcx, [rbp + 0x170]
mov r8d, ebx
mov dword [rsp + 0x30], r15d
xor edx, edx
call sub.msvcrt.dll_memset
mov edi, 0x104
mov rbx, qword [r13 + 8]
mov word [rbp + 0x166], r15w
cmp dword [r13 + 0x4c], r15d
jne 0x18000f5f2
mov r8, qword [rbx + 8]
test r8, r8
je 0x18000f5f2
cmp qword [rbx], r15
jne 0x18000f5f2
lea r9d, [rdi - 1]
mov edx, edi
lea rcx, [rsp + 0x60]
call qword [sym.imp.msvcrt.dll_wcsncpy_s]
nop dword [rax + rax]
mov dword [rsp + 0x30], 2
jmp 0x18000f76d
or rdi, 0xffffffffffffffff
mov rsi, rdi
inc rsi
cmp word [r14 + rsi*2], r15w
jne 0x18000f5f9
add esi, 8
mov ecx, 0x40
mov r15d, esi
lea r12, [rsi + rsi]
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
nop dword [rax + rax]
mov r14, rax
test rax, rax
je 0x18000f7b3
mov r8, r12
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
lea rax, str.Auth
mov edx, r15d
mov qword [rsp + 0x28], rax
lea r8d, [rsi - 1]
mov rax, qword [rsp + 0x48]
lea r9, [0x1800150f8]
mov rcx, r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.msvcrt.dll__snwprintf_s]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x38]
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, r14
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
xor r15d, r15d
mov esi, eax
test eax, eax
jne 0x18000f74e
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r12, str.Password
lea rax, [rsp + 0x60]
mov dword [rsp + 0x30], 0x208
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov esi, eax
test eax, eax
jne 0x18000f73d
cmp dword [rsp + 0x40], 1
jne 0x18000f73d
mov rcx, qword [rsp + 0x38]
mov rdx, r12
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
lea rax, [rsp + 0x60]
inc rdi
cmp word [rax + rdi*2], r15w
jne 0x18000f706
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x60]
inc edi
mov r9d, 3
mov dword [rsp + 0x28], edi
xor r8d, r8d
mov rdx, r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
test esi, esi
jne 0x18000f7b3
cmp dword [rsp + 0x30], 1
jbe 0x18000f7b3
mov edi, 0x104
cmp dword [r13 + 0x4c], r15d
jne 0x18000f785
cmp qword [rbx + 8], r15
je 0x18000f785
cmp qword [rbx], r15
jne 0x18000f785
lea r8, [rsp + 0x60]
jmp 0x18000f79d
lea rdx, [rbp + 0x170]
lea rcx, [rsp + 0x60]
call fcn.18000e390
lea r8, [rbp + 0x170]
mov rdx, rdi
lea rcx, [rbx + 0x218]
call qword [sym.imp.msvcrt.dll_wcscpy_s]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.180001570
mov rbx, qword [rsp + 0x4e8]
add rsp, 0x490
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret