Function at 0x4a9920
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e82b1
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
push ebx
push esi
mov eax, dword [0x56e01c]
xor eax, esp
push eax
lea eax, [esp + 0x108]
mov dword fs:[0], eax
mov ebx, ecx
push 0
lea ecx, [esp + 0x24]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QProcess::constructor_class_QObject__]
lea eax, [esp + 0x10]
push eax
mov ecx, ebx
mov dword [esp + 0x114], 0
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QFile::fileName_void_]
mov byte [esp + 0x110], 1
mov esi, dword [esp + 0x10]
cmp dword [esi + 8], 0
jle 0x4a9ac8
mov ecx, dword [sym.imp.QtCore4.dll_enum_QSysInfo::WinVersion_const_QSysInfo::WindowsVersion]
mov eax, dword [ecx]
cmp eax, 0x80
je 0x4a99cb
cmp eax, 0x90
je 0x4a99cb
push 0x4f7fdc
lea ecx, [esp + 0x14]
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::prepend_char_const__]
push 0x4f7fdc
lea ecx, [esp + 0x14]
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::append_char_const__]
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.QtCore4.dll_public:_static_bool___cdecl_QProcess::startDetached_class_QString_const__]
add esp, 4
jmp 0x4a9a13
push 0x38
lea eax, [esp + 0x30]
push 0
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [esp + 0x28], 0x3c
mov dword [esp + 0x2c], 0x4000
mov dword [esp + 0x34], str.runas
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x48], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
setne al
test al, al
je 0x4a9a24
push edi
mov ecx, ebx
call fcn.004a9720
jmp 0x4a9ad6
push 0
lea eax, [esp + 0x68]
push eax
call fcn.00438e10
mov bl, 2
mov byte [esp + 0x110], bl
mov byte [esp + 0x14], 0x20
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x18]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
mov eax, str.Argument_is_a_file_name_with_path.
mov ecx, str._Failed_to_start_process__1_
lea esi, [esp + 0x18]
call fcn.004a4be0
push ecx
mov edx, esp
mov dword [esp + 0x20], esp
lea ecx, [esp + 0x18]
push ecx
push 0
lea ecx, [esp + 0x1c]
push ecx
push edx
mov ecx, eax
mov byte [esp + 0x124], 3
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::arg_class_QString_const___int__class_QChar_const__]
lea ecx, [esp + 0x68]
call fcn.004394d0
mov ecx, esi
mov byte [esp + 0x110], bl
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x64]
call dword [sym.imp.QtGui4.dll_public:_int___thiscall_QDialog::exec_void_]
mov ecx, dword [edi + 0x4c]
inc dword [edi + 0x5c]
push 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QSemaphore::release_int_]
lea edx, [esp + 0x64]
push edx
mov byte [esp + 0x114], 1
call fcn.00439210
jmp 0x4a9ad6
mov ecx, dword [edi + 0x4c]
inc dword [edi + 0x5c]
push 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QSemaphore::release_int_]
lea ecx, [esp + 0x10]
mov byte [esp + 0x110], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x20]
mov dword [esp + 0x110], 0xffffffff
call dword [sym.imp.QtCore4.dll_public_virtual:_void___thiscall_QProcess::destructor_void_]
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x108
ret