Function at 0x407940
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44395d
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x467cb8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 1
mov eax, dword [ebp + 8]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push str.edit
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x1f
jne 0x407a96
lea edx, [ebp - 0x8c]
push edx
push 0
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x80]
push ecx
call dword [sym.imp.qt_mt338_ms10.dll_public:_static_class_QString___cdecl_QString::fromAscii_char_const___int_]
add esp, 0xc
mov dword [ebp - 0xb8], eax
mov edx, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x84]
push ecx
push 0xffffffffffffffff
push str.Dont_know_how_to_view__1
lea edx, [ebp - 0x7c]
push edx
call dword [sym.imp.qt_mt338_ms10.dll_public:_static_class_QString___cdecl_QString::fromAscii_char_const___int_]
add esp, 0xc
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xc4]
call dword [sym.imp.qt_mt338_ms10.dll_public:_class_QString___thiscall_QString::arg_class_QString_const___int_]
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xcc]
call dword [sym.imp.qt_mt338_ms10.dll_public:_class_QCString___thiscall_QString::local8Bit_void_]
mov dword [ebp - 0xd0], eax
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], edx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xd4]
call dword [sym.imp.qt_mt338_ms10.dll_public:_char_const____thiscall_QCString::operator_char_const__void_const]
push eax
push 0x44948c
call fcn.00407d50
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call dword [sym.imp.qt_mt338_ms10.dll_public_virtual:_void___thiscall_QCString::destructor_void_]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x84]
call dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QString::destructor_void_]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QString::destructor_void_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [ebp - 0x98]
push eax
push 0xa
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x90]
push edx
call dword [sym.imp.qt_mt338_ms10.dll_public:_static_class_QString___cdecl_QString::number_int__int_]
add esp, 0xc
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xdc], eax
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0xdc]
call dword [sym.imp.qt_mt338_ms10.dll_public:_class_QCString___thiscall_QString::local8Bit_void_]
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], ecx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xe4]
call dword [sym.imp.qt_mt338_ms10.dll_public:_char_const____thiscall_QCString::operator_char_const__void_const]
push eax
push str.ViewFile
call fcn.00407d50
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x98]
call dword [sym.imp.qt_mt338_ms10.dll_public_virtual:_void___thiscall_QCString::destructor_void_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QString::destructor_void_]
cmp dword [ebp - 0x10], 0
je 0x407d30
push 0x60
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0xa0], eax
mov dword [ebp - 4], 6
cmp dword [ebp - 0xa0], 0
je 0x407b7f
push 0
push 0
mov ecx, dword [ebp - 0xa0]
call dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QProcess::constructor_class_QObject___char_const__]
mov edx, dword [ebp - 0xa0]
mov dword [edx], vtable.QProcess.0
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xe8], eax
jmp 0x407b89
mov dword [ebp - 0xe8], 0
mov ecx, dword [ebp - 0xe8]
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 4], 0xffffffff
push 0
mov edx, dword [ebp - 0x9c]
push edx
lea ecx, [ebp - 0x74]
call dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QProcess::constructor_class_QObject___char_const__]
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x78]
call dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QString::constructor_void_]
mov byte [ebp - 4], 8
push str.notepad
lea ecx, [ebp - 0x78]
call dword [sym.imp.qt_mt338_ms10.dll_public:_class_QString____thiscall_QString::operator_char_const__]
push 0
lea eax, [ebp - 0x78]
push eax
push 0xffffffffffffffff
push 0x4494ac
lea ecx, [ebp - 0xa4]
push ecx
call dword [sym.imp.qt_mt338_ms10.dll_public:_static_class_QString___cdecl_QString::fromAscii_char_const___int_]
add esp, 0xc
mov dword [ebp - 0xec], eax
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0xf0], edx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0xf0]
push eax
lea ecx, [ebp - 0xa8]
push ecx
call dword [sym.imp.qt_mt338_ms10.dll_public:_static_class_QStringList___cdecl_QStringList::split_class_QString_const___class_QString_const___bool_]
add esp, 0x10
mov dword [ebp - 0xf4], eax
mov edx, dword [ebp - 0xf4]
mov dword [ebp - 0xf8], edx
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x74]
call dword [sym.imp.qt_mt338_ms10.dll_public_virtual:_void___thiscall_QProcess::setArguments_class_QStringList_const__]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xa8]
call dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QStringList::destructor_void_]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xa4]
call dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QString::destructor_void_]
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0xac]
push edx
call dword [sym.imp.qt_mt338_ms10.dll_public:_static_class_QString___cdecl_QString::fromLocal8Bit_char_const___int_]
add esp, 0xc
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x100], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x100]
push ecx
lea ecx, [ebp - 0x74]
call dword [sym.imp.qt_mt338_ms10.dll_public_virtual:_void___thiscall_QProcess::addArgument_class_QString_const__]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xac]
call dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QString::destructor_void_]
push 0
push 0xffffffffffffffff
push 0x4492b7
lea edx, [ebp - 0xb4]
push edx
call dword [sym.imp.qt_mt338_ms10.dll_public:_static_class_QString___cdecl_QString::fromAscii_char_const___int_]
add esp, 0xc
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x108], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x108]
push ecx
lea ecx, [ebp - 0x74]
call dword [sym.imp.qt_mt338_ms10.dll_public_virtual:_bool___thiscall_QProcess::launch_class_QString_const___class_QStringList__]
mov byte [ebp - 0xad], al
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xb4]
call dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QString::destructor_void_]
movzx edx, byte [ebp - 0xad]
test edx, edx
je 0x407d13
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x78]
call dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QString::destructor_void_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call dword [sym.imp.qt_mt338_ms10.dll_public_virtual:_void___thiscall_QProcess::destructor_void_]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret