Function at 0x42a0e2
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4e6c34
call fcn.004e1580
sub esp, 0x28
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov eax, dword [esi + 0xa0]
mov eax, dword [eax + 0x84]
cmp eax, ebx
mov dword [ebp - 0x1c], eax
je 0x42a10f
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [esi + 0xa0]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
push dword [eax + 0x30]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esi + 0xa0]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
push dword [eax + 0x28]
call sub.MFC42.DLL_CString::CString_4
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push eax
call fcn.00442d87
mov eax, dword [ebp - 0x18]
pop ecx
cmp dword [eax - 8], ebx
je 0x42a164
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x10]
push eax
call fcn.004e0906
lea eax, [ebp - 0x10]
push eax
call fcn.00442d87
pop ecx
lea eax, [ebp - 0x10]
lea ecx, [esi + 0xac]
push eax
call sub.MFC42.DLL_CString::operator_1
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 3
call dword [ecx + 0xc]
push dword [ebp - 0x14]
test eax, eax
jge 0x42a199
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x42a2fd
lea ecx, [esi + 0xb0]
call sub.MFC42.DLL_CString::operator
mov dword [ebp - 0x24], ebx
mov byte [ebp - 4], 4
call fcn.004cbba4
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00401a3c
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x42a225
mov dword [ebp - 0x20], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push eax
mov byte [ebp - 4], 5
call dword [ecx + 0x34]
test eax, eax
jl 0x42a203
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x28]
push edx
push 0x52a718
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 6
call dword [ecx]
cmp eax, ebx
jge 0x42a22d
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x42a203
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x42a214
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x42a225
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x14]
jmp 0x42a18e
push 0xffffffffffffffff
push dword [ebp - 0x10]
call fcn.0040294f
pop ecx
mov dword [ebp - 0x2c], eax
pop ecx
mov dword [ebp - 0x34], ebx
push dword [ebp - 0x10]
mov byte [ebp - 4], 8
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
je 0x42a2a9
push dword [ebp - 0x14]
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::CString_2
push dword [ebp - 0x30]
mov byte [ebp - 4], 9
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42a29d
mov eax, dword [ebp - 0x28]
lea edi, [esi + 0xa4]
push edi
push dword [ebp - 0x14]
mov ecx, dword [eax]
push dword [ebp - 0x2c]
push eax
call dword [ecx + 0x50]
test eax, eax
jl 0x42a29d
mov eax, dword [edi]
add esi, 0xa8
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
test eax, eax
jge 0x42a329
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 7
cmp eax, ebx
je 0x42a2ba
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x2c]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x42a2d6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x42a2e7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x42a2f8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x14]
call esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x42a325
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x42a3a3
xor eax, eax
cmp dword [esi], ebx
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 8
setg al
mov edi, eax
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 7
call fcn.0041d4c2
push dword [ebp - 0x2c]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.0042aa58
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.004154ba
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.0040285a
push dword [ebp - 0x14]
call esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00415479
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret