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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5575c1
mov eax, dword fs:[0]
push eax
sub esp, 0x71c
mov eax, dword [0x5d7b20]
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 eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x720], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x71c], eax
mov dword [ebp - 0x718], ecx
mov dword [ebp - 0x708], 1
call fcn.0044c104
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41f8ed
push 0x80004005
call fcn.00403e70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x70c], eax
mov dword [ebp - 4], 0
call fcn.0044c104
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41f920
push 0x80004005
call fcn.00403e70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x704], eax
mov byte [ebp - 4], 1
test esi, esi
jne 0x41f93e
xor eax, eax
jmp 0x41f952
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41f943
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x70c]
call fcn.00404df0
push 1
push 0x56825c
lea ecx, [ebp - 0x70c]
call fcn.00405330
test esi, esi
jne 0x41f979
xor eax, eax
jmp 0x41f98f
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41f980
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x704]
call fcn.00404df0
push 1
push 0x56825c
lea ecx, [ebp - 0x704]
call fcn.00405330
push 1
push 0x572204
lea ecx, [ebp - 0x704]
call fcn.00405330
mov edx, dword [ebp - 0x704]
lea ecx, [ebp - 0x6fc]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x724], eax
cmp eax, 0xffffffff
jne 0x41f9f6
push str._____Not_found._n
push 0x56dce8
call fcn.00415550
add esp, 8
jmp 0x41fd8a
mov dword [ebp - 0x710], 0
mov dword [ebp - 0x714], 0
call fcn.0044c104
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x41f8e3
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ecx, [eax + 0x10]
mov dword [ebp - 0x700], ecx
mov edx, dword [ebp - 0x70c]
lea eax, [edx - 0x10]
lea esi, [ecx - 0x10]
mov byte [ebp - 4], 2
cmp eax, esi
je 0x41fa8f
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x41fa7f
mov ecx, dword [eax]
cmp ecx, dword [esi]
jne 0x41fa7f
push eax
call fcn.00404610
add esp, 4
mov ebx, eax
or edx, 0xffffffff
lock xadd dword [edi], edx
dec edx
test edx, edx
jg 0x41fa74
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
add ebx, 0x10
mov dword [ebp - 0x700], ebx
jmp 0x41fa8f
mov eax, dword [edx - 0xc]
push eax
push edx
lea ecx, [ebp - 0x700]
call fcn.00404df0
lea eax, [ebp - 0x6d0]
lea edx, [eax + 2]
jmp 0x41faa0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41faa0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x6d0]
push eax
lea ecx, [ebp - 0x700]
call fcn.00405330
mov esi, dword [ebp - 0x700]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41fb62
test al, 0x10
je 0x41fb62
lea ecx, [ebp - 0x6d0]
push 0x571548
push ecx
call fcn.0053e2bf
add esp, 8
test eax, eax
je 0x41fdfd
lea edx, [ebp - 0x6d0]
push 0x571540
push edx
call fcn.0053e2bf
add esp, 8
test eax, eax
je 0x41fdfd
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x41fb62
mov ecx, dword [esi - 8]
mov eax, 1
sub eax, dword [esi - 4]
or ecx, eax
jge 0x41fb41
push 0
lea ecx, [ebp - 0x700]
call fcn.004045b0
mov esi, dword [ebp - 0x700]
mov eax, dword [ebp - 0x718]
mov ecx, dword [ebp - 0x71c]
push edi
push eax
push ecx
mov ecx, dword [ebp - 0x720]
push esi
call fcn.0041f880
and dword [ebp - 0x708], eax
push esi
push str.FindFilePath___s_n
call fcn.00415550
add esp, 8
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [ebp - 0x710]
push ecx
push 0x5b3a5c
push 1
push 0
push 0x5b3d8c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x41fd1d
mov eax, dword [ebp - 0x710]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [ebp - 0x714]
push ecx
push 0x5b3d3c
push eax
call edx
test eax, eax
js 0x41fd1d
push 3
lea eax, [ebp - 0x4a8]
push esi
lea ecx, [ebp - 0x4ac]
mov dword [ebp - 0x4ac], eax
call fcn.0040b3a0
mov edx, dword [ebp - 0x4ac]
push 0x105
lea ecx, [ebp - 0x428]
push ecx
push 0xffffffffffffffff
push edx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x4ac]
lea ecx, [ebp - 0x4a8]
cmp eax, ecx
je 0x41fc0e
push eax
call fcn.0053f854
add esp, 4
mov eax, dword [ebp - 0x714]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push 0
lea ecx, [ebp - 0x428]
push ecx
push eax
call edx
test eax, eax
js 0x41fd1d
lea eax, [ebp - 0x6d0]
push eax
push str._s_Loading._n
mov ebx, 1
call fcn.00415550
mov edi, dword [ebp - 0x71c]
add esp, 8
test edi, edi
je 0x41fc7c
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41fc55
sub eax, edx
sar eax, 1
je 0x41fc7c
lea ecx, [ebp - 0x6d0]
push ecx
push edi
call fcn.0053e2bf
add esp, 8
test eax, eax
je 0x41fc7c
xor ebx, ebx
mov eax, dword [ebp - 0x710]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push 2
push 0
push 0x105
lea ecx, [ebp - 0x21c]
push ecx
push eax
call edx
mov edi, eax
lea eax, [ebp - 0x21c]
push eax
push str.The_shell_link_object_is__s._n
call fcn.00415550
add esp, 8
test edi, edi
js 0x41fce8
mov edi, dword [ebp - 0x718]
test edi, edi
je 0x41fce8
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41fcc3
sub eax, edx
sar eax, 1
je 0x41fce8
lea ecx, [ebp - 0x21c]
push ecx
push edi
call fcn.0053e2bf
add esp, 8
test eax, eax
jne 0x41fd1d
test ebx, ebx
je 0x41fd1d
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x708], eax
test eax, eax
je 0x41fd1d
lea edx, [ebp - 0x6d0]
push edx
push str._s_is_deleted._n
call fcn.00415550
add esp, 8
mov eax, dword [ebp - 0x710]
test eax, eax
je 0x41fd2f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x714]
test eax, eax
je 0x41fd41
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fd67
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x724]
lea ecx, [ebp - 0x6fc]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41f9f6
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x704]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41fdb0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x70c]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fdd9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x708]
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.0053e1ad
mov esp, ebp
pop ebp
ret 0x10
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x41fd5b