Function at 0x402930
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403e85
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 4], 0
push str.excute
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx + eax*4 + 0x500]
call fcn.00402c10
test eax, eax
jne 0x402a6f
push 0x40611c
mov edx, dword [ebp - 0x28]
add edx, 0x64
push edx
lea eax, [ebp - 0x18]
push eax
call sub.MFC42.DLL_operator
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x30]
push edx
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0040356c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
lea edx, [ecx + eax*4 + 0x580]
push edx
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.00402bc0
push eax
push 0x2e
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::ReverseFind
add eax, 1
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Mid
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x38]
push edx
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.0040356c
push 0x406120
lea eax, [ebp - 0x14]
push eax
call fcn.00402c50
and eax, 0xff
test eax, eax
je 0x402a4d
push 0
push 1
lea ecx, [ebp - 0x10]
call fcn.00402c00
push eax
push 0
call fcn.004032de
jmp 0x402a5e
push 5
lea ecx, [ebp - 0x10]
call fcn.00402c00
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040356c
jmp 0x402b3f
push 0x406124
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x28]
lea ecx, [edx + ecx*4 + 0x500]
call fcn.00402c10
test eax, eax
jne 0x402b1c
push 0x406130
mov eax, dword [ebp - 0x28]
add eax, 0x64
push eax
push str.explorer
lea ecx, [ebp - 0x20]
push ecx
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x24]
push ecx
call sub.MFC42.DLL_operator
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x48], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x48]
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.0040356c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.0040356c
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x28]
lea eax, [edx + ecx*4 + 0x580]
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator
push 5
lea ecx, [ebp - 0x10]
call fcn.00402c00
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x402b3f
push str.exit
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x28]
lea ecx, [edx + ecx*4 + 0x500]
call fcn.00402c10
test eax, eax
jne 0x402b3f
mov ecx, dword [ebp - 0x28]
call sub.MFC42.DLL_CDialog::OnCancel
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040356c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4