Function at 0x422730
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x45b7ff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x804
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call sub.MFC42u.DLL_CWnd::CWnd
xor ebx, ebx
lea ecx, [esi + 0x7c]
mov dword [esp + 0x81c], ebx
call sub.MFC42u.DLL_CString::CString_4
lea ecx, [esi + 0x80]
mov byte [esp + 0x81c], 1
call sub.MFC42u.DLL_CString::CString_4
mov dword [esi + 0x90], ebx
mov dword [esi + 0x8c], 0x462174
lea edi, [esi + 0x94]
mov byte [esp + 0x81c], 3
mov ecx, edi
call sub.MFC42u.DLL_CWnd::CWnd
mov dword [edi], 0x4620b0
lea ecx, [esi + 0xd4]
mov byte [esp + 0x81c], 4
call sub.MFC42u.DLL_CString::CString_4
lea ecx, [esi + 0xd8]
mov byte [esp + 0x81c], 5
call sub.MFC42u.DLL_CString::CString_4
lea edi, [esi + 0xdc]
mov byte [esp + 0x81c], 6
mov ecx, edi
call sub.MFC42u.DLL_CWnd::CWnd
mov dword [edi], 0x4608f0
push 0xb
push str.QHCErrorWin
mov byte [esp + 0x824], 7
mov dword [esi], 0x461ff0
call fcn.00423670
mov ebp, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov dword [esi + 0x40], ebx
mov eax, dword [0x473260]
add esp, 8
cmp eax, ebx
je 0x422825
cmp dword [0x4730e4], ebx
jne 0x4228d6
lea eax, [esp + 0x14]
push 0x400
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x14]
push ecx
call ebp
mov eax, dword [0x4730e8]
xor edi, edi
cmp eax, ebx
jle 0x422859
lea edx, [esp + 0x14]
push edx
call ebp
mov eax, dword [0x4730e8]
inc edi
cmp edi, eax
jl 0x422848
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 0x4228a9
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4228ad
lea ecx, [esp + 0x14]
push ecx
call fcn.00456ce0
add esp, 4
test eax, eax
jne 0x4228ad
call fcn.00456be0
lea edx, [esp + 0x14]
push eax
push edx
call fcn.00456bf0
add esp, 8
xor eax, eax
jmp 0x4228b8
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [0x4730e4], eax
je 0x4228e7
push str.GetMiniUI2
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [0x473260], eax
je 0x4228e7
call eax
cmp eax, ebx
je 0x4228e7
mov ecx, dword [eax]
push eax
call dword [ecx + 0x84]
jmp 0x4228e9
xor eax, eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov eax, dword [0x473260]
cmp eax, ebx
je 0x42290a
cmp dword [0x4730e4], ebx
jne 0x4229bb
lea edx, [esp + 0x14]
push 0x400
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x14]
push eax
call ebp
mov eax, dword [0x4730e8]
xor edi, edi
cmp eax, ebx
jle 0x42293e
lea ecx, [esp + 0x14]
push ecx
call ebp
mov eax, dword [0x4730e8]
inc edi
cmp edi, eax
jl 0x42292d
lea edx, [esp + 0x14]
push str.MiniUI.dll
lea eax, [esp + 0x18]
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x14]
test ecx, ecx
je 0x42298e
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x422992
lea eax, [esp + 0x14]
push eax
call fcn.00456ce0
add esp, 4
test eax, eax
jne 0x422992
call fcn.00456be0
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.00456bf0
add esp, 8
xor eax, eax
jmp 0x42299d
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [0x4730e4], eax
je 0x4229d2
push str.GetMiniUI2
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [0x473260], eax
je 0x4229d2
call eax
cmp eax, ebx
je 0x4229d2
mov ecx, dword [eax]
push eax
call dword [ecx + 0x84]
mov dword [esi + 0x88], eax
jmp 0x4229d8
mov dword [esi + 0x88], ebx
mov ecx, dword [esp + 0x814]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x810
ret