Function at 0x140011710
Capabilities:
Delete registry key

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x10], 0xfffffffffffffffe
mov rdi, rcx
lea rcx, [0x14026fe0c]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1400117e0
mov r15, qword [rdi + 0x10]
movabs rdx, 0x7ffffffffffffffe
mov rcx, rdx
sub rcx, r15
cmp rcx, 0x33
jbe 0x140011aea
mov r13, qword [rdi]
mov rsi, qword [rdi + 0x18]
mov qword [rbp - 0x38], 0
lea r14, [r15 + 0x34]
lea rbx, [rbp - 0x38]
cmp r14, 8
mov qword [rbp - 0x40], rax
jb 0x1400117e7
mov rcx, r14
or rcx, 7
cmp rcx, rdx
ja 0x140011af4
cmp rcx, 0xb
mov r12d, 0xa
cmovae r12, rcx
lea rcx, [r12 + r12]
cmp r12, 0x7ff
jb 0x1400117f3
movabs rdx, 0x7fffffffffffffec
cmp r12, rdx
jae 0x140011af4
add rcx, 0x29
call fcn.1400ad850
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400117ff
xor esi, esi
jmp 0x140011ad4
lea rcx, [rbp + 0x30]
mov r12d, 7
jmp 0x14001180a
add rcx, 2
call fcn.1400ad850
mov rbx, rax
mov qword [rbp - 0x38], rbx
mov rcx, rbx
add rcx, 0x68
cmp rsi, 8
cmovb r13, rdi
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], r12
mov rax, qword [0x140270dba]
mov qword [rbx + 0x60], rax
movups xmm0, xmmword [0x140270daa]
movups xmmword [rbx + 0x50], xmm0
movups xmm0, xmmword [0x140270d9a]
movups xmmword [rbx + 0x40], xmm0
movups xmm0, xmmword [0x140270d8a]
movups xmmword [rbx + 0x30], xmm0
movups xmm0, xmmword [0x140270d7a]
movups xmmword [rbx + 0x20], xmm0
movups xmm0, xmmword [0x140270d6a]
movups xmmword [rbx + 0x10], xmm0
movups xmm0, xmmword [str.RegistryMachineSystemCurrentControlSetServices_]
movups xmmword [rbx], xmm0
lea r8, [r15 + r15]
mov rdx, r13
call fcn.1401d4a60
mov word [rbx + r15*2 + 0x68], 0
cmp qword [rbp - 0x20], 8
lea rdx, [rbp - 0x38]
jb 0x140011889
mov rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x58]
call sub.ntdll.dll_RtlInitUnicodeString
mov rbx, qword [rdi + 0x10]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, rbx
cmp rax, 0x21
jbe 0x140011aef
mov rdx, qword [rdi]
mov r12, qword [rdi + 0x18]
mov qword [rbp - 0x10], 0
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
lea r14, [rbx + 0x22]
lea r15, [rbp - 0x10]
mov r13d, 7
mov rsi, r15
cmp r14, 8
jb 0x14001194f
mov rax, r14
or rax, 7
cmp rax, rcx
ja 0x140011af9
cmp rax, 0xb
mov r13d, 0xa
cmovae r13, rax
mov rcx, r13
add rcx, r13
cmp r13, 0x7ff
mov qword [rbp - 0x18], rdx
jb 0x14001193b
movabs rax, 0x7fffffffffffffec
cmp r13, rax
jae 0x140011af9
add rcx, 0x29
call fcn.1400ad850
mov rsi, rax
add rsi, 0x27
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140011947
add rcx, 2
call fcn.1400ad850
mov rsi, rax
mov rdx, qword [rbp - 0x18]
mov qword [rbp - 0x10], rsi
lea rcx, [rsi + 0x44]
cmp r12, 8
cmovae rdi, rdx
mov qword [rbp], r14
mov qword [rbp + 8], r13
mov eax, dword [0x140270e04]
mov dword [rsi + 0x40], eax
movups xmm0, xmmword [0x140270df4]
movups xmmword [rsi + 0x30], xmm0
movups xmm0, xmmword [0x140270de4]
movups xmmword [rsi + 0x20], xmm0
movups xmm0, xmmword [0x140270dd4]
movups xmmword [rsi + 0x10], xmm0
movups xmm0, xmmword [str.SYSTEMCurrentControlSetServices_]
movups xmmword [rsi], xmm0
lea r8, [rbx + rbx]
mov rdx, rdi
call fcn.1401d4a60
mov word [rsi + rbx*2 + 0x44], 0
cmp qword [rbp + 8], 8
jb 0x1400119b5
mov r15, qword [rbp - 0x10]
lea r8, [rbp - 0x48]
mov rcx, 0xffffffff80000002
mov rdx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x1400119d9
mov sil, 1
cmp eax, 2
je 0x140011a50
xor esi, esi
jmp 0x140011a50
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.NtUnloadDriver
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp - 0x58]
call rax
test eax, eax
je 0x140011a17
lea rcx, str.____Driver_Unload_Failed__n_
call fcn.1400040b0
cmp qword [rbp + 8], 8
jb 0x140011a24
mov rdx, qword [rbp - 0x10]
jmp 0x140011a28
cmp qword [rbp + 8], 8
jb 0x140011a39
mov rdx, qword [rbp - 0x10]
jmp 0x140011a3d
lea rdx, [rbp - 0x10]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
xor esi, esi
jmp 0x140011a50
lea rdx, [rbp - 0x10]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
test eax, eax
sete sil
mov rax, qword [rbp + 8]
cmp rax, 8
jb 0x140011a92
mov rcx, qword [rbp - 0x10]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x140011a8d
mov rdx, rcx
add rdx, 0xfffffffffffffff8
mov rcx, qword [rcx - 8]
sub rdx, rcx
cmp rdx, 0x20
jae 0x140011afe
add rax, rax
add rax, 0x29
mov rdx, rax
call fcn.1400ad894
mov rax, qword [rbp - 0x20]
cmp rax, 8
jb 0x140011ad4
mov rcx, qword [rbp - 0x38]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x140011acf
mov rdx, rcx
add rdx, 0xfffffffffffffff8
mov rcx, qword [rcx - 8]
sub rdx, rcx
cmp rdx, 0x20
jae 0x140011afe
add rax, rax
add rax, 0x29
mov rdx, rax
call fcn.1400ad894
mov eax, esi
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.1400035c0
call fcn.1400035c0
call fcn.1400035e0
call fcn.1400035e0
call fcn.1401e54b4
int3