Function at 0x452660
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x4d1e58
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 SysReAllocStringLen
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x555f50
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.004560e0
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 0x4e2378
push 1
push ebx
push ecx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jl 0x452829
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], ebx
cmp eax, ebx
je 0x45275d
mov edx, dword [eax]
lea ecx, [esp + 0xc]
push ecx
push 0x4e2348
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 0x4527f5
push 3
push 0x4523f0
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 0x4e2368
push eax
mov byte [esp + 0x8c], 5
call dword [ecx + 0x14]
cmp eax, ebx
jl 0x4527d9
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
push esi
push ecx
lea ecx, [esp + 0x18]
call fcn.0042bb30
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 0x4527f5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], ebx
cmp eax, ebx
je 0x45280b
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 0x452825
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jge 0x45285c
push ebx
push ebx
lea edx, [esp + 0x20]
push str.CoreLibLogQMDispatchError
push edx
call fcn.0041f360
add esp, 0x10
mov eax, dword [eax]
push esi
push eax
mov byte [esp + 0x7c], 6
call fcn.0045b630
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 0x45286f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x74], 0xffffffff
call fcn.00456260
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x6c
ret