Function at 0x408ad0
Capabilities:
Check if file exists

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43cfb5
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 0x408b25
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 0x408b80
mov ecx, eax
call fcn.0040c0c0
jmp 0x408b82
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.00407760
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x83c], 4
call sub.MFC42u.DLL_CString::operator_2
push eax
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CString::operator_2
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 0x408cad
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0043a2e0
add esp, 4
test eax, eax
je 0x408cad
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_1
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.0040c960
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.0040ca30
mov byte [esp + 0x838], bl
lea ecx, [esp + 0x10]
jmp 0x408d32
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_1
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.0040c960
push 0x44ffe8
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.0040ca30
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 edi
push edi
call sub.MFC42u.DLL_CWnd::CreateEx
mov eax, dword [esi + 0x90]
cmp eax, edi
jne 0x408d76
xor ebp, ebp
jmp 0x408d79
mov ebp, dword [eax + 0x20]
mov eax, dword [0x44fe90]
cmp eax, edi
je 0x408d8e
cmp dword [0x44fe94], edi
jne 0x408e5c
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 [0x44fe98]
test eax, eax
jle 0x408dc6
lea edx, [esp + 0x30]
push edx
call ebx
mov eax, dword [0x44fe98]
inc edi
cmp edi, eax
jl 0x408db5
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 0x408e16
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x408e1a
lea ecx, [esp + 0x30]
push ecx
call fcn.0043a2e0
add esp, 4
test eax, eax
jne 0x408e1a
call fcn.0043a1e0
lea edx, [esp + 0x30]
push eax
push edx
call fcn.0043a1f0
add esp, 8
xor eax, eax
jmp 0x408e25
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x44fe94], eax
je 0x408e69
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x44fe90], eax
jne 0x408e5c
mov ecx, dword [0x44fe94]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x44fe94], 0
jmp 0x408e69
call eax
test eax, eax
je 0x408e69
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