Function at 0x418f10
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4279f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x840
push ebx
push ebp
push esi
mov esi, ecx
lea eax, [esp + 0x1c]
push edi
mov ecx, dword [esi + 0x20]
push eax
push ecx
call dword [0x4285e0]
push 0x3ed
mov ecx, esi
call sub.MFC42u.DLL_CWnd::GetDlgItem
mov eax, dword [eax + 0x20]
mov edi, dword [0x428670]
lea edx, [esp + 0x40]
push edx
push eax
call edi
mov eax, dword [esp + 0x44]
mov ebx, 6
lea ecx, [esp + 0x40]
add eax, ebx
push ecx
mov ecx, esi
mov dword [esp + 0x48], eax
call sub.MFC42u.DLL_CWnd::ScreenToClient
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov eax, 2
add edx, eax
sub ecx, eax
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x208]
lea eax, [esp + 0x40]
add edx, 0xfffffff8
push eax
push ecx
mov dword [esp + 0x34], edx
call edi
lea edx, [esp + 0x40]
mov ecx, esi
push edx
call sub.MFC42u.DLL_CWnd::ScreenToClient
mov eax, dword [esp + 0x2c]
lea ebp, [esi + 0x2f8]
add eax, 0xffffffe4
test ebp, ebp
mov dword [esp + 0x24], eax
jne 0x418fcf
xor eax, eax
jmp 0x418fd2
mov eax, dword [ebp + 0x20]
push eax
call dword [0x42867c]
test eax, eax
jne 0x419356
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::CString_1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x858], 0
call sub.MFC42u.DLL_CString::CString_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x858], 1
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.PreventSmashedFileReGen
call sub.MFC42u.DLL_CString::CString_2
lea edi, [esi + 0x74]
mov ecx, edi
call fcn.00402450
lea edx, [esp + 0x1c]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.PreventSmashedFileRecover
call sub.MFC42u.DLL_CString::CString_2
mov ecx, edi
call fcn.00402450
mov eax, dword [ebp]
push 0
push 0xffffffffffffffff
lea ecx, [esp + 0x28]
push esi
push ecx
push 0x50000000
push 0
push 0
mov ecx, ebp
call dword [eax + 0x5c]
mov eax, dword [esp + 0x1c]
push 0x3ea
lea edx, [esp + 0x34]
push ebp
mov dword [esp + 0x38], ebx
push edx
mov ebx, 4
mov edi, 0x18
lea ecx, [esi + 0x2b8]
push 0x50000002
push eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], 0x104
mov dword [esp + 0x50], edi
mov dword [esp + 0x28], ecx
call sub.MFC42u.DLL_CButton::Create
mov edx, dword [esp + 0x18]
push 0x3e9
lea ecx, [esp + 0x34]
push ebp
add esi, 0x278
push ecx
push 0x50000002
push edx
mov ecx, esi
mov dword [esp + 0x44], 0x10a
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], 0x1e0
mov dword [esp + 0x50], edi
call sub.MFC42u.DLL_CButton::Create
xor eax, eax
test esi, esi
mov dword [esp + 0x10], eax
je 0x4190e7
mov esi, dword [esi + 0x20]
mov ebx, dword [0x4285c8]
lea ecx, [esp + 0x10]
test ecx, ecx
je 0x4191e8
xor eax, eax
test esi, esi
mov dword [esp + 0x10], eax
je 0x4191e8
mov eax, dword [0x430684]
test eax, eax
je 0x41911e
mov ecx, dword [0x430688]
test ecx, ecx
jne 0x4191ba
lea edx, [esp + 0x50]
push 0x400
push edx
push 0
call dword [0x4280c0]
lea eax, [esp + 0x50]
push eax
call ebx
mov eax, dword [0x43068c]
xor edi, edi
test eax, eax
jle 0x419153
lea ecx, [esp + 0x50]
push ecx
call ebx
mov eax, dword [0x43068c]
inc edi
cmp edi, eax
jl 0x419142
lea edx, [esp + 0x50]
push str.MiniUI.dll
lea eax, [esp + 0x54]
push edx
push eax
call dword [0x4285cc]
lea ecx, [esp + 0x50]
push ecx
call fcn.0040bff0
add esp, 4
test eax, eax
je 0x419184
lea edx, [esp + 0x50]
push edx
call dword [0x4280d4]
test eax, eax
mov dword [0x430688], eax
je 0x4191d1
push str.GetMiniUI
push eax
call dword [0x4280d8]
test eax, eax
mov dword [0x430684], eax
jne 0x4191ba
mov eax, dword [0x430688]
push eax
call dword [0x4280dc]
mov dword [0x430688], 0
jmp 0x4191d1
call eax
test eax, eax
je 0x4191d1
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x2710
push esi
push eax
call dword [ecx + 0x20]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4191e8
mov ecx, dword [eax]
push 0x418ee0
push eax
call dword [ecx + 0x68]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x4191f4
xor edi, edi
jmp 0x4191f7
mov edi, dword [ecx + 0x20]
lea edx, [esp + 0x10]
test edx, edx
je 0x419320
xor esi, esi
cmp edi, esi
mov dword [esp + 0x10], esi
je 0x41932f
mov eax, dword [0x430684]
cmp eax, esi
je 0x419226
cmp dword [0x430688], esi
jne 0x419305
lea eax, [esp + 0x50]
push 0x400
push eax
push esi
call dword [0x4280c0]
lea ecx, [esp + 0x50]
push ecx
call ebx
mov eax, dword [0x43068c]
test eax, eax
jle 0x419258
lea edx, [esp + 0x50]
push edx
call ebx
mov eax, dword [0x43068c]
inc esi
cmp esi, eax
jl 0x419247
lea eax, [esp + 0x50]
push str.MiniUI.dll
lea ecx, [esp + 0x54]
push eax
push ecx
call dword [0x4285cc]
push 0
call dword [0x4280c4]
push eax
call fcn.004023c0
add esp, 8
test eax, eax
jne 0x4192c3
lea edx, [esp + 0x50]
test edx, edx
je 0x4192bf
lea eax, [esp + 0x50]
push eax
call dword [0x4285d0]
test eax, eax
je 0x4192c3
lea ecx, [esp + 0x50]
push ecx
call fcn.004090f0
add esp, 4
test eax, eax
jne 0x4192c3
push 1
call fcn.00425090
lea edx, [esp + 0x54]
push eax
push edx
call fcn.004252a0
add esp, 0xc
xor eax, eax
jmp 0x4192ce
lea eax, [esp + 0x50]
push eax
call dword [0x4280d4]
test eax, eax
mov dword [0x430688], eax
je 0x41931c
push str.GetMiniUI
push eax
call dword [0x4280d8]
test eax, eax
mov dword [0x430684], eax
jne 0x419305
mov ecx, dword [0x430688]
push ecx
call dword [0x4280dc]
mov dword [0x430688], 0
jmp 0x41931c
call eax
test eax, eax
je 0x41931c
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push 0x2710
push edi
push eax
call dword [edx + 0x20]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41932f
mov edx, dword [eax]
push 0x418ee0
push eax
call dword [edx + 0x68]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x858], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x858], 0xffffffff
call sub.MFC42u.DLL_CString::CString
jmp 0x419377
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
sub ecx, eax
push 1
push ecx
mov ecx, dword [esp + 0x28]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, ebp
call sub.MFC42u.DLL_CWnd::MoveWindow
mov eax, dword [esp + 0x860]
test eax, eax
je 0x419386
push 5
jmp 0x419388
push 0
mov ecx, ebp
call sub.MFC42u.DLL_CWnd::ShowWindow
mov ecx, dword [esp + 0x850]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x84c
ret 4