Function at 0x417e60
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4b2b61
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x10], ebp
mov dword [ebp], 0x4be198
mov dword [esp + 0x24], 8
call fcn.00432e50
lea esi, [ebp + 0x58]
mov dword [esp + 0x14], esi
mov dword [esi], 0x4be184
mov ebx, dword [esi + 4]
xor edi, edi
cmp ebx, edi
mov byte [esp + 0x24], 9
je 0x417ed5
lea edi, [ebx + 8]
xor ebp, ebp
push 0
mov ecx, edi
call fcn.004192b0
add edi, 0x14
mov eax, ebp
dec ebp
test eax, eax
jne 0x417eb6
mov ebx, dword [ebx]
test ebx, ebx
jne 0x417eb1
mov ebp, dword [esp + 0x10]
xor edi, edi
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 8], edi
mov dword [esi + 4], edi
call sub.MFC42.DLL_CPlex::FreeDataChain
lea ecx, [ebp + 0x54]
mov dword [esi + 0x14], edi
mov dword [esi], 0x4bc4a0
mov byte [esp + 0x24], 6
call sub.MFC42.DLL_CString::CString
mov esi, dword [ebp + 0x50]
cmp esi, edi
je 0x417f96
lea ecx, [esi + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x417f93
cmp esi, edi
mov dword [esp + 0x18], esi
je 0x417f93
mov edx, dword [esi + 4]
lea edi, [esi + 4]
lea eax, [esp + 0x14]
mov ecx, edi
push eax
mov byte [esp + 0x28], 0xb
call dword [edx + 0x18]
mov ecx, dword [eax]
push 0x52e2b8
push ecx
call fcn.00418090
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x417f5e
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x54]
push 0
mov ecx, esi
call sub.MFC42.DLL_CString::GetBuffer
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, edi
mov byte [esp + 0x24], 0xa
call sub.MFC42.DLL_CFile::CFile
mov ecx, esi
mov byte [esp + 0x24], 5
call sub.MFC42.DLL_CString::CString
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
xor edi, edi
mov dword [ebp + 0x50], edi
mov esi, dword [ebp + 0x4c]
cmp esi, edi
je 0x41802d
lea eax, [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x41802a
cmp esi, edi
mov dword [esp + 0x18], esi
je 0x41802a
mov edx, dword [esi + 4]
lea edi, [esi + 4]
lea eax, [esp + 0x14]
mov ecx, edi
push eax
mov byte [esp + 0x28], 0xd
call dword [edx + 0x18]
mov ecx, dword [eax]
push 0x52e2b8
push ecx
call fcn.00418090
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x417ff5
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x54]
push 0
mov ecx, esi
call sub.MFC42.DLL_CString::GetBuffer
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, edi
mov byte [esp + 0x24], 0xc
call sub.MFC42.DLL_CFile::CFile
mov ecx, esi
mov byte [esp + 0x24], 4
call sub.MFC42.DLL_CString::CString
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
xor edi, edi
mov dword [ebp + 0x4c], edi
lea ecx, [ebp + 0x48]
mov byte [esp + 0x24], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 0x10]
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 0xc]
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 8]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 4]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret