Function at 0x140036de0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x1400cd080]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rbx, rcx
xor r14d, r14d
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rsi, rax
test rax, rax
je 0x1400371d1
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140036e40
add r8, qword [rbx]
mov rdx, qword [rbx]
jmp 0x140036e46
add r8, rbx
mov rdx, rbx
lea rcx, [rbp - 0x58]
call fcn.140037200
nop
lea r8, [rbp - 0x58]
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp]
call fcn.140008460
mov rdi, rax
lea rax, [rbp - 0x58]
cmp rax, rdi
je 0x140036edd
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x140036eac
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140036ea7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140036f14
call fcn.14009d470
movdqa xmm0, xmmword [0x1400bd0e0]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], r14w
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 7
mov word [rdi], r14w
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x140036f20
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140036f1b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140036f1b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009d470
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rdx, qword [rbp - 0x58]
lea rcx, [rbp - 0x18]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov rcx, qword [rbx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0x22
jb 0x1400371fa
cmp qword [rbx + 0x18], 0x10
jb 0x140036f5d
mov rbx, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], Ordinal_35
lea r9, str.SYSTEMCurrentControlSetServices_
lea rcx, [rbp - 0x38]
call fcn.140029c60
nop
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0x10
cmovae rdx, qword [rbp - 0x38]
lea r8, [rbp - 0x60]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x140036faf
cmp eax, 2
sete bl
jmp 0x14003713c
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.NtUnloadDriver
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp - 0x18]
call rax
mov ebx, eax
movabs rdi, 0xa44fecceb972c7c7
mov qword [rbp], rdi
movabs rsi, 0xb125b14f7e0d8f48
mov qword [rbp + 8], rsi
movabs r14, 0x8879d6d003946d59
mov qword [rbp + 0x10], r14
movabs r15, 0x364a06212f0bad6a
mov qword [rbp + 0x18], r15
movabs rdx, 0x5f91d322a1c5eeab
mov qword [rbp + 0x20], rdx
movabs rcx, 0xa5b51b8325e7733c
mov qword [rbp + 0x28], rcx
movabs rax, 0xca1a9880992fec9c
mov qword [rsp + 0x40], rax
movabs rax, 0xc74cc30b1a6ce024
mov qword [rsp + 0x48], rax
movabs rax, 0xfd0db7a450b41f3c
mov qword [rsp + 0x50], rax
movabs rax, 0x3c326a04573b8d19
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rcx
movups xmm0, xmmword [rsp + 0x40]
movups xmm1, xmmword [rsp + 0x50]
movups xmm2, xmmword [rsp + 0x60]
xorps xmm0, xmmword [rbp]
movdqa xmmword [rsp + 0x70], xmm0
xorps xmm1, xmmword [rbp + 0x10]
movdqa xmmword [rbp - 0x80], xmm1
xorps xmm2, xmmword [rbp + 0x20]
movdqa xmmword [rbp - 0x70], xmm2
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.140001990
test ebx, ebx
je 0x140037117
mov qword [rbp], rdi
mov qword [rbp + 8], rsi
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], r15
movabs rax, 0xd2269e8a992fea9c
mov qword [rsp + 0x70], rax
movabs rax, 0xd04add212b2dfd2d
mov qword [rsp + 0x78], rax
movabs rax, 0xec1cbab962d24d3d
mov qword [rbp - 0x80], rax
movabs rax, 0x364a06212f018c4b
mov qword [rbp - 0x78], rax
movups xmm0, xmmword [rsp + 0x70]
movups xmm1, xmmword [rbp - 0x80]
xorps xmm0, xmmword [rbp]
movdqa xmmword [rsp + 0x40], xmm0
xorps xmm1, xmmword [rbp + 0x10]
movdqa xmmword [rsp + 0x50], xmm1
lea rcx, [rsp + 0x40]
call fcn.140001990
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0x10
cmovae rdx, qword [rbp - 0x38]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x14003713a
xor bl, bl
jmp 0x14003713c
mov bl, 1
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14003717a
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037175
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037175
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009d470
movdqa xmm0, xmmword [0x1400bd0f0]
movdqu xmmword [rbp - 0x28], xmm0
mov byte [rbp - 0x38], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x1400371ce
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400371c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400371c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009d470
movzx eax, bl
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.14009d450
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140002600
nop