Function at 0x180067a60
Capabilities:
Delete registry key
Delete registry value

Disassembly:
sub rsp, 0x48
mov eax, dword [0x18014419c]
cmp eax, 0x80004001
je 0x180067a7c
mov eax, dword [0x18014419c]
add rsp, 0x48
ret
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rsi
lea rdx, str.SoftwareMicrosoftInternet_ExplorerToolbar
xor esi, esi
mov r9d, 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x30], rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180067ad4
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x180067ae9
lea rdx, [0x180103280]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x180067ae9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], rsi
lea rdx, str.SoftwareAppDataLowSoftwareSimplytechHomeTab
mov rcx, 0xffffffff80000001
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea rcx, [0x180146f20]
mov edx, 1
call fcn.1800684b0
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerDiscardablePostSetupComponent_Categories00021493_0000_0000_C000_000000000046
mov r9d, 0x2001f
mov edi, eax
lea rax, [rsp + 0x58]
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov rbx, rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180067bd8
mov rbx, qword [rsp + 0x58]
cmp byte [0x180146d29], sil
jne 0x180067b97
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180067b87
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [0x180146d29], 1
mov qword [0x180146d30], rax
jmp 0x180067b9e
mov rax, qword [0x180146d30]
mov byte [0x180146d29], 1
jmp 0x180067b9e
mov rax, qword [0x180146d30]
test rax, rax
je 0x180067bb7
lea rdx, str.Enum
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call rax
jmp 0x180067bc7
lea rdx, str.Enum
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test rbx, rbx
je 0x180067bd8
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, rsi
lea rax, [rsp + 0x60]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerDiscardablePostSetupComponent_Categories00021494_0000_0000_C000_000000000046
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180067cb5
mov eax, esi
test rbx, rbx
je 0x180067c1c
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x60]
test eax, eax
jne 0x180067cb5
cmp byte [0x180146d29], sil
jne 0x180067c74
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180067c64
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [0x180146d29], 1
mov qword [0x180146d30], rax
jmp 0x180067c7b
mov rax, qword [0x180146d30]
mov byte [0x180146d29], 1
jmp 0x180067c7b
mov rax, qword [0x180146d30]
test rax, rax
je 0x180067c94
lea rdx, str.Enum
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call rax
jmp 0x180067ca4
lea rdx, str.Enum
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test rbx, rbx
je 0x180067cb5
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, rsi
test edi, edi
js 0x180067cee
mov rax, qword [0x180144900]
mov rax, qword [rax + 8]
cmp qword [rax], rsi
je 0x180067cd1
mov rax, qword [rax]
mov r8, qword [rax]
jmp 0x180067cd4
mov r8, rsi
mov rcx, qword [0x180146df0]
lea rdx, [0x180144900]
call qword [sym.imp.RPCRT4.dll_NdrDllRegisterProxy]
mov edi, eax
test eax, eax
jns 0x180067cf3
test rbx, rbx
jmp 0x180067d42
mov rax, qword [0x180144900]
mov rax, qword [rax + 8]
cmp qword [rax], rsi
je 0x180067d0b
mov rax, qword [rax]
mov r8, qword [rax]
jmp 0x180067d0e
mov r8, rsi
mov rcx, qword [0x180146df0]
lea rdx, [0x180144900]
call qword [sym.imp.RPCRT4.dll_NdrDllUnregisterProxy]
mov rcx, qword [rsp + 0x50]
mov edi, eax
test rcx, rcx
je 0x180067d39
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], rsi
mov dword [0x18014419c], edi
test rbx, rbx
je 0x180067d4d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x30]
add rsp, 0x48
ret