Function at 0x418e40
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4b2431
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], 0x4bd290
mov dword [esp + 0x24], 8
call fcn.00434520
lea esi, [ebp + 0x58]
mov dword [esp + 0x14], esi
mov dword [esi], 0x4bd27c
mov ebx, dword [esi + 4]
xor edi, edi
cmp ebx, edi
mov byte [esp + 0x24], 9
je 0x418eb5
lea edi, [ebx + 8]
xor ebp, ebp
push 0
mov ecx, edi
call fcn.0041a2c0
add edi, 0x14
mov eax, ebp
dec ebp
test eax, eax
jne 0x418e96
mov ebx, dword [ebx]
test ebx, ebx
jne 0x418e91
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], 0x4bb4c0
mov byte [esp + 0x24], 6
call sub.MFC42.DLL_CString::CString
mov esi, dword [ebp + 0x50]
cmp esi, edi
je 0x418f76
lea ecx, [esi + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x418f73
cmp esi, edi
mov dword [esp + 0x18], esi
je 0x418f73
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 0x52d418
push ecx
call fcn.00419070
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x418f3e
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 0x41900d
lea eax, [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x41900a
cmp esi, edi
mov dword [esp + 0x18], esi
je 0x41900a
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 0x52d418
push ecx
call fcn.00419070
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x418fd5
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