Function at 0x1400748a0
Capabilities:
Delete registry key
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x218
mov rax, qword [0x140109080]
xor rax, rsp
mov qword [rsp + 0x200], rax
mov dword [rsp + 0x28], 0
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rsp + 0x198]
call fcn.1400801d0
nop
mov rdx, qword [rsp + 0x230]
lea rcx, [rsp + 0x198]
call fcn.14007ff10
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x14010d908], eax
jle 0x140074955
lea rcx, [0x14010d908]
call fcn.1400b9f70
cmp dword [0x14010d908], 0xffffffff
jne 0x140074955
lea rcx, [0x1400f6de8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.NtUnloadDriver
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14010d4f8], rax
lea rcx, [0x14010d908]
call fcn.1400b9f04
cmp qword [0x14010d4f8], 0
je 0x140074e11
lea rax, [rsp + 0x198]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x18], 0xf
jbe 0x140074990
mov dword [rsp + 0x30], 1
jmp 0x140074998
mov dword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x1400749c7
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x1b8]
call qword [sym.imp.ntdll.dll_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rsp + 0x1b8]
lea rcx, [rsp + 0x1c8]
call qword [sym.imp.ntdll.dll_RtlAnsiStringToUnicodeString]
mov rax, qword [0x14010d4f8]
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0x1c8]
call qword [rsp + 0xa0]
test eax, eax
jne 0x140074a3c
mov byte [rsp + 0x20], 1
jmp 0x140074a41
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x24], al
lea rcx, [rsp + 0x170]
call fcn.1400746c0
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc0], rax
lea rdx, [rsp + 0x160]
mov rcx, qword [rsp + 0xc0]
call fcn.14007f620
lea rcx, [rsp + 0x110]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x2c]
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x140]
call fcn.14008dc10
mov eax, dword [rsp + 0x28]
or eax, 4
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
or eax, 2
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x140]
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsp + 0x230]
mov rcx, qword [rsp + 0xc8]
call fcn.14007ff10
mov rdx, rax
lea rcx, [rsp + 0x1d8]
call fcn.1400800a0
mov eax, dword [rsp + 0x28]
or eax, 8
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x140]
call fcn.1400828c0
nop
lea rax, [rsp + 0x170]
mov rcx, rax
call fcn.140082370
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x14010cf0c], eax
jle 0x140074c26
lea rcx, [0x14010cf0c]
call fcn.1400b9f70
cmp dword [0x14010cf0c], 0xffffffff
jne 0x140074c26
lea rax, [0x14010d260]
mov qword [rsp + 0xd0], rax
movzx edx, byte [rsp + 0x2d]
mov rcx, qword [rsp + 0xd0]
call fcn.14008a880
nop
lea rax, str.SystemCurrentControlSetServices_
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0x40], 0xffffffffffffffff
inc qword [rsp + 0x40]
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x40]
cmp byte [rax + rcx], 0
jne 0x140074bbc
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xe8], rax
mov r8, qword [rsp + 0xe8]
lea rdx, str.SystemCurrentControlSetServices_
lea rcx, [0x14010d260]
call fcn.14008aba0
nop
lea rcx, [0x1400e9110]
call fcn.1400ba24c
nop
lea rcx, [0x14010cf0c]
call fcn.1400b9f04
lea rax, [0x14010d260]
mov rcx, rax
call fcn.140083850
mov qword [rsp + 0xf0], rax
lea r8, [rsp + 0x190]
mov rdx, qword [rsp + 0xf0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x230]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x18], 0xf
jbe 0x140074c98
mov dword [rsp + 0x34], 1
jmp 0x140074ca0
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x140074ccf
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x140074d2c
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x140074d2c
mov dword [rsp + 0x38], 1
jmp 0x140074d34
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x25], al
lea rax, [rsp + 0x23]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x120]
movzx r8d, byte [rsp + 0x23]
lea rdx, [rsp + 0x1d8]
mov rcx, rax
call fcn.14008dd50
nop
lea rcx, [rsp + 0x120]
call fcn.140073630
mov rcx, rax
call fcn.140092a1c
mov qword [rsp + 0x58], rax
cmp dword [rsp + 0x5c], 0
je 0x140074da6
lea r8, [rsp + 0x120]
mov edx, dword [rsp + 0x5c]
lea rcx, str.remove
call fcn.140073ed0
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x2e], al
lea rax, [rsp + 0x120]
mov rcx, rax
call fcn.140082370
nop
jmp 0x140074dc2
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x140074dde
movzx eax, byte [rsp + 0x25]
test eax, eax
je 0x140074dde
mov dword [rsp + 0x3c], 1
jmp 0x140074de6
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x26], al
lea rcx, [rsp + 0x1d8]
call fcn.1400828c0
nop
lea rcx, [rsp + 0x198]
call fcn.1400828c0
movzx eax, byte [rsp + 0x26]
jmp 0x140074e28
mov byte [rsp + 0x27], 0
lea rcx, [rsp + 0x198]
call fcn.1400828c0
movzx eax, byte [rsp + 0x27]
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.1400b9ea0
add rsp, 0x218
pop rdi
pop rsi
ret