Function at 0x420f50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4b7e
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5603e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], ecx
call fcn.004365e0
test eax, eax
jns 0x42121d
mov ebx, 1
xor edi, edi
test byte [0x560f84], bl
jne 0x420fbf
or dword [0x560f84], ebx
push 0x4c2ee0
mov dword [0x560f74], edi
mov dword [0x560f78], edi
mov dword [0x560f7c], edi
call fcn.004b13f9
add esp, 4
mov eax, dword [0x560f74]
cmp eax, dword [0x560f78]
jne 0x421079
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.ksolite.dll_class_QString___cdecl_krt::dirs::launchName_void_]
add esp, 4
lea edx, [ebp - 0x2c]
push edx
mov ecx, eax
mov dword [ebp - 4], edi
call dword [sym.imp.QtCore4.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____thiscall_QString::toStdWString_void_]
push eax
mov ecx, 0x560f74
mov byte [ebp - 4], bl
call fcn.00420e70
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x421010
mov eax, dword [ebp - 0x2c]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor ecx, ecx
mov word [ebp - 0x2c], cx
mov ebx, 7
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 0xf
xor edx, edx
push 0x4ce1ec
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], dx
call fcn.00405660
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x560f74
mov dword [ebp - 4], 2
call fcn.00406850
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], esi
jb 0x421079
mov ecx, dword [ebp - 0x2c]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ebx, dword [0x560f78]
mov esi, dword [0x560f74]
cmp esi, ebx
je 0x4210a0
lea esp, [esp]
push esi
call fcn.00451920
add esi, 0x1c
add esp, 4
cmp esi, ebx
jne 0x421090
call fcn.00454900
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.ksolite.dll_class_QString___cdecl_krt::dirs::launchExePath_void_]
add esp, 4
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 3
call dword [sym.imp.QtCore4.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42113d
mov ecx, dword [sym.imp.QtCore4.dll_struct_QListData::Data_QListData::shared_null]
mov dword [ebp - 0x30], ecx
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::ref_void_]
mov bl, 4
push 0x4ce1dc
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.004029d0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.QtCore4.dll_public:_static_bool___cdecl_QProcess::startDetached_class_QString_const___class_QStringList_const__]
mov ecx, dword [ebp - 0x30]
add esp, 8
mov byte [ebp - 4], 3
cmp ecx, edi
je 0x42113d
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::deref_void_]
test al, al
jne 0x42113d
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x30]
call fcn.00402670
push edi
lea ecx, [ebp - 0x34]
push str.Resetting_plugins_completed.
push ecx
call fcn.004160a0
mov esi, eax
push edi
lea edx, [ebp - 0x3c]
push str.Reset_plugins
mov bl, 6
push edx
mov byte [ebp - 4], bl
call fcn.004160a0
add esp, 0x18
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push esi
push eax
mov eax, dword [ebp - 0x40]
push eax
mov byte [ebp - 4], 7
mov dword [ecx], 0x400
call dword [sym.imp.QtCore4.dll_public:_static_enum_QMessageBox::StandardButton___cdecl_QMessageBox::information_class_QWidget___class_QString_const___class_QString_const___class_QFlags_enum_QMessageBox::StandardButton___enum_QMessageBox::StandardButton_]
add esp, 0x14
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 0x4ce1a8
lea ecx, [ebp - 0x34]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
mov ecx, dword [sym.imp.QtCore4.dll_struct_QListData::Data_QListData::shared_null]
mov byte [ebp - 4], 8
mov dword [ebp - 0x30], ecx
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::ref_void_]
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 9
call fcn.004029d0
lea edx, [ebp - 0x30]
push edx
mov byte [ebp - 4], 0xa
call fcn.00431ed0
mov ecx, dword [ebp - 0x30]
add esp, 4
mov byte [ebp - 4], 8
cmp ecx, edi
je 0x421200
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::deref_void_]
test al, al
jne 0x421200
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x30]
call fcn.00402670
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b12f6
mov esp, ebp
pop ebp
ret