Function at 0x41cc80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43ec98
push eax
mov eax, 0x1024
mov dword fs:[0], esp
call fcn.00439c20
mov eax, dword [0x44fe90]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x30], 1
test eax, eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x2c], 0x8003
je 0x41cccf
mov ecx, dword [0x44fe94]
test ecx, ecx
jne 0x41cd85
lea eax, [ebp - 0x830]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x830]
push ecx
call ebx
mov eax, dword [0x44fe98]
xor esi, esi
test eax, eax
jle 0x41cd10
lea edx, [ebp - 0x830]
push edx
call ebx
mov eax, dword [0x44fe98]
inc esi
cmp esi, eax
jl 0x41ccfd
lea eax, [ebp - 0x830]
push str.MiniUI.dll
lea ecx, [ebp - 0x830]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [ebp - 0x830]
push edx
call fcn.00405a80
add esp, 4
test eax, eax
je 0x41cd49
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x44fe94], eax
je 0x41cd9b
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x44fe90], eax
jne 0x41cd8b
mov ecx, dword [0x44fe94]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x44fe94], 0
xor eax, eax
jmp 0x41d12d
mov ebx, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
call eax
test eax, eax
je 0x41cd9b
mov edx, dword [eax]
push eax
call dword [edx + 0x34]
test eax, eax
jne 0x41cda2
xor eax, eax
jmp 0x41d12d
mov ecx, edi
call fcn.0041cb30
mov esi, eax
test esi, esi
je 0x41cf96
mov eax, dword [esi]
push esi
mov dword [ebp - 0x10], 0
call dword [eax]
lea ecx, [ebp - 0x10]
mov edi, eax
test ecx, ecx
mov dword [ebp - 0x18], edi
je 0x41ceb8
test edi, edi
mov dword [ebp - 0x10], 0
je 0x41ced6
mov eax, dword [0x44fe90]
test eax, eax
je 0x41cdf5
mov ecx, dword [0x44fe94]
test ecx, ecx
jne 0x41cea2
lea edx, [ebp - 0x830]
push 0x400
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x830]
push eax
call ebx
mov eax, dword [0x44fe98]
xor edi, edi
test eax, eax
jle 0x41ce30
lea ecx, [ebp - 0x830]
push ecx
call ebx
mov eax, dword [0x44fe98]
inc edi
cmp edi, eax
jl 0x41ce1d
lea edx, [ebp - 0x830]
push str.MiniUI.dll
lea eax, [ebp - 0x830]
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x830]
push ecx
call fcn.00405a80
add esp, 4
test eax, eax
je 0x41ce69
lea edx, [ebp - 0x830]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x44fe94], eax
je 0x41ceb8
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x44fe90], eax
jne 0x41ce9f
mov eax, dword [0x44fe94]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x44fe94], 0
jmp 0x41ceb8
mov edi, dword [ebp - 0x18]
call eax
test eax, eax
je 0x41ceb8
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 0x2710
push edi
push eax
call dword [ecx + 0x20]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x41ced6
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 0x60]
mov eax, dword [ebp + 8]
test eax, eax
je 0x41cf93
mov eax, dword [esi]
lea ecx, [ebp - 0x30]
push 2
push ecx
mov ecx, esi
call dword [eax + 0x1c]
mov edx, dword [esi]
push 0x12c
push 0x8000000
push 1
push 0
mov ecx, esi
call dword [edx + 0x20]
mov eax, dword [esi]
push 0x64
push 1
push 0x8003
push 1
mov ecx, esi
call dword [eax + 0x20]
push 0xef19
lea ecx, [ebp - 0x18]
call sub.MFC42u.DLL_CString::CString_1
mov edi, dword [eax]
mov dword [ebp - 4], 0
test edi, edi
jne 0x41cf33
xor eax, eax
jmp 0x41cf68
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
mov dword [ebp + 8], eax
add eax, 3
and al, 0xfc
call fcn.00439c20
mov ecx, dword [ebp + 8]
mov ebx, esp
push 0
push 0
push ecx
push ebx
push 0xffffffffffffffff
push edi
push 0
push 0
mov byte [ebx], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, ebx
mov edx, dword [esi]
push 1
push eax
push 1
mov ecx, esi
call dword [edx + 0x24]
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0x14]
mov eax, dword [esi]
mov edx, dword [ecx + 0x20]
mov ecx, esi
push edx
push 1
call dword [eax + 0x2c]
mov edi, dword [ebp - 0x14]
mov eax, dword [edi + 0x344]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x41d128
xor ecx, ecx
lea edx, [ebp - 0x28]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
mov eax, dword [esi]
mov dword [ebp - 0x20], ecx
push edx
push esi
mov dword [ebp - 0x1c], ecx
call dword [eax]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0x20]
mov edx, dword [esi]
mov ebx, dword [edi + 0x324]
add edi, 0x324
push 0
add ecx, 0xffffff10
push 0
push esi
mov dword [ebp - 0x28], ecx
call dword [edx]
push eax
call sub.MFC42u.DLL_CWnd::FromHandle
push eax
lea eax, [ebp - 0x28]
push eax
push 0x50000000
push 0
push 0
mov ecx, edi
call dword [ebx + 0x5c]
mov ecx, dword [esi]
push esi
call dword [ecx]
mov ebx, eax
mov eax, dword [0x44fe90]
test eax, eax
je 0x41d021
mov ecx, dword [0x44fe94]
test ecx, ecx
jne 0x41d105
lea edx, [ebp - 0x1030]
push 0x400
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x1030]
push eax
call edi
mov eax, dword [0x44fe98]
xor esi, esi
test eax, eax
jle 0x41d062
lea ecx, [ebp - 0x1030]
push ecx
call edi
mov eax, dword [0x44fe98]
inc esi
cmp esi, eax
jl 0x41d04f
lea edx, [ebp - 0x1030]
push str.MiniUI.dll
lea eax, [ebp - 0x1030]
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x1030]
test ecx, ecx
je 0x41d0be
lea edx, [ebp - 0x1030]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41d0c2
lea eax, [ebp - 0x1030]
push eax
call fcn.0043a2e0
add esp, 4
test eax, eax
jne 0x41d0c2
call fcn.0043a1e0
lea ecx, [ebp - 0x1030]
push eax
push ecx
call fcn.0043a1f0
add esp, 8
xor eax, eax
jmp 0x41d0cf
lea edx, [ebp - 0x1030]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x44fe94], eax
je 0x41d128
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x44fe90], eax
jne 0x41d105
mov eax, dword [0x44fe94]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x44fe94], 0
jmp 0x41d128
call eax
test eax, eax
je 0x41d128
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x1c]
test eax, eax
je 0x41d128
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax]
push 4
mov ecx, dword [ecx + 0x344]
push ecx
push eax
call dword [edx + 0xc]
mov eax, 1
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x103c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4