Function at 0x4588e0
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x4db458
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
push edi
call sub.MFC42.DLL_AfxGetModuleState
xor ebx, ebx
mov byte [eax + 0x14], bl
call sub.MFC42.DLL_COleObjectFactory::RegisterAll
push 1
call sub.MFC42.DLL_COleObjectFactory::UpdateRegistryAll
push 0x80000000
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x5e2540
call sub.MFC42.DLL_CString::CString_1
push ecx
mov dword [esp + 0x84], ebx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.CLSIDEBEB87A6_E151_4054_AB45_A6E094C5334BLocalServer32_
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x5c]
mov dword [esp + 0x84], 0xffffffff
call fcn.0045c340
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x50]
mov dword [esp + 0x74], 1
push eax
push 0x20006
push ebx
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x4c]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov dword [esp + 0x10], ebx
lea edx, [esp + 0x2c]
mov byte [esp + 0x74], 2
push edx
push str.QMDispatch.QMLibrary
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x2c]
push eax
push 0x4ec960
push 1
push ebx
push ecx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jl 0x458aa9
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], ebx
cmp eax, ebx
je 0x4589dd
mov edx, dword [eax]
lea ecx, [esp + 0xc]
push ecx
push 0x4ec930
push eax
call dword [edx]
lea edx, [esp + 0x1c]
mov byte [esp + 0x74], 3
push edx
call sub.MFC42.DLL_AfxVariantInit
mov eax, dword [esp + 0xc]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebx
mov byte [esp + 0x74], 4
je 0x458a75
push 3
push 0x458670
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_COleVariant::COleVariant
mov esi, eax
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push edx
push 0x400
lea edx, [esp + 0x1c]
push 1
mov dword [esp + 0x20], str.Initialize
mov ecx, dword [eax]
push edx
push 0x4ec950
push eax
mov byte [esp + 0x8c], 5
call dword [ecx + 0x14]
cmp eax, ebx
jl 0x458a59
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
push esi
push ecx
lea ecx, [esp + 0x18]
call fcn.0042c770
lea edx, [esp + 0x3c]
mov esi, eax
push edx
mov byte [esp + 0x78], 4
call edi
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x458a75
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], ebx
cmp eax, ebx
je 0x458a8b
mov dword [esp + 0x10], ebx
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea eax, [esp + 0x1c]
push eax
call edi
mov eax, dword [esp + 0xc]
mov byte [esp + 0x74], 2
cmp eax, ebx
je 0x458aa5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jge 0x458adc
push ebx
push ebx
lea edx, [esp + 0x20]
push str.CoreLibLogQMDispatchError
push edx
call fcn.0041f4f0
add esp, 0x10
mov eax, dword [eax]
push esi
push eax
mov byte [esp + 0x7c], 6
call fcn.004616d0
add esp, 8
lea ecx, [esp + 0x18]
mov byte [esp + 0x74], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
mov byte [esp + 0x74], 1
cmp eax, ebx
je 0x458aef
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0045c4c0
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x6c
ret