Function at 0x42ff80
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a540
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5b4450]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
lea eax, [ebp - 0x28]
push str.CUNINSTALLERDlg::CleanUpRegistryPDL
push eax
call fcn.0040ac70
add esp, 0xc
mov dword [ebp - 4], ebx
call fcn.00442c4d
mov esi, dword [eax + 4]
call fcn.0044033f
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x42ffe1
push 0x80004005
call fcn.004010a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
call fcn.0044033f
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x43000e
push 0x80004005
call fcn.004010a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
call fcn.0044033f
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x43003b
push 0x80004005
call fcn.004010a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
add esi, 0xf8
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00401520
mov edi, dword [ebp - 0x14]
mov ecx, edi
call fcn.00431cd0
mov esi, SysReAllocString
call fcn.00415170
cmp eax, 1
jne 0x43007e
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x114]
test ecx, ecx
jg 0x430153
mov ebx, dword [ebp - 0x14]
mov edi, str.SOFTWARECANON_
mov esi, SysReAllocString
call fcn.00415170
cmp eax, 1
jne 0x4300ae
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push 1
push str.return___08x
lea ecx, [ebp - 0x28]
push 2
push ecx
call fcn.0040aed0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
add esp, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4300e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430109
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430129
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.0040ae50
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, ecx
test ebx, ebx
js 0x43027e
cmp ebx, dword [eax + 0x114]
jge 0x43027e
mov ecx, dword [eax + 0x110]
mov esi, dword [ecx + ebx*4]
lea eax, [ecx + ebx*4]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x430199
cmp eax, dword [esi - 0x10]
jne 0x430199
lea edi, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4301cd
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x43021f
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.005339f7
add esp, 0x10
cmp dword [edi + 4], 0
lea esi, [edi + 0x10]
jl 0x4301ee
push str.PCL6
push esi
call fcn.00535a9a
add esp, 8
test eax, eax
je 0x4301ee
sub eax, esi
sar eax, 1
jns 0x430224
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43020a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 8]
inc ebx
cmp ebx, dword [ecx + 0x114]
jl 0x430151
jmp 0x43008f
call fcn.00401830
add esi, 0xfffffff0
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x430240
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
push str.PCL6
push str.PCL5e
lea ecx, [ebp - 0x14]
call fcn.00409080
mov ebx, dword [ebp - 0x14]
mov ecx, ebx
call fcn.00431cd0
mov edi, ebx
mov esi, SysReAllocString
call fcn.00415170
cmp eax, 1
jne 0x430092
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x430092
call fcn.004409a4
int3