Function at 0x4154d0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x800
push ebx
mov ebx, ecx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [ebx + 0x148]
push esi
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
jne 0x4155d4
mov eax, dword [0x473260]
test eax, eax
je 0x41550d
mov ecx, dword [0x4730e4]
test ecx, ecx
jne 0x4155bb
lea eax, [esp + 0x10]
push 0x400
push eax
push 0
call ebp
lea ecx, [esp + 0x10]
push ecx
call edi
mov eax, dword [0x4730e8]
xor esi, esi
test eax, eax
jle 0x41553e
lea edx, [esp + 0x10]
push edx
call edi
mov eax, dword [0x4730e8]
inc esi
cmp esi, eax
jl 0x41552d
lea eax, [esp + 0x10]
push str.MiniUI.dll
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x10]
test edx, edx
je 0x41558e
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x415592
lea ecx, [esp + 0x10]
push ecx
call fcn.00456ce0
add esp, 4
test eax, eax
jne 0x415592
call fcn.00456be0
lea edx, [esp + 0x10]
push eax
push edx
call fcn.00456bf0
add esp, 8
xor eax, eax
jmp 0x41559d
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x4730e4], eax
je 0x4155cc
push str.GetMiniUI2
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x473260], eax
je 0x4155cc
call eax
test eax, eax
je 0x4155cc
mov ecx, dword [eax]
push eax
call dword [ecx + 0x84]
jmp 0x4155ce
xor eax, eax
mov dword [ebx + 0x148], eax
mov eax, dword [ebx + 0x14c]
test eax, eax
jne 0x4156c0
mov eax, dword [0x473260]
test eax, eax
je 0x4155f9
mov ecx, dword [0x4730e4]
test ecx, ecx
jne 0x4156a7
lea edx, [esp + 0x10]
push 0x400
push edx
push 0
call ebp
lea eax, [esp + 0x10]
push eax
call edi
mov eax, dword [0x4730e8]
xor esi, esi
test eax, eax
jle 0x41562a
lea ecx, [esp + 0x10]
push ecx
call edi
mov eax, dword [0x4730e8]
inc esi
cmp esi, eax
jl 0x415619
lea edx, [esp + 0x10]
push str.MiniUI.dll
lea eax, [esp + 0x14]
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x10]
test ecx, ecx
je 0x41567a
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41567e
lea eax, [esp + 0x10]
push eax
call fcn.00456ce0
add esp, 4
test eax, eax
jne 0x41567e
call fcn.00456be0
lea ecx, [esp + 0x10]
push eax
push ecx
call fcn.00456bf0
add esp, 8
xor eax, eax
jmp 0x415689
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x4730e4], eax
je 0x4156b8
push str.GetMiniUI2
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x473260], eax
je 0x4156b8
call eax
test eax, eax
je 0x4156b8
mov ecx, dword [eax]
push eax
call dword [ecx + 0x84]
jmp 0x4156ba
xor eax, eax
mov dword [ebx + 0x14c], eax
mov eax, dword [ebx + 0x150]
test eax, eax
jne 0x4157bb
mov eax, dword [0x473260]
test eax, eax
je 0x4156e5
mov ecx, dword [0x4730e4]
test ecx, ecx
jne 0x415793
lea edx, [esp + 0x10]
push 0x400
push edx
push 0
call ebp
lea eax, [esp + 0x10]
push eax
call edi
mov eax, dword [0x4730e8]
xor esi, esi
test eax, eax
jle 0x415716
lea ecx, [esp + 0x10]
push ecx
call edi
mov eax, dword [0x4730e8]
inc esi
cmp esi, eax
jl 0x415705
lea edx, [esp + 0x10]
push str.MiniUI.dll
lea eax, [esp + 0x14]
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x10]
test ecx, ecx
je 0x415766
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41576a
lea eax, [esp + 0x10]
push eax
call fcn.00456ce0
add esp, 4
test eax, eax
jne 0x41576a
call fcn.00456be0
lea ecx, [esp + 0x10]
push eax
push ecx
call fcn.00456bf0
add esp, 8
xor eax, eax
jmp 0x415775
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x4730e4], eax
je 0x4157b3
push str.GetMiniUI2
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x473260], eax
je 0x4157b3
call eax
test eax, eax
je 0x4157b3
mov ecx, dword [eax]
push eax
call dword [ecx + 0x84]
pop edi
pop esi
mov dword [ebx + 0x150], eax
pop ebp
pop ebx
add esp, 0x800
ret
xor eax, eax
mov dword [ebx + 0x150], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x800
ret