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

Disassembly:
push 0x4c4
mov eax, 0x44a248
call fcn.004386f7
mov dword [ebp - 0x4d0], ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x4cc], eax
mov eax, dword [ebp + 0x14]
push 7
mov dword [ebp - 0x4c8], eax
xor ebx, ebx
pop ecx
xor edi, edi
xor eax, eax
inc ebx
mov dword [ebp - 0x250], ecx
mov dword [ebp - 0x254], edi
mov word [ebp - 0x264], ax
mov dword [ebp - 4], edi
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x23c], edi
mov word [ebp - 0x24c], ax
mov byte [ebp - 4], bl
cmp word [esi], di
jne 0x417945
mov eax, edi
jmp 0x41794c
push esi
call fcn.0043860f
pop ecx
push eax
push esi
lea ecx, [ebp - 0x264]
call fcn.00401db2
push 0x44d8a8
call fcn.0043860f
pop ecx
push eax
push 0x44d8a8
lea ecx, [ebp - 0x264]
call fcn.004053dd
cmp word [esi], di
jne 0x41797e
mov eax, edi
jmp 0x417985
push esi
call fcn.0043860f
pop ecx
push eax
push esi
lea ecx, [ebp - 0x24c]
call fcn.00401db2
mov esi, 0x44d8a8
push esi
call fcn.0043860f
pop ecx
push eax
push esi
lea ecx, [ebp - 0x24c]
call fcn.004053dd
mov esi, 0x453a5c
push esi
call fcn.0043860f
pop ecx
push eax
push esi
lea ecx, [ebp - 0x24c]
call fcn.004053dd
cmp dword [ebp - 0x238], 8
lea ecx, [ebp - 0x4b4]
lea eax, [ebp - 0x24c]
cmovae eax, dword [ebp - 0x24c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [ebp - 0x4c4], edi
cmp edi, 0xffffffff
je 0x417d21
xor esi, esi
xor eax, eax
mov dword [ebp - 0x4b8], esi
mov dword [ebp - 0x4c0], esi
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], esi
mov word [ebp - 0x234], ax
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 2
call fcn.00401cf8
cmp word [ebp - 0x488], 0
jne 0x417a45
mov eax, esi
jmp 0x417a52
lea eax, [ebp - 0x488]
push eax
call fcn.0043860f
pop ecx
push eax
lea eax, [ebp - 0x488]
push eax
lea ecx, [ebp - 0x234]
call fcn.004053dd
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x417afc
test al, 0x10
je 0x417afc
lea eax, [ebp - 0x488]
push 0x450d0c
push eax
call fcn.0043933f
pop ecx
pop ecx
test eax, eax
je 0x417cf2
lea eax, [ebp - 0x488]
push 0x453a60
push eax
call fcn.0043933f
pop ecx
pop ecx
test eax, eax
je 0x417cf2
cmp dword [ebp + 0x1c], 0
je 0x417afc
push dword [ebp + 0x1c]
cmp dword [ebp - 0x220], 8
push dword [ebp + 0x18]
mov ecx, dword [ebp - 0x4d0]
push dword [ebp - 0x4c8]
lea eax, [ebp - 0x234]
push dword [ebp + 0x10]
cmovae eax, dword [ebp - 0x234]
push dword [ebp - 0x4cc]
push eax
call fcn.004178dc
and ebx, eax
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push eax
push str.FindFilePath___1_ls__n
push str.CUninstallActions::DelShortcutRecursivelyW
push 4
call fcn.00405a24
add esp, 0x10
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
mov esi, eax
lea eax, [ebp - 0x4b8]
push eax
push 0x458d98
push 1
push 0
push 0x458de8
mov dword [ebp - 0x4bc], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x417cc6
mov eax, dword [ebp - 0x4b8]
lea edx, [ebp - 0x4c0]
mov ecx, dword [eax]
push edx
push 0x458dd8
push eax
call dword [ecx]
test eax, eax
js 0x417cc6
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x4c0]
lea edx, [ebp - 0x234]
cmovae edx, dword [ebp - 0x234]
mov ecx, dword [eax]
push 0
push edx
push eax
call dword [ecx + 0x14]
test eax, eax
js 0x417cc6
lea eax, [ebp - 0x488]
push eax
push str._1_ls__Loading._n
push str.CUninstallActions::DelShortcutRecursivelyW
xor edi, edi
push 4
inc edi
call fcn.00405a24
mov esi, dword [ebp - 0x4cc]
add esp, 0x10
test esi, esi
je 0x417bee
push dword [ebp + 0x10]
push esi
call fcn.0043965b
pop ecx
pop ecx
test eax, eax
je 0x417bee
lea eax, [ebp - 0x488]
push eax
push esi
call fcn.0043933f
pop ecx
pop ecx
xor ecx, ecx
test eax, eax
cmovne edi, ecx
mov eax, dword [ebp - 0x4b8]
push 2
mov ecx, dword [eax]
push 0
push 0x105
lea edx, [ebp - 0x21c]
push edx
push eax
call dword [ecx + 0xc]
mov esi, eax
lea eax, [ebp - 0x21c]
push eax
push str.The_shell_link_object_is___1_ls___n
push str.CUninstallActions::DelShortcutRecursivelyW
push 4
call fcn.00405a24
add esp, 0x10
test esi, esi
js 0x417c5a
mov esi, dword [ebp - 0x4c8]
test esi, esi
je 0x417c5a
push dword [ebp + 0x18]
push esi
call fcn.0043965b
pop ecx
pop ecx
test eax, eax
je 0x417c5a
lea eax, [ebp - 0x21c]
push eax
push esi
call fcn.0043933f
pop ecx
pop ecx
xor ecx, ecx
test eax, eax
cmovne edi, ecx
test edi, edi
je 0x417cba
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
test ebx, ebx
je 0x417cba
lea eax, [ebp - 0x488]
push eax
push str._1_ls__is_deleted._n
push str.CUninstallActions::DelShortcutRecursivelyW
push 4
call fcn.00405a24
add esp, 0x10
mov esi, dword [ebp - 0x4bc]
mov edi, dword [ebp - 0x4c4]
mov ecx, dword [ebp - 0x4b8]
test ecx, ecx
je 0x417cd6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x4c0]
test ecx, ecx
je 0x417ce6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
test esi, esi
js 0x417cf0
call dword [sym.imp.ole32.dll_CoUninitialize]
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 1
call fcn.00401ba5
lea eax, [ebp - 0x4b4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4179f9
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
push 1
lea ecx, [ebp - 0x24c]
call fcn.00401ba5
push 0
push 1
lea ecx, [ebp - 0x264]
call fcn.00401ba5
mov eax, ebx
call fcn.004386a6
ret 0x18