Function at 0x40f987
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x420545
call fcn.0041ee80
sub esp, 0x1b0
mov eax, dword [0x42fd70]
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push 4
lea eax, [ebp - 0x1b4]
push eax
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Right]
push 0x424d90
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CompareNoCase]
lea ecx, [ebp - 0x1b4]
mov edi, eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
xor ebx, ebx
cmp edi, ebx
je 0x40fbde
lea ecx, [ebp - 0x1b8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx - 0xc]
cmp eax, 7
mov byte [ebp - 4], 2
jl 0x40fb0b
push 3
add eax, 0xfffffff9
push eax
lea eax, [ebp - 0x1b4]
push eax
lea ecx, [ebp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Mid_1]
push eax
lea ecx, [ebp - 0x1b8]
mov byte [ebp - 4], 3
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push dword [ebp + 0x18]
lea ecx, [ebp - 0x1b8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CompareNoCase]
test eax, eax
je 0x40fb0b
push 0x424d8c
lea ecx, [ebp - 0x1b8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CompareNoCase]
test eax, eax
jne 0x40fb0b
push 3
push str.SOFTWAREAheadNero___Burning_RomNeverShowMeAgain
push SysReAllocStringLen
push str.EnglishHelpFile
lea ecx, [ebp - 0x1b0]
call fcn.0041525c
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 4
call fcn.00408a66
lea ecx, [ebp - 0x1bc]
mov byte [ebp - 4], 5
call fcn.00408a66
push 0x5019
lea ecx, [ebp - 0x1bc]
mov byte [ebp - 4], 6
call fcn.00408a73
push 0x19
push dword [ebp - 0x1bc]
lea eax, [ebp - 0x1b4]
push eax
call fcn.00408b20
add esp, 0xc
push ebx
push 0x40
push dword [ebp - 0x1b4]
lea ecx, [ebp - 0x1b0]
call fcn.00415360
lea ecx, [ebp - 0x1bc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [ebp - 0x1b4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [ebp - 0x1b0]
mov byte [ebp - 4], 2
call fcn.0040f911
push 5
push ebx
push ebx
push dword [ebp + 0xc]
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edx, eax
cmp edx, 0x20
jge 0x40fbd0
cmp edx, 0x1f
jne 0x40fb56
push ebx
lea ecx, [ebp - 0x194]
call fcn.00414fa6
lea ecx, [ebp - 0x194]
mov byte [ebp - 4], 7
call sub.MFC71.DLL_CDialog::DoModal
lea ecx, [ebp - 0x194]
mov byte [ebp - 4], 2
call fcn.0040f8d7
jmp 0x40fbd0
push 0x3f
pop ecx
xor eax, eax
mov byte [ebp - 0x110], bl
lea edi, [ebp - 0x10f]
rep stosd dword es:[edi], eax
push ebx
stosw word es:[edi], ax
push 0xff
stosb byte es:[edi], al
lea eax, [ebp - 0x110]
push eax
push 0x400
push edx
push ebx
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
lea ecx, [ebp - 0x1b4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x1b4]
push 0x5014
push eax
mov byte [ebp - 4], 8
call dword [sym.imp.MFC71.DLL_ATL::CStringT::FormatMessageA]
add esp, 0xc
push ebx
push ebx
push dword [ebp - 0x1b4]
call sub.MFC71.DLL_AfxMessageBox_1
lea ecx, [ebp - 0x1b4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [ebp - 0x1b8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
jmp 0x40fbf8
call fcn.0040f8ad
test eax, eax
je 0x40fbf8
cmp esi, ebx
je 0x40fbf8
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0x10]
call sub.MFC71.DLL_CWinApp::WinHelpInternal
lea ecx, [ebp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [ebp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.0041ee69
leave
ret