Function at 0x411c20
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x45a47b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x804
push ebx
mov ebx, ecx
push ebp
push esi
push edi
mov dword [esp + 0x10], ebx
mov dword [ebx], 0x4616b0
mov eax, dword [ebx + 0x64]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea esi, [ebx + 0x64]
mov dword [esp + 0x81c], 0
test eax, eax
je 0x411d59
mov eax, dword [0x4730e0]
test eax, eax
je 0x411c81
mov ecx, dword [0x4730e4]
test ecx, ecx
jne 0x411d4c
lea eax, [esp + 0x14]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x14]
push ecx
call ebp
mov eax, dword [0x4730e8]
xor edi, edi
test eax, eax
jle 0x411cb6
lea edx, [esp + 0x14]
push edx
call ebp
mov eax, dword [0x4730e8]
inc edi
cmp edi, eax
jl 0x411ca5
lea eax, [esp + 0x14]
push str.MiniUI.dll
lea ecx, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x14]
test edx, edx
je 0x411d06
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x411d0a
lea ecx, [esp + 0x14]
push ecx
call fcn.00456ce0
add esp, 4
test eax, eax
jne 0x411d0a
call fcn.00456be0
lea edx, [esp + 0x14]
push eax
push edx
call fcn.00456bf0
add esp, 8
xor eax, eax
jmp 0x411d15
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x4730e4], eax
je 0x411d59
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x4730e0], eax
jne 0x411d4c
mov ecx, dword [0x4730e4]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4730e4], 0
jmp 0x411d59
call eax
test eax, eax
je 0x411d59
mov edx, dword [eax]
push esi
push eax
call dword [edx + 0x58]
mov eax, dword [ebx + 0x60]
lea edi, [ebx + 0x60]
test eax, eax
mov dword [esi], 0
je 0x411e5c
mov eax, dword [0x4730e0]
test eax, eax
je 0x411d84
mov ecx, dword [0x4730e4]
test ecx, ecx
jne 0x411e4f
lea eax, [esp + 0x14]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x14]
push ecx
call ebp
mov eax, dword [0x4730e8]
xor esi, esi
test eax, eax
jle 0x411db9
lea edx, [esp + 0x14]
push edx
call ebp
mov eax, dword [0x4730e8]
inc esi
cmp esi, eax
jl 0x411da8
lea eax, [esp + 0x14]
push str.MiniUI.dll
lea ecx, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x14]
test edx, edx
je 0x411e09
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x411e0d
lea ecx, [esp + 0x14]
push ecx
call fcn.00456ce0
add esp, 4
test eax, eax
jne 0x411e0d
call fcn.00456be0
lea edx, [esp + 0x14]
push eax
push edx
call fcn.00456bf0
add esp, 8
xor eax, eax
jmp 0x411e18
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x4730e4], eax
je 0x411e5c
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x4730e0], eax
jne 0x411e4f
mov ecx, dword [0x4730e4]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4730e4], 0
jmp 0x411e5c
call eax
test eax, eax
je 0x411e5c
mov edx, dword [eax]
push edi
push eax
call dword [edx + 0x58]
mov ecx, ebx
mov dword [edi], 0
mov dword [esp + 0x81c], 0xffffffff
call sub.MFC42u.DLL_CDialog::CDialog
mov ecx, dword [esp + 0x814]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x810
ret