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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4fffe8
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x50]
mov esi, ecx
test edi, edi
je 0x467b82
push 0
push edi
call dword [edi + 0x38]
add esp, 8
test eax, eax
je 0x467b82
push eax
call dword [eax + 0x6c]
mov eax, dword [eax + 4]
add esp, 4
lea ecx, [esp + 0x50]
push eax
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x50]
mov dword [esp + 0x48], 0
call sub.MFC42.DLL_CString::MakeUpper
push 0x22
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CString::TrimLeft
push 0x22
lea ecx, [esp + 0x54]
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 + 0x48], 1
call sub.MFC42.DLL_CString::CString_3
push edi
mov byte [esp + 0x4c], 2
call dword [edi + 0x50]
add esp, 4
lea ecx, [esp + 0x50]
mov ebp, eax
push 0x2e
call sub.MFC42.DLL_CString::Find_3
test eax, eax
jle 0x4675b9
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
push 0x2e
lea ecx, [esp + 0x54]
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 + 0x54]
call sub.MFC42.DLL_CString::ReverseFind
lea edx, [esp + 0x18]
push eax
push edx
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 2
call sub.MFC42.DLL_CString::CString
jmp 0x4675e6
lea eax, [esp + 0x50]
lea ecx, [esp + 0x14]
push eax
call sub.MFC42.DLL_CString::operator_1
cmp ebp, 0x6b
jne 0x4675d3
push 0x594728
jmp 0x4675dd
cmp ebp, 0x6c
jne 0x4675e6
push 0x594724
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0x10]
mov ebx, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x594724
push ecx
call ebx
add esp, 8
test eax, eax
jne 0x46775e
mov eax, dword [esi + 0x15c]
test eax, eax
jne 0x467b55
lea edx, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
call sub.MFC42.DLL_CString::CString_4
push str..QML
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c], 4
call sub.MFC42.DLL_CString::operator
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 + 0x50], 5
call sub.MFC42.DLL_CString::CString_4
call fcn.0044e650
add esp, 4
test eax, eax
jne 0x46766d
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::operator_1
jmp 0x4676c1
push str.lib_
lea edx, [esp + 0x24]
push 0x5da458
push edx
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
mov bl, 6
push eax
push edx
mov byte [esp + 0x54], bl
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x4c], 7
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 5
call sub.MFC42.DLL_CString::CString
mov edi, dword [esi + 0x108]
mov dword [esp + 0x28], 0xffffffff
test edi, edi
je 0x4676fe
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 0x4676fa
mov edi, dword [edi]
test edi, edi
jne 0x4676d9
jmp 0x4676fe
test edi, edi
jne 0x46773d
mov edx, dword [esi + 0x10c]
add esi, 0x104
push 0
push edx
mov ecx, esi
call fcn.0046bf60
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 0x467737
mov dword [eax], edi
jmp 0x46773a
mov dword [esi + 4], edi
mov dword [esi + 8], edi
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 2
call sub.MFC42.DLL_CString::CString
jmp 0x467b55
mov edx, dword [esp + 0x10]
push 0x594728
push edx
call ebx
add esp, 8
test eax, eax
jne 0x4677d4
cmp dword [esi + 0x15c], 1
jne 0x467b55
lea eax, [esi + 0x164]
lea edx, [esp + 0x14]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call sub.MFC42.DLL_CString::CString_4
push edi
mov ecx, esi
call fcn.00467ba0
lea ecx, [esp + 0x10]
mov esi, eax
mov byte [esp + 0x48], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
mov dword [esp + 0x48], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
jmp 0x467b84
mov eax, dword [esp + 0x10]
push 0x594710
push eax
call ebx
add esp, 8
test eax, eax
jne 0x467b3e
mov eax, dword [esi + 0x15c]
test eax, eax
je 0x467b55
mov ecx, dword [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x46783a
lea edx, [esp + 0x50]
lea eax, [esp + 0x20]
push edx
push 0x5da458
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x4c], 8
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CFile::CFile
mov ecx, dword [esp + 0x50]
push 0
push 0x8000
push ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x54], 9
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x46788b
push ebp
push 0x7d3
push 4
push edi
call dword [edi + 0x58]
add esp, 4
mov ecx, esi
push eax
call fcn.0045e5b0
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 2
call fcn.00445726
jmp 0x467b55
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CFile::GetLength
mov ebx, 0xa
add eax, ebx
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
lea ecx, [esp + 0x30]
mov ebp, eax
call sub.MFC42.DLL_CFile::GetLength
mov ecx, eax
xor eax, eax
add ecx, ebx
mov edi, ebp
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CFile::GetLength
push eax
push ebp
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CFile::Read
mov eax, dword [esi + 0x13c]
test eax, eax
je 0x467a29
xor ecx, ecx
mov dword [esi + 0x13c], 0
mov eax, ecx
mov edi, dword [esi + 0x16c]
and eax, 0xfff00000
mov dword [esp + 0x29], ecx
mov ecx, dword [esi + 0x18c]
mov dword [esp + 0x25], eax
mov eax, dword [esi + 0x174]
mov byte [esp + 0x24], 0x1e
test eax, eax
mov dword [esp + 0x29], ecx
jne 0x46795d
mov edx, dword [esi + 0x17c]
push 0x14
lea eax, [esi + 0x178]
push edx
push eax
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [esi + 0x17c]
lea edx, [ecx + ecx*4]
dec ecx
test ecx, ecx
lea eax, [eax + edx*4 - 0x10]
jl 0x46795d
inc ecx
mov edx, dword [esi + 0x174]
mov dword [eax], edx
mov dword [esi + 0x174], eax
sub eax, 0x14
dec ecx
jne 0x467949
mov eax, dword [esi + 0x174]
xor edx, edx
mov ecx, dword [eax]
mov dword [esi + 0x174], ecx
mov dword [eax + 4], edi
mov dword [eax], 0
mov edi, dword [esi + 0x170]
inc edi
lea ecx, [eax + 8]
mov dword [esi + 0x170], edi
mov edi, ecx
mov dword [edi], edx
mov dword [edi + 4], edx
mov byte [edi + 8], dl
mov edx, dword [esp + 0x24]
mov dword [ecx], edx
mov edx, dword [esp + 0x28]
mov dword [ecx + 4], edx
mov dl, byte [esp + 0x2c]
mov byte [ecx + 8], dl
mov ecx, dword [esi + 0x16c]
test ecx, ecx
je 0x4679b2
mov dword [ecx], eax
jmp 0x4679b8
mov dword [esi + 0x168], eax
mov dword [esi + 0x16c], eax
call sub.MFC42.DLL_AfxGetEmptyString
mov eax, dword [eax]
push ebp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0x18]
push 0
mov byte [esp + 0x4c], bl
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x1c]
inc eax
push eax
push 0
call sub.MFC42.DLL_CString::GetBuffer
lea edx, [esp + 0x28]
push eax
push edx
mov ecx, 0x5df710
call fcn.004928f0
push eax
lea ecx, [esi + 0x180]
mov byte [esp + 0x4c], 0xb
call sub.MFC42.DLL_CStringList::AddTail
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], bl
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x48], 9
lea ecx, [esp + 0x18]
jmp 0x467b29
xor ecx, ecx
mov edi, dword [esi + 0x16c]
mov eax, ecx
mov byte [esp + 0x24], 2
and eax, 0xfff00000
mov dword [esp + 0x29], ecx
mov ecx, dword [esi + 0x18c]
mov dword [esp + 0x25], eax
mov eax, dword [esi + 0x174]
mov dword [esp + 0x29], ecx
test eax, eax
jne 0x467a95
mov edx, dword [esi + 0x17c]
push 0x14
lea eax, [esi + 0x178]
push edx
push eax
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [esi + 0x17c]
lea edx, [ecx + ecx*4]
dec ecx
test ecx, ecx
lea eax, [eax + edx*4 - 0x10]
jl 0x467a95
inc ecx
mov edx, dword [esi + 0x174]
mov dword [eax], edx
mov dword [esi + 0x174], eax
sub eax, 0x14
dec ecx
jne 0x467a81
mov eax, dword [esi + 0x174]
xor edx, edx
mov ecx, dword [eax]
mov dword [esi + 0x174], ecx
mov dword [eax + 4], edi
mov dword [eax], 0
mov edi, dword [esi + 0x170]
inc edi
lea ecx, [eax + 8]
mov dword [esi + 0x170], edi
mov edi, ecx
mov dword [edi], edx
mov dword [edi + 4], edx
mov byte [edi + 8], dl
mov edx, dword [esp + 0x24]
mov dword [ecx], edx
mov edx, dword [esp + 0x28]
mov dword [ecx + 4], edx
mov dl, byte [esp + 0x2c]
mov byte [ecx + 8], dl
mov ecx, dword [esi + 0x16c]
test ecx, ecx
je 0x467aea
mov dword [ecx], eax
jmp 0x467af0
mov dword [esi + 0x168], eax
mov dword [esi + 0x16c], eax
call sub.MFC42.DLL_AfxGetEmptyString
mov eax, dword [eax]
push ebp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 0xc
push ecx
lea ecx, [esi + 0x180]
call sub.MFC42.DLL_CStringList::AddTail
mov byte [esp + 0x48], 9
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 2
call fcn.00445726
jmp 0x467b55
push ebp
push 0x7dd
push 0xd
push edi
call dword [edi + 0x58]
add esp, 4
mov ecx, esi
push eax
call fcn.0045e5b0
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
mov dword [esp + 0x48], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x3c
ret 4