Function at 0x40ead0
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9a10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x184
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
push 0
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x20], esi
call fcn.004f2ae0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call sub.MFC42.DLL_AFX_EXCEPTION_LINK::AFX_EXCEPTION_LINK
mov eax, dword [esi + 0x6c]
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
mov eax, dword [eax + 0x80]
push eax
call fcn.004f2fc0
push 0
lea ecx, [ebp - 0x6c]
call fcn.004f4750
test eax, eax
je 0x40ede1
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x6c]
test esi, esi
je 0x40ed6a
push 0x541374
push esi
call dword [sym.imp.MSVCRT.dll_strstr]
mov edx, eax
add esp, 8
test edx, edx
je 0x40eb73
mov edi, 0x541374
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add edx, ecx
mov dword [ebp - 0x14], edx
jmp 0x40eb79
mov ecx, dword [edi + 0x6c]
mov dword [ebp - 0x14], ecx
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x40ed6a
push 0x541374
push esi
call dword [sym.imp.MSVCRT.dll_strstr]
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x14], edx
je 0x40ebb3
mov edi, 0x541374
or ecx, 0xffffffff
xor eax, eax
mov byte [edx], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
add edx, ecx
mov dword [ebp - 0x14], edx
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_3
mov edi, str.OBJECT_ID
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 4], 3
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, 1
push ecx
push str.OBJECT_ID
push esi
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x40ec07
mov edi, str.OBJECT_ID
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
add esi, ecx
push esi
call dword [sym.imp.MSVCRT.dll_atol]
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
jmp 0x40ec53
mov edi, str.OBJECT_UID
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.OBJECT_UID
push esi
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x40ed59
mov edi, str.OBJECT_UID
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
add esi, ecx
lea ecx, [ebp - 0x18]
push esi
call fcn.004c8322
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::TrimRight
mov esi, dword [ebp - 0x24]
xor ebx, ebx
lea ecx, [ebp - 0x6c]
call fcn.004f4ba0
lea ecx, [ebp - 0x6c]
call fcn.004f4b80
mov edi, dword [ebp + 8]
test eax, eax
jne 0x40ed35
test byte [edi + 0x64], 0x40
je 0x40ec85
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
jmp 0x40ed72
lea edx, [ebp - 0x190]
lea ecx, [ebp - 0x6c]
push edx
call fcn.004f2b10
test ebx, ebx
je 0x40ecac
cmp dword [ebp - 0x190], esi
je 0x40ecc8
push 1
lea ecx, [ebp - 0x6c]
call fcn.004f4bc0
jmp 0x40ec5b
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax - 8]
push ecx
lea ecx, [ebp - 0x188]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x40eca0
mov esi, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
mov edx, dword [esi + 0x6c]
add edx, 0x38
push edx
call sub.MFC42.DLL_CString::CString_2
lea eax, [ebp - 0x132]
lea ecx, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [esi + 0x6c]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x40ed09
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [eax + 0xbc]
call fcn.00472f40
mov edx, dword [ebp - 0x1c]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x6c]
call fcn.004f4d50
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x6c]
call fcn.004f4b80
test eax, eax
je 0x40ed59
push 0x106
mov ecx, edi
call fcn.00456190
push 0x1000
mov ecx, edi
call fcn.00456180
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
jmp 0x40eb79
lea ecx, [ebp - 0x6c]
call fcn.004f4960
mov byte [ebp - 4], 0
call sub.MFC42.DLL_AfxTryCleanup
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], 0xffffffff
call fcn.004f2b00
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 4], 0
call sub.MFC42.DLL_AfxTryCleanup
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], 0xffffffff
call fcn.004f2b00
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4