Function at 0x43bff0
Capabilities:
Delete registry key

Disassembly:
mov r11, rsp
sub rsp, 0x248
mov rax, qword [0x006443a8]
xor rax, rsp
mov qword [rsp + 0x210], rax
mov qword [r11 + 0x20], rbx
mov qword [r11 - 8], rbp
mov qword [r11 - 0x18], rdi
mov qword [r11 - 0x20], r12
xor r12d, r12d
test rdx, rdx
mov ebp, r8d
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x68], r12
je 0x43c095
mov eax, dword [0x005ea1e8]
cmp dword [rcx], eax
jne 0x43c05d
mov eax, dword [0x005ea1ec]
cmp dword [rcx + 4], eax
jne 0x43c05d
mov eax, dword [0x005ea1f0]
cmp dword [rcx + 8], eax
jne 0x43c05d
mov eax, dword [0x005ea1f4]
cmp dword [rcx + 0xc], eax
je 0x43c095
xor edx, edx
lea rax, [rsp + 0x68]
lea r9, [0x005b3bf0]
lea r8d, [rdx + 1]
lea rcx, [0x005ea1c8]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x43c09c
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x43c095
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
xor eax, eax
jmp 0x43c53a
cmp dword [rbx], r12d
mov qword [rsp + 0x238], rsi
je 0x43c180
nop
test ebp, ebp
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x80]
mov eax, dword [rcx]
mov dword [rdx], eax
mov eax, dword [rcx + 4]
mov dword [rdx + 4], eax
mov eax, dword [rcx + 8]
mov dword [rdx + 8], eax
mov eax, dword [rcx + 0xc]
mov dword [rdx + 0xc], eax
je 0x43c134
cmp dword [rbx], 1
jne 0x43c0fb
mov rcx, qword [rsp + 0x68]
lea r9, [rsp + 0x80]
mov r8d, 1
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayAllocDescriptorEx]
mov esi, eax
jmp 0x43c119
mov rcx, qword [rsp + 0x68]
lea r9, [rsp + 0x80]
mov r8d, 1
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 0x38]
mov esi, eax
test esi, esi
jns 0x43c173
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x43c12d
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov eax, esi
jmp 0x43c532
cmp dword [rbx], 1
jne 0x43c157
mov rcx, qword [rsp + 0x68]
lea r9, [rsp + 0x80]
mov r8d, 1
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 0x30]
jmp 0x43c173
mov rcx, qword [rsp + 0x68]
lea r9, [rsp + 0x80]
mov r8d, 1
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 0x40]
add rbx, 0x10
cmp dword [rbx], r12d
jne 0x43c0b0
test ebp, ebp
jne 0x43c520
lea r8d, [rbp + 0x40]
lea rdx, [rsp + 0x190]
mov rcx, rdi
call qword [sym.imp.ole32.dll_StringFromGUID2]
call qword [0x006436c0]
lea r8, str.CLSID_
lea rcx, [rsp + 0x90]
mov edx, 0x80
call fcn.0056ad50
test eax, eax
je 0x43c1f5
cmp eax, 0xc
je 0x43c1ea
cmp eax, 0x16
je 0x43c1df
cmp eax, 0x22
je 0x43c1df
cmp eax, 0x50
je 0x43c1f5
mov ecx, 0x80004005
call fcn.00401020
int3
mov ecx, 0x80070057
call fcn.00401020
int3
mov ecx, 0x8007000e
call fcn.00401020
int3
lea r8, [rsp + 0x190]
lea rcx, [rsp + 0x90]
mov edx, 0x80
call fcn.0056ae00
test eax, eax
je 0x43c248
cmp eax, 0xc
je 0x43c23d
cmp eax, 0x16
je 0x43c232
cmp eax, 0x22
je 0x43c232
cmp eax, 0x50
je 0x43c248
mov ecx, 0x80004005
call fcn.00401020
int3
mov ecx, 0x80070057
call fcn.00401020
int3
mov ecx, 0x8007000e
call fcn.00401020
int3
lea r8, str.Required_Categories
lea rcx, [rsp + 0x90]
mov edx, 0x80
call fcn.0056ae00
test eax, eax
je 0x43c29a
cmp eax, 0xc
je 0x43c28f
cmp eax, 0x16
je 0x43c284
cmp eax, 0x22
je 0x43c284
cmp eax, 0x50
je 0x43c29a
mov ecx, 0x80004005
call fcn.00401020
int3
mov ecx, 0x80070057
call fcn.00401020
int3
mov ecx, 0x8007000e
call fcn.00401020
int3
lea rax, [rsp + 0x78]
lea rdx, [rsp + 0x90]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000000
mov rbx, r12
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x60], r12d
mov qword [rsp + 0x78], r12
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43c34b
mov rbx, qword [rsp + 0x78]
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], r12
mov rcx, rbx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test rbx, rbx
movsxd rdi, eax
je 0x43c32a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r12
test rdi, rdi
jne 0x43c34b
cmp dword [rsp + 0x60], r12d
jne 0x43c34b
lea rdx, [rsp + 0x90]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea r8, str.CLSID_
lea rcx, [rsp + 0x90]
mov edx, 0x80
call fcn.0056ad50
test eax, eax
je 0x43c39d
cmp eax, 0xc
je 0x43c392
cmp eax, 0x16
je 0x43c387
cmp eax, 0x22
je 0x43c387
cmp eax, 0x50
je 0x43c39d
mov ecx, 0x80004005
call fcn.00401020
int3
mov ecx, 0x80070057
call fcn.00401020
int3
mov ecx, 0x8007000e
call fcn.00401020
int3
lea r8, [rsp + 0x190]
lea rcx, [rsp + 0x90]
mov edx, 0x80
call fcn.0056ae00
test eax, eax
je 0x43c3f0
cmp eax, 0xc
je 0x43c3e5
cmp eax, 0x16
je 0x43c3da
cmp eax, 0x22
je 0x43c3da
cmp eax, 0x50
je 0x43c3f0
mov ecx, 0x80004005
call fcn.00401020
int3
mov ecx, 0x80070057
call fcn.00401020
int3
mov ecx, 0x8007000e
call fcn.00401020
int3
lea r8, str.Implemented_Categories
lea rcx, [rsp + 0x90]
mov edx, 0x80
call fcn.0056ae00
test eax, eax
je 0x43c442
cmp eax, 0xc
je 0x43c437
cmp eax, 0x16
je 0x43c42c
cmp eax, 0x22
je 0x43c42c
cmp eax, 0x50
je 0x43c442
mov ecx, 0x80004005
call fcn.00401020
int3
mov ecx, 0x80070057
call fcn.00401020
int3
mov ecx, 0x8007000e
call fcn.00401020
int3
lea rax, [rsp + 0x70]
lea rdx, [rsp + 0x90]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000000
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43c504
test rbx, rbx
mov eax, r12d
je 0x43c488
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov rbx, qword [rsp + 0x70]
jne 0x43c504
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test rbx, rbx
movsxd rdi, eax
je 0x43c4e3
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r12
test rdi, rdi
jne 0x43c504
cmp dword [rsp + 0x60], r12d
jne 0x43c504
lea rdx, [rsp + 0x90]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test rbx, rbx
je 0x43c512
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x43c530
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
xor eax, eax
mov rsi, qword [rsp + 0x238]
mov r12, qword [rsp + 0x228]
mov rdi, qword [rsp + 0x230]
mov rbp, qword [rsp + 0x240]
mov rbx, qword [rsp + 0x268]
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.00568fb0
add rsp, 0x248
ret