Function at 0x4147f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b8ee
mov eax, dword fs:[0]
push eax
mov eax, 0x101c
call fcn.0042a870
mov eax, dword [0x465944]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1024], edi
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x101c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1020], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1028], edi
mov dword [ebp - 0x1018], eax
mov eax, dword [0x4644dc]
mov dword [ebp - 0x1014], ecx
mov dword [edi + 0x14], eax
mov ebx, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov dword [edi + 4], 0
mov dword [edi + 0x10], 0
mov dword [edi + 8], 0
mov dword [edi], ecx
mov eax, dword [0x467048]
mov dword [ebp - 4], 0
test eax, eax
je 0x414896
cmp dword [0x466d1c], 0
jne 0x414952
push 0x400
lea eax, [ebp - 0x810]
push eax
push dword [0x466d18]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x810]
push eax
call ebx
xor esi, esi
cmp dword [0x466d14], esi
jle 0x4148d3
lea eax, [ebp - 0x810]
push eax
call ebx
inc esi
cmp esi, dword [0x466d14]
jl 0x4148c1
push str.MiniUI.dll
lea eax, [ebp - 0x810]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x810]
push eax
call fcn.0040f880
add esp, 4
test eax, eax
lea eax, [ebp - 0x810]
push eax
jne 0x41492e
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x414920
push 1
lea eax, [ebp - 0x810]
push section..data
push eax
call fcn.0040c100
add esp, 0xc
mov dword [0x466d1c], 0
xor eax, eax
jmp 0x414954
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x466d1c], eax
test eax, eax
je 0x414954
push str.GetMiniUI4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x467048], eax
test eax, eax
je 0x414954
call eax
mov dword [edi + 0xc], eax
call fcn.0040d590
mov esi, dword [ebp - 0x1014]
mov ecx, eax
test ecx, ecx
je 0x41496f
mov eax, dword [ecx]
push esi
push ecx
call dword [eax + 8]
mov dword [ebp - 0x1014], 0
call fcn.0040d590
mov ecx, eax
test ecx, ecx
je 0x414997
mov eax, dword [ecx]
lea edx, [ebp - 0x1014]
push edx
push 0x2719
push esi
push ecx
call dword [eax + 0x20]
mov ecx, dword [ebp - 0x1014]
test ecx, ecx
jne 0x4149a5
xor esi, esi
jmp 0x4149cf
push dword [ebp - 0x1018]
mov eax, dword [ecx]
push dword [ebp - 0x101c]
push ecx
call dword [eax + 0x20]
mov eax, dword [ebp - 0x1014]
push dword [ebp - 0x1020]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov esi, dword [ebp - 0x1014]
mov dword [edi + 0x10], esi
mov dword [edi + 8], 0
test esi, esi
je 0x414a5e
mov eax, dword [esi]
push esi
call dword [eax]
lea edx, [edi + 8]
push edx
push 0x271a
mov ecx, dword [eax]
push eax
call dword [ecx]
mov eax, dword [esi]
push esi
call dword [eax]
lea edx, [edi + 4]
push edx
push 0x2712
mov ecx, dword [eax]
push eax
call dword [ecx]
mov ecx, dword [edi + 0xc]
push 0x400
push ecx
mov eax, dword [ecx]
call dword [eax + 0x68]
push eax
lea eax, [ebp - 0x1010]
push eax
call fcn.00433b17
add esp, 0xc
lea eax, [ebp - 0x1010]
push eax
call ebx
push str.defaultskin
lea eax, [ebp - 0x1010]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x1010]
push ecx
push eax
lea ecx, [edi + 0x14]
call fcn.004077d0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042a853
mov esp, ebp
pop ebp
ret 0x10