Function at 0x100102d0
Capabilities:
Check if file exists
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009d676
mov eax, dword fs:[0]
push eax
sub esp, 0x674
mov eax, dword [0x100cd4bc]
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 edi, dword [ebp + 8]
test edi, edi
jne 0x1001030c
xor eax, eax
jmp 0x1001061a
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10010305
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10010320
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jbe 0x10010305
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x674], 1
push 0
push eax
call fcn.1006c590
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.1006c590
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x420]
add esp, 0x18
push edi
push eax
call ebx
push str..
lea eax, [ebp - 0x420]
push eax
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp eax, 0xffffffff
je 0x100103a2
test al, 1
je 0x100103a2
and eax, 0xfffffffe
push eax
push edi
call esi
lea eax, [ebp - 0x670]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x680], eax
cmp eax, 0xffffffff
je 0x1001060b
lea ecx, [ebp - 0x670]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x100105ff
nop dword [eax + eax]
test byte [ebp - 0x670], 0x10
je 0x10010464
cmp word [ebp - 0x644], 0x2e
jne 0x10010417
mov ax, word [ebp - 0x642]
test ax, ax
je 0x100105e4
cmp ax, 0x2e
jne 0x10010417
cmp word [ebp - 0x640], 0
je 0x100105e4
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1006c590
add esp, 0xc
lea eax, [ebp - 0x218]
push edi
push eax
call ebx
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x218]
push eax
call ebx
push dword [ebp + 0xc]
lea eax, [ebp - 0x218]
push eax
call fcn.100102d0
add esp, 8
and dword [ebp - 0x674], eax
jmp 0x100105e4
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1006c590
add esp, 0xc
lea eax, [ebp - 0x218]
push edi
push eax
call ebx
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x218]
push eax
call ebx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100104b7
test al, 1
je 0x100104b7
and eax, 0xfffffffe
push eax
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x100105e4
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100105e4
push 0x80
lea eax, [ebp - 0x218]
push eax
call esi
test eax, eax
je 0x10010508
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x100105e4
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10010535
test al, 0x10
je 0x10010535
lea eax, [ebp - 0x218]
push eax
call fcn.10012890
add esp, 4
test eax, eax
jne 0x100105e4
cmp dword [ebp + 0xc], 0
je 0x100105e4
lea ecx, [ebp - 0x67c]
call fcn.10001d60
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x678]
call fcn.10002180
lea eax, [ebp - 0x67c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x678]
push eax
call fcn.1000feb0
mov edx, dword [ebp - 0x678]
add esp, 8
mov esi, eax
mov byte [ebp - 4], 0
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x100105a1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 4
test esi, esi
mov esi, dword [ebp - 0x67c]
push 0
je 0x100105b2
push esi
jmp 0x100105b9
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100105de
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x670]
push eax
push dword [ebp - 0x680]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100103e0
push dword [ebp - 0x680]
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call fcn.10012890
add esp, 4
and eax, dword [ebp - 0x674]
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.100612dc
mov esp, ebp
pop ebp
ret