Function at 0x401000
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x6c
or ecx, 0xffffffff
xor eax, eax
push ebx
push esi
mov esi, dword [esp + 0x80]
push edi
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x401204
lea ecx, [esp + 0x14]
call fcn.004012a6
lea ecx, [esp + 0x10]
call fcn.004012a6
lea ecx, [esp + 0xc]
call fcn.004012a6
lea ecx, [esp + 0x84]
xor edi, edi
call fcn.004012a6
push esi
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_1
xor ebx, ebx
lea ecx, [esp + 0x18]
push ebx
push 0x3f
call sub.MFC42.DLL_CString::Find
mov esi, eax
cmp esi, 0xffffffff
je 0x4011d4
mov eax, esi
lea ecx, [esp + 0x20]
sub eax, edi
push eax
push edi
push ecx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x88]
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
push 0x3f
lea ecx, [esp + 0x88]
call sub.MFC42.DLL_CString::Remove
mov eax, ebx
sub eax, 0
je 0x4010d0
dec eax
je 0x4010c2
dec eax
jne 0x4011d4
lea edx, [esp + 0x84]
lea ecx, [esp + 0xc]
push edx
jmp 0x4010dc
lea eax, [esp + 0x84]
lea ecx, [esp + 0x10]
push eax
jmp 0x4010dc
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator
lea edi, [esi + 1]
lea ecx, [esp + 0x18]
push edi
push 0x3f
inc ebx
call sub.MFC42.DLL_CString::Find
mov esi, eax
cmp esi, 0xffffffff
jne 0x40106b
test ebx, ebx
je 0x4011d4
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 8]
test eax, eax
je 0x4011d4
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4011d4
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4011d4
lea ecx, [esp + 0x1c]
call fcn.004012a6
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push edx
push 0x403010
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x28]
add esp, 0xc
push ecx
push 0
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Insert
xor edx, edx
mov ecx, 0x11
mov dword [esp + 0x24], edx
xor eax, eax
lea edi, [esp + 0x34]
mov dword [esp + 0x28], edx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x30], edx
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x38]
mov esi, dword [esp + 0x14]
push edx
push ecx
push 0
push 0x8000000
mov dword [esp + 0x48], 0x44
mov eax, dword [eax - 8]
push 0
push 0
push 0
push eax
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x401210
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x84]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x6c
ret 0x10
mov edx, dword [esp + 0x24]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x84]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x6c
ret 0x10