Function at 0x40e920
Capabilities:
Check if file exists

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x426e84
push eax
mov eax, dword [esp + 0x14]
mov dword fs:[0], esp
sub esp, 0x29c
push ebx
xor ebx, ebx
push ebp
cmp eax, ebx
push edi
jne 0x40e94f
xor eax, eax
jmp 0x40ed10
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::CString_1
mov ebp, dword [esp + 0x2b8]
mov ecx, 0x93
xor eax, eax
lea edi, [esp + 0x5c]
mov dword [esp + 0x58], ebx
push str..
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
push ebp
push eax
mov dword [esp + 0x2bc], ebx
call sub.MFC42u.DLL_operator_1
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x2b4], 1
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x2b0], bl
call sub.MFC42u.DLL_CString::CString
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x58]
push ecx
push edx
call dword [0x4280b0]
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
jne 0x40e9d9
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2b0], eax
call sub.MFC42u.DLL_CString::CString
xor eax, eax
jmp 0x40ed10
mov edi, dword [0x4285d0]
push esi
mov esi, dword [sym.imp.MSVCRT.dll_wcsncmp]
push 1
lea eax, [esp + 0x8c]
push 0x42e468
push eax
call esi
add esp, 0xc
test eax, eax
je 0x40ecd4
push 2
lea ecx, [esp + 0x8c]
push 0x42e454
push ecx
call esi
add esp, 0xc
test eax, eax
je 0x40ecd4
test byte [esp + 0x5c], 0x10
je 0x40ecd4
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::CString_1
lea edx, [esp + 0x88]
lea ecx, [esp + 0x24]
push edx
mov byte [esp + 0x2b8], 2
call sub.MFC42u.DLL_CString::CString_2
mov eax, dword [esp + 0x24]
push 0x42e54c
push eax
push eax
mov eax, dword [ebp]
lea ecx, [esp + 0x24]
push eax
push str._s_s_s_s
push ecx
mov byte [esp + 0x2cc], 3
call sub.MFC42u.DLL_CString::Format
mov edx, dword [esp + 0x30]
add esp, 0x18
push edx
call edi
test eax, eax
je 0x40ecb3
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::CString_1
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp]
push str.miniui.xml
push eax
push ecx
lea edx, [esp + 0x20]
push str._s_s_s
push edx
mov byte [esp + 0x2c8], 4
call sub.MFC42u.DLL_CString::Format
mov eax, dword [esp + 0x28]
add esp, 0x14
push eax
call edi
test eax, eax
jne 0x40ead5
lea ecx, [esp + 0x14]
mov byte [esp + 0x2b4], 3
call sub.MFC42u.DLL_CString::CString
jmp 0x40ecb3
mov ecx, dword [esp + 0x2c4]
mov edx, dword [ecx]
cmp dword [edx - 8], ebx
je 0x40ec87
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x2b4], 5
call sub.MFC42u.DLL_CString::Empty
push str.version1.0_encodingutf_16
lea ecx, [esp + 0x2c]
call fcn.00401020
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
push eax
mov byte [esp + 0x2b8], 6
call fcn.00401020
lea ecx, [esp + 0x28]
lea edx, [esp + 0x2c]
push ecx
push ebx
push edx
push ebx
lea ecx, [esp + 0x58]
mov byte [esp + 0x2c4], 7
call fcn.0040d1d0
lea ecx, [esp + 0x2c]
call fcn.00401660
lea ecx, [esp + 0x28]
mov byte [esp + 0x2b4], 9
call fcn.00401660
push ebx
lea ecx, [esp + 0x50]
call fcn.00405f90
test al, al
jne 0x40ebc2
push str.MiniUI.Config_VERSION
lea ecx, [esp + 0x38]
call fcn.00401020
lea eax, [esp + 0x34]
lea ecx, [esp + 0x38]
push eax
push ecx
lea ecx, [esp + 0x50]
mov byte [esp + 0x2bc], 0xb
call fcn.0040c560
lea ecx, [esp + 0x34]
mov byte [esp + 0x2b4], 0xd
call fcn.00401660
lea ecx, [esp + 0x38]
call fcn.00403640
test al, al
jne 0x40ebd5
lea ecx, [esp + 0x38]
mov byte [esp + 0x2b4], 9
call fcn.00401360
lea ecx, [esp + 0x48]
mov byte [esp + 0x2b4], 5
call fcn.00401790
jmp 0x40ec3c
push str.Version
lea ecx, [esp + 0x34]
call fcn.00401020
lea edx, [esp + 0x10]
push ebx
lea eax, [esp + 0x34]
push edx
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x2c0], 0xe
call fcn.00403170
lea ecx, [esp + 0x30]
call fcn.00401660
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov byte [esp + 0x2b4], 9
cmp dword [edx - 8], ebx
setne cl
mov esi, ecx
lea ecx, [esp + 0x38]
call fcn.00401360
lea ecx, [esp + 0x48]
mov byte [esp + 0x2b4], 5
call fcn.00401790
cmp esi, ebx
jne 0x40ec51
lea ecx, [esp + 0x10]
mov byte [esp + 0x2b4], 4
call sub.MFC42u.DLL_CString::CString
xor esi, esi
jmp 0x40ec8c
mov eax, dword [esp + 0x2c4]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
cmp eax, ebx
mov byte [esp + 0x2b4], 4
lea ecx, [esp + 0x10]
jge 0x40ec82
call sub.MFC42u.DLL_CString::CString
xor esi, esi
jmp 0x40ec8c
call sub.MFC42u.DLL_CString::CString
mov esi, 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x2b4], 3
call sub.MFC42u.DLL_CString::CString
cmp esi, ebx
je 0x40ecb3
mov eax, dword [esp + 0x2c0]
mov ecx, dword [esp + 0x18]
push ecx
push ebx
mov edx, dword [eax]
push eax
call dword [edx]
lea ecx, [esp + 0x24]
mov byte [esp + 0x2b4], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x2b4], bl
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x5c]
push edx
push eax
call dword [0x4280b4]
cmp eax, ebx
jne 0x40e9e0
mov ecx, dword [esp + 0x1c]
push ecx
call dword [0x4280bc]
lea ecx, [esp + 0x20]
mov esi, eax
mov dword [esp + 0x2b4], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov eax, esi
pop esi
mov ecx, dword [esp + 0x2a8]
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2a8
ret