Function at 0x414170
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x830
mov dword [esp], ecx
push edi
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
mov eax, dword [0x4285f0]
mov dword [esp + 0xc], 0xb
mov dword [esp + 0x10], eax
call sub.MFC42u.DLL_AfxGetModuleState
mov ecx, dword [eax + 8]
mov dword [esp + 0x1c], ecx
call sub.MFC42u.DLL_AfxGetModuleState
push 0x80
push 0xe
push 0x80
call sub.MFC42u.DLL_AfxFindResourceHandle
push eax
call dword [0x4285e8]
push 0x7f00
push 0
mov dword [esp + 0x28], eax
call dword [0x4285ec]
lea edx, [esp + 0xc]
mov dword [esp + 0x24], eax
push edx
mov dword [esp + 0x2c], 6
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], str.Q360FileSmash
call sub.MFC42u.DLL_AfxRegisterClass
test eax, eax
jne 0x414205
pop edi
add esp, 0x830
ret
mov eax, dword [0x430684]
mov edi, dword [0x4285c8]
push ebp
mov ebp, dword [0x4280c0]
test eax, eax
push esi
je 0x41422a
mov ecx, dword [0x430688]
test ecx, ecx
jne 0x4142c3
lea eax, [esp + 0x3c]
push 0x400
push eax
push 0
call ebp
lea ecx, [esp + 0x3c]
push ecx
call edi
mov eax, dword [0x43068c]
xor esi, esi
test eax, eax
jle 0x41425b
lea edx, [esp + 0x3c]
push edx
call edi
mov eax, dword [0x43068c]
inc esi
cmp esi, eax
jl 0x41424a
lea eax, [esp + 0x3c]
push str.MiniUI.dll
lea ecx, [esp + 0x40]
push eax
push ecx
call dword [0x4285cc]
lea edx, [esp + 0x3c]
push edx
call fcn.0040bff0
add esp, 4
test eax, eax
je 0x41428c
lea eax, [esp + 0x3c]
push eax
call dword [0x4280d4]
test eax, eax
mov dword [0x430688], eax
je 0x4142d9
push str.GetMiniUI
push eax
call dword [0x4280d8]
test eax, eax
mov dword [0x430684], eax
jne 0x4142c3
mov ecx, dword [0x430688]
push ecx
call dword [0x4280dc]
mov dword [0x430688], 0
jmp 0x4142d9
call eax
test eax, eax
je 0x4142d9
mov edx, dword [eax]
push str.Q360FileSmash
push str.32770
push eax
call dword [edx + 0x24]
call sub.MFC42u.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
mov dword [esp + 0x10], eax
mov eax, dword [0x430684]
test eax, eax
je 0x4142fc
mov ecx, dword [0x430688]
test ecx, ecx
jne 0x4143fd
lea ecx, [esp + 0x3c]
push 0x400
push ecx
push 0
call ebp
lea edx, [esp + 0x3c]
push edx
call edi
mov eax, dword [0x43068c]
xor esi, esi
test eax, eax
jle 0x41432d
lea eax, [esp + 0x3c]
push eax
call edi
mov eax, dword [0x43068c]
inc esi
cmp esi, eax
jl 0x41431c
lea ecx, [esp + 0x3c]
push str.MiniUI.dll
lea edx, [esp + 0x40]
push ecx
push edx
call dword [0x4285cc]
push 0
call dword [0x4280c4]
push eax
call fcn.004023c0
add esp, 8
test eax, eax
jne 0x414398
lea eax, [esp + 0x3c]
test eax, eax
je 0x414394
lea ecx, [esp + 0x3c]
push ecx
call dword [0x4285d0]
test eax, eax
je 0x414398
lea edx, [esp + 0x3c]
push edx
call fcn.004090f0
add esp, 4
test eax, eax
jne 0x414398
push 1
call fcn.00425090
push eax
lea eax, [esp + 0x44]
push eax
call fcn.004252a0
add esp, 0xc
xor eax, eax
jmp 0x4143a3
lea ecx, [esp + 0x3c]
push ecx
call dword [0x4280d4]
test eax, eax
mov dword [0x430688], eax
je 0x4143d8
push str.GetMiniUI
push eax
call dword [0x4280d8]
test eax, eax
mov dword [0x430684], eax
jne 0x4143fd
mov edx, dword [0x430688]
push edx
call dword [0x4280dc]
mov dword [0x430688], 0
xor eax, eax
mov esi, dword [esp + 0xc]
push eax
mov ecx, esi
call sub.MFC42u.DLL_CWnd::SubclassWindow
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd8]
mov eax, dword [esi + 0x20]
pop esi
pop ebp
pop edi
add esp, 0x830
ret
call eax
test eax, eax
je 0x4143d8
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
push str.Q360FileSmash
push 0
push 0x66
push edx
push eax
call dword [ecx + 0x28]
jmp 0x4143da