Function at 0x12e506c0
Capabilities:
Delete file
Enumerate files on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1305f51d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2dc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov ebx, ecx
cmp esi, edi
je 0x12e50b50
push esi
lea ecx, [esp + 0x14]
call fcn.12f46b50
push 0x130c4ed0
lea ecx, [esp + 0x14]
mov dword [esp + 0x2f4], edi
call fcn.12f4ab60
push 0x13109518
lea ecx, [esp + 0x14]
call fcn.12f47f40
mov dword [esp + 0x98], edi
mov ecx, 0x93
xor eax, eax
lea edi, [esp + 0x9c]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x98]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x28], eax
jne 0x12e5077d
mov eax, dword [0x13199068]
test eax, eax
je 0x12e50b3c
mov edx, dword [esp + 0x10]
add ebx, 0x50
push edx
push str.CLocalBackupFileMgr::ClearByDate_FindFile___s__fail
push ebx
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
jmp 0x12e50b3c
mov edi, dword [ebp + 0xc]
jmp 0x12e50785
mov esi, dword [ebp + 8]
lea eax, [esp + 0xc4]
push eax
call fcn.12f5c51d
add esp, 4
cmp eax, 8
jne 0x12e50b16
lea ecx, [esp + 0xc4]
push ecx
call fcn.12e338b0
add esp, 4
test eax, eax
je 0x12e50b16
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x12e507cd
push esi
mov ecx, ebx
call fcn.12e50b70
test eax, eax
je 0x12e50b31
test byte [esp + 0x98], 0x10
je 0x12e50aa6
lea edx, [esp + 0xc4]
push edx
call fcn.12f5da00
mov esi, eax
push 0
push esi
call fcn.12e4f150
mov eax, dword [0x13199068]
add esp, 0xc
fstp qword [esp + 0x1c]
test eax, eax
je 0x12e5081e
lea eax, [esp + 0xc4]
push esi
push eax
lea ecx, [ebx + 0x50]
push str.CLocalBackupFileMgr::ClearByDate_1__s___lu_
push ecx
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
fld qword [esp + 0x1c]
fcomp qword [0x13078a58]
fnstsw ax
test ah, 0x40
jne 0x12e50b16
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
dec eax
push eax
lea eax, [esp + 0x18]
push eax
call fcn.12f49a30
lea ecx, [esp + 0xc4]
mov byte [esp + 0x2f0], 1
push ecx
lea ecx, [esp + 0x18]
call fcn.12f47f40
mov eax, dword [ebp + 0x10]
test edi, edi
jne 0x12e5089d
test eax, eax
jne 0x12e5089f
mov edx, dword [esp + 0x14]
push edx
call fcn.12f84a10
mov ecx, dword [0x13199068]
add esp, 4
test ecx, ecx
je 0x12e50a98
push eax
mov eax, dword [esp + 0x18]
push eax
lea ecx, [ebx + 0x50]
push str.CLocalBackupFileMgr::ClearByDate___s__del__d_
push ecx
jmp 0x12e50a8e
test eax, eax
jbe 0x12e508cd
mov edx, dword [ebp + 0x14]
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x28]
push eax
push ecx
push edx
mov ecx, ebx
call fcn.12e502e0
mov byte [esp + 0x2f0], 0
lea ecx, [esp + 0x14]
jmp 0x12e50b11
test edi, edi
jbe 0x12e50a98
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x50]
call fcn.12f5a5c0
push 0
push 0
push 0
push edi
lea ecx, [esp + 0x78]
call fcn.12f5b8c0
push 0
push 0
lea edx, [esp + 0x34]
push 0
push edx
mov ecx, 0x131bf118
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
call fcn.12eafc30
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x60]
call fcn.12f5a5c0
mov eax, dword [0x13199068]
test eax, eax
je 0x12e509fb
lea edx, [esp + 0x38]
push 0x131138b4
push edx
lea ecx, [esp + 0x60]
call fcn.12f5b690
mov eax, dword [eax]
lea ecx, [esp + 0x44]
push eax
mov byte [esp + 0x2f4], 2
call fcn.12f469f0
mov esi, eax
lea eax, [esp + 0x3c]
push 0x131138b4
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x2f8], 3
call fcn.12f5b690
mov eax, dword [eax]
lea ecx, [esp + 0x40]
push eax
mov byte [esp + 0x2f4], 4
call fcn.12f469f0
mov ecx, dword [esi]
mov edx, dword [eax]
push edi
push ecx
push edx
lea eax, [ebx + 0x50]
push str.CLocalBackupFileMgr::ClearByDate___s__dwDaySpan__d_
push eax
push 0xffffffffffffffff
mov byte [esp + 0x308], 5
call fcn.12dad750
add esp, 0x18
lea ecx, [esp + 0x40]
mov byte [esp + 0x2f0], 4
call fcn.12f472f0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2f0], 3
call fcn.12f41f70
lea ecx, [esp + 0x44]
mov byte [esp + 0x2f0], 2
call fcn.12f472f0
lea ecx, [esp + 0x38]
mov byte [esp + 0x2f0], 1
call fcn.12f41f70
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x5c]
call fcn.12f5b150
test eax, eax
je 0x12e50a30
lea edx, [esp + 0x68]
lea eax, [esp + 0x48]
push edx
lea ecx, [esp + 0x7c]
push eax
push ecx
lea ecx, [esp + 0x64]
call fcn.12f5b550
mov ecx, eax
call fcn.12f5ba20
test eax, eax
jne 0x12e50a68
lea edx, [esp + 0x58]
lea ecx, [esp + 0x48]
push edx
call fcn.12f5b150
test eax, eax
je 0x12e50a98
lea eax, [esp + 0x68]
lea ecx, [esp + 0x58]
push eax
lea edx, [esp + 0x8c]
push ecx
push edx
lea ecx, [esp + 0x54]
call fcn.12f5b550
mov ecx, eax
call fcn.12f5ba20
test eax, eax
je 0x12e50a98
mov eax, dword [esp + 0x14]
push eax
call fcn.12f84a10
mov ecx, dword [0x13199068]
add esp, 4
test ecx, ecx
je 0x12e50a98
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea edx, [ebx + 0x50]
push str.CLocalBackupFileMgr::ClearByDate___s__del__d_
push edx
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
mov byte [esp + 0x2f0], 0
lea ecx, [esp + 0x14]
jmp 0x12e50b11
mov eax, dword [0x13199068]
test eax, eax
je 0x12e50aca
lea eax, [esp + 0xc4]
lea ecx, [ebx + 0x50]
push eax
push str.CLocalBackupFileMgr::ClearByDate_2__s_
push ecx
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
dec eax
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.12f49a30
lea ecx, [esp + 0xc4]
mov byte [esp + 0x2f0], 6
push ecx
lea ecx, [esp + 0x1c]
call fcn.12f47f40
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [esp + 0x2f0], 0
lea ecx, [esp + 0x18]
call fcn.12f472f0
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x98]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x12e50782
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2f0], 0xffffffff
call fcn.12f472f0
mov ecx, dword [esp + 0x2e8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10