Function at 0x41e75d
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x43f137
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x850
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x40]
mov dword [esp + 0x3c], ebx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1c]
call fcn.00439240
mov ecx, esi
mov dword [esp + 0x868], ebx
call fcn.0041c9e0
mov ecx, dword [eax]
push eax
call dword [ecx]
push eax
call sub.MFC42u.DLL_CWnd::FromHandle
lea ebp, [esi + 0x3ec]
mov ebx, eax
test ebp, ebp
mov dword [esp + 0x10], ebx
je 0x41e7bb
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x41e7bb
push 5
mov ecx, ebp
call sub.MFC42u.DLL_CWnd::ShowWindow
jmp 0x41ead4
lea ecx, [esp + 0x1c]
call fcn.004393e0
test eax, eax
je 0x41e88d
call dword [esp + 0x20]
test eax, eax
je 0x41e88d
call dword [esp + 0x30]
test eax, eax
je 0x41e88d
push 0x80
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::CString_1
mov edi, dword [eax]
push 0xef1a
lea ecx, [esp + 0x18]
mov byte [esp + 0x86c], 1
call sub.MFC42u.DLL_CString::CString_1
mov ebp, dword [eax]
mov byte [esp + 0x868], 2
call sub.MFC42u.DLL_AfxGetThread
test eax, eax
je 0x41e826
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x41e828
xor eax, eax
mov esi, dword [eax + 0x20]
call fcn.00423750
test eax, eax
je 0x41e842
mov ecx, dword [eax]
push 0
push edi
push ebp
push esi
push eax
call dword [ecx + 0x8c]
lea ecx, [esp + 0x14]
mov byte [esp + 0x868], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x868], 0
call sub.MFC42u.DLL_CString::CString
test ebx, ebx
mov dword [0x4502c0], 0
je 0x41ead4
mov edx, dword [ebx + 0x20]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebx + 0x20]
push eax
jmp 0x41eace
lea ecx, [esi + 0x2a8]
call fcn.00437580
cmp eax, 2
jl 0x41ea07
cmp eax, 3
jg 0x41ea07
push 0x80
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::CString_1
mov ebx, dword [eax]
push 0xef64
lea ecx, [esp + 0x18]
mov byte [esp + 0x86c], 3
call sub.MFC42u.DLL_CString::CString_1
mov ecx, dword [eax]
mov byte [esp + 0x868], 4
mov dword [esp + 0x10], ecx
call sub.MFC42u.DLL_AfxGetThread
test eax, eax
je 0x41e8f2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
test eax, eax
jne 0x41e8f6
xor ebp, ebp
jmp 0x41e8f9
mov ebp, dword [eax + 0x20]
mov eax, dword [0x450024]
test eax, eax
je 0x41e910
mov ecx, dword [0x44fe94]
test ecx, ecx
jne 0x41e9c8
lea eax, [esp + 0x60]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 0x60]
push ecx
call edi
mov eax, dword [0x44fe98]
xor esi, esi
test eax, eax
jle 0x41e94b
lea edx, [esp + 0x60]
push edx
call edi
mov eax, dword [0x44fe98]
inc esi
cmp esi, eax
jl 0x41e93a
lea eax, [esp + 0x60]
push str.MiniUI.dll
lea ecx, [esp + 0x64]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x60]
test edx, edx
je 0x41e99b
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41e99f
lea ecx, [esp + 0x60]
push ecx
call fcn.0043a2e0
add esp, 4
test eax, eax
jne 0x41e99f
call fcn.0043a1e0
lea edx, [esp + 0x60]
push eax
push edx
call fcn.0043a1f0
add esp, 8
xor eax, eax
jmp 0x41e9aa
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x44fe94], eax
je 0x41e9e0
push str.GetMiniUI3
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x450024], eax
je 0x41e9e0
call eax
test eax, eax
je 0x41e9e0
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
push 0
push ebx
push edx
push ebp
push eax
call dword [ecx + 0x8c]
lea ecx, [esp + 0x14]
mov byte [esp + 0x868], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x868], 0
call sub.MFC42u.DLL_CString::CString
jmp 0x41ead4
mov eax, dword [0x4502c0]
test eax, eax
jne 0x41ead4
mov dword [0x4502c0], 1
xor edi, edi
lea ebx, [esi + 0x22c]
mov ecx, ebx
call fcn.00437dc0
test eax, eax
jne 0x41ea4e
push 0xa
mov ecx, 0x450000
call fcn.0040d3e0
test eax, eax
je 0x41ea4e
mov ecx, ebx
call fcn.00437ce0
inc edi
cmp edi, 0xa
jl 0x41ea26
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x3c]
xor ebx, ebx
rep stosd dword es:[edi], eax
mov eax, 1
lea edi, [esi + 0x2a8]
push eax
mov ecx, edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebx
call fcn.00437590
push ebx
mov ecx, edi
call fcn.00437400
lea eax, [esp + 0x3c]
push eax
call fcn.004380e0
add esp, 4
mov ecx, ebp
push esi
push 0x8a
call sub.MFC42u.DLL_CDialog::Create
push 5
mov ecx, ebp
call sub.MFC42u.DLL_CWnd::ShowWindow
mov esi, dword [esp + 0x10]
mov dword [0x4502c0], ebx
cmp esi, ebx
je 0x41ead4
mov ecx, dword [esi + 0x20]
push 1
push ebx
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x868], 0xffffffff
call fcn.00439290
mov ecx, dword [esp + 0x860]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x85c
ret