Function at 0x43cf30
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x800
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ebp, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [edi + 0xa8]
lea ebx, [edi + 0xa8]
test eax, eax
jne 0x43d03e
mov eax, dword [0x4730e0]
test eax, eax
je 0x43cf6d
mov ecx, dword [0x4730e4]
test ecx, ecx
jne 0x43d11b
lea eax, [esp + 0x10]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x10]
push ecx
call ebp
mov eax, dword [0x4730e8]
xor esi, esi
test eax, eax
jle 0x43cfa2
lea edx, [esp + 0x10]
push edx
call ebp
mov eax, dword [0x4730e8]
inc esi
cmp esi, eax
jl 0x43cf91
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 0x43cff2
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43cff6
lea ecx, [esp + 0x10]
push ecx
call fcn.00456ce0
add esp, 4
test eax, eax
jne 0x43cff6
call fcn.00456be0
lea edx, [esp + 0x10]
push eax
push edx
call fcn.00456bf0
add esp, 8
xor eax, eax
jmp 0x43d001
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x4730e4], eax
je 0x43d03a
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x4730e0], eax
jne 0x43d11b
mov ecx, dword [0x4730e4]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4730e4], 0
xor eax, eax
mov dword [ebx], eax
mov eax, dword [esp + 0x818]
cmp eax, 1
mov dword [edi + 0xa0], eax
jge 0x43d05a
mov dword [edi + 0xa0], 1
mov ecx, dword [ebx]
test ecx, ecx
je 0x43d18a
mov edx, dword [esp + 0x814]
mov eax, dword [ecx]
push 0
push edx
call dword [eax + 0xc]
test eax, eax
jne 0x43d18a
mov eax, dword [0x4730e0]
test eax, eax
je 0x43d092
mov ecx, dword [0x4730e4]
test ecx, ecx
jne 0x43d17d
lea eax, [esp + 0x10]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x10]
push ecx
call ebp
mov eax, dword [0x4730e8]
xor esi, esi
test eax, eax
jle 0x43d0c7
lea edx, [esp + 0x10]
push edx
call ebp
mov eax, dword [0x4730e8]
inc esi
cmp esi, eax
jl 0x43d0b6
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 0x43d117
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43d130
lea ecx, [esp + 0x10]
push ecx
call fcn.00456ce0
add esp, 4
test eax, eax
jne 0x43d130
call fcn.00456be0
lea edx, [esp + 0x10]
push eax
push edx
call fcn.00456bf0
add esp, 8
xor eax, eax
jmp 0x43d13b
call eax
test eax, eax
je 0x43d03a
mov edx, dword [eax]
push eax
call dword [edx + 0x54]
jmp 0x43d03c
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x4730e4], eax
je 0x43d18a
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x4730e0], eax
jne 0x43d17d
mov ecx, dword [0x4730e4]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebp
mov dword [0x4730e4], 0
pop ebx
add esp, 0x800
ret 8
call eax
test eax, eax
je 0x43d18a
mov edx, dword [eax]
push ebx
push eax
call dword [edx + 0x58]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x800
ret 8