Function at 0x1400029d0
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 [0x1400677b0]
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 0x140002ebf
mov eax, dword [0x14004b310]
cmp dword [rcx], eax
jne 0x140002a46
mov eax, dword [0x14004b314]
cmp dword [rcx + 4], eax
jne 0x140002a46
mov eax, dword [0x14004b318]
cmp dword [rcx + 8], eax
jne 0x140002a46
mov eax, dword [0x14004b31c]
cmp dword [rcx + 0xc], eax
je 0x140002ebf
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [0x14005b848]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x14004b330]
call qword [0x1400670c0]
test eax, eax
js 0x140002ebf
mov ecx, dword [rdi]
test ecx, ecx
je 0x140002aeb
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 0x140002ac4
cmp ecx, r8d
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
jne 0x140002ab0
mov rax, qword [rax + 0x28]
jmp 0x140002ab4
mov rax, qword [rax + 0x38]
call qword [case.0x14001287a.0]
test eax, eax
js 0x140002ec1
jmp 0x140002ae1
cmp ecx, 1
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
jne 0x140002ad7
mov rax, qword [rax + 0x30]
jmp 0x140002adb
mov rax, qword [rax + 0x40]
call qword [case.0x14001287a.0]
add rdi, 0x10
mov ecx, dword [rdi]
test ecx, ecx
jne 0x140002a80
test r14d, r14d
jne 0x140002ec3
lea r8d, [r14 + 0x40]
lea rdx, [rbp + 0xc0]
mov rcx, rsi
call qword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
jne 0x140002b15
lea eax, [r14 + 0xd]
jmp 0x140002ec1
mov qword [rbp - 0x58], rbx
lea r8, str.CLSID_
mov edx, 0x80
lea rcx, [rbp - 0x40]
call fcn.140030140
test eax, eax
je 0x140002b44
cmp eax, 0xc
je 0x140002f0f
cmp eax, 0x50
jne 0x140002f09
lea r8, [rbp + 0xc0]
mov edx, 0x80
lea rcx, [rbp - 0x40]
call fcn.1400301a8
test eax, eax
je 0x140002b6f
cmp eax, 0xc
je 0x140002f0f
cmp eax, 0x50
jne 0x140002f09
lea r8, str.Required_Categories
mov edx, 0x80
lea rcx, [rbp - 0x40]
call fcn.1400301a8
test eax, eax
je 0x140002b9a
cmp eax, 0xc
je 0x140002f0f
cmp eax, 0x50
jne 0x140002f09
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 [0x1400670a8]
test eax, eax
jne 0x140002cd8
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 0x140002c54
mov rcx, rdi
call qword [0x140067098]
mov rdi, rbx
mov qword [rsp + 0x78], rbx
mov dword [rbp - 0x80], ebx
test rsi, rsi
jne 0x140002cd8
cmp dword [rsp + 0x60], esi
jne 0x140002cd8
cmp byte [0x14006ea18], sil
jne 0x140002cad
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002c9d
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14006ea10], rax
mov byte [0x14006ea18], 1
jmp 0x140002cb4
mov rax, qword [0x14006ea10]
mov byte [0x14006ea18], 1
jmp 0x140002cb4
mov rax, qword [0x14006ea10]
lea rdx, [rbp - 0x40]
mov rcx, 0xffffffff80000000
test rax, rax
je 0x140002cd2
xor r9d, r9d
xor r8d, r8d
call qword [case.0x14001287a.0]
jmp 0x140002cd8
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea r8, str.CLSID_
mov edx, 0x80
lea rcx, [rbp - 0x40]
call fcn.140030140
test eax, eax
je 0x140002d03
cmp eax, 0xc
je 0x140002f03
cmp eax, 0x50
jne 0x140002f15
lea r8, [rbp + 0xc0]
mov edx, 0x80
lea rcx, [rbp - 0x40]
call fcn.1400301a8
test eax, eax
je 0x140002d2e
cmp eax, 0xc
je 0x140002f03
cmp eax, 0x50
jne 0x140002f15
lea r8, str.Implemented_Categories
mov edx, 0x80
lea rcx, [rbp - 0x40]
call fcn.1400301a8
test eax, eax
je 0x140002d59
cmp eax, 0xc
je 0x140002f03
cmp eax, 0x50
jne 0x140002f15
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 [0x1400670a8]
test eax, eax
jne 0x140002e93
mov eax, ebx
test rdi, rdi
je 0x140002d9f
mov rcx, rdi
call qword [0x140067098]
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 0x140002e93
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 0x140002e0e
mov rcx, rdi
call qword [0x140067098]
mov rdi, rbx
mov qword [rsp + 0x78], rbx
mov dword [rbp - 0x80], ebx
test rsi, rsi
jne 0x140002e93
cmp dword [rsp + 0x60], esi
jne 0x140002e93
cmp byte [0x14006ea18], sil
jne 0x140002e67
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002e57
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14006ea10], rax
mov byte [0x14006ea18], 1
jmp 0x140002e6e
mov rax, qword [0x14006ea10]
mov byte [0x14006ea18], 1
jmp 0x140002e6e
mov rax, qword [0x14006ea10]
lea rdx, [rbp - 0x40]
mov rcx, 0xffffffff80000000
test rax, rax
je 0x140002e8c
xor r9d, r9d
xor r8d, r8d
call qword [case.0x14001287a.0]
jmp 0x140002e93
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
nop
test rdi, rdi
je 0x140002ea6
mov rcx, rdi
call qword [0x140067098]
mov qword [rsp + 0x78], rbx
mov dword [rbp - 0x80], ebx
mov rcx, 0xffffffff80000000
call qword [0x140067098]
mov qword [rbp - 0x70], rbx
mov dword [rbp - 0x68], ebx
jmp 0x140002ec3
mov eax, ebx
mov ebx, eax
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140002eda
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [case.0x14001287a.0]
mov eax, ebx
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140028a70
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.140009ecc
nop
call fcn.140009ea8
int3
call fcn.140009ecc
nop
call fcn.140009ea8
int3