Function at 0x1400cc8b0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x1f8
lea rdx, [0x140180fd0]
lea rcx, [rsp + 0xe0]
call fcn.1400b93a0
mov rcx, rax
call fcn.1400bfc10
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400cc8f5
xor al, al
jmp 0x1400ccbf9
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rsp + 0x17e]
call fcn.1400cbf80
mov rcx, rax
call fcn.1400ccd10
mov r8, qword [rsp + 0x200]
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.1400cbd90
nop
lea rcx, [rsp + 0xb0]
call fcn.140020180
mov rdx, rax
lea rcx, [rsp + 0xd0]
call sub.ntdll.dll_RtlInitUnicodeString
lea rdx, str.SYSTEMCurrentControlSetServices_
lea rcx, [rsp + 0x136]
call fcn.1400b9640
mov rcx, rax
call fcn.1400bfe10
mov r8, qword [rsp + 0x200]
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1400cbd90
nop
lea rcx, [rsp + 0x38]
call fcn.140020180
lea r8, [rsp + 0x58]
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x1400cc9f8
cmp dword [rsp + 0x28], 2
jne 0x1400cc9d1
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0x38]
call fcn.1400201d0
nop
lea rcx, [rsp + 0xb0]
call fcn.1400201d0
movzx eax, byte [rsp + 0x20]
jmp 0x1400ccbf9
mov byte [rsp + 0x21], 0
lea rcx, [rsp + 0x38]
call fcn.1400201d0
nop
lea rcx, [rsp + 0xb0]
call fcn.1400201d0
movzx eax, byte [rsp + 0x21]
jmp 0x1400ccbf9
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.NtUnloadDriver
lea rcx, [rsp + 0xeb]
call fcn.1400cbfe0
mov rcx, rax
call fcn.1400cccb0
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0xd0]
call qword [rsp + 0x68]
mov dword [rsp + 0x2c], eax
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov qword [rsp + 0x78], rax
lea rdx, str.___NtUnloadDriver_Status_0x
lea rcx, [rsp + 0x117]
call fcn.1400cbef0
mov rcx, rax
call fcn.1400ccc30
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
call fcn.1400b5150
mov qword [rsp + 0x80], rax
lea rdx, [0x1400c1290]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov qword [rsp + 0x88], rax
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___long_int____ptr64]
mov qword [rsp + 0x90], rax
lea rdx, [0x1400b9a30]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
cmp dword [rsp + 0x2c], 0
je 0x1400ccb8e
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov qword [rsp + 0xa0], rax
lea rdx, str.____Driver_Unload_Failed__
lea rcx, [rsp + 0xfb]
call fcn.1400b9490
mov rcx, rax
call fcn.1400bfc50
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa0]
call fcn.1400b5150
mov qword [rsp + 0xa8], rax
lea rdx, [0x1400b9a30]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rcx, [rsp + 0x38]
call fcn.140020180
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [rsp + 0x28], eax
mov byte [rsp + 0x22], 0
lea rcx, [rsp + 0x38]
call fcn.1400201d0
nop
lea rcx, [rsp + 0xb0]
call fcn.1400201d0
movzx eax, byte [rsp + 0x22]
jmp 0x1400ccbf9
lea rcx, [rsp + 0x38]
call fcn.140020180
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x1400ccbd7
mov byte [rsp + 0x23], 0
lea rcx, [rsp + 0x38]
call fcn.1400201d0
nop
lea rcx, [rsp + 0xb0]
call fcn.1400201d0
movzx eax, byte [rsp + 0x23]
jmp 0x1400ccbf9
mov byte [rsp + 0x24], 1
lea rcx, [rsp + 0x38]
call fcn.1400201d0
nop
lea rcx, [rsp + 0xb0]
call fcn.1400201d0
movzx eax, byte [rsp + 0x24]
add rsp, 0x1f8
ret