Function at 0x413b70
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x810
lea eax, [esp]
push ebx
push ebp
push esi
mov esi, ecx
push edi
push eax
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esi + 0x20]
push 0x406
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov ebx, eax
mov eax, dword [0x4730e0]
test eax, eax
je 0x413bb9
mov ecx, dword [0x4730e4]
test ecx, ecx
jne 0x413c56
lea eax, [esp + 0x20]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x20]
push ecx
call ebp
mov eax, dword [0x4730e8]
xor edi, edi
test eax, eax
jle 0x413bee
lea edx, [esp + 0x20]
push edx
call ebp
mov eax, dword [0x4730e8]
inc edi
cmp edi, eax
jl 0x413bdd
lea eax, [esp + 0x20]
push str.MiniUI.dll
lea ecx, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x20]
push edx
call fcn.00401560
add esp, 4
test eax, eax
je 0x413c1f
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x4730e4], eax
je 0x413c63
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x4730e0], eax
jne 0x413c56
mov ecx, dword [0x4730e4]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4730e4], 0
jmp 0x413c63
call eax
test eax, eax
je 0x413c63
mov edx, dword [eax]
push ebx
push eax
call dword [edx + 8]
mov eax, dword [esi + 0x20]
push 0x407
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
mov eax, dword [0x4730e0]
test eax, eax
je 0x413c8b
mov ecx, dword [0x4730e4]
test ecx, ecx
jne 0x413d56
lea ecx, [esp + 0x20]
push 0x400
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x20]
push edx
call ebp
mov eax, dword [0x4730e8]
xor edi, edi
test eax, eax
jle 0x413cc0
lea eax, [esp + 0x20]
push eax
call ebp
mov eax, dword [0x4730e8]
inc edi
cmp edi, eax
jl 0x413caf
lea ecx, [esp + 0x20]
push str.MiniUI.dll
lea edx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0x20]
test eax, eax
je 0x413d10
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x413d14
lea edx, [esp + 0x20]
push edx
call fcn.00456ce0
add esp, 4
test eax, eax
jne 0x413d14
call fcn.00456be0
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00456bf0
add esp, 8
xor eax, eax
jmp 0x413d1f
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x4730e4], eax
je 0x413d63
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x4730e0], eax
jne 0x413d56
mov edx, dword [0x4730e4]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4730e4], 0
jmp 0x413d63
call eax
test eax, eax
je 0x413d63
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 8]
mov edx, dword [esi + 0x20]
push 0x408
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
mov eax, dword [0x4730e0]
test eax, eax
je 0x413d8b
mov ecx, dword [0x4730e4]
test ecx, ecx
jne 0x413e56
lea eax, [esp + 0x20]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x20]
push ecx
call ebp
mov eax, dword [0x4730e8]
xor edi, edi
test eax, eax
jle 0x413dc0
lea edx, [esp + 0x20]
push edx
call ebp
mov eax, dword [0x4730e8]
inc edi
cmp edi, eax
jl 0x413daf
lea eax, [esp + 0x20]
push str.MiniUI.dll
lea ecx, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x20]
test edx, edx
je 0x413e10
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x413e14
lea ecx, [esp + 0x20]
push ecx
call fcn.00456ce0
add esp, 4
test eax, eax
jne 0x413e14
call fcn.00456be0
lea edx, [esp + 0x20]
push eax
push edx
call fcn.00456bf0
add esp, 8
xor eax, eax
jmp 0x413e1f
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x4730e4], eax
je 0x413e63
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x4730e0], eax
jne 0x413e56
mov ecx, dword [0x4730e4]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4730e4], 0
jmp 0x413e63
call eax
test eax, eax
je 0x413e63
mov edx, dword [eax]
push ebx
push eax
call dword [edx + 8]
mov eax, dword [esi + 0x20]
push 0x6f
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
mov eax, dword [0x4730e0]
test eax, eax
je 0x413e88
mov ecx, dword [0x4730e4]
test ecx, ecx
jne 0x413f53
lea ecx, [esp + 0x20]
push 0x400
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x20]
push edx
call ebp
mov eax, dword [0x4730e8]
xor edi, edi
test eax, eax
jle 0x413ebd
lea eax, [esp + 0x20]
push eax
call ebp
mov eax, dword [0x4730e8]
inc edi
cmp edi, eax
jl 0x413eac
lea ecx, [esp + 0x20]
push str.MiniUI.dll
lea edx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0x20]
test eax, eax
je 0x413f0d
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x413f11
lea edx, [esp + 0x20]
push edx
call fcn.00456ce0
add esp, 4
test eax, eax
jne 0x413f11
call fcn.00456be0
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00456bf0
add esp, 8
xor eax, eax
jmp 0x413f1c
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x4730e4], eax
je 0x413f60
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x4730e0], eax
jne 0x413f53
mov edx, dword [0x4730e4]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4730e4], 0
jmp 0x413f60
call eax
test eax, eax
je 0x413f60
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 8]
lea edx, [esp + 0x10]
push 0x406
push edx
mov ecx, esi
call fcn.00413af0
lea eax, [esp + 0x10]
push 0x407
push eax
mov ecx, esi
call fcn.00413af0
lea ecx, [esp + 0x10]
push 0x408
push ecx
mov ecx, esi
call fcn.00413af0
lea edx, [esp + 0x10]
push 0x6f
push edx
mov ecx, esi
call fcn.00413af0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x810
ret