Function at 0x4281b3
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4ea936
call fcn.004e6580
sub esp, 0xf0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
push esi
mov esi, dword [eax]
cmp esi, eax
push edi
mov edi, ecx
jne 0x4281da
xor al, al
jmp 0x428528
lea ecx, [esi + 0xc]
call dword [sym.imp.MFC71U.DLL_CRecordset::AllocStatusArrays]
push eax
lea ecx, [ebp - 0x20]
call fcn.004021ce
push dword [ebp - 0x20]
and dword [ebp - 4], 0
lea eax, [ebp - 0x8c]
push eax
mov ecx, edi
call fcn.004256e4
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00426bc4
lea eax, [ebp - 0x8c]
push 0x4feb50
push eax
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_bool___cdecl_std::operator__wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
test al, al
pop ecx
pop ecx
je 0x428501
push ebx
lea ebx, [edi + 8]
mov ecx, ebx
call fcn.00427b25
lea ecx, [ebp - 0x30]
call fcn.00427b25
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x8c]
push eax
mov ecx, edi
call fcn.00427a23
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx]
cmp eax, ecx
mov dword [ebp - 0x18], eax
je 0x4282ee
add eax, 0xc
push 3
push eax
lea ecx, [ebp - 0x14]
call fcn.0041fc3d
push 0
push 0
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [edi + 0x6c]
mov byte [ebp - 4], 3
call fcn.0041edc6
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x54]
push eax
mov ecx, edi
call fcn.00425830
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.0042680f
mov eax, dword [edi + 0xc]
cmp dword [ebp - 0x1c], eax
jne 0x4282c1
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x5c]
push eax
mov ecx, ebx
call fcn.00426eb6
lea ecx, [ebp - 0x18]
call fcn.00425f43
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004089c6
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x2c]
jne 0x428262
mov eax, dword [ebp + 8]
cmp esi, dword [eax + 4]
je 0x428500
lea ebx, [esi + 8]
mov ecx, ebx
call dword [sym.imp.MFC71U.DLL_CRecordset::AllocStatusArrays]
push eax
lea ecx, [ebp - 0x14]
call fcn.004021ce
push dword [ebp - 0x14]
mov byte [ebp - 4], 5
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4284e7
push dword [ebp - 0x14]
lea ecx, [ebp - 0xc4]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push 3
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.0041fc3d
push 0
push 0
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [edi + 0x6c]
mov byte [ebp - 4], 7
call fcn.0041edc6
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xe0]
push eax
mov ecx, edi
call fcn.00425830
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [edi + 8]
mov byte [ebp - 4], 8
call fcn.0042680f
mov eax, dword [edi + 0xc]
cmp dword [ebp - 0x34], eax
je 0x4283c2
mov ebx, dword [ebp + 8]
mov eax, esi
mov esi, dword [esi]
cmp esi, dword [ebx + 4]
mov byte [ebp - 0xd], 0
jne 0x4283a4
mov byte [ebp - 0xd], 1
push eax
lea eax, [ebp - 0x58]
push eax
mov ecx, ebx
call fcn.00426f7c
cmp byte [ebp - 0xd], 0
je 0x4284b9
mov esi, dword [ebx + 4]
jmp 0x4284b9
lea ecx, [ebx + 4]
call dword [sym.imp.MFC71U.DLL_CRecordset::AllocStatusArrays]
push eax
lea ecx, [ebp - 0x24]
call fcn.004021ce
push dword [ebp - 0x24]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 9
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0xa8]
push eax
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.004258c9
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xb
call fcn.0042680f
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x2c]
je 0x42848e
add eax, 0xc
push eax
lea eax, [ebp - 0xfc]
push eax
mov ecx, edi
call fcn.00425975
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xc
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 0xb
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea eax, [ebp - 0x54]
push 0x4feb50
push eax
call dword [sym.imp.MSVCP71.dll_bool___cdecl_std::operator__wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
test al, al
pop ecx
pop ecx
je 0x42848e
cmp dword [ebp - 0x3c], 8
mov eax, dword [ebp - 0x50]
jae 0x42846a
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_8]
lea eax, [ebp - 0x18]
push eax
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 0xd
call dword [0x4fc954]
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov esi, dword [esi]
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xa
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 9
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push dword [ebp - 0x24]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.004089c6
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 5
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp 0x4284ea
mov ebx, dword [ebp + 8]
push dword [ebp - 0x14]
mov byte [ebp - 4], 2
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp esi, dword [ebx + 4]
jne 0x4282fa
pop ebx
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00427c74
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push dword [ebp - 0x20]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4