Function at 0x410c90
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x45a3b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x804
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x824]
xor ebx, ebx
mov dword [esp + 0x81c], 2
mov eax, dword [eax - 8]
cmp eax, ebx
je 0x410d1b
mov eax, dword [ecx + 0xf8]
lea esi, [ecx + 0xf8]
cmp eax, ebx
jne 0x410cf3
call fcn.00406030
cmp eax, ebx
je 0x410cef
mov ecx, dword [eax]
push eax
call dword [ecx + 0x54]
jmp 0x410cf1
xor eax, eax
mov dword [esi], eax
mov ecx, dword [esi]
cmp ecx, ebx
je 0x410d1b
mov eax, dword [esp + 0x824]
mov edx, dword [ecx]
push ebx
push eax
call dword [edx + 0xc]
test eax, eax
jne 0x410d1b
call fcn.00406030
cmp eax, ebx
je 0x410d1b
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x58]
mov edx, dword [esp + 0x828]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [edx - 8]
cmp eax, ebx
je 0x410e36
mov eax, dword [esp + 0x10]
lea edi, [eax + 0xe8]
mov eax, dword [eax + 0xe8]
cmp eax, ebx
jne 0x410d5c
call fcn.00406030
cmp eax, ebx
je 0x410d58
mov ecx, dword [eax]
push eax
call dword [ecx + 0x54]
jmp 0x410d5a
xor eax, eax
mov dword [edi], eax
mov ecx, dword [edi]
cmp ecx, ebx
je 0x410e36
mov eax, dword [esp + 0x828]
mov edx, dword [ecx]
push ebx
push eax
call dword [edx + 0xc]
test eax, eax
jne 0x410e36
mov eax, dword [0x4730e0]
cmp eax, ebx
je 0x410d91
cmp dword [0x4730e4], ebx
jne 0x410e29
lea ecx, [esp + 0x14]
push 0x400
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x14]
push edx
call ebp
mov eax, dword [0x4730e8]
xor esi, esi
cmp eax, ebx
jle 0x410dc5
lea eax, [esp + 0x14]
push eax
call ebp
mov eax, dword [0x4730e8]
inc esi
cmp esi, eax
jl 0x410db4
lea ecx, [esp + 0x14]
push str.MiniUI.dll
lea edx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0x14]
push eax
call fcn.00401560
add esp, 4
test eax, eax
je 0x410df6
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [0x4730e4], eax
je 0x410e36
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [0x4730e0], eax
jne 0x410e29
mov edx, dword [0x4730e4]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4730e4], ebx
jmp 0x410e36
call eax
cmp eax, ebx
je 0x410e36
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x58]
mov edx, dword [esp + 0x82c]
cmp dword [edx - 8], ebx
je 0x41105c
mov eax, dword [esp + 0x10]
lea edi, [eax + 0xf4]
mov eax, dword [eax + 0xf4]
cmp eax, ebx
jne 0x410f3f
mov eax, dword [0x4730e0]
cmp eax, ebx
je 0x410e73
cmp dword [0x4730e4], ebx
jne 0x410ffc
lea ecx, [esp + 0x14]
push 0x400
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x14]
push edx
call ebp
mov eax, dword [0x4730e8]
xor esi, esi
cmp eax, ebx
jle 0x410ea7
lea eax, [esp + 0x14]
push eax
call ebp
mov eax, dword [0x4730e8]
inc esi
cmp esi, eax
jl 0x410e96
lea ecx, [esp + 0x14]
push str.MiniUI.dll
lea edx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0x14]
test eax, eax
je 0x410ef7
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x410efb
lea edx, [esp + 0x14]
push edx
call fcn.00456ce0
add esp, 4
test eax, eax
jne 0x410efb
call fcn.00456be0
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00456bf0
add esp, 8
xor eax, eax
jmp 0x410f06
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [0x4730e4], eax
je 0x410f3b
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [0x4730e0], eax
jne 0x410ffc
mov edx, dword [0x4730e4]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4730e4], ebx
xor eax, eax
mov dword [edi], eax
mov ecx, dword [edi]
cmp ecx, ebx
je 0x41105c
mov eax, dword [esp + 0x82c]
mov edx, dword [ecx]
push ebx
push eax
call dword [edx + 0xc]
test eax, eax
jne 0x41105c
mov eax, dword [0x4730e0]
cmp eax, ebx
je 0x410f74
cmp dword [0x4730e4], ebx
jne 0x41104f
lea ecx, [esp + 0x14]
push 0x400
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x14]
push edx
call ebp
mov eax, dword [0x4730e8]
xor esi, esi
cmp eax, ebx
jle 0x410fa8
lea eax, [esp + 0x14]
push eax
call ebp
mov eax, dword [0x4730e8]
inc esi
cmp esi, eax
jl 0x410f97
lea ecx, [esp + 0x14]
push str.MiniUI.dll
lea edx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0x14]
test eax, eax
je 0x410ff8
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x411011
lea edx, [esp + 0x14]
push edx
call fcn.00456ce0
add esp, 4
test eax, eax
jne 0x411011
call fcn.00456be0
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00456bf0
add esp, 8
xor eax, eax
jmp 0x41101c
call eax
cmp eax, ebx
je 0x410f3b
mov ecx, dword [eax]
push eax
call dword [ecx + 0x54]
jmp 0x410f3d
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [0x4730e4], eax
je 0x41105c
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [0x4730e0], eax
jne 0x41104f
mov edx, dword [0x4730e4]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4730e4], ebx
jmp 0x41105c
call eax
cmp eax, ebx
je 0x41105c
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x58]
lea ecx, [esp + 0x824]
mov byte [esp + 0x81c], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x828]
mov byte [esp + 0x81c], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x82c]
mov dword [esp + 0x81c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x814]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x810
ret 0xc