Function at 0x180005a50
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x180044688]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov dword [rsp + 0x28], ecx
mov r9b, 1
lea rcx, [rsp + 0x60]
mov byte [rsp + 0x20], 0
xor r8d, r8d
mov rdx, 0xffffffff80000000
call fcn.180004dc0
test eax, eax
jne 0x180005dc6
lea r8, str.SoftwareClasses
mov rdx, 0xffffffff80000001
lea rcx, [rsp + 0x60]
call fcn.180004b90
lea r8, str.SoftwareClasses
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x60]
call fcn.180004b90
xor r8d, r8d
lea rcx, [rsp + 0x60]
mov rdx, 0xffffffff80000000
call fcn.180004b90
lea rcx, [rsp + 0x60]
call fcn.1800054e0
lea rcx, [rsp + 0x60]
call fcn.180005060
mov r13d, dword [rbp - 0x40]
test r13d, r13d
je 0x180005dc6
lea rbx, [0x180000000]
nop word [rax + rax]
mov r9d, dword [rbp - 0x34]
lea rax, [rsp + 0x58]
dec r13d
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.TypeLib
lea rcx, [r13*2]
add rcx, r13
mov rcx, qword [rsp + rcx*8 + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180005dbd
mov r15d, 2
nop
mov r9d, dword [rbp - 0x34]
lea rax, [rsp + 0x48]
mov rcx, qword [rsp + 0x58]
dec r15d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea r12, [r15*8 + 0x2e650]
add r12, rbx
mov rdx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180005db4
mov esi, 2
nop dword [rax + rax]
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
dec esi
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea r14, [rsi*8 + 0x2e700]
add r14, rbx
mov rdx, qword [r14]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180005cf5
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rbp - 0x20]
mov dword [rsp + 0x40], 0x7f
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x50]
mov edi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
test eax, eax
je 0x180005ca9
mov ecx, 0xb80010
call qword [sym.imp.VBoxRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x180005c6f
mov qword [rsp + 0x38], 0
lea rcx, str.long___cdecl_vbpsCloseKey_struct_VBPSREGSTATE__struct_HKEY____unsigned_int_
mov qword [rsp + 0x30], rcx
lea r9, str.AssertLogRel__s__d___s:__s_n
lea rcx, str.C:DevelAntidetect4PersonalVirtualBox_srcVBoxMain_src_allwinVBoxProxyStub.c
mov dword [rsp + 0x28], 0x336
mov qword [rsp + 0x20], rcx
mov edx, 0x10
mov rcx, rax
mov r8d, VarDecFix
call qword [sym.imp.VBoxRT.dll_RTLogLoggerEx]
mov ecx, 0xb80010
call qword [sym.imp.VBoxRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x180005ca6
mov dword [rsp + 0x28], ebx
lea r9, str._d:_close_key_____u_n
mov edx, 0x10
mov dword [rsp + 0x20], 0x865
mov r8d, VarDecFix
mov rcx, rax
call qword [sym.imp.VBoxRT.dll_RTLogLoggerEx]
mov dword [rbp - 0x3c], ebx
test edi, edi
jne 0x180005cee
mov eax, dword [rsp + 0x40]
cmp rax, 0x80
jae 0x180005dfd
lea rdx, str.VirtualBox_Type_Library
mov byte [rbp + rax - 0x20], dil
lea rcx, [rbp - 0x20]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x180005cee
mov r8, qword [r14]
lea rcx, [rsp + 0x60]
mov rdx, qword [rsp + 0x48]
mov r9d, 0x86f
call fcn.180004830
lea rbx, [0x180000000]
test esi, esi
jne 0x180005ba0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
test eax, eax
je 0x180005d9e
mov ecx, 0xb80010
call qword [sym.imp.VBoxRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x180005d64
mov qword [rsp + 0x38], 0
lea rcx, str.C:DevelAntidetect4PersonalVirtualBox_srcVBoxMain_src_allwinVBoxProxyStub.c
lea rdi, str.long___cdecl_vbpsCloseKey_struct_VBPSREGSTATE__struct_HKEY____unsigned_int_
mov r8d, VarDecFix
mov qword [rsp + 0x30], rdi
lea r9, str.AssertLogRel__s__d___s:__s_n
mov dword [rsp + 0x28], 0x336
lea edx, [rsi + 0x10]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call qword [sym.imp.VBoxRT.dll_RTLogLoggerEx]
mov ecx, 0xb80010
call qword [sym.imp.VBoxRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x180005d9b
mov dword [rsp + 0x28], ebx
lea r9, str._d:_close_key_____u_n
mov edx, 0x10
mov dword [rsp + 0x20], 0x874
mov r8d, VarDecFix
mov rcx, rax
call qword [sym.imp.VBoxRT.dll_RTLogLoggerEx]
mov dword [rbp - 0x3c], ebx
mov rdx, qword [r12]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea rbx, [0x180000000]
test r15d, r15d
jne 0x180005b60
test r13d, r13d
jne 0x180005b20
lea rcx, [rsp + 0x60]
call fcn.180004fa0
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.180007500
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.180007274
int3