Function at 0x1408f0140
Capabilities:
Delete registry key

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov qword [r11 + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x100
mov rax, qword [0x14095e040]
xor rax, rsp
mov qword [rsp + 0xf8], rax
xor esi, esi
mov r12d, esi
mov dword [r11 - 0x90], esi
xorps xmm0, xmm0
movups xmmword [r11 - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [r11 - 0x58], xmm1
lea r8d, [rsi + 0x34]
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [r11 - 0x68]
call fcn.1408effc0
nop
lea rdi, [0x14095e098]
mov rdx, rdi
cmp qword [0x14095e0b0], 0x10
cmovae rdx, qword [0x14095e098]
mov r8, qword [0x14095e0a8]
lea rcx, [rsp + 0xb0]
call fcn.1408f5680
mov ebx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rbx + rcx]
cmp dword [0x14095f6d0], eax
jle 0x1408f0233
lea rcx, [0x14095f6d0]
call fcn.140908df0
cmp dword [0x14095f6d0], 0xffffffff
jne 0x1408f0233
lea rcx, [0x1409537c0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtUnloadDriver
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14095f6c0], rax
lea rcx, [0x14095f6d0]
call fcn.140908d84
cmp qword [0x14095f6c0], 0
je 0x1408f06ad
lea rdx, [rsp + 0xb0]
cmp qword [rsp + 0xc8], 0x10
cmovae rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0xd0]
call qword [sym.imp.ntdll.dll_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xe0]
call qword [sym.imp.ntdll.dll_RtlAnsiStringToUnicodeString]
lea rcx, [rsp + 0xe0]
call qword [0x14095f6c0]
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x5c], eax
lea rcx, [rsp + 0x68]
call fcn.1408ef8e0
nop
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.1408eee10
nop
mov rdx, rdi
cmp qword [0x14095e0b0], 0x10
cmovae rdx, qword [0x14095e098]
mov r8, qword [0x14095e0a8]
mov rcx, rax
call fcn.1408f5680
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0xa8], rsi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x90], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xa0], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or r12d, 1
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x1408f0358
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1408f0353
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1408f0353
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140908d40
movdqa xmm0, xmmword [0x1409583a0]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x1408f03b3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1408f03ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1408f03ae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140908d40
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rbx + rcx]
cmp dword [0x14095f670], eax
jle 0x1408f042b
lea rcx, [0x14095f670]
call fcn.140908df0
cmp dword [0x14095f670], 0xffffffff
jne 0x1408f042b
xorps xmm0, xmm0
movups xmmword [0x14095f678], xmm0
xorps xmm1, xmm1
movdqu xmmword [0x14095f688], xmm1
mov r8d, 0x22
lea rdx, str.SystemCurrentControlSetServices_
lea rbx, [0x14095f678]
mov rcx, rbx
call fcn.1408effc0
lea rcx, [0x14090b140]
call fcn.1409090dc
nop
lea rcx, [0x14095f670]
call fcn.140908d84
jmp 0x1408f0432
lea rbx, [0x14095f678]
cmp qword [0x14095f690], 0x10
cmovae rbx, qword [0x14095f678]
lea r8, [rsp + 0x88]
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp qword [0x14095e0b0], 0x10
cmovae rdi, qword [0x14095e098]
mov rdx, rdi
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x1408f0496
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x1408f0496
mov dil, 1
jmp 0x1408f0499
xor dil, dil
mov byte [rsp + 0x30], dil
lea rax, [rsp + 0x38]
mov qword [rsp + 0x60], rax
mov r14, qword [rsp + 0xa0]
lea r15, [rsp + 0x90]
cmp qword [rsp + 0xa8], 0x10
cmovae r15, qword [rsp + 0x90]
call fcn.140908308
mov r13d, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rsi
mov edx, 7
mov qword [rsp + 0x50], rdx
mov word [rsp + 0x38], si
or r12d, 8
mov dword [rsp + 0x88], r12d
test r14, r14
je 0x1408f0577
cmp r14, 0x7fffffff
ja 0x1408f0727
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8d, r14d
mov rdx, r15
mov ecx, r13d
call fcn.140908330
mov rbx, rax
shr rax, 0x20
test eax, eax
jne 0x1408f072f
xor r8d, r8d
movsxd rdx, ebx
lea rcx, [rsp + 0x38]
call fcn.1408f51b0
lea r9, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae r9, qword [rsp + 0x38]
mov dword [rsp + 0x20], ebx
mov r8d, r14d
mov rdx, r15
mov ecx, r13d
call fcn.140908330
mov rcx, rax
shr rax, 0x20
test eax, eax
jne 0x1408f073a
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x38]
cmp rdx, 8
cmovae rcx, qword [rsp + 0x38]
call fcn.1409089bc
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x1408f0744
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x1408f05e0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1408f05da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1408f05da
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140908d40
nop
mov eax, dword [rsp + 0x58]
jmp 0x1408f05f1
test eax, eax
jne 0x1408f05fe
test dil, dil
je 0x1408f05fe
mov bl, 1
jmp 0x1408f0600
xor bl, bl
mov rdx, qword [rsp + 0xa8]
cmp rdx, 0x10
jb 0x1408f0646
inc rdx
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1408f0641
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1408f0641
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140908d40
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0xa8], 0xf
mov byte [rsp + 0x90], 0
mov rdx, qword [rsp + 0xc8]
cmp rdx, 0x10
jb 0x1408f06a8
inc rdx
mov rcx, qword [rsp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1408f06a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1408f06a3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140908d40
movzx eax, bl
jmp 0x1408f06f5
mov rdx, qword [rsp + 0xc8]
cmp rdx, 0x10
jb 0x1408f06f3
inc rdx
mov rcx, qword [rsp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1408f06ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1408f06ee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140908d40
xor al, al
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.140908d20
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret
lea ecx, [rdx + 0xf]
call fcn.1408eeae0
shr rbx, 0x20
mov ecx, ebx
call fcn.1408eedb0
shr rcx, 0x20
call fcn.1408eedb0
nop
shr rdx, 0x20
lea r8, [rsp + 0x38]
lea rcx, str.remove
call fcn.1408ef810
int3