Function at 0x477cf0
Capabilities:
Create pipe
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8e58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x70], 0xc
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x6c], 0
push 0
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x8c]
add ecx, 0x10c
push ecx
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x477d7f
push 0
push 0x10
push 0x512400
call sub.MFC71.DLL_AfxMessageBox
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx + 0x10c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x477f35
push 2
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
mov eax, dword [ebp - 0x8c]
mov ecx, dword [eax + 0x10c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x477db6
jmp 0x477f35
push 0x44
push 0
lea edx, [ebp - 0x64]
push edx
call sub.MSVCR71.dll_memset
add esp, 0xc
mov dword [ebp - 0x64], 0x44
mov dword [ebp - 0x38], 0x100
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 0x28], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx + 8]
push edx
call sub.MFC71.DLL_CWnd::FromHandle
mov dword [ebp - 0x10], eax
push 0x512418
push 0
call fcn.00477f50
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
je 0x477e5a
mov dword [ebp - 0x80], 0
mov ecx, dword [ebp - 0x8c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x8c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer_1]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x80]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0x4a
mov ecx, dword [ebp - 0x74]
call fcn.0042bc30
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x477f35
lea edx, [ebp - 0x88]
push edx
call fcn.00430940
add esp, 4
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x94], eax
mov dword [ebp - 4], 0
push 0x51242c
mov ecx, dword [ebp - 0x94]
push ecx
lea edx, [ebp - 0x84]
push edx
call fcn.00407f90
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push 5
push 0
push 0
lea ecx, [ebp - 0x84]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x512438
push 0
call fcn.00477f50
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x80], 0
mov ecx, dword [ebp - 0x8c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x8c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer_1]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x80]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0x4a
mov ecx, dword [ebp - 0x74]
call fcn.0042bc30
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret