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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f75d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c0
mov dword [ebp - 0x10], 0
xorps xmm0, xmm0
push esi
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov esi, ecx
mov dword [ebp - 0x18], 0
push edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov byte [ebp - 4], 2
mov eax, closesocket
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp eax, 4
jb 0x40bd71
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x40ba1c
mov eax, dword [esi]
push 4
push str..
push ecx
push eax
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x5c]
call fcn.00467530
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x10], 4
call fcn.00402890
movups xmm0, xmmword [ebp - 0x5c]
mov edi, 4
mov byte [ebp - 0x5c], 0
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [ebp - 0x4c]
mov dword [ebp - 0x10], edi
and edi, 0xfffffffb
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.00402890
cmp dword [ebp - 0x30], 0x10
lea ecx, [ebp - 0x1cc]
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x40bcca
lea eax, [ebp - 0x1a0]
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40bab0
mov cl, byte [ebp - 0x1a0]
sub eax, edx
cmp eax, 1
jne 0x40bacd
cmp cl, 0x2e
je 0x40bc4e
cmp eax, 2
jne 0x40bae3
cmp cl, 0x2e
jne 0x40bae3
cmp byte [ebp - 0x19f], cl
je 0x40bc4e
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
cmovae eax, dword [ebp - 0x2c]
mov byte [eax], 0
mov byte [ebp - 4], 3
mov eax, closesocket
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x40bd71
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x40bb19
mov eax, dword [esi]
push 1
push 0x520660
push ecx
push eax
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x8c]
call fcn.00467530
or edi, 1
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1a0]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40bb44
sub ecx, edx
lea eax, [ebp - 0x1a0]
push ecx
push eax
lea ecx, [ebp - 0x8c]
call fcn.00461960
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x48], 0
or edi, 2
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x5c], xmm0
movups xmmword [ebp - 0x74], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x4c], xmm0
movq qword [ebp - 0x64], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [ebp - 0x10], edi
call fcn.00402890
movups xmm0, xmmword [ebp - 0x74]
and edi, 0xfffffffd
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
movups xmmword [ebp - 0x2c], xmm0
mov byte [ebp - 0x5c], 0
movq xmm0, qword [ebp - 0x64]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.00402890
and edi, 0xfffffffe
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
call fcn.00402890
test byte [ebp - 0x1cc], 0x10
je 0x40bc19
push 0
mov dl, 1
lea ecx, [ebp - 0x2c]
call fcn.0040b980
mov edi, eax
add esp, 4
test edi, edi
jne 0x40bccc
mov edi, dword [ebp - 0x10]
jmp 0x40bc4e
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push 0x80
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x40bcc0
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x40bcc0
lea eax, [ebp - 0x1cc]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, 1
je 0x40baa3
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x12
jne 0x40bccc
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x40bc87
mov eax, dword [esi]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x40bca2
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov edi, eax
jmp 0x40bccc
cmp dword [esi + 0x14], 0x10
jb 0x40bcaa
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x40bcca
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov edi, eax
jmp 0x40bccc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x40bccc
xor edi, edi
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x40bd04
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bcfa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bd76
push ecx
push edx
call fcn.004b9cb1
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x40bd4d
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bd43
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bd76
push ecx
push edx
call fcn.004b9cb1
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.00402210
call fcn.004d51a0
int3