Function at 0x410242
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Set file attributes

Disassembly:
mov eax, 0x43325c
call fcn.004269c8
sub esp, 0x764
mov eax, dword [0x44de90]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
call fcn.00402745
test al, al
pop ecx
je 0x410476
xor eax, eax
push 0x40
pop esi
mov byte [ebp - 0x62c], bl
mov ecx, esi
lea edi, [ebp - 0x62b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [ebp - 0x528], bl
mov ecx, esi
lea edi, [ebp - 0x527]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [ebp - 0x21c], bl
mov ecx, esi
lea edi, [ebp - 0x21b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [ebp - 0x424], bl
mov ecx, esi
lea edi, [ebp - 0x423]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x528]
push eax
lea eax, [ebp - 0x62c]
push eax
push dword [ebp + 8]
call fcn.00426b7e
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00425610
xor eax, eax
mov byte [ebp - 0x118], bl
mov ecx, esi
lea edi, [ebp - 0x117]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
stosb byte es:[edi], al
push ebx
lea eax, [ebp - 0x528]
push eax
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.00426aee
xor eax, eax
mov byte [ebp - 0x320], bl
mov ecx, esi
lea edi, [ebp - 0x31f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x320]
push eax
mov byte [ebp - 0x76d], 1
call fcn.00425600
lea eax, [ebp - 0x320]
push 0x43bca4
push eax
call fcn.00425610
add esp, 0x40
lea eax, [ebp - 0x76c]
push eax
lea eax, [ebp - 0x320]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
lea eax, [ebp - 0x740]
push 0x43bca0
push eax
call fcn.00425100
test eax, eax
pop ecx
pop ecx
jne 0x4103db
lea eax, [ebp - 0x740]
push 0x43bc9c
push eax
call fcn.00425100
test eax, eax
pop ecx
pop ecx
jne 0x4103db
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x740]
push eax
call fcn.00425100
test eax, eax
pop ecx
pop ecx
jne 0x4103db
mov byte [ebp - 0x76d], bl
lea eax, [ebp - 0x76c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41038e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp - 0x76d], bl
jne 0x410404
xor eax, eax
inc eax
jmp 0x4104cb
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x118]
dec ecx
push esi
mov byte [eax + ecx], bl
call fcn.00401291
cmp eax, ebx
pop ecx
jne 0x4104c9
lea eax, [ebp - 0x118]
push eax
call fcn.00401291
cmp eax, ebx
pop ecx
jne 0x4104c9
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call fcn.0042387a
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x118]
push eax
call fcn.0042387a
pop ecx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push ebx
push str.CLSID285AB8C6_FB22_4D17_8834_064E2BA0A6F0
mov esi, 0x80000000
push esi
call fcn.00422d42
add esp, 0xc
push ebx
push str.Interface385AB8C4_FB22_4D17_8834_064E2BA0A6F0
push esi
call fcn.00422d42
add esp, 0xc
push ebx
push str.TypeLib385AB8C5_FB22_4D17_8834_064E2BA0A6F0
push esi
call fcn.00422d42
add esp, 0xc
push ebx
push str.SOFTWAREMicrosoftIDSCNP
add esi, 2
push esi
call fcn.00422d42
add esp, 0xc
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects285AB8C6_FB22_4D17_8834_064E2BA0A6F0
push esi
call fcn.00422d42
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.00425221
pop edi
pop esi
pop ebx
leave
ret