Function at 0x180008660
Capabilities:
Query or enumerate registry key
Query or enumerate 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 - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x180045020]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov rsi, rdx
lea rax, [rsp + 0x40]
mov r14, rcx
mov qword [rsp + 0x20], rax
xor r15d, r15d
lea rdx, str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x40], r15
mov r9d, 0xf003f
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea r12d, [r15 + 1]
test eax, eax
jne 0x180008804
xor bl, bl
mov edi, r15d
nop dword [rax + rax]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x38], r15
lea r8, [rbp + 0x180]
mov qword [rsp + 0x30], r15
mov edx, edi
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x50], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1800087f1
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x60]
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x60], r15
lea rdx, [rbp + 0x180]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1800087e7
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x58]
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x58], r15
lea rdx, str.Connection
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1800087dc
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rdx, str.Name
lea rax, [rsp + 0x70]
mov dword [rsp + 0x48], 0x208
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1800087d1
mov rdx, rsi
mov word [rbp + 0x178], r15w
mov rcx, rsi
call fcn.18000baa0
test eax, eax
movzx ebx, bl
cmove ebx, r12d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc edi
test bl, bl
je 0x1800086e0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
jne 0x180008987
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x20c
call sym.VBoxInstallHelper.dll_nocrt_memset
mov r9, r14
lea r8, str.::_ls
mov edx, 0x106
lea rcx, [rsp + 0x70]
call fcn.18000b350
test rax, rax
jns 0x180008840
mov ebx, 0x80070057
mov eax, ebx
jmp 0x180008989
lea rax, [rsp + 0x48]
mov dword [rsp + 0x60], 0x7007acc7
lea r9, [0x180041ec8]
mov qword [rsp + 0x20], rax
mov r8d, r12d
mov dword [rsp + 0x64], 0x11d13202
xor edx, edx
mov dword [rsp + 0x68], 0x8000d2aa
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x6c], 0xe27c15f
mov qword [rsp + 0x48], r15
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
js 0x180008915
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x40], r15
lea r9, [rsp + 0x70]
mov qword [rsp + 0x30], r15
xor r8d, r8d
mov qword [rsp + 0x28], rdx
xor edx, edx
mov rax, qword [rcx]
mov qword [rsp + 0x20], r15
mov rax, qword [rax + 0x18]
call qword [case.0x1800127d5.0]
mov ebx, eax
test eax, eax
js 0x1800088f8
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x40]
mov r8, qword [rsp + 0x40]
mov r9, rsi
mov qword [rsp + 0x28], rdx
xor edx, edx
mov dword [rsp + 0x20], r15d
mov rax, qword [rcx]
mov rax, qword [rax + 0x60]
call qword [case.0x1800127d5.0]
mov ebx, eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1800127d5.0]
cmp ebx, 0x80004001
jne 0x180008978
lea rdx, [rsp + 0x60]
mov rcx, r14
call qword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
js 0x180008980
lea rcx, str.netshell.dll
call fcn.180004cb0
mov rdi, rax
test rax, rax
je 0x180008980
lea rdx, str.HrRenameConnection
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18000896a
mov rdx, rsi
lea rcx, [rsp + 0x60]
call qword [case.0x1800127d5.0]
mov ebx, eax
jmp 0x18000896f
mov ebx, 0x80004005
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
jns 0x180008987
mov eax, ebx
jmp 0x180008989
mov eax, 0x80004005
jmp 0x180008989
xor eax, eax
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.180001140
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret