Function at 0x10005700
Capabilities:
Delete registry key
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x220
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
xor ebp, ebp
push eax
push 0x2001f
push ebp
push str.SOFTWAREMicrosoftActive_SetupInstalled_Components
push 0x80000002
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebp
call edi
mov esi, eax
cmp esi, ebp
jne 0x10005943
mov ebx, dword [esp + 0x234]
mov eax, str.03251480_1f95_11d1_a7e1_00609793926d
cmp ebx, ebp
jne 0x10005754
mov eax, str.c1252450_1f94_11d1_a7e1_00609793926d
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push ecx
push 1
push ebp
push eax
push edx
call edi
mov esi, eax
cmp esi, ebp
jne 0x10005943
cmp ebx, ebp
mov eax, str.2dbd6e80_1f95_11d1_a7e1_00609793926d
jne 0x1000577c
mov eax, str.d514ea90_1f94_11d1_a7e1_00609793926d
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov esi, eax
cmp esi, ebp
jne 0x10005943
lea eax, [esp + 0x14]
lea ecx, [esp + 0x28]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
push eax
lea edx, [esp + 0x24]
xor esi, esi
push ecx
push edx
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x30]
push esi
lea ecx, [esp + 0x13c]
push eax
push ecx
mov ebp, 0x104
push esi
push edx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x34], ebp
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1000582e
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x28]
push eax
push ecx
mov ecx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x138]
push 0
push eax
push ecx
call ebx
lea edx, [esp + 0x14]
lea eax, [esp + 0x28]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x30]
push 0
lea eax, [esp + 0x13c]
inc esi
push edx
push eax
push esi
push ecx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x34], ebp
call edi
test eax, eax
je 0x100057db
mov eax, dword [esp + 0x234]
mov edi, str.Outlook98_omint
test eax, eax
jne 0x10005843
mov edi, str.Outlook98_mpint
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x28]
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x28]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 1
push eax
push str.ComponentID
push edx
call ebx
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call edi
mov esi, dword [esp + 0x234]
mov eax, str.SOFTWAREMicrosoftActive_SetupInstalled_Components03251480_1f95_11d1_a7e1_00609793926d
test esi, esi
jne 0x100058a9
mov eax, str.SOFTWAREMicrosoftActive_SetupInstalled_Componentsc1252450_1f94_11d1_a7e1_00609793926d
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test esi, esi
mov eax, str.SOFTWAREMicrosoftActive_SetupOutlook_Uninstallomi95
jne 0x100058c3
mov eax, str.SOFTWAREMicrosoftActive_SetupOutlook_Uninstallmpi95
lea ecx, [esp + 0x10]
push ecx
push 0x2001f
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x10005949
lea edx, [esp + 0x14]
lea eax, [esp + 0x28]
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
push ecx
push esi
push str.UninstallString
push edx
mov dword [esp + 0x2c], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x10005949
lea eax, [esp + 0x28]
push str.95pst
push eax
call fcn.10005e70
add esp, 8
test eax, eax
je 0x10005949
mov byte [eax], 0x6e
mov byte [eax + 1], 0x74
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x28]
push ecx
push edx
push 1
push esi
push str.UninstallString
push eax
call ebx
jmp 0x10005949
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10005954
push eax
call edi
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1000595f
push eax
call edi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1000596a
push eax
call edi
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x220
ret