Function at 0x413660
Capabilities:
Check if file exists

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x45a6e5
push eax
mov dword fs:[0], esp
sub esp, 0x820
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push 0x2000000
push edi
call sub.MFC42u.DLL_CWnd::ModifyStyle
mov ecx, dword [esi + 0x90]
cmp ecx, edi
je 0x4136b5
push 5
call sub.MFC42u.DLL_CWnd::ShowWindow
pop edi
pop esi
mov ecx, dword [esp + 0x820]
mov dword fs:[0], ecx
add esp, 0x82c
ret
push ebx
push ebp
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::CString_4
lea ecx, [esp + 0x14]
mov dword [esp + 0x838], edi
call sub.MFC42u.DLL_CString::CString_4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x838], 1
call sub.MFC42u.DLL_CString::CString_4
mov bl, 2
push 0x11c
mov byte [esp + 0x83c], bl
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x838], 3
je 0x413710
mov ecx, eax
call fcn.00422730
jmp 0x413712
xor eax, eax
mov ecx, dword [esi + 0x44]
mov dword [esi + 0x90], eax
lea eax, [esp + 0x20]
mov byte [esp + 0x838], bl
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0x4c]
lea edx, [esp + 0x10]
push eax
push edi
push edx
call fcn.00414870
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x83c], 4
call sub.MFC42u.DLL_CString::operator
push eax
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0x838], bl
call sub.MFC42u.DLL_CString::CString
push 0x104
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::GetBuffer
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::ReleaseBuffer
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41383d
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00456ce0
add esp, 4
test eax, eax
je 0x41383d
push 0xef7a
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::CString_1
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x48]
mov eax, dword [eax]
push edx
push ecx
lea edx, [esp + 0x20]
push eax
push edx
mov byte [esp + 0x848], 7
call sub.MFC42u.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x838], bl
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esi + 0x94]
mov ecx, dword [esi + 0x90]
push eax
push edi
call fcn.00422fe0
push 0xef7e
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::CString_1
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, dword [esi + 0x90]
mov byte [esp + 0x840], 8
call fcn.004230b0
mov byte [esp + 0x838], bl
lea ecx, [esp + 0x10]
jmp 0x4138c2
push 0xef7b
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::CString_1
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x48]
mov eax, dword [eax]
push edx
push ecx
lea edx, [esp + 0x20]
push eax
push edx
mov byte [esp + 0x848], 5
call sub.MFC42u.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x838], bl
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esi + 0x94]
mov ecx, dword [esi + 0x90]
push eax
push 1
call fcn.00422fe0
push 0x473258
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::CString_1
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, dword [esi + 0x90]
mov byte [esp + 0x840], 6
call fcn.004230b0
mov byte [esp + 0x838], bl
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov edx, dword [esi + 0x20]
push edi
push edi
sub ecx, eax
push edx
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x30]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, dword [esi + 0x90]
push 0x50000000
push edi
push str.QHCErrorWin
push edi
call sub.MFC42u.DLL_CWnd::CreateEx
mov eax, dword [esi + 0x90]
cmp eax, edi
jne 0x41390a
xor ebp, ebp
jmp 0x41390d
mov ebp, dword [eax + 0x20]
mov eax, dword [0x4730e0]
cmp eax, edi
je 0x413922
cmp dword [0x4730e4], edi
jne 0x4139f0
lea eax, [esp + 0x30]
push 0x400
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 0x30]
push ecx
call ebx
mov eax, dword [0x4730e8]
test eax, eax
jle 0x41395a
lea edx, [esp + 0x30]
push edx
call ebx
mov eax, dword [0x4730e8]
inc edi
cmp edi, eax
jl 0x413949
lea eax, [esp + 0x30]
push str.MiniUI.dll
lea ecx, [esp + 0x34]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x30]
test edx, edx
je 0x4139aa
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4139ae
lea ecx, [esp + 0x30]
push ecx
call fcn.00456ce0
add esp, 4
test eax, eax
jne 0x4139ae
call fcn.00456be0
lea edx, [esp + 0x30]
push eax
push edx
call fcn.00456bf0
add esp, 8
xor eax, eax
jmp 0x4139b9
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x4730e4], eax
je 0x4139fd
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x4730e0], eax
jne 0x4139f0
mov ecx, dword [0x4730e4]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4730e4], 0
jmp 0x4139fd
call eax
test eax, eax
je 0x4139fd
mov edx, dword [eax]
push ebp
push eax
call dword [edx + 8]
mov ecx, dword [esi + 0x90]
push 5
call sub.MFC42u.DLL_CWnd::ShowWindow
lea ecx, [esp + 0x1c]
mov dword [esi + 0x98], 0
mov byte [esp + 0x838], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x838], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x838], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x830]
pop ebp
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x82c
ret