Function at 0x140043280
Capabilities:
Delete registry key
Unload driver

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x100
mov rax, qword [0x140074040]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rdi, rcx
xor ebx, ebx
xorps xmm0, xmm0
movups xmmword [r11 - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [r11 - 0x50], xmm1
mov r8d, 0x34
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [r11 - 0x60]
call fcn.140042fc0
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1400432df
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rsp + 0xa8]
call fcn.140047850
lea rdx, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 0xf
cmova rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0xd8]
call qword [sym.imp.ntdll.dll_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0xc8]
call qword [sym.imp.ntdll.dll_RtlAnsiStringToUnicodeString]
lea rcx, [rsp + 0xc8]
call qword [sym.imp.ntdll.dll_NtUnloadDriver]
mov dword [rsp + 0x24], eax
mov rcx, qword [rdi + 0x10]
mov rax, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140043354
mov rax, qword [rdi]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rcx
call fcn.140055d08
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.140040650
nop
lea rcx, [rsp + 0x60]
call fcn.140041970
nop
lea r8, [rsp + 0x40]
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.140040ba0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x1400433e6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400433e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400433e1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140055000
movdqa xmm0, xmmword [0x14006a790]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], bx
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140043446
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140043439
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140043439
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140055000
movdqa xmm0, xmmword [0x14006a790]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], bx
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1400758b0], eax
jle 0x1400434ce
lea rcx, [0x1400758b0]
call fcn.140054c78
cmp dword [0x1400758b0], 0xffffffff
jne 0x1400434ce
xorps xmm0, xmm0
movups xmmword [0x1400758d0], xmm0
xorps xmm1, xmm1
movdqu xmmword [0x1400758e0], xmm1
mov r8d, 0x22
lea rdx, str.SystemCurrentControlSetServices_
lea rsi, [0x1400758d0]
mov rcx, rsi
call fcn.140042fc0
lea rcx, [0x1400577c0]
call fcn.140054fe8
nop
lea rcx, [0x1400758b0]
call fcn.140054c0c
jmp 0x1400434d5
lea rsi, [0x1400758d0]
cmp qword [0x1400758e8], 0xf
cmova rsi, qword [0x1400758d0]
lea r8, [rsp + 0x80]
mov rdx, rsi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp qword [rdi + 0x18], 0xf
jbe 0x140043507
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x140043532
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x140043532
mov al, 1
jmp 0x140043534
xor al, al
mov byte [rsp + 0x21], al
mov byte [rsp + 0x20], 0
mov eax, ebx
mov dword [rsp + 0x80], eax
cmp eax, 5
jge 0x1400435a5
lea rcx, [rsp + 0x88]
call fcn.140041860
test al, al
je 0x140043591
lea rcx, [rsp + 0x88]
cmp qword [rsp + 0xa0], 7
cmova rcx, qword [rsp + 0x88]
call fcn.1400563bc
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x1400436a6
mov byte [rsp + 0x20], 1
jmp 0x1400435a5
mov byte [rsp + 0x20], 1
jmp 0x1400435a5
lea rcx, [rsp + 0xc8]
call qword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
cmp dword [rsp + 0x24], 0
jne 0x1400435cd
cmp byte [rsp + 0x21], 0
je 0x1400435cd
cmp byte [rsp + 0x20], 0
je 0x1400435cd
mov dil, 1
jmp 0x1400435d0
xor dil, dil
mov rdx, qword [rsp + 0xa0]
cmp rdx, 7
jbe 0x14004361b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140043616
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140043616
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140055000
mov qword [rsp + 0x98], rbx
mov qword [rsp + 0xa0], 7
mov word [rsp + 0x88], bx
mov rdx, qword [rsp + 0xc0]
cmp rdx, 0xf
jbe 0x14004367d
inc rdx
mov rcx, qword [rsp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140043678
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140043678
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140055000
movzx eax, dil
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.140054bb0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
shr rdx, 0x20
lea r8, [rsp + 0x88]
call fcn.140041640
int3