Function at 0x419c20
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x43e8bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x838
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], ecx
xor ebp, ebp
mov dword [esp + 0x40], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x44], ecx
mov ecx, dword [edi + 0x5c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], ebp
call fcn.00413d60
cmp eax, ebp
mov dword [esp + 0x20], eax
jg 0x419c82
xor eax, eax
jmp 0x41a0ef
mov eax, dword [0x44fe90]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
cmp eax, ebp
je 0x419c9d
cmp dword [0x44fe94], ebp
jne 0x419d67
lea edx, [esp + 0x48]
push 0x400
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x48]
push eax
call ebx
mov eax, dword [0x44fe98]
xor esi, esi
cmp eax, ebp
jle 0x419cd1
lea ecx, [esp + 0x48]
push ecx
call ebx
mov eax, dword [0x44fe98]
inc esi
cmp esi, eax
jl 0x419cc0
lea edx, [esp + 0x48]
push str.MiniUI.dll
lea eax, [esp + 0x4c]
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x48]
test ecx, ecx
je 0x419d21
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x419d25
lea eax, [esp + 0x48]
push eax
call fcn.0043a2e0
add esp, 4
test eax, eax
jne 0x419d25
call fcn.0043a1e0
lea ecx, [esp + 0x48]
push eax
push ecx
call fcn.0043a1f0
add esp, 8
xor eax, eax
jmp 0x419d30
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebp
mov dword [0x44fe94], eax
je 0x419d7b
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebp
mov dword [0x44fe90], eax
jne 0x419d67
mov eax, dword [0x44fe94]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x44fe94], ebp
xor eax, eax
jmp 0x41a0ef
call eax
cmp eax, ebp
je 0x419d7b
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
cmp eax, ebp
mov dword [esp + 0x34], eax
jne 0x419d82
xor eax, eax
jmp 0x41a0ef
cmp edi, ebp
mov dword [esp + 0x10], ebp
je 0x419e73
mov eax, dword [edi + 0x20]
cmp eax, ebp
je 0x419da5
push 0x3eb
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
jmp 0x419da7
xor edi, edi
mov eax, dword [0x44fe90]
cmp eax, ebp
je 0x419dbc
cmp dword [0x44fe94], ebp
jne 0x419e58
lea edx, [esp + 0x48]
push 0x400
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x48]
push eax
call ebx
mov eax, dword [0x44fe98]
xor esi, esi
cmp eax, ebp
jle 0x419df0
lea ecx, [esp + 0x48]
push ecx
call ebx
mov eax, dword [0x44fe98]
inc esi
cmp esi, eax
jl 0x419ddf
lea edx, [esp + 0x48]
push str.MiniUI.dll
lea eax, [esp + 0x4c]
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x48]
push ecx
call fcn.00405a80
add esp, 4
test eax, eax
je 0x419e21
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebp
mov dword [0x44fe94], eax
je 0x419e73
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebp
mov dword [0x44fe90], eax
jne 0x419e58
mov eax, dword [0x44fe94]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x44fe94], ebp
xor eax, eax
jmp 0x41a0ef
call eax
cmp eax, ebp
je 0x419e73
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x2774
push edi
push eax
call dword [ecx + 0x20]
cmp eax, ebp
jne 0x419e7a
xor eax, eax
jmp 0x41a0ef
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x38]
push eax
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x419eef
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x24]
mov ecx, esi
push edx
call sub.MFC42u.DLL_CWnd::ScreenToClient
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
sub edx, ecx
push 1
dec eax
push edx
push eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], 1
push ecx
mov ecx, dword [eax]
push 1
push eax
call dword [ecx]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], ebp
push eax
mov edx, dword [eax]
call dword [edx]
mov edi, eax
lea eax, [esp + 0x14]
test eax, eax
je 0x41a008
cmp edi, ebp
mov dword [esp + 0x14], ebp
je 0x41a016
mov eax, dword [0x44fe90]
cmp eax, ebp
je 0x419f2b
cmp dword [0x44fe94], ebp
jne 0x419ff1
lea ecx, [esp + 0x48]
push 0x400
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x48]
push edx
call ebx
mov eax, dword [0x44fe98]
xor esi, esi
cmp eax, ebp
jle 0x419f5f
lea eax, [esp + 0x48]
push eax
call ebx
mov eax, dword [0x44fe98]
inc esi
cmp esi, eax
jl 0x419f4e
lea ecx, [esp + 0x48]
push str.MiniUI.dll
lea edx, [esp + 0x4c]
push ecx
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0x48]
test eax, eax
je 0x419faf
lea ecx, [esp + 0x48]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x419fb3
lea edx, [esp + 0x48]
push edx
call fcn.0043a2e0
add esp, 4
test eax, eax
jne 0x419fb3
call fcn.0043a1e0
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.0043a1f0
add esp, 8
xor eax, eax
jmp 0x419fbe
lea ecx, [esp + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebp
mov dword [0x44fe94], eax
je 0x41a008
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebp
mov dword [0x44fe90], eax
jne 0x419ff1
mov edx, dword [0x44fe94]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x44fe94], ebp
jmp 0x41a008
call eax
cmp eax, ebp
je 0x41a008
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0x2710
push edi
push eax
call dword [ecx + 0x20]
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x41a016
mov ecx, dword [eax]
push eax
call dword [ecx + 0x60]
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x5c]
call fcn.00413fa0
mov esi, eax
mov ecx, esi
call fcn.00411ea0
or ebx, 0xffffffff
test eax, eax
je 0x41a05d
mov edx, dword [esi + 0x20]
mov eax, dword [esp + 0x10]
push edx
mov edx, dword [esi + 0x18]
mov ecx, dword [eax]
push edx
mov edx, dword [esi + 0x10]
push edx
push ebx
push eax
call dword [ecx + 0xc]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov ecx, dword [esi + 8]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x14]
lea edx, [esp + 0x1c]
mov ecx, 0x44fec0
push edx
call fcn.004030d0
mov eax, dword [esp + 0x20]
xor edi, edi
cmp eax, ebp
mov dword [esp + 0x850], ebp
jle 0x41a0cf
mov eax, dword [esp + 0x18]
push edi
mov ecx, dword [eax + 0x5c]
call fcn.00413d80
mov esi, eax
cmp esi, ebp
je 0x41a108
mov ecx, dword [esi + 0x14]
mov edx, dword [esp + 0x18]
push ecx
lea ecx, [edx + 0x30c]
call fcn.00424e90
mov edx, dword [esp + 0x34]
lea eax, [esi + 0x30]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, dword [esp + 0x18]
push edx
lea eax, [edi + 0x4e20]
push esi
push eax
push ecx
call fcn.0041a120
mov eax, dword [esp + 0x38]
add esp, 0x18
inc edi
cmp edi, eax
jl 0x41a07d
mov eax, dword [esp + 0x10]
push ebp
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x850], ebx
call sub.MFC42u.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x848]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x844
ret
lea ecx, [esp + 0x1c]
mov dword [esp + 0x850], ebx
call sub.MFC42u.DLL_CString::CString
xor eax, eax
jmp 0x41a0ef