Function at 0x423010
Capabilities:
Delete registry key

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46cc02
push eax
mov dword fs:[0], esp
sub esp, 0xa4
push ebp
push esi
mov esi, dword [esp + 0xbc]
test esi, esi
push edi
mov ebp, ecx
mov eax, str.RegisterProduct
jne 0x423045
mov eax, str.UnRegisterProduct
push eax
push 0x80
call fcn.004047f0
add esp, 8
push str.HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall
lea ecx, [esp + 0x14]
call fcn.00405970
test esi, esi
mov dword [esp + 0xb8], 0
je 0x4232c2
push 0x4708a4
push 0x4708a4
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea ecx, [esp + 0x18]
call fcn.00403ab0
mov eax, dword [ebp + 8]
add eax, 0x44
mov eax, dword [eax]
push eax
mov eax, dword [eax - 8]
push eax
lea ecx, [esp + 0x18]
call fcn.00403ab0
mov eax, dword [0x4800d8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x198]
push edx
lea eax, [esp + 0x10]
push str._sSetup.exe
push eax
mov byte [esp + 0xc4], 2
call fcn.00405ab0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x44]
mov eax, dword [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x2c]
push str.__s___UNINSTALL__PRODUCT_s
push ecx
call fcn.00405ab0
mov edx, dword [0x4800d8]
add esp, 0x1c
mov dword [esp + 0x14], edx
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
mov edx, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
push str.ICON
push eax
mov byte [esp + 0xc4], 4
call dword [edx + 0xc]
cmp word [esp + 0x1c], 8
jne 0x4231aa
mov esi, dword [esp + 0x24]
lea edx, [esp + 0x30]
mov dword [esp + 0x2c], edx
call dword [0x4801d4]
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.00408860
mov eax, dword [ebp + 8]
sub esp, 0x84
mov edi, esp
mov ecx, 0x21
lea esi, [esp + 0xb0]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x5c]
push ecx
lea edx, [esp + 0x9c]
push 0x473128
push edx
mov byte [esp + 0x148], 5
call fcn.00405ab0
mov eax, dword [esp + 0xbc]
lea ecx, [esp + 0xc0]
add esp, 0x90
cmp eax, ecx
mov byte [esp + 0xb8], 4
je 0x4231b8
push eax
call fcn.004572ea
add esp, 4
jmp 0x4231b8
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x18]
call fcn.00404cd0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov esi, dword [eax - 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
inc esi
push esi
mov esi, dword [esp + 0x14]
push eax
push 1
push str.DisplayName
push esi
call dword [edx + 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x5c]
mov edi, dword [eax - 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
inc edi
push edi
push eax
push 1
push str.InstallLocation
push esi
call dword [edx + 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x11c]
mov edi, dword [eax - 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
inc edi
push edi
push eax
push 1
push str.DisplayVersion
push esi
call dword [edx + 0x50]
mov edi, dword [esp + 0x14]
mov edx, dword [edi - 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
inc edx
push edx
push edi
push 1
push str.DisplayIcon
push esi
call dword [eax + 0x50]
mov ecx, dword [ebp + 0xc]
mov ebp, dword [esp + 0x18]
mov edx, dword [ebp - 8]
mov eax, dword [ecx]
inc edx
push edx
push ebp
push 1
push str.UninstallString
push esi
call dword [eax + 0x50]
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [0x4800dc]
lea ecx, [edi - 0xc]
cmp ecx, eax
je 0x423275
add edi, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x423275
push edi
call fcn.00457c3f
add esp, 4
mov eax, dword [0x4800dc]
lea edx, [ebp - 0xc]
cmp edx, eax
je 0x423298
lea edi, [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x423298
push edi
call fcn.00457c3f
add esp, 4
mov edi, dword [esp + 0xc]
mov ecx, dword [0x4800dc]
lea eax, [edi - 0xc]
cmp eax, ecx
je 0x4232f1
add edi, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4232f1
push edi
call fcn.00457c3f
add esp, 4
jmp 0x4232f1
mov ecx, dword [ebp + 0xc]
mov esi, dword [esp + 0x10]
mov edx, dword [ecx]
push 0xf003f
push esi
call dword [edx + 0x48]
mov edi, eax
test edi, edi
je 0x4232f1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edi
call dword [edx + 0x4c]
mov ecx, dword [0x4800dc]
lea eax, [esi - 0xc]
cmp eax, ecx
je 0x423315
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x423315
push esi
call fcn.00457c3f
add esp, 4
mov ecx, dword [esp + 0xb0]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0xb0
ret 4