Function at 0x1400343b0
Capabilities:
Delete registry key

Disassembly:
jmp 0x14007f940
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x578
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xf6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x598]
mov rax, qword [0x1400c5040]
xor rax, rbp
mov qword [rbp + 0x548], rax
lea rcx, [0x1400d550e]
call fcn.140034f86
lea rdx, str.ntdll.dll
lea rcx, [rbp + 0x2d8]
call fcn.140035125
mov rcx, rax
call fcn.140033988
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x14007f9bf
xor al, al
jmp 0x14007fc6b
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp + 0x310]
call fcn.140033e97
mov rcx, rax
call fcn.140033717
mov r8, qword [rbp + 0x570]
mov rdx, rax
lea rcx, [rbp + 0x28]
call fcn.1400351c0
nop
lea rcx, [rbp + 0x28]
call fcn.140033ab9
mov rdx, rax
lea rcx, [rbp + 0x68]
call fcn.140034e28
lea rdx, str.SYSTEMCurrentControlSetServices_
lea rcx, [rbp + 0x3a0]
call fcn.140034004
mov rcx, rax
call fcn.1400350f3
mov r8, qword [rbp + 0x570]
mov rdx, rax
lea rcx, [rbp + 0xb8]
call fcn.1400351c0
nop
lea rcx, [rbp + 0xb8]
call fcn.140033ab9
lea r8, [rbp + 0x98]
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [rbp + 0xf4], eax
cmp dword [rbp + 0xf4], 0
je 0x14007fac2
cmp dword [rbp + 0xf4], 2
jne 0x14007fa99
mov byte [rbp + 0x404], 1
lea rcx, [rbp + 0xb8]
call fcn.140034ad6
nop
lea rcx, [rbp + 0x28]
call fcn.140034ad6
movzx eax, byte [rbp + 0x404]
jmp 0x14007fc6b
mov byte [rbp + 0x424], 0
lea rcx, [rbp + 0xb8]
call fcn.140034ad6
nop
lea rcx, [rbp + 0x28]
call fcn.140034ad6
movzx eax, byte [rbp + 0x424]
jmp 0x14007fc6b
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.NtUnloadDriver
lea rcx, [rbp + 0x448]
call fcn.1400332d5
mov rcx, rax
call fcn.140034063
mov rdx, rax
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x118], rax
lea rcx, [rbp + 0x68]
call qword [rbp + 0x118]
mov dword [rbp + 0x134], eax
lea rdx, str.___NtUnloadDriver_Status_0x
lea rcx, [rbp + 0x478]
call fcn.140034707
mov rcx, rax
call fcn.140033f73
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140034149
lea rdx, [0x140034ccf]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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 edx, dword [rbp + 0x134]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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]
lea rdx, [0x140033fa0]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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 [rbp + 0x134], 0
je 0x14007fbf6
lea rdx, str.____Driver_Unload_Failed__
lea rcx, [rbp + 0x4b8]
call fcn.140033c99
mov rcx, rax
call fcn.140034540
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140034149
lea rdx, [0x140033fa0]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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, [rbp + 0xb8]
call fcn.140033ab9
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [rbp + 0xf4], eax
mov byte [rbp + 0x4f4], 0
lea rcx, [rbp + 0xb8]
call fcn.140034ad6
nop
lea rcx, [rbp + 0x28]
call fcn.140034ad6
movzx eax, byte [rbp + 0x4f4]
jmp 0x14007fc6b
lea rcx, [rbp + 0xb8]
call fcn.140033ab9
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [rbp + 0xf4], eax
cmp dword [rbp + 0xf4], 0
je 0x14007fc47
mov byte [rbp + 0x514], 0
lea rcx, [rbp + 0xb8]
call fcn.140034ad6
nop
lea rcx, [rbp + 0x28]
call fcn.140034ad6
movzx eax, byte [rbp + 0x514]
jmp 0x14007fc6b
mov byte [rbp + 0x534], 1
lea rcx, [rbp + 0xb8]
call fcn.140034ad6
nop
lea rcx, [rbp + 0x28]
call fcn.140034ad6
movzx eax, byte [rbp + 0x534]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400b5b90]
call fcn.140034a22
mov rax, rdi
mov rcx, qword [rbp + 0x548]
xor rcx, rbp
call fcn.140033f7d
lea rsp, [rbp + 0x558]
pop rdi
pop rbp
ret