Function at 0x433810
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x45d786
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80c
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
lea ebx, [esi + 0xa4c]
push ebx
call fcn.004562c0
lea edi, [esi + 0xa50]
xor ebp, ebp
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x828], ebp
call fcn.004562c0
lea ecx, [esi + 0x934]
mov byte [esp + 0x824], 1
call fcn.0040f560
mov ecx, esi
mov dword [esi + 0xdec], eax
call fcn.0042eaa0
mov edi, dword [edi]
mov eax, dword [esp + 0x14]
push edi
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
cmp eax, ebp
je 0x43399f
cmp dword [esi + 0xa40], ebp
je 0x433997
mov eax, dword [0x4730e0]
cmp eax, ebp
je 0x4338b4
cmp dword [0x4730e4], ebp
jne 0x433984
lea ecx, [esp + 0x1c]
push 0x400
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [esp + 0x1c]
push edx
call ebp
mov eax, dword [0x4730e8]
xor edi, edi
test eax, eax
jle 0x4338ee
lea eax, [esp + 0x1c]
push eax
call ebp
mov eax, dword [0x4730e8]
inc edi
cmp edi, eax
jl 0x4338dd
lea ecx, [esp + 0x1c]
push str.MiniUI.dll
lea edx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0x1c]
test eax, eax
je 0x43393e
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x433942
lea edx, [esp + 0x1c]
push edx
call fcn.00456ce0
add esp, 4
test eax, eax
jne 0x433942
call fcn.00456be0
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00456bf0
add esp, 8
xor eax, eax
jmp 0x43394d
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x4730e4], eax
je 0x433997
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x4730e0], eax
jne 0x433984
mov edx, dword [0x4730e4]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4730e4], 0
jmp 0x433997
call eax
test eax, eax
je 0x433997
mov edx, dword [eax]
lea ecx, [esi + 0xa40]
push ecx
push eax
call dword [edx + 0x58]
xor ebp, ebp
mov dword [esi + 0xa40], ebp
cmp dword [esi + 0xa58], ebp
je 0x4339b2
lea ecx, [esi + 0xa54]
call sub.MFC42u.DLL_CGdiObject::DeleteObject
mov eax, dword [ebx]
push eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
cmp eax, ebp
je 0x4339da
cmp dword [esi + 0xdd0], ebp
je 0x4339da
lea ecx, [esi + 0xdcc]
call sub.MFC42u.DLL_CGdiObject::DeleteObject
push esi
call fcn.0042db50
mov ecx, esi
call fcn.00431820
push ebp
mov ecx, esi
call fcn.00431940
push ebp
mov ecx, esi
call fcn.00430340
push ebp
mov ecx, esi
call fcn.00430860
mov ecx, esi
call fcn.00431da0
mov ecx, esi
call fcn.00431c60
push ebp
mov ecx, esi
call fcn.00430860
cmp dword [esi + 0xa38], ebp
je 0x433a43
push ecx
lea edx, [esi + 0x930]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.004562c0
lea ecx, [esi + 0x934]
call fcn.00411190
mov dword [esi + 0xdec], eax
jmp 0x433a73
push ebp
lea ecx, [esi + 0x934]
mov dword [esi + 0xdec], ebp
call fcn.004110e0
push ecx
lea eax, [esi + 0x930]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.004562c0
lea ecx, [esi + 0x474]
call fcn.0040aca0
mov ecx, esi
call fcn.004336b0
mov ecx, dword [esi + 0x20]
push 0x585
push ebp
push ebp
push ecx
call dword [sym.imp.USER32.dll_RedrawWindow]
mov ecx, esi
call fcn.00433f10
mov ecx, esi
call fcn.00436540
mov ecx, esi
call fcn.00434cd0
mov ecx, esi
call fcn.00436520
mov ecx, esi
call fcn.00436590
lea ecx, [esp + 0x14]
mov byte [esp + 0x824], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x824], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x81c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x818
ret 4