Function at 0x40e0b0
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f986e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x298
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
push 0
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x20], esi
call fcn.004f3030
push 0
lea ecx, [ebp - 0x9c]
mov dword [ebp - 4], 0
call fcn.004f2ae0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_AFX_EXCEPTION_LINK::AFX_EXCEPTION_LINK
mov eax, dword [esi + 0x6c]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
mov eax, dword [eax + 0x80]
push eax
call fcn.004f3170
push 0
lea ecx, [ebp - 0x60]
call fcn.004f4750
test eax, eax
je 0x40e48e
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx + 0x80]
lea ecx, [ebp - 0x9c]
push eax
call fcn.004f2fc0
push 0
lea ecx, [ebp - 0x9c]
call fcn.004f4750
test eax, eax
je 0x40e48e
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x6c]
test esi, esi
je 0x40e3f7
push 0x541374
push esi
call dword [sym.imp.MSVCRT.dll_strstr]
mov edx, eax
add esp, 8
test edx, edx
je 0x40e18e
mov edi, 0x541374
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add edx, ecx
jmp 0x40e191
mov edx, dword [edi + 0x6c]
mov dword [ebp - 0x14], edx
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x40e3f7
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 0x40e1ce
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], 4
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 0x40e222
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 0x40e26e
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 0x40e3e6
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 - 0x60]
call fcn.004f4ba0
lea ecx, [ebp - 0x60]
call fcn.004f4b80
mov edi, dword [ebp + 8]
test eax, eax
jne 0x40e3c2
test byte [edi + 0x64], 0x40
je 0x40e2a0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
jmp 0x40e40a
lea eax, [ebp - 0x180]
lea ecx, [ebp - 0x60]
push eax
call fcn.004f3060
test ebx, ebx
je 0x40e2c7
cmp dword [ebp - 0x180], esi
je 0x40e2e3
push 1
lea ecx, [ebp - 0x60]
call fcn.004f4bc0
jmp 0x40e276
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax - 8]
push ecx
lea ecx, [ebp - 0x178]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x40e2bb
lea ecx, [ebp - 0x9c]
call fcn.004f4ba0
lea ecx, [ebp - 0x9c]
call fcn.004f4b80
test eax, eax
jne 0x40e3b8
test byte [edi + 0x64], 0x40
jne 0x40e28f
lea edx, [ebp - 0x2a4]
lea ecx, [ebp - 0x9c]
push edx
call fcn.004f2b10
mov eax, dword [ebp - 0x2a0]
mov ecx, dword [ebp - 0x180]
cmp eax, ecx
jne 0x40e3a6
mov esi, dword [ebp - 0x20]
mov ecx, dword [esi + 0x6c]
add ecx, 0x38
push ecx
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString_2
lea edx, [ebp - 0x246]
lea ecx, [ebp - 0x1c]
push edx
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [esi + 0x6c]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x40e36a
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 - 0x9c]
call fcn.004f4d50
push 0xffffffffffffffff
lea ecx, [ebp - 0x9c]
call fcn.004f4bc0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
push 1
lea ecx, [ebp - 0x9c]
call fcn.004f4bc0
jmp 0x40e2ee
push 0
lea ecx, [ebp - 0x60]
call fcn.004f4d50
lea ecx, [ebp - 0x60]
call fcn.004f4b80
test eax, eax
je 0x40e3e6
push 0x106
mov ecx, edi
call fcn.00456190
push 0x1000
mov ecx, edi
call fcn.00456180
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
jmp 0x40e194
lea ecx, [ebp - 0x60]
call fcn.004f4960
lea ecx, [ebp - 0x9c]
call fcn.004f4960
mov byte [ebp - 4], 1
call sub.MFC42.DLL_AfxTryCleanup
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0
call fcn.004f2b00
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0xffffffff
call fcn.004f3050
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], 1
call sub.MFC42.DLL_AfxTryCleanup
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0
call fcn.004f2b00
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0xffffffff
call fcn.004f3050
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