Function at 0x10019f90
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101e180e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x300
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.100194d0
xor ebx, ebx
mov ebp, eax
push ebx
push ebx
lea eax, [esp + 0x44]
push ebx
push eax
mov ecx, 0x10280710
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
call fcn.10050c10
fld qword [esp + 0x3c]
mov eax, dword [0x10282758]
mov dword [esp + 0x34], ebx
fstp qword [esp + 0x2c]
cmp eax, ebx
je 0x1001a066
lea ecx, [esp + 0x18]
push 0x102444d8
push ecx
lea ecx, [esp + 0x34]
call sub.MFC42u.DLL_COleDateTime::Format
mov eax, dword [eax]
lea ecx, [esp + 0x1c]
push eax
mov dword [esp + 0x31c], ebx
call fcn.10077a80
mov edx, dword [eax]
push ebp
push edx
push str.CSDGsDesDecryptWorker::ClearBackup___s__nClearBackup__lu_
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
mov byte [esp + 0x330], 1
call fcn.100de220
add esp, 0x18
lea ecx, [esp + 0x1c]
mov byte [esp + 0x318], bl
call fcn.10078300
lea ecx, [esp + 0x18]
mov dword [esp + 0x318], 0xffffffff
call sub.MFC42u.DLL_CString::CString
cmp ebp, ebx
je 0x1001a574
lea ecx, [esp + 0x54]
call fcn.1007f200
lea ecx, [esp + 0x64]
mov dword [esp + 0x318], 2
call fcn.1007f200
lea eax, [esp + 0x64]
lea ecx, [esp + 0x54]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x320], 3
call fcn.1001a7d0
lea ecx, [esp + 0x74]
call fcn.1007f200
lea edx, [esp + 0x74]
mov ecx, esi
push edx
mov byte [esp + 0x31c], 4
call fcn.10019570
lea eax, [esp + 0x74]
lea ecx, [esp + 0x64]
push eax
call fcn.1007f520
lea ecx, [esp + 0x74]
mov byte [esp + 0x318], 3
call fcn.1007f210
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x58]
call fcn.1007f520
mov eax, dword [esp + 0x58]
mov ecx, dword [0x10282758]
mov edi, eax
cmp ecx, ebx
mov dword [esp + 0x18], edi
je 0x1001a11c
push eax
push str.CSDGsDesDecryptWorker::ClearBackup_path_counts__lu_
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x14
lea ecx, [esp + 0x90]
call fcn.10014290
xor esi, esi
cmp edi, ebx
mov byte [esp + 0x318], 5
mov dword [esp + 0x1c], esi
jle 0x1001a519
mov bl, 7
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0x10]
lea eax, [edx + esi*4]
push eax
call fcn.10077870
push 0x5c
lea ecx, [esp + 0x14]
mov byte [esp + 0x31c], 6
call fcn.1007be30
push 0x5c
lea ecx, [esp + 0x14]
call fcn.10078f80
push 0x1023ec30
lea ecx, [esp + 0x14]
call fcn.10078f40
mov eax, dword [0x10282758]
test eax, eax
je 0x1001a1a6
mov ecx, dword [esp + 0x10]
push edi
push esi
push ecx
push str.CSDGsDesDecryptWorker::ClearBackup_folder__s____lu____lu_
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x1c
mov edx, dword [esp + 0x10]
push 0
push edx
lea ecx, [esp + 0x98]
call fcn.100144c0
test eax, eax
jne 0x1001a254
lea ecx, [esp + 0x90]
call fcn.100149c0
mov eax, dword [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x98]
call fcn.100144c0
test eax, eax
jne 0x1001a254
mov ecx, dword [esp + 0x10]
push 0xfffffffffffffffe
push ecx
lea ecx, [esp + 0x98]
call fcn.100146d0
lea ecx, [esp + 0x90]
call fcn.100144b0
test eax, eax
jne 0x1001a254
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1001a23e
mov eax, dword [0x10282758]
test eax, eax
je 0x1001a23e
mov eax, dword [esp + 0x10]
push eax
push str.CSDGsDesDecryptWorker::ClearBackup_folder__s__not_exist_
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x14
lea ecx, [esp + 0x10]
mov byte [esp + 0x318], 5
call fcn.10078300
jmp 0x1001a50c
push 0x1023eed8
lea ecx, [esp + 0x14]
call fcn.10078f40
mov ecx, 0x93
xor eax, eax
lea edi, [esp + 0xc4]
mov dword [esp + 0xc0], 0
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0xc0]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1001a2d3
mov eax, dword [0x10282758]
test eax, eax
je 0x1001a2bd
mov ecx, dword [esp + 0x10]
push ecx
push str.CSDGsDesDecryptWorker::ClearBackup_FindFile___s__fail
push str.SDTransform
push edi
push 0x10281ec4
call fcn.100de220
add esp, 0x14
lea ecx, [esp + 0x10]
mov byte [esp + 0x318], 5
call fcn.10078300
jmp 0x1001a508
cmp word [esp + 0xec], 0x2e
je 0x1001a4d5
test byte [esp + 0xc0], 0x10
je 0x1001a4d5
lea edx, [esp + 0xec]
push edx
call dword [sym.imp.MSVCRT.dll__wtol]
mov esi, eax
push esi
call fcn.10014bf0
mov eax, dword [0x10282758]
add esp, 8
fstp qword [esp + 0x4c]
test eax, eax
je 0x1001a338
lea eax, [esp + 0xec]
push esi
push eax
push str.CSDGsDesDecryptWorker::ClearBackup_Find___s__dwData__lu_
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x18
fld qword [esp + 0x4c]
fcomp qword [0x101fa860]
fnstsw ax
test ah, 0x40
jne 0x1001a4d5
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
push 0
push 0
mov dword [esp + 0x28], ecx
push 0
push ebp
lea ecx, [esp + 0x94]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], 0
call sub.MFC42u.DLL_COleDateTimeSpan::SetDateTimeSpan
mov eax, dword [0x10282758]
test eax, eax
je 0x1001a3ed
lea eax, [esp + 0x48]
push 0x102444d8
push eax
lea ecx, [esp + 0x28]
call sub.MFC42u.DLL_COleDateTime::Format
mov eax, dword [eax]
lea ecx, [esp + 0x38]
push eax
mov byte [esp + 0x31c], bl
call fcn.10077a80
mov ecx, dword [eax]
push ebp
push ecx
push str.CSDGsDesDecryptWorker::ClearBackup___s__nClearBackup__lu_
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
mov byte [esp + 0x330], 8
call fcn.100de220
add esp, 0x18
lea ecx, [esp + 0x38]
mov byte [esp + 0x318], bl
call fcn.10078300
lea ecx, [esp + 0x48]
mov byte [esp + 0x318], 6
call sub.MFC42u.DLL_CString::CString
lea edx, [esp + 0x20]
lea ecx, [esp + 0x2c]
push edx
call sub.MFC42u.DLL_COleDateTime::operator_
test eax, eax
je 0x1001a425
lea eax, [esp + 0x20]
lea ecx, [esp + 0xb4]
push eax
push ecx
lea ecx, [esp + 0x34]
call sub.MFC42u.DLL_COleDateTime::operator__1
fld qword [eax]
fcomp qword [esp + 0x84]
fnstsw ax
test ah, 0x41
je 0x1001a45e
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x20]
push edx
call sub.MFC42u.DLL_COleDateTime::operator_
test eax, eax
je 0x1001a4d5
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x74]
push eax
push ecx
lea ecx, [esp + 0x28]
call sub.MFC42u.DLL_COleDateTime::operator__1
fld qword [eax]
fcomp qword [esp + 0x84]
fnstsw ax
test ah, 0x41
jne 0x1001a4d5
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.1007aad0
lea ecx, [esp + 0xec]
mov byte [esp + 0x318], 9
push ecx
lea ecx, [esp + 0x18]
call fcn.10078f40
mov edx, dword [esp + 0x14]
push edx
call fcn.100d83d0
mov ecx, dword [0x10282758]
add esp, 4
test ecx, ecx
je 0x1001a4c4
push eax
mov eax, dword [esp + 0x18]
push eax
push str.CSDGsDesDecryptWorker::ClearBackup___s__del__d_
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x18
lea ecx, [esp + 0x14]
mov byte [esp + 0x318], 6
call fcn.10078300
lea ecx, [esp + 0xc0]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1001a2d3
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x10]
mov byte [esp + 0x318], 5
call fcn.10078300
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
inc esi
cmp esi, edi
mov dword [esp + 0x1c], esi
jl 0x1001a140
mov eax, dword [0x10282758]
test eax, eax
je 0x1001a53b
push str.CSDGsDesDecryptWorker::ClearBackup_ret
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x10
lea ecx, [esp + 0x90]
mov byte [esp + 0x318], 3
call fcn.10014440
lea ecx, [esp + 0x64]
mov byte [esp + 0x318], 2
call fcn.1007f210
lea ecx, [esp + 0x54]
mov dword [esp + 0x318], 0xffffffff
call fcn.1007f210
mov ecx, dword [esp + 0x310]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret