Function at 0x1007853
Capabilities:
Delete file

Disassembly:
mov eax, 0x1014b24
call fcn.0100fee0
mov eax, 0x2668
call fcn.01010170
mov eax, dword [0x1018890]
xor eax, dword [ebp + 4]
push ebx
push esi
push edi
mov dword [ebp - 0x10], eax
mov esi, ecx
call sub.MFC42u.DLL_AfxGetModuleState
mov ecx, dword [eax + 4]
call sub.MFC42u.DLL_CCmdTarget::BeginWaitCursor
xor ebx, ebx
lea ecx, [ebp - 0x2670]
mov dword [ebp - 4], ebx
call fcn.0100c768
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::CString_3
mov eax, dword [ebp + 8]
lea edi, [esi + 0x178]
mov dword [eax], ebx
cmp dword [edi], ebx
mov byte [ebp - 4], 2
je 0x10078ba
mov ecx, esi
call fcn.010074af
mov dword [edi], 1
lea edi, [esi + 0xa4]
push edi
lea ecx, [esi + 0x90]
call sub.MFC42u.DLL_CString::operator
lea ecx, [esi + 0x180]
call fcn.010077c1
push 1
mov ecx, esi
call fcn.0100704a
lea ecx, [esi + 0xa8]
push ebx
call fcn.0100bd70
push dword [edi]
lea ecx, [esi + 0xa8]
call fcn.0100bc6a
mov ecx, esi
call fcn.01006bc9
push dword [edi]
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
call edi
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0xdf0]
push dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 3
call dword [ecx + 0x20]
push dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 2
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp - 0x20], ebx
jl 0x1007a55
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.01006265
push dword [ebp - 0x1c]
call edi
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0xdf0]
push dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 4
call dword [ecx + 0x4c]
push dword [ebp - 0x14]
mov byte [ebp - 4], 2
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.01005f18
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x18]
mov dword [esi + 0xde8], eax
jge 0x10079a2
mov eax, dword [ebp + 8]
mov dword [eax], 1
jmp 0x1007a55
push dword [ebp - 0x14]
lea ecx, [esi + 0x110]
push eax
push ebx
push ebx
call fcn.0100e807
lea edi, [esi + 0xddc]
push edi
push dword [esi + 0xdf0]
call fcn.01009523
lea eax, [esi + 0xde0]
push eax
push dword [esi + 0xdf0]
call fcn.010092a6
cmp dword [edi], ebx
jne 0x10079e3
cmp dword [esi + 0xde0], ebx
je 0x10079f5
lea eax, [esi + 0x180]
push eax
push dword [esi + 0xdf0]
call fcn.010093e5
push dword [esi + 0x108]
lea eax, [esi + 0x180]
push dword [esi + 0x104]
lea ecx, [ebp - 0x2670]
push dword [esi + 0xde0]
push dword [edi]
push eax
push dword [ebp - 0x1c]
call fcn.0100e060
push ebx
mov ecx, esi
call fcn.01006227
push dword [ebp - 0x14]
mov ecx, dword [esi + 0x10c]
push dword [ebp - 0x18]
push ebx
push ebx
call fcn.0100b817
lea edi, [esi + 0xa8]
mov ecx, edi
call fcn.0100bd1c
mov ecx, edi
call fcn.0100bac8
push eax
mov ecx, esi
call fcn.01006c69
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
mov ecx, esi
call sub.MFC42u.DLL_CWnd::UpdateData
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.0100f7ea
lea ecx, [ebp - 0x2670]
mov byte [ebp - 4], bl
call fcn.0100c7cd
or dword [ebp - 4], 0xffffffff
call sub.MFC42u.DLL_AfxGetModuleState
mov ecx, dword [eax + 4]
call sub.MFC42u.DLL_CCmdTarget::EndWaitCursor
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
pop edi
pop esi
pop ebx
call fcn.0100f7d5
leave
ret 4