Function at 0x402c50
Capabilities:
Access peb ldr_data
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x409a58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebp
push esi
push edi
lea eax, [esp + 0x40]
lea ecx, [esp + 0x18]
push eax
mov dword [esp + 0x3c], 0
call fcn.0040923c
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x10]
push ecx
push str.__s_____1_
push edx
mov byte [esp + 0x44], 2
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x14]
push 0x40f368
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 3
call fcn.00405960
push 0x80000000
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 4
call fcn.00405a00
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.http_shell_
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x24]
call fcn.00405a30
lea ecx, [esp + 0x20]
call fcn.004059e0
push 0x80000000
lea ecx, [esp + 0x24]
call fcn.00405a00
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.htmlfile_shell_
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x24]
call fcn.00405a30
lea ecx, [esp + 0x20]
call fcn.004059e0
push 0x80000000
lea ecx, [esp + 0x24]
call fcn.00405a00
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.mhtmlfile_shell_
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x24]
call fcn.00405a30
lea ecx, [esp + 0x20]
call fcn.004059e0
push 0x80000000
lea ecx, [esp + 0x24]
call fcn.00405a00
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.InternetShortcut_shell_
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x24]
call fcn.00405a30
lea ecx, [esp + 0x20]
call fcn.004059e0
lea eax, [esp + 0xc]
push eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
push str.http_shell_
push 0x80000000
call esi
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ecx, dword [eax - 8]
push ecx
mov ecx, dword [esp + 0x10]
push eax
push 1
push 0
push ecx
call edi
mov edx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call ebp
lea eax, [esp + 0xc]
push eax
push str.http_shell
push 0x80000000
call esi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
push ecx
mov ecx, dword [esp + 0x10]
push eax
push 1
push 0
push ecx
call edi
mov edx, dword [esp + 0xc]
push edx
call ebp
lea eax, [esp + 0xc]
push eax
push str.htmlfile_shell_
push 0x80000000
call esi
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
push ecx
mov ecx, dword [esp + 0x10]
push eax
push 1
push 0
push ecx
call edi
mov edx, dword [esp + 0xc]
push edx
call ebp
lea eax, [esp + 0xc]
push eax
push str.htmlfile_shell
push 0x80000000
call esi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
push ecx
mov ecx, dword [esp + 0x10]
push eax
push 1
push 0
push ecx
call edi
mov edx, dword [esp + 0xc]
push edx
call ebp
lea eax, [esp + 0xc]
push eax
push str.mhtmlfile_shell_
push 0x80000000
call esi
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
push ecx
mov ecx, dword [esp + 0x10]
push eax
push 1
push 0
push ecx
call edi
mov edx, dword [esp + 0xc]
push edx
call ebp
lea eax, [esp + 0xc]
push eax
push str.mhtmlfile_shell
push 0x80000000
call esi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
push ecx
mov ecx, dword [esp + 0x10]
push eax
push 1
push 0
push ecx
call edi
mov edx, dword [esp + 0xc]
push edx
call ebp
lea eax, [esp + 0xc]
push eax
push str.InternetShortcut_shell_
push 0x80000000
call esi
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
push ecx
mov ecx, dword [esp + 0x10]
push eax
push 1
push 0
push ecx
call edi
mov edx, dword [esp + 0xc]
push edx
call ebp
lea eax, [esp + 0xc]
push eax
push str.InternetShortcut_shell
push 0x80000000
call esi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
push ecx
mov ecx, dword [esp + 0x10]
push eax
push 1
push 0
push ecx
call edi
mov edx, dword [esp + 0xc]
push edx
call ebp
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 3
call fcn.00405990
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x30]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebp
add esp, 0x30
ret 4