Function at 0x454d10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e8948
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x54]
mov esi, ecx
test edi, edi
je 0x455406
push 0
push edi
call dword [edi + 0x38]
add esp, 8
test eax, eax
je 0x455406
push eax
call dword [eax + 0x6c]
mov eax, dword [eax + 4]
add esp, 4
lea ecx, [esp + 0x54]
push eax
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x54]
mov dword [esp + 0x4c], 0
call sub.MFC42.DLL_CString::MakeUpper
push 0x22
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CString::TrimLeft_1
push 0x22
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CString::TrimRight_1
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
mov byte [esp + 0x4c], 1
call sub.MFC42.DLL_CString::CString_3
push edi
mov byte [esp + 0x50], 2
call dword [edi + 0x50]
add esp, 4
lea ecx, [esp + 0x54]
mov ebp, eax
push 0x2e
call sub.MFC42.DLL_CString::Find_3
test eax, eax
jle 0x454e19
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
push 0x2e
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CString::ReverseFind
inc eax
lea ecx, [esp + 0x10]
push eax
push 0
call sub.MFC42.DLL_CString::Delete
push 0x2e
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CString::ReverseFind
lea edx, [esp + 0x18]
push eax
push edx
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], 2
call fcn.00415612
jmp 0x454e46
lea eax, [esp + 0x54]
lea ecx, [esp + 0x14]
push eax
call sub.MFC42.DLL_CString::operator_1
cmp ebp, 0x70
jne 0x454e33
push 0x537ca4
jmp 0x454e3d
cmp ebp, 0x71
jne 0x454e46
push 0x537ca0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
mov ecx, dword [esp + 0x10]
mov ebx, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x537ca0
push ecx
call ebx
add esp, 8
test eax, eax
jne 0x454fbe
mov eax, dword [esi + 0x184]
test eax, eax
jne 0x4553d9
lea edx, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
call sub.MFC42.DLL_CString::CString_2
push str..QML
lea ecx, [esp + 0x1c]
mov byte [esp + 0x50], 4
call fcn.004156cc
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_3
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0x54], 5
call sub.MFC42.DLL_CString::CString_2
call fcn.00428920
add esp, 4
test eax, eax
jne 0x454ecd
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::operator_1
jmp 0x454f21
push str.lib_
lea edx, [esp + 0x24]
push 0x556608
push edx
call sub.MFC42.DLL_operator_3
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
mov bl, 6
push eax
push edx
mov byte [esp + 0x58], bl
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x50], 7
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c], bl
call fcn.00415612
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c], 5
call fcn.00415612
mov edi, dword [esi + 0x12c]
mov dword [esp + 0x28], 0xffffffff
test edi, edi
je 0x454f5e
mov ebp, dword [sym.imp.MSVCRT.dll__stricmp]
mov ecx, dword [esp + 0x24]
mov eax, dword [edi + 8]
push ecx
push eax
call ebp
add esp, 8
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x20], eax
jne 0x454f5a
mov edi, dword [edi]
test edi, edi
jne 0x454f39
jmp 0x454f5e
test edi, edi
jne 0x454f9d
mov edx, dword [esi + 0x130]
add esi, 0x128
push 0
push edx
mov ecx, esi
call fcn.00459630
mov edi, eax
lea eax, [esp + 0x24]
push eax
lea ebp, [edi + 8]
mov ecx, ebp
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x28]
mov dword [ebp + 4], ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x454f97
mov dword [eax], edi
jmp 0x454f9a
mov dword [esi + 4], edi
mov dword [esi + 8], edi
lea ecx, [esp + 0x24]
mov byte [esp + 0x4c], 4
call fcn.00415612
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], 2
call fcn.00415612
jmp 0x4553d9
mov edx, dword [esp + 0x10]
push 0x537ca4
push edx
call ebx
add esp, 8
test eax, eax
jne 0x455034
cmp dword [esi + 0x184], 1
jne 0x4553d9
lea eax, [esi + 0x190]
lea edx, [esp + 0x14]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call sub.MFC42.DLL_CString::CString_2
push edi
mov ecx, esi
call fcn.00455420
lea ecx, [esp + 0x10]
mov esi, eax
mov byte [esp + 0x4c], 1
call fcn.00415612
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 0
call fcn.00415612
lea ecx, [esp + 0x54]
mov dword [esp + 0x4c], 0xffffffff
call fcn.00415612
mov eax, esi
jmp 0x455408
mov eax, dword [esp + 0x10]
push 0x537c94
push eax
call ebx
add esp, 8
test eax, eax
jne 0x4553c2
mov eax, dword [esi + 0x184]
test eax, eax
je 0x4553d9
mov ecx, dword [esp + 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x45509a
lea edx, [esp + 0x54]
lea eax, [esp + 0x20]
push edx
push 0x556608
push eax
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x50], 8
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c], 2
call fcn.00415612
lea ecx, [esp + 0x34]
call fcn.004156c6
mov ecx, dword [esp + 0x54]
push 0
push 0x8000
push ecx
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], 9
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x4550eb
push ebp
push 0x911
push 4
push edi
call dword [edi + 0x58]
add esp, 4
mov ecx, esi
push eax
call fcn.00449d50
lea ecx, [esp + 0x34]
mov byte [esp + 0x4c], 2
call sub.MFC42.DLL_CFile::CFile
jmp 0x4553d9
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CFile::GetLength
mov ebp, eax
lea edi, [ebp + 0xa]
push edi
call sub.MFC42.DLL_operatornew
mov ecx, edi
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebp
and ecx, 3
push ebx
rep stosb byte es:[edi], al
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CFile::Read
mov eax, dword [esi + 0x160]
test eax, eax
je 0x455291
xor eax, eax
mov dword [esi + 0x160], 0
mov ecx, eax
mov edx, dword [esi + 0x1b8]
and ecx, 0xfff00000
mov edi, dword [esi + 0x198]
mov dword [esp + 0x25], ecx
mov ecx, dword [esi + 0x164]
xor ecx, eax
mov dword [esp + 0x29], eax
and ecx, 1
mov byte [esp + 0x24], 0x1e
xor eax, ecx
mov dword [esp + 0x29], edx
mov dword [esp + 0x2d], eax
mov eax, dword [esi + 0x1a0]
test eax, eax
jne 0x4551b9
mov edx, dword [esi + 0x1a8]
push 0x18
lea eax, [esi + 0x1a4]
push edx
push eax
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [esi + 0x1a8]
lea edx, [ecx + ecx*2]
dec ecx
test ecx, ecx
lea eax, [eax + edx*8 - 0x14]
jl 0x4551b9
inc ecx
mov edx, dword [esi + 0x1a0]
mov dword [eax], edx
mov dword [esi + 0x1a0], eax
sub eax, 0x18
dec ecx
jne 0x4551a5
mov eax, dword [esi + 0x1a0]
xor edx, edx
mov ecx, dword [eax]
mov dword [esi + 0x1a0], ecx
mov dword [eax + 4], edi
mov dword [eax], 0
mov edi, dword [esi + 0x19c]
inc edi
lea ecx, [eax + 8]
mov dword [esi + 0x19c], edi
mov edi, ecx
mov dword [edi], edx
mov dword [edi + 4], edx
mov dword [edi + 8], edx
mov byte [edi + 0xc], dl
mov edx, dword [esp + 0x24]
mov dword [ecx], edx
mov edx, dword [esp + 0x28]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + 8], edx
mov dl, byte [esp + 0x30]
mov byte [ecx + 0xc], dl
mov ecx, dword [esi + 0x198]
test ecx, ecx
je 0x455218
mov dword [ecx], eax
jmp 0x45521e
mov dword [esi + 0x194], eax
mov dword [esi + 0x198], eax
call sub.MFC42.DLL_AfxGetEmptyString
mov eax, dword [eax]
push ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
call sub.MFC42.DLL_CString::operator
mov ecx, dword [esp + 0x18]
push 0
mov bl, 0xa
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x1c]
inc eax
mov byte [esp + 0x50], bl
push eax
push 0
call sub.MFC42.DLL_CString::GetBuffer
lea edx, [esp + 0x28]
push eax
push edx
mov ecx, 0x55a058
call fcn.0047ae00
push eax
lea ecx, [esi + 0x1ac]
mov byte [esp + 0x50], 0xb
call sub.MFC42.DLL_CStringList::AddTail
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c], bl
call fcn.00415612
mov byte [esp + 0x4c], 9
lea ecx, [esp + 0x18]
jmp 0x4553ad
xor eax, eax
mov edx, dword [esi + 0x1b8]
mov ecx, eax
mov edi, dword [esi + 0x198]
and ecx, 0xfff00000
mov dword [esp + 0x29], eax
mov dword [esp + 0x25], ecx
mov ecx, dword [esi + 0x164]
xor ecx, eax
mov byte [esp + 0x24], 2
and ecx, 1
mov dword [esp + 0x29], edx
xor eax, ecx
mov dword [esp + 0x2d], eax
mov eax, dword [esi + 0x1a0]
test eax, eax
jne 0x45530f
mov edx, dword [esi + 0x1a8]
push 0x18
lea eax, [esi + 0x1a4]
push edx
push eax
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [esi + 0x1a8]
lea edx, [ecx + ecx*2]
dec ecx
test ecx, ecx
lea eax, [eax + edx*8 - 0x14]
jl 0x45530f
inc ecx
mov edx, dword [esi + 0x1a0]
mov dword [eax], edx
mov dword [esi + 0x1a0], eax
sub eax, 0x18
dec ecx
jne 0x4552fb
mov eax, dword [esi + 0x1a0]
xor edx, edx
mov ecx, dword [eax]
mov dword [esi + 0x1a0], ecx
mov dword [eax + 4], edi
mov dword [eax], 0
mov edi, dword [esi + 0x19c]
inc edi
lea ecx, [eax + 8]
mov dword [esi + 0x19c], edi
mov edi, ecx
mov dword [edi], edx
mov dword [edi + 4], edx
mov dword [edi + 8], edx
mov byte [edi + 0xc], dl
mov edx, dword [esp + 0x24]
mov dword [ecx], edx
mov edx, dword [esp + 0x28]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + 8], edx
mov dl, byte [esp + 0x30]
mov byte [ecx + 0xc], dl
mov ecx, dword [esi + 0x198]
test ecx, ecx
je 0x45536e
mov dword [ecx], eax
jmp 0x455374
mov dword [esi + 0x194], eax
mov dword [esi + 0x198], eax
call sub.MFC42.DLL_AfxGetEmptyString
mov eax, dword [eax]
push ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], 0xc
push ecx
lea ecx, [esi + 0x1ac]
call sub.MFC42.DLL_CStringList::AddTail
mov byte [esp + 0x4c], 9
lea ecx, [esp + 0x18]
call fcn.00415612
lea ecx, [esp + 0x34]
mov byte [esp + 0x4c], 2
call sub.MFC42.DLL_CFile::CFile
jmp 0x4553d9
push ebp
push 0x91c
push 0xd
push edi
call dword [edi + 0x58]
add esp, 4
mov ecx, esi
push eax
call fcn.00449d50
lea ecx, [esp + 0x10]
mov byte [esp + 0x4c], 1
call fcn.00415612
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 0
call fcn.00415612
lea ecx, [esp + 0x54]
mov dword [esp + 0x4c], 0xffffffff
call fcn.00415612
xor eax, eax
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x40
ret 4