Function at 0x1026e3d
Capabilities:
Check if file exists

Disassembly:
push 0x28
mov eax, 0x106a56b
call fcn.0101da08
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov eax, dword [0x1077004]
cmp eax, 0x1077004
je 0x1026e7b
test dword [eax + 0x1c], 0x100
je 0x1026e7b
cmp byte [eax + 0x19], 4
jb 0x1026e7b
push 0x1006220
push 0x46
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01015bb9
mov edi, dword [ebp + 8]
test edi, edi
je 0x1026e8b
mov eax, dword [esi + 0x760]
mov dword [edi + 0x24], eax
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
mov ebx, eax
test ebx, ebx
jl 0x1027169
test edi, edi
je 0x10270ce
cmp dword [edi + 0xc], 0
jbe 0x10270ce
lea ecx, [ebp - 0x34]
call fcn.0101cafa
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [edi + 0xc], esi
jbe 0x1026ef4
mov eax, dword [edi + 8]
push dword [eax + esi*4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1026ee0
mov eax, dword [edi + 8]
push dword [eax + esi*4]
call fcn.01067f1f
test eax, eax
jne 0x1026eee
mov eax, dword [edi + 8]
push dword [eax + esi*4]
lea ecx, [ebp - 0x34]
call fcn.0101ad31
inc esi
cmp esi, dword [edi + 0xc]
jb 0x1026ec1
cmp dword [ebp - 0x2c], 0
jle 0x10270b3
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x2c], ebx
jne 0x1026fb6
lea ecx, [ebp - 0x14]
call sub.MFC42u.dll_CString::CString_3
mov esi, 0xef68
push esi
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], bl
call fcn.0102a736
test eax, eax
jne 0x1026fae
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.0101acfa
push dword [eax]
lea eax, [ebp - 0x14]
push esi
push eax
mov byte [ebp - 4], 3
call sub.MFC42u.dll_AfxFormatString1
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call sub.MFC42u.dll_CString::CString
push 0
push 0x10
push dword [ebp - 0x14]
call fcn.0102a3ed
mov dword [ebp - 4], ebx
jmp 0x1026fae
lea ecx, [ebp - 0x14]
jmp 0x10270a5
lea ecx, [ebp - 0x18]
call sub.MFC42u.dll_CString::CString_3
mov ebx, 0xef69
push ebx
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 5
call fcn.0102a736
test eax, eax
jne 0x10270a2
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call sub.MFC42u.dll_CString::CString_3
mov byte [ebp - 4], 7
xor esi, esi
cmp esi, dword [ebp - 0x2c]
jge 0x1027030
push esi
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x34]
call fcn.0101acfa
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call sub.MFC42u.dll_CString::operator
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
call sub.MFC42u.dll_CString::CString
mov eax, dword [ebp - 0x2c]
sub eax, esi
cmp eax, 1
jle 0x102702d
push 0x1006b9c
lea ecx, [ebp - 0x14]
call sub.MFC42u.dll_CString::operator_1
inc esi
jmp 0x1026feb
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push ebx
push eax
call sub.MFC42u.dll_AfxFormatString1
push 0
push 0x10
push dword [ebp - 0x18]
call fcn.0102a3ed
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call sub.MFC42u.dll_CString::CString
mov dword [ebp - 4], 5
jmp 0x10270a2
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call sub.MFC42u.dll_CString::CString
mov ebx, 0x80004005
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x34]
call sub.MFC42u.dll_CStringArray::SetSize
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call sub.MFC42u.dll_CStringArray::CStringArray
mov esi, dword [ebp - 0x1c]
test ebx, ebx
jl 0x1027161
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc4]
mov ecx, eax
call fcn.01017600
cmp dword [eax + 0x64], 0
jne 0x1027104
mov ecx, esi
call fcn.01026abb
test eax, eax
jle 0x1027102
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
jl 0x1027161
call sub.MFC42u.dll_AfxGetModuleState
mov ecx, dword [ebp - 0x1c]
mov esi, dword [eax + 4]
push edi
call fcn.01025046
push eax
mov eax, dword [esi + 0x20]
push dword [eax + 0x20]
call sub.FxsCompose.dll_HrNewFaxComposeUI
mov ebx, eax
test ebx, ebx
jge 0x1027161
mov eax, dword [0x1077004]
cmp eax, 0x1077004
je 0x1027161
test dword [eax + 0x1c], 0x100
je 0x1027161
cmp byte [eax + 0x19], 2
jb 0x1027161
movzx ecx, bx
push ecx
push 0x1006b50
push 0x1006220
push 0x49
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101ea0b
call dword [sym.imp.ole32.dll_OleUninitialize]
jmp 0x102719f
mov eax, dword [0x1077004]
cmp eax, 0x1077004
je 0x102719f
test dword [eax + 0x1c], 0x100
je 0x102719f
cmp byte [eax + 0x19], 2
jb 0x102719f
movzx ecx, bx
push ecx
push 0x1006b08
push 0x1006220
push 0x4a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101ea0b
xor eax, eax
test ebx, ebx
setge al
call fcn.0101dabc
ret 4