Function at 0x1400029a0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x140065770]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov r14d, r8d
mov rdi, rdx
mov rsi, rcx
xor ebx, ebx
mov qword [rsp + 0x68], rbx
test rdx, rdx
je 0x140002e8f
mov eax, dword [0x1400493e0]
cmp dword [rcx], eax
jne 0x140002a16
mov eax, dword [0x1400493e4]
cmp dword [rcx + 4], eax
jne 0x140002a16
mov eax, dword [0x1400493e8]
cmp dword [rcx + 8], eax
jne 0x140002a16
mov eax, dword [0x1400493ec]
cmp dword [rcx + 0xc], eax
je 0x140002e8f
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [0x14005a078]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140049400]
call qword [0x1400650b0]
test eax, eax
js 0x140002e8f
mov ecx, dword [rdi]
test ecx, ecx
je 0x140002abb
nop dword [rax + rax]
mov rax, qword [rdi + 8]
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x50], xmm0
lea r9, [rbp - 0x50]
mov r8d, 1
mov rdx, rsi
test r14d, r14d
je 0x140002a94
cmp ecx, r8d
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
jne 0x140002a80
mov rax, qword [rax + 0x28]
jmp 0x140002a84
mov rax, qword [rax + 0x38]
call qword [case.0x1400126da.0]
test eax, eax
js 0x140002e91
jmp 0x140002ab1
cmp ecx, 1
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
jne 0x140002aa7
mov rax, qword [rax + 0x30]
jmp 0x140002aab
mov rax, qword [rax + 0x40]
call qword [case.0x1400126da.0]
add rdi, 0x10
mov ecx, dword [rdi]
test ecx, ecx
jne 0x140002a50
test r14d, r14d
jne 0x140002e93
lea r8d, [r14 + 0x40]
lea rdx, [rbp + 0xc0]
mov rcx, rsi
call qword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
jne 0x140002ae5
lea eax, [r14 + 0xd]
jmp 0x140002e91
mov qword [rbp - 0x58], rbx
lea r8, str.CLSID_
mov edx, 0x80
lea rcx, [rbp - 0x40]
call fcn.14002f798
test eax, eax
je 0x140002b14
cmp eax, 0xc
je 0x140002edf
cmp eax, 0x50
jne 0x140002ed9
lea r8, [rbp + 0xc0]
mov edx, 0x80
lea rcx, [rbp - 0x40]
call fcn.14002f800
test eax, eax
je 0x140002b3f
cmp eax, 0xc
je 0x140002edf
cmp eax, 0x50
jne 0x140002ed9
lea r8, str.Required_Categories
mov edx, 0x80
lea rcx, [rbp - 0x40]
call fcn.14002f800
test eax, eax
je 0x140002b6a
cmp eax, 0xc
je 0x140002edf
cmp eax, 0x50
jne 0x140002ed9
mov qword [rbp - 0x70], 0xffffffff80000000
mov dword [rbp - 0x68], ebx
mov qword [rbp - 0x60], rbx
mov rdi, rbx
mov qword [rsp + 0x78], rbx
mov dword [rbp - 0x80], ebx
mov qword [rbp - 0x78], rbx
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x70], rbx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp - 0x40]
mov rcx, 0xffffffff80000000
call qword [0x140065098]
test eax, eax
jne 0x140002ca8
mov dword [rbp - 0x80], ebx
mov rdi, qword [rsp + 0x70]
mov qword [rsp + 0x78], rdi
mov dword [rbp - 0x80], ebx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
movsxd rsi, eax
test rdi, rdi
je 0x140002c24
mov rcx, rdi
call qword [0x140065090]
mov rdi, rbx
mov qword [rsp + 0x78], rbx
mov dword [rbp - 0x80], ebx
test rsi, rsi
jne 0x140002ca8
cmp dword [rsp + 0x60], esi
jne 0x140002ca8
cmp byte [0x14006caf8], sil
jne 0x140002c7d
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002c6d
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14006caf0], rax
mov byte [0x14006caf8], 1
jmp 0x140002c84
mov rax, qword [0x14006caf0]
mov byte [0x14006caf8], 1
jmp 0x140002c84
mov rax, qword [0x14006caf0]
lea rdx, [rbp - 0x40]
mov rcx, 0xffffffff80000000
test rax, rax
je 0x140002ca2
xor r9d, r9d
xor r8d, r8d
call qword [case.0x1400126da.0]
jmp 0x140002ca8
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea r8, str.CLSID_
mov edx, 0x80
lea rcx, [rbp - 0x40]
call fcn.14002f798
test eax, eax
je 0x140002cd3
cmp eax, 0xc
je 0x140002ed3
cmp eax, 0x50
jne 0x140002ee5
lea r8, [rbp + 0xc0]
mov edx, 0x80
lea rcx, [rbp - 0x40]
call fcn.14002f800
test eax, eax
je 0x140002cfe
cmp eax, 0xc
je 0x140002ed3
cmp eax, 0x50
jne 0x140002ee5
lea r8, str.Implemented_Categories
mov edx, 0x80
lea rcx, [rbp - 0x40]
call fcn.14002f800
test eax, eax
je 0x140002d29
cmp eax, 0xc
je 0x140002ed3
cmp eax, 0x50
jne 0x140002ee5
mov qword [rsp + 0x70], rbx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp - 0x40]
mov rcx, 0xffffffff80000000
call qword [0x140065098]
test eax, eax
jne 0x140002e63
mov eax, ebx
test rdi, rdi
je 0x140002d6f
mov rcx, rdi
call qword [0x140065090]
mov qword [rsp + 0x78], rbx
mov dword [rbp - 0x80], ebx
mov rdi, qword [rsp + 0x70]
mov qword [rsp + 0x78], rdi
mov dword [rbp - 0x80], ebx
test eax, eax
jne 0x140002e63
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
movsxd rsi, eax
test rdi, rdi
je 0x140002dde
mov rcx, rdi
call qword [0x140065090]
mov rdi, rbx
mov qword [rsp + 0x78], rbx
mov dword [rbp - 0x80], ebx
test rsi, rsi
jne 0x140002e63
cmp dword [rsp + 0x60], esi
jne 0x140002e63
cmp byte [0x14006caf8], sil
jne 0x140002e37
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002e27
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14006caf0], rax
mov byte [0x14006caf8], 1
jmp 0x140002e3e
mov rax, qword [0x14006caf0]
mov byte [0x14006caf8], 1
jmp 0x140002e3e
mov rax, qword [0x14006caf0]
lea rdx, [rbp - 0x40]
mov rcx, 0xffffffff80000000
test rax, rax
je 0x140002e5c
xor r9d, r9d
xor r8d, r8d
call qword [case.0x1400126da.0]
jmp 0x140002e63
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
nop
test rdi, rdi
je 0x140002e76
mov rcx, rdi
call qword [0x140065090]
mov qword [rsp + 0x78], rbx
mov dword [rbp - 0x80], ebx
mov rcx, 0xffffffff80000000
call qword [0x140065090]
mov qword [rbp - 0x70], rbx
mov dword [rbp - 0x68], ebx
jmp 0x140002e93
mov eax, ebx
mov ebx, eax
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140002eaa
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [case.0x1400126da.0]
mov eax, ebx
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140028810
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1400097ac
nop
call fcn.140009788
int3
call fcn.1400097ac
nop
call fcn.140009788
int3