Function at 0x40a6b0
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42bfe0
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push edi
mov edi, dword [esp + 0x30]
xor ebx, ebx
cmp edi, ebx
je 0x40a8f4
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x1c]
mov dword [esp + 0x28], ebx
push eax
call fcn.0040a3c0
add esp, 4
test al, al
jne 0x40a718
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
push ebp
push esi
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString_2
push str.Internet_Explorer_Ver_1.0_
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 1
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x38]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [eax - 8]
push ecx
push eax
push 1
push ebx
push ebx
push edi
call esi
lea ecx, [esp + 0x10]
push ebx
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.LocalServer32
push edi
mov dword [esp + 0x34], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x40a794
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
push 1
push ebx
push ebx
push edx
call esi
mov eax, dword [esp + 0x10]
push eax
call ebp
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x14]
push ebx
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.ProgID
push edi
mov dword [esp + 0x38], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40a7e4
push str.InternetExplorer.Application.1
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax - 8]
push ecx
push eax
push 1
push ebx
push ebx
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
call ebp
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x18]
push ebx
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.Programmable
push edi
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40a834
push 0x440080
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax - 8]
push ecx
push eax
push 1
push ebx
push ebx
push edx
call esi
mov eax, dword [esp + 0x18]
push eax
call ebp
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x1c]
push ebx
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.TypeLib
push edi
mov dword [esp + 0x40], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40a884
push str.EAB22AC0_30C1_11CF_A7EB_0000C05BAE0B
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax - 8]
push ecx
push eax
push 1
push ebx
push ebx
push edx
call esi
mov eax, dword [esp + 0x1c]
push eax
call ebp
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x20]
push ebx
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.VersionIndependentProgID
push edi
mov dword [esp + 0x44], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40a8d4
push str.InternetExplorer.Application
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
mov ecx, dword [eax - 8]
push ecx
push eax
push 1
push ebx
push ebx
push edx
call esi
mov eax, dword [esp + 0x20]
push eax
call ebp
mov dword [esp + 0x20], ebx
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
pop ebp
mov ecx, dword [esp + 0x20]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret