Function at 0x40ae80
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x410472
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
mov esi, ecx
push edi
push 0x415ae8
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
add esi, 8
push str._VisionSetup__setup.exe
lea eax, [esp + 0x18]
xor ebx, ebx
push esi
push eax
mov dword [esp + 0x6c], ebx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x64], 1
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], bl
call fcn.0040e8b6
mov ecx, dword [esp + 0xc]
push ebx
push ecx
call dword [sym.imp.MSVCRT.dll__access]
add esp, 8
cmp eax, 0xffffffff
je 0x40b0ab
push 0x68
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x60], 2
je 0x40af1b
push ebx
mov ecx, eax
call fcn.0040d300
mov esi, eax
jmp 0x40af1d
xor esi, esi
push ebx
push 0x84
mov ecx, esi
mov byte [esp + 0x68], bl
call sub.MFC42.DLL_CDialog::Create
push ebx
mov ecx, esi
call sub.MFC42.DLL_CWnd::CenterWindow
push 5
mov ecx, esi
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x415ae4]
lea edx, [esp + 0x14]
push 0x8a
push edx
call fcn.0040bef0
mov edi, dword [eax]
mov byte [esp + 0x60], 3
cmp edi, ebx
je 0x40af86
cmp dword [edi + 4], ebx
jne 0x40af81
mov eax, dword [edi]
push eax
call fcn.0040edb3
cmp eax, ebx
mov dword [edi + 4], eax
jne 0x40af81
cmp dword [edi], ebx
je 0x40af81
push 0x8007000e
call fcn.0040ecf2
mov edi, dword [edi + 4]
jmp 0x40af88
xor edi, edi
push edi
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
mov edi, dword [esp + 0x14]
mov byte [esp + 0x60], 5
cmp edi, ebx
je 0x40afdb
lea ecx, [edi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x40afd7
cmp edi, ebx
je 0x40afd7
mov eax, dword [edi]
cmp eax, ebx
je 0x40afbe
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x40afce
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x14], ebx
push 3
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x20]
push eax
call fcn.0040d4a0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 6
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x60], 5
call fcn.0040e8b6
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esi + 0x64]
call sub.MFC42.DLL_CString::operator
mov ecx, esi
call fcn.0040d480
mov edx, dword [esp + 0xc]
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x3c
push eax
mov dword [esp + 0x24], 0x40
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], 0x415ae8
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], 5
mov dword [esp + 0x40], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov ecx, dword [esp + 0x54]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
mov ecx, esi
call sub.MFC42.DLL_CWnd::ShowWindow
cmp esi, ebx
je 0x40b09e
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
lea ecx, [esp + 0x10]
mov byte [esp + 0x60], bl
call fcn.0040e8b6
lea ecx, [esp + 0xc]
mov dword [esp + 0x60], 0xffffffff
call fcn.0040e8b6
mov ecx, dword [esp + 0x58]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x58
ret