Function at 0x42e120
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x43fe72
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x830
push ebx
push ebp
push esi
mov esi, ecx
lea eax, [esp + 0x10]
push edi
mov ecx, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetClientRect]
push eax
push ecx
call edi
push 0x28
push 0xa
push 0x1e
push 0xa
lea ecx, [esp + 0x24]
call sub.MFC42u.DLL_CRect::DeflateRect
xor ebp, ebp
cmp esi, ebp
mov dword [esp + 0x28], ebp
je 0x42e689
mov eax, dword [esi + 0x20]
cmp eax, ebp
je 0x42e188
push 0x3ed
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
jmp 0x42e18a
xor ebx, ebx
call fcn.00405ac0
cmp eax, ebp
je 0x42e689
mov edx, dword [eax]
lea ecx, [esp + 0x28]
push ecx
push 0x283c
push ebx
push eax
call dword [edx + 0x20]
cmp eax, ebp
je 0x42e689
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], ebp
push eax
mov edx, dword [eax]
call dword [edx]
mov ebx, eax
lea eax, [esp + 0x10]
test eax, eax
je 0x42e1e9
cmp ebx, ebp
mov dword [esp + 0x10], ebp
je 0x42e206
call fcn.00405ac0
cmp eax, ebp
je 0x42e1e9
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x2710
push ebx
push eax
call dword [ecx + 0x20]
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x42e206
mov ecx, dword [eax]
push ebp
push eax
call dword [ecx + 0x64]
mov eax, dword [esp + 0x10]
push ebp
push ebp
push ebp
mov edx, dword [eax]
push ebp
push eax
call dword [edx + 0x44]
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx]
push eax
call sub.MFC42u.DLL_CWnd::FromHandle
mov ebx, eax
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x30]
push edx
push eax
call edi
mov edx, dword [ebx + 0x20]
mov ebp, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x14]
push ecx
push edx
call ebp
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call sub.MFC42u.DLL_CWnd::ScreenToClient
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
inc eax
dec edi
mov dword [esp + 0x18], ecx
add edx, 0xffffffd8
mov ecx, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edx
call fcn.0042e090
lea edi, [esi + 0x64]
push esi
push 0x8d
mov ecx, edi
mov dword [esi + 0x6bc], eax
call sub.MFC42u.DLL_CDialog::Create
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub ecx, eax
push 0
push ecx
mov ecx, dword [esp + 0x1c]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, edi
call sub.MFC42u.DLL_CWnd::MoveWindow
lea edi, [esi + 0x2b4]
push esi
push 0x8d
mov ecx, edi
call sub.MFC42u.DLL_CDialog::Create
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub ecx, eax
push 0
push ecx
mov ecx, dword [esp + 0x1c]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, edi
call sub.MFC42u.DLL_CWnd::MoveWindow
lea edi, [esi + 0x43c]
push esi
push 0x6c
mov ecx, edi
call sub.MFC42u.DLL_CDialog::Create
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
push 0
sub ecx, eax
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, edi
call sub.MFC42u.DLL_CWnd::MoveWindow
push 0xef28
lea ecx, [esp + 0x28]
call sub.MFC42u.DLL_CString::CString_1
mov eax, dword [eax]
mov ecx, dword [esp + 0x28]
push 0
push 0
mov edx, dword [ecx]
push eax
push 0x4e84
push ecx
mov dword [esp + 0x85c], 0
call dword [edx + 0x10]
or edi, 0xffffffff
lea ecx, [esp + 0x24]
mov dword [esp + 0x848], edi
call sub.MFC42u.DLL_CString::CString
push 0xef29
lea ecx, [esp + 0x28]
call sub.MFC42u.DLL_CString::CString_1
mov eax, dword [eax]
mov ecx, dword [esp + 0x28]
push 0
push 0
mov edx, dword [ecx]
push eax
push 0x4e85
push ecx
mov dword [esp + 0x85c], 1
call dword [edx + 0x10]
lea ecx, [esp + 0x24]
mov dword [esp + 0x848], edi
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esi + 0x6bc]
test ecx, ecx
je 0x42e3f4
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
sub eax, edx
mov edx, dword [esp + 0x1c]
push 0
push eax
mov eax, dword [esp + 0x1c]
sub edx, eax
push edx
mov edx, dword [esp + 0x24]
push edx
push eax
call sub.MFC42u.DLL_CWnd::MoveWindow
push 0xef2e
lea ecx, [esp + 0x28]
call sub.MFC42u.DLL_CString::CString_1
mov eax, dword [eax]
mov ecx, dword [esp + 0x28]
push 0
push 0
mov edx, dword [ecx]
push eax
push 0x4e86
push ecx
mov dword [esp + 0x85c], 2
call dword [edx + 0x10]
lea ecx, [esp + 0x24]
mov dword [esp + 0x848], edi
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x28]
mov edx, dword [esi + 0x60]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esp + 0x20]
push 0xef2a
lea ecx, [esp + 0x28]
lea eax, [edx - 0x23]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
add eax, 0x17
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
sub eax, edx
cdq
sub eax, edx
sar eax, 1
sub eax, 0x5a
mov dword [esp + 0x18], eax
add eax, 0x46
mov dword [esp + 0x20], eax
call sub.MFC42u.DLL_CString::CString_1
mov eax, dword [eax]
push 1
lea ecx, [esp + 0x18]
push esi
push ecx
push 0x50000000
push eax
lea ecx, [esi + 0x6c0]
mov dword [esp + 0x85c], 3
call sub.MFC42u.DLL_CButton::Create
lea ecx, [esp + 0x24]
mov dword [esp + 0x848], edi
call sub.MFC42u.DLL_CString::CString
mov edx, dword [esp + 0x1c]
push 0xef2b
lea ecx, [esp + 0x28]
lea eax, [edx + 0x28]
mov dword [esp + 0x18], eax
add eax, 0x46
mov dword [esp + 0x20], eax
call sub.MFC42u.DLL_CString::CString_1
mov eax, dword [eax]
push 2
lea ecx, [esp + 0x18]
push esi
push ecx
push 0x50000000
push eax
lea ecx, [esi + 0x700]
mov dword [esp + 0x85c], 4
call sub.MFC42u.DLL_CButton::Create
lea ecx, [esp + 0x24]
mov dword [esp + 0x848], edi
call sub.MFC42u.DLL_CString::CString
mov edx, dword [esi + 0x60]
mov ecx, esi
add edx, 0x4e84
push edx
call fcn.0042e6b0
mov ecx, dword [ebx + 0x20]
lea eax, [esp + 0x14]
push eax
push ecx
call ebp
lea edx, [esp + 0x14]
mov ecx, esi
push edx
call sub.MFC42u.DLL_CWnd::ScreenToClient
mov ecx, dword [esp + 0x14]
inc ecx
mov eax, dword [esp + 0x38]
mov esi, dword [esi + 0x20]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x10]
add eax, 0xfffffffe
test ecx, ecx
mov dword [esp + 0x1c], eax
je 0x42e62c
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x10], ebx
je 0x42e689
mov eax, dword [0x44fe90]
cmp eax, ebx
je 0x42e548
cmp dword [0x44fe94], ebx
jne 0x42e615
lea edx, [esp + 0x40]
push 0x400
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [esp + 0x40]
push eax
call ebp
mov eax, dword [0x44fe98]
test eax, eax
jle 0x42e580
lea ecx, [esp + 0x40]
push ecx
call ebp
mov eax, dword [0x44fe98]
inc ebx
cmp ebx, eax
jl 0x42e56f
lea edx, [esp + 0x40]
push str.MiniUI.dll
lea eax, [esp + 0x44]
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x40]
test ecx, ecx
je 0x42e5d0
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42e5d4
lea eax, [esp + 0x40]
push eax
call fcn.0043a2e0
add esp, 4
test eax, eax
jne 0x42e5d4
call fcn.0043a1e0
lea ecx, [esp + 0x40]
push eax
push ecx
call fcn.0043a1f0
add esp, 8
xor eax, eax
jmp 0x42e5df
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x44fe94], eax
je 0x42e62c
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x44fe90], eax
jne 0x42e615
mov eax, dword [0x44fe94]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x44fe94], 0
jmp 0x42e62c
call eax
test eax, eax
je 0x42e62c
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x2710
push esi
push eax
call dword [ecx + 0x20]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42e689
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push eax
call dword [ecx + 0x44]
mov ecx, dword [0x44ff88]
lea edx, [esp + 0x2c]
push edx
call fcn.004200f0
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
push eax
push ecx
mov edx, dword [ecx]
mov dword [esp + 0x850], 5
call dword [edx + 0x84]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x848], edi
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x10]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov ecx, dword [esp + 0x840]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x83c
ret