Function at 0x1008a9c5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100998dd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
push 0x3c
push 0
lea eax, [ebp - 0x50]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x44], str.open
mov dword [ebp - 0x34], 1
cmp dword [ebp + 0x10], 0
je 0x1008aa6d
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x1008aa6d
cmp dword [ebp + 0x18], 0
jne 0x1008aa54
push 1
push 0x104
push 0x100c42f4
mov edx, dword [ebp + 0x10]
push edx
call sub.Ufxtwl.dll_Ordinal_172
add esp, 0x10
jmp 0x1008aa6b
mov eax, dword [ebp + 0x10]
push eax
push 0x100be994
push 0x100c42f4
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x1008aaeb
mov ecx, dword [ebp + 8]
add ecx, 0x10
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x1008aac1
push 1
push 0x104
push 0x100c42f4
mov edx, dword [ebp + 8]
add edx, 0x10
push edx
call sub.Ufxtwl.dll_Ordinal_172
add esp, 0x10
mov eax, dword [ebp + 8]
add eax, 0x19
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x10
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x100c4500
mov edx, dword [ebp + 8]
add edx, 0x19
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x1008aaeb
mov dword [ebp - 0x64], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.100947c2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100947c2
mov eax, dword [ebp - 0x64]
jmp 0x1008ade8
push 0x100c42f4
lea ecx, [ebp - 0x10]
call fcn.10094ac2
cmp dword [ebp + 0x18], 0
jne 0x1008acca
push 0x100be998
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc], 0
jne 0x1008ab68
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
push 0x100be9a0
push 0x100c42f4
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x100c42f4
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
push str.__E:_ld
push 0x100c42f4
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x100c42f4
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
jmp 0x1008ab97
push 0xd
push str.__L:_d
push 0x100c42f4
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x100c42f4
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
push 0x100be9b8
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
mov edx, dword [ebp + 8]
cmp dword [edx], 0
je 0x1008abcb
cmp dword [ebp + 0x10], 0
je 0x1008abcb
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push str.__O:_d
push 0x100c42f4
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x100c42f4
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
mov edx, dword [ebp + 8]
add edx, 0x10
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x1008abf8
push str.__N1:
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
mov eax, dword [ebp + 8]
add eax, 0x10
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
mov ecx, dword [ebp + 8]
add ecx, 0x19
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x1008ac25
push str.__N2:
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
mov edx, dword [ebp + 8]
add edx, 0x19
push edx
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
mov eax, dword [ebp + 8]
cmp dword [eax], 0x3e7
jne 0x1008ac46
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xc], 0
je 0x1008ac46
push str.__LINK
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
lea edx, [ebp - 0x54]
push edx
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.MSVCRT.dll_localtime]
add esp, 4
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x1008ac90
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 0x1c]
push edx
push str.__M:_d
push 0x100c42f4
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x100c42f4
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
cmp dword [ebp + 0x14], 0
je 0x1008acca
mov eax, dword [ebp + 0x14]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
test eax, eax
je 0x1008acca
mov ecx, dword [ebp + 0x14]
push ecx
push str.__F:_s
push 0x100c42f4
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x100c42f4
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
cmp dword [ebp + 0x18], 0
jne 0x1008ad0e
call fcn.1003ca70
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x1008ad0e
mov edx, dword [ebp - 0x5c]
cmp dword [edx + 0x20], 0
je 0x1008ad0e
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0x20]
push ecx
push str.__P:_lu
push 0x100c42f4
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x100c42f4
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
push 0
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::GetBuffer
mov dword [ebp - 0x40], eax
push 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::GetBuffer
mov dword [ebp - 0x3c], eax
lea edx, [ebp - 0x50]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x1008adc3
lea ecx, [ebp - 0x60]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
push 0x6801
lea eax, [ebp - 0x60]
push eax
call sub.Ufxtwl.dll_Ordinal_54
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.__u_
push 0x100c42f4
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x100c42f4
lea ecx, [ebp - 0x60]
call sub.MFC42.DLL_CString::operator
push 0
push 0
lea ecx, [ebp - 0x60]
call fcn.10002700
push eax
call sub.MFC42.DLL_AfxMessageBox_1
mov dword [ebp - 0x68], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.100947c2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.100947c2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100947c2
mov eax, dword [ebp - 0x68]
jmp 0x1008ade8
mov dword [ebp - 0x6c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.100947c2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100947c2
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret