Function at 0x4133a0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x45a66b
push eax
mov eax, 0x100c
mov dword fs:[0], esp
call fcn.00456620
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x60]
push eax
push 0x6f
call sub.MFC42u.DLL_CWnd::SetDlgItemTextW
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x10], ebx
je 0x413512
mov eax, dword [esi + 0x20]
cmp eax, ebx
je 0x4133f5
push 0x406
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, eax
jmp 0x4133f7
xor ebp, ebp
mov eax, dword [0x4730e0]
cmp eax, ebx
je 0x41340c
cmp dword [0x4730e4], ebx
jne 0x4134c1
lea eax, [esp + 0x81c]
push 0x400
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x81c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [0x4730e8]
xor edi, edi
cmp eax, ebx
jle 0x413451
lea edx, [esp + 0x81c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [0x4730e8]
inc edi
cmp edi, eax
jl 0x413439
lea eax, [esp + 0x81c]
push str.MiniUI.dll
lea ecx, [esp + 0x820]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x81c]
push edx
call fcn.00401560
add esp, 4
test eax, eax
je 0x41348e
lea eax, [esp + 0x81c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [0x4730e4], eax
je 0x4134d8
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [0x4730e0], eax
jne 0x4134c1
mov ecx, dword [0x4730e4]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4730e4], ebx
jmp 0x4134d8
call eax
cmp eax, ebx
je 0x4134d8
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push 0x29cd
push ebp
push eax
call dword [edx + 0x20]
cmp dword [esp + 0x10], ebx
je 0x413512
lea edx, [esp + 0x18]
mov ecx, esi
push edx
call fcn.00413260
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
push eax
push ecx
mov edx, dword [ecx]
mov dword [esp + 0x102c], ebx
call dword [edx + 0x14]
lea ecx, [esp + 0x18]
mov dword [esp + 0x1024], 0xffffffff
call sub.MFC42u.DLL_CString::CString
cmp esi, ebx
mov dword [esp + 0x14], ebx
je 0x413642
mov esi, dword [esi + 0x20]
cmp esi, ebx
je 0x413535
push 0x408
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
jmp 0x413537
xor edi, edi
mov eax, dword [0x4730e0]
cmp eax, ebx
je 0x41354c
cmp dword [0x4730e4], ebx
jne 0x413618
lea eax, [esp + 0x1c]
push 0x400
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 0x1c]
push ecx
call ebp
mov eax, dword [0x4730e8]
xor esi, esi
cmp eax, ebx
jle 0x413586
lea edx, [esp + 0x1c]
push edx
call ebp
mov eax, dword [0x4730e8]
inc esi
cmp esi, eax
jl 0x413575
lea eax, [esp + 0x1c]
push str.MiniUI.dll
lea ecx, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x1c]
test edx, edx
je 0x4135d6
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4135da
lea ecx, [esp + 0x1c]
push ecx
call fcn.00456ce0
add esp, 4
test eax, eax
jne 0x4135da
call fcn.00456be0
lea edx, [esp + 0x1c]
push eax
push edx
call fcn.00456bf0
add esp, 8
xor eax, eax
jmp 0x4135e5
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [0x4730e4], eax
je 0x41362f
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [0x4730e0], eax
jne 0x413618
mov ecx, dword [0x4730e4]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4730e4], ebx
jmp 0x41362f
call eax
cmp eax, ebx
je 0x41362f
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push 0x2710
push edi
push eax
call dword [edx + 0x20]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x413642
mov edx, dword [eax]
push 0x808080
push eax
call dword [edx + 0x1c]
mov ecx, dword [esp + 0x101c]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1018
ret