Function at 0x40cdc0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x426a4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
push esi
mov esi, dword [esp + 0x58]
push edi
mov ecx, esi
call sub.MFC42u.DLL_CString::Empty
mov ebx, dword [esp + 0x60]
mov ecx, ebx
call sub.MFC42u.DLL_CString::Empty
mov ebp, dword [esp + 0x64]
mov ecx, ebp
call sub.MFC42u.DLL_CString::Empty
lea ecx, [esp + 0x5c]
call sub.MFC42u.DLL_CString::CString_1
lea ecx, [esp + 0x5c]
mov dword [esp + 0x4c], 0
call sub.MFC42u.DLL_CString::Empty
lea ecx, [esp + 0x60]
call sub.MFC42u.DLL_CString::CString_1
mov edi, dword [esp + 0x54]
push str.config.xml
lea ecx, [esp + 0x64]
mov byte [esp + 0x50], 1
mov eax, dword [edi]
push eax
push str._s_s
push ecx
call sub.MFC42u.DLL_CString::Format
push 0xc
call sub.MFC42u.DLL_operatornew
add esp, 0x14
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x4c], 2
je 0x40ce65
push str.version1.0_encodingutf_16
mov ecx, eax
call fcn.00401ed0
jmp 0x40ce67
xor eax, eax
test eax, eax
mov byte [esp + 0x4c], 1
mov dword [esp + 0x54], eax
jne 0x40ce7e
push 0x8007000e
call fcn.004253d0
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x64]
push edx
mov byte [esp + 0x50], 3
call fcn.00401020
lea eax, [esp + 0x54]
lea ecx, [esp + 0x64]
push eax
push 0
push ecx
push 0
lea ecx, [esp + 0x40]
mov byte [esp + 0x5c], 4
call fcn.0040d1d0
lea ecx, [esp + 0x64]
call fcn.00401660
lea ecx, [esp + 0x54]
mov byte [esp + 0x4c], 6
call fcn.00401660
push 0
lea ecx, [esp + 0x38]
call fcn.00405f90
test al, al
je 0x40cef8
lea ecx, [esp + 0x3c]
mov dword [esp + 0x30], 0x4286a8
call fcn.00401660
lea ecx, [esp + 0x38]
call fcn.00401660
lea ecx, [esp + 0x34]
call fcn.00405fc0
jmp 0x40cf55
push str.Root.Config_default
lea ecx, [esp + 0x18]
call fcn.00401020
lea edx, [esp + 0x14]
lea eax, [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x54], 8
call fcn.0040c560
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 0xa
call fcn.00401660
lea ecx, [esp + 0x20]
call fcn.00403640
test al, al
jne 0x40cf65
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c], 6
call fcn.00401360
lea ecx, [esp + 0x30]
mov byte [esp + 0x4c], 1
call fcn.00401790
lea ecx, [esp + 0x60]
mov byte [esp + 0x4c], 0
call sub.MFC42u.DLL_CString::CString
jmp 0x40cfda
push str.DefaultSkin
lea ecx, [esp + 0x1c]
call fcn.00401020
lea ecx, [esp + 0x5c]
push 0
lea edx, [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x58], 0xb
call fcn.00403170
lea ecx, [esp + 0x18]
call fcn.00401660
mov ecx, dword [esp + 0x5c]
xor eax, eax
mov byte [esp + 0x4c], 6
mov edx, dword [ecx - 8]
lea ecx, [esp + 0x20]
test edx, edx
setne al
mov dword [esp + 0x1c], eax
call fcn.00401360
lea ecx, [esp + 0x30]
mov byte [esp + 0x4c], 1
call fcn.00401790
lea ecx, [esp + 0x60]
mov byte [esp + 0x4c], 0
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x40d000
lea ecx, [esp + 0x5c]
mov dword [esp + 0x4c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
lea edx, [esp + 0x5c]
lea eax, [esp + 0x60]
push edx
push eax
call fcn.0040d900
add esp, 8
push eax
mov ecx, esi
mov byte [esp + 0x50], 0xc
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x60]
mov byte [esp + 0x4c], 0
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esi]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40d05c
lea ecx, [esp + 0x5c]
mov dword [esp + 0x4c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
mov edx, dword [esi]
mov eax, dword [edi]
push edx
push eax
push str._s_s
push ebp
call sub.MFC42u.DLL_CString::Format
mov ecx, dword [ebp]
add esp, 0x10
push str.miniui.xml
push ecx
push str._s_s
push ebx
call sub.MFC42u.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString_1
mov edx, dword [esi]
mov ecx, dword [edi]
push 0x42e54c
mov eax, edx
push edx
push eax
push ecx
lea edx, [esp + 0x20]
push str._s_s_s_s
push edx
mov byte [esp + 0x64], 0xd
call sub.MFC42u.DLL_CString::Format
mov eax, dword [esp + 0x28]
mov ebp, dword [0x4285d0]
add esp, 0x18
push eax
call ebp
test eax, eax
jne 0x40d0cd
xor esi, esi
jmp 0x40d199
lea ecx, [esp + 0x64]
call sub.MFC42u.DLL_CString::CString_1
mov ecx, dword [esi]
mov edx, dword [edi]
push str.miniui.xml
push ecx
push edx
lea eax, [esp + 0x70]
mov bl, 0xe
push str._s_s_s
push eax
mov byte [esp + 0x60], bl
call sub.MFC42u.DLL_CString::Format
mov ecx, dword [esp + 0x78]
add esp, 0x14
push ecx
call ebp
test eax, eax
jne 0x40d119
lea ecx, [esp + 0x64]
mov byte [esp + 0x4c], 0xd
call sub.MFC42u.DLL_CString::CString
xor esi, esi
jmp 0x40d199
mov esi, dword [esp + 0x58]
mov edx, dword [esi]
mov eax, dword [edx - 8]
test eax, eax
je 0x40d186
lea ecx, [esp + 0x60]
call sub.MFC42u.DLL_CString::CString_1
lea eax, [esp + 0x60]
lea ecx, [esp + 0x64]
push eax
push ecx
mov byte [esp + 0x54], 0xf
call fcn.0040d9c0
add esp, 8
test eax, eax
jne 0x40d15b
lea ecx, [esp + 0x60]
mov byte [esp + 0x4c], bl
call sub.MFC42u.DLL_CString::CString
xor esi, esi
jmp 0x40d18b
mov eax, dword [esi]
mov edx, dword [esp + 0x60]
push eax
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
mov byte [esp + 0x4c], bl
test eax, eax
lea ecx, [esp + 0x60]
jge 0x40d181
call sub.MFC42u.DLL_CString::CString
xor esi, esi
jmp 0x40d18b
call sub.MFC42u.DLL_CString::CString
mov esi, 1
lea ecx, [esp + 0x64]
mov byte [esp + 0x4c], 0xd
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x4c], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x5c]
mov dword [esp + 0x4c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x44]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret