Function at 0x4025d1
Capabilities:
Delete file

Disassembly:
jmp 0x42b2e0
push 0xffffffffffffffff
push 0x543111
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], 0x5559a8
mov dword [esp + 0x24], 8
call fcn.00468960
lea esi, [ebp + 0x58]
mov dword [esp + 0x14], esi
mov dword [esi], 0x555990
mov ebx, dword [esi + 4]
xor edi, edi
cmp ebx, edi
mov byte [esp + 0x24], 9
je 0x42b355
lea edi, [ebx + 8]
xor ebp, ebp
push 0
mov ecx, edi
call fcn.004022a7
add edi, 0x14
mov eax, ebp
dec ebp
test eax, eax
jne 0x42b336
mov ebx, dword [ebx]
test ebx, ebx
jne 0x42b331
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], 0x553334
mov byte [esp + 0x24], 6
call sub.MFC42.DLL_CString::CString
mov esi, dword [ebp + 0x50]
cmp esi, edi
je 0x42b416
lea ecx, [esi + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x42b413
cmp esi, edi
mov dword [esp + 0x18], esi
je 0x42b413
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 0x617d8c
push ecx
call fcn.00401aeb
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x42b3de
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 0x42b4ad
lea eax, [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x42b4aa
cmp esi, edi
mov dword [esp + 0x18], esi
je 0x42b4aa
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 0x617d8c
push ecx
call fcn.00401aeb
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x42b475
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