Function at 0x10007880
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10112f97
mov eax, dword fs:[0]
push eax
sub esp, 0x2d4
mov eax, dword [0x1015bdd0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x274], ecx
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x288], esi
cmp esi, edi
je 0x10007d2b
push esi
lea ecx, [ebp - 0x264]
call fcn.1006a1e0
mov dword [ebp - 4], edi
push 0x10120c54
lea ecx, [ebp - 0x264]
call fcn.1006e190
push 0x101225c0
lea ecx, [ebp - 0x264]
call fcn.1006b5d0
push 0x24c
lea eax, [ebp - 0x25c]
push edi
push eax
mov dword [ebp - 0x260], edi
call fcn.1007d080
mov edx, dword [ebp - 0x264]
add esp, 0xc
lea ecx, [ebp - 0x260]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x270], eax
cmp eax, 0xffffffff
jne 0x10007961
cmp dword [0x1016af88], edi
je 0x10007d19
mov eax, dword [ebp - 0x264]
push eax
push str.CLocalBackupFileMgr::ClearByDate_FindFile___s__fail
push 0x1012077c
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x14
jmp 0x10007d19
mov edi, dword [ebp + 0xc]
mov ebx, 2
jmp 0x10007976
mov esi, dword [ebp - 0x288]
lea eax, [ebp - 0x234]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, ebx
test cx, cx
jne 0x10007980
sub eax, edx
sar eax, 1
cmp eax, 8
jne 0x10007cf0
lea ecx, [ebp - 0x234]
push ecx
call fcn.10056910
add esp, 4
test eax, eax
je 0x10007cf0
cmp dword [ebp + 0x14], 0
je 0x100079c8
mov ecx, dword [ebp - 0x274]
push esi
call fcn.10006ec0
test eax, eax
je 0x10007d0c
test byte [ebp - 0x260], 0x10
je 0x10007c78
lea edx, [ebp - 0x234]
push edx
call fcn.1007dd89
mov esi, eax
push 0
push esi
call fcn.100061b0
fstp qword [ebp - 0x280]
add esp, 0xc
cmp dword [0x1016af88], 0
je 0x10007a1e
push esi
lea eax, [ebp - 0x234]
push eax
push str.CLocalBackupFileMgr::ClearByDate_1__s___lu_
push 0x1012077c
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x18
fldz
fcomp qword [ebp - 0x280]
fnstsw ax
test ah, 0x44
jnp 0x10007cf0
mov ecx, dword [ebp - 0x264]
mov eax, dword [ecx - 8]
dec eax
push eax
lea edx, [ebp - 0x268]
push edx
lea ecx, [ebp - 0x264]
call fcn.1006d0c0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x268]
call fcn.1006b5d0
mov eax, dword [ebp + 0x10]
test edi, edi
jne 0x10007a97
test eax, eax
jne 0x10007a99
mov ecx, dword [ebp - 0x268]
push ecx
call fcn.100c4e50
add esp, 4
cmp dword [0x1016af88], edi
je 0x10007c6c
mov edx, dword [ebp - 0x268]
push eax
push edx
jmp 0x10007c53
test eax, eax
jbe 0x10007acd
mov ecx, dword [ebp + 0x14]
fld qword [ebp - 0x280]
mov edx, dword [ebp - 0x268]
push ecx
mov ecx, dword [ebp - 0x274]
push eax
sub esp, 8
fstp qword [esp]
push edx
call fcn.10007480
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
jmp 0x10007ceb
test edi, edi
jbe 0x10007c6c
fld qword [ebp - 0x280]
sub esp, 8
lea ecx, [ebp - 0x298]
fstp qword [esp]
call fcn.1007a7d0
push 0
push 0
push 0
push edi
lea ecx, [ebp - 0x2c0]
call fcn.1007bad0
fldz
push 0
fstp qword [ebp - 0x2a0]
push 0
push 0
lea eax, [ebp - 0x2a0]
push eax
mov ecx, 0x1016bb28
call fcn.1000c740
fld qword [ebp - 0x2a0]
sub esp, 8
lea ecx, [ebp - 0x2b0]
fstp qword [esp]
call fcn.1007a7d0
cmp dword [0x1016af88], 0
je 0x10007bb1
push 0x101224c4
lea ecx, [ebp - 0x278]
push ecx
lea ecx, [ebp - 0x2b0]
call fcn.1007b8a0
mov esi, eax
mov byte [ebp - 4], bl
push 0x101224c4
lea edx, [ebp - 0x284]
push edx
lea ecx, [ebp - 0x298]
call fcn.1007b8a0
mov byte [ebp - 4], 3
mov ecx, dword [esi]
mov edx, dword [eax]
push edi
push ecx
push edx
push str.CLocalBackupFileMgr::ClearByDate___s__dwDaySpan__d_
push 0x1012077c
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x1c
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x284]
call fcn.1006a980
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x278]
call fcn.1006a980
lea eax, [ebp - 0x298]
push eax
lea ecx, [ebp - 0x2b0]
call fcn.1007b360
test eax, eax
je 0x10007bf2
lea ecx, [ebp - 0x2c0]
push ecx
lea edx, [ebp - 0x298]
push edx
lea eax, [ebp - 0x2d0]
push eax
lea ecx, [ebp - 0x2b0]
call fcn.1007b760
mov ecx, eax
call fcn.1007bc30
test eax, eax
jne 0x10007c33
lea ecx, [ebp - 0x2b0]
push ecx
lea ecx, [ebp - 0x298]
call fcn.1007b360
test eax, eax
je 0x10007c6c
lea edx, [ebp - 0x2c0]
push edx
lea eax, [ebp - 0x2b0]
push eax
lea ecx, [ebp - 0x2e0]
push ecx
lea ecx, [ebp - 0x298]
call fcn.1007b760
mov ecx, eax
call fcn.1007bc30
test eax, eax
je 0x10007c6c
mov edx, dword [ebp - 0x268]
push edx
call fcn.100c4e50
add esp, 4
cmp dword [0x1016af88], 0
je 0x10007c6c
push eax
mov eax, dword [ebp - 0x268]
push eax
push str.CLocalBackupFileMgr::ClearByDate___s__del__d_
push 0x1012077c
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x18
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
jmp 0x10007ceb
cmp dword [0x1016af88], 0
je 0x10007ca1
lea ecx, [ebp - 0x234]
push ecx
push str.CLocalBackupFileMgr::ClearByDate_2__s_
push 0x1012077c
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x14
mov edx, dword [ebp - 0x264]
mov eax, dword [edx - 8]
dec eax
push eax
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x264]
call fcn.1006d0c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x26c]
call fcn.1006b5d0
mov edx, dword [ebp - 0x26c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x26c]
call fcn.1006a980
mov ecx, dword [ebp - 0x270]
lea eax, [ebp - 0x260]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10007970
mov edx, dword [ebp - 0x270]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x264]
call fcn.1006a980
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007ceab
mov esp, ebp
pop ebp
ret 0x10