Function at 0x4495c0
Capabilities:
Check if file exists

Disassembly:
mov eax, dword [0x468ad4]
sub esp, 0x818
test eax, eax
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov ebx, ecx
je 0x4495ef
mov ecx, dword [0x468ad8]
test ecx, ecx
jne 0x4496de
lea eax, [esp + 0x28]
push 0x400
push eax
push 0
call ebp
lea ecx, [esp + 0x28]
push ecx
call edi
mov eax, dword [0x468adc]
xor esi, esi
test eax, eax
jle 0x449620
lea edx, [esp + 0x28]
push edx
call edi
mov eax, dword [0x468adc]
inc esi
cmp esi, eax
jl 0x44960f
lea eax, [esp + 0x28]
push str.MiniUI.dll
lea ecx, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.004026a0
add esp, 8
test eax, eax
jne 0x44968b
lea edx, [esp + 0x28]
test edx, edx
je 0x449687
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44968b
lea ecx, [esp + 0x28]
push ecx
call fcn.00401e30
add esp, 4
test eax, eax
jne 0x44968b
push 1
call fcn.004568c0
lea edx, [esp + 0x2c]
push eax
push edx
call fcn.00456b50
add esp, 0xc
xor eax, eax
jmp 0x449696
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x468ad8], eax
je 0x44985a
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x468ad4], eax
jne 0x4496de
mov ecx, dword [0x468ad8]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebp
mov dword [0x468ad8], 0
xor eax, eax
pop ebx
add esp, 0x818
ret 0xc
call eax
test eax, eax
je 0x44985a
mov edx, dword [eax]
push eax
call dword [edx + 0x54]
test eax, eax
mov dword [esp + 0x10], eax
je 0x44985a
mov ecx, dword [esp + 0x82c]
mov edx, dword [eax]
push 0
push ecx
mov ecx, eax
call dword [edx + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
call dword [edx]
test eax, eax
jne 0x449769
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
push ecx
lea ecx, [ebx + 0x18]
mov dword [esp + 0x24], edx
call fcn.0044a8d0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x830]
mov ecx, dword [esp + 0x834]
pop edi
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x10]
pop esi
pop ebp
mov dword [edx + 0x14], ecx
mov eax, 1
pop ebx
add esp, 0x818
ret 0xc
mov eax, dword [0x468ad4]
test eax, eax
je 0x449780
mov ecx, dword [0x468ad8]
test ecx, ecx
jne 0x449849
lea eax, [esp + 0x28]
push 0x400
push eax
push 0
call ebp
lea ecx, [esp + 0x28]
push ecx
call edi
mov eax, dword [0x468adc]
xor esi, esi
test eax, eax
jle 0x4497b1
lea edx, [esp + 0x28]
push edx
call edi
mov eax, dword [0x468adc]
inc esi
cmp esi, eax
jl 0x4497a0
lea eax, [esp + 0x28]
push str.MiniUI.dll
lea ecx, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.004026a0
add esp, 8
test eax, eax
jne 0x44981c
lea edx, [esp + 0x28]
test edx, edx
je 0x449818
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44981c
lea ecx, [esp + 0x28]
push ecx
call fcn.00401e30
add esp, 4
test eax, eax
jne 0x44981c
push 1
call fcn.004568c0
lea edx, [esp + 0x2c]
push eax
push edx
call fcn.00456b50
add esp, 0xc
xor eax, eax
jmp 0x449827
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x468ad8], eax
je 0x44985a
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x468ad4], eax
je 0x4496b8
call eax
test eax, eax
je 0x44985a
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [edx + 0x58]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x818
ret 0xc