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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x545cc3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x1c0
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
push esi
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0
mov esi, ecx
mov dword [ebp - 0x1c], 0
push edi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov byte [ebp - 4], 2
mov eax, closesocket
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp eax, 4
jb 0x41a680
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x41a320
mov eax, dword [esi]
push 4
push str..
push ecx
push eax
push ecx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x60]
call fcn.004b41d0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x14], 4
call fcn.0040fe10
movups xmm0, xmmword [ebp - 0x60]
mov edi, 4
mov byte [ebp - 0x60], 0
movups xmmword [ebp - 0x48], xmm0
movq xmm0, qword [ebp - 0x50]
mov dword [ebp - 0x14], edi
and edi, 0xfffffffb
movq qword [ebp - 0x38], xmm0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.0040fe10
cmp dword [ebp - 0x34], 0x10
lea ecx, [ebp - 0x1d0]
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
je 0x41a5da
nop word [eax + eax]
lea eax, [ebp - 0x1a4]
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41a3c0
mov cl, byte [ebp - 0x1a4]
sub eax, edx
cmp eax, 1
jne 0x41a3dd
cmp cl, 0x2e
je 0x41a55e
cmp eax, 2
jne 0x41a3f3
cmp cl, 0x2e
jne 0x41a3f3
cmp byte [ebp - 0x1a3], cl
je 0x41a55e
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
mov dword [ebp - 0x20], 0
cmovae eax, dword [ebp - 0x30]
mov byte [eax], 0
mov byte [ebp - 4], 3
mov eax, closesocket
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x41a680
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x41a429
mov eax, dword [esi]
push 1
push 0x56a488
push ecx
push eax
push ecx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x90]
call fcn.004b41d0
or edi, 1
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1a4]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41a454
sub ecx, edx
lea eax, [ebp - 0x1a4]
push ecx
push eax
lea ecx, [ebp - 0x90]
call fcn.004ae3b0
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x4c], 0
or edi, 2
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x60], xmm0
movups xmmword [ebp - 0x78], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x50], xmm0
movq qword [ebp - 0x68], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [ebp - 0x14], edi
call fcn.0040fe10
movups xmm0, xmmword [ebp - 0x78]
and edi, 0xfffffffd
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
movups xmmword [ebp - 0x30], xmm0
mov byte [ebp - 0x60], 0
movq xmm0, qword [ebp - 0x68]
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
call fcn.0040fe10
and edi, 0xfffffffe
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x90]
call fcn.0040fe10
test byte [ebp - 0x1d0], 0x10
je 0x41a529
push 0
mov dl, 1
lea ecx, [ebp - 0x30]
call fcn.0041a270
mov edi, eax
add esp, 4
test edi, edi
jne 0x41a5dc
mov edi, dword [ebp - 0x14]
jmp 0x41a55e
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
push 0x80
cmovae eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x41a5d0
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x41a5d0
lea eax, [ebp - 0x1d0]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, 1
je 0x41a3b0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x12
jne 0x41a5dc
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x41a597
mov eax, dword [esi]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x41a5b2
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov edi, eax
jmp 0x41a5dc
cmp dword [esi + 0x14], 0x10
jb 0x41a5ba
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x41a5da
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov edi, eax
jmp 0x41a5dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x41a5dc
xor edi, edi
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
cmp ecx, 0x10
jb 0x41a610
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41a606
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a685
push ecx
push edx
call fcn.005083b1
add esp, 8
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x41a659
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41a64f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a685
push ecx
push edx
call fcn.005083b1
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0040f760
call fcn.005238a0
int3