Function at 0x10737d1
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
mov eax, 0x10eeb26
call fcn.01003440
sub esp, 0x28
push esi
push 0
lea ecx, [ebp - 0x24]
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::constructor_long_int_]
and dword [ebp - 4], 0
push 0x10739c4
lea ecx, [ebp - 0x24]
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::SetFunctionName_unsigned_short_int_const__]
lea ecx, [ebp - 0x10]
call sub.MFC42u.dll_CString::CString_1
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.0103fbb6
push eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.mmcbase.DLL_public:_class_mmcerror::SC____thiscall_mmcerror::SC::operator_long_int_]
lea ecx, [ebp - 0x24]
call dword [sym.imp.mmcbase.DLL_public:_bool___thiscall_mmcerror::SC::operator_bool_void_const]
test al, al
je 0x107383b
lea ecx, [ebp - 0x24]
call dword [sym.imp.mmcbase.DLL_public:_long_int___thiscall_mmcerror::SC::ToHr_void_const]
mov esi, eax
jmp 0x1073987
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.01031781
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x34]
push eax
call fcn.01073624
mov esi, dword [sym.imp.mmcbase.DLL_public:_class_mmcerror::SC____thiscall_mmcerror::SC::operator_class_mmcerror::SC_const__]
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::destructor_void_]
lea ecx, [ebp - 0x24]
call dword [sym.imp.mmcbase.DLL_public:_bool___thiscall_mmcerror::SC::operator_bool_void_const]
test al, al
jne 0x107394d
push 0x8000ffff
push dword [ebp - 0x14]
lea eax, [ebp - 0x34]
push eax
call fcn.0102f887
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::destructor_void_]
lea ecx, [ebp - 0x24]
call dword [sym.imp.mmcbase.DLL_public:_bool___thiscall_mmcerror::SC::operator_bool_void_const]
test al, al
jne 0x107394d
push 0x10739bc
lea ecx, [ebp - 0x10]
call sub.MFC42u.dll_CString::FindOneOf
cmp eax, 0xffffffff
jne 0x10738fc
lea eax, [ebp - 0x10]
push eax
push 0x10739b4
lea eax, [ebp + 0xc]
push eax
call sub.MFC42u.dll_operator
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.0104a0a2
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call sub.MFC42u.dll_CString::CString
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1073923
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1073923
lea ecx, [ebp - 0x24]
call dword [sym.imp.mmcbase.DLL_public:_class_mmcerror::SC____thiscall_mmcerror::SC::FromLastError_void_]
jmp 0x1073950
lea ecx, [ebp - 0x14]
call fcn.01030773
push dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
push eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.mmcbase.DLL_public:_class_mmcerror::SC____thiscall_mmcerror::SC::operator_long_int_]
lea ecx, [ebp - 0x24]
call dword [sym.imp.mmcbase.DLL_public:_bool___thiscall_mmcerror::SC::operator_bool_void_const]
test al, al
jne 0x1073950
jmp 0x107396b
mov esi, dword [ebp + 0xc]
push 0x10
sub esp, 0x10
lea eax, [ebp - 0x24]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::constructor_class_mmcerror::SC_const__]
push esi
call dword [sym.imp.mmcbase.DLL_int___stdcall_MMCErrorBox_unsigned_short_int_const___class_mmcerror::SC__unsigned_int_]
lea ecx, [ebp - 0x24]
call dword [sym.imp.mmcbase.DLL_public:_long_int___thiscall_mmcerror::SC::ToHr_void_const]
mov esi, eax
mov eax, dword [ebp - 0x14]
test eax, eax
mov byte [ebp - 4], 1
je 0x1073987
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0
call sub.MFC42u.dll_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword fs:[0], ecx
pop esi
leave
ret 8