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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0353
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 0x40bd01
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x40b9ac
mov eax, dword [esi]
push 4
push str..
push ecx
push eax
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x5c]
call fcn.00460300
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 0x40bc5a
lea eax, [ebp - 0x1a0]
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40ba40
mov cl, byte [ebp - 0x1a0]
sub eax, edx
cmp eax, 1
jne 0x40ba5d
cmp cl, 0x2e
je 0x40bbde
cmp eax, 2
jne 0x40ba73
cmp cl, 0x2e
jne 0x40ba73
cmp byte [ebp - 0x19f], cl
je 0x40bbde
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 0x40bd01
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x40baa9
mov eax, dword [esi]
push 1
push 0x518638
push ecx
push eax
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x8c]
call fcn.00460300
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 0x40bad4
sub ecx, edx
lea eax, [ebp - 0x1a0]
push ecx
push eax
lea ecx, [ebp - 0x8c]
call fcn.0045a730
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 0x40bba9
push 0
mov dl, 1
lea ecx, [ebp - 0x2c]
call fcn.0040b910
mov edi, eax
add esp, 4
test edi, edi
jne 0x40bc5c
mov edi, dword [ebp - 0x10]
jmp 0x40bbde
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 0x40bc50
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 0x40bc50
lea eax, [ebp - 0x1cc]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, 1
je 0x40ba33
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 0x40bc5c
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x40bc17
mov eax, dword [esi]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x40bc32
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov edi, eax
jmp 0x40bc5c
cmp dword [esi + 0x14], 0x10
jb 0x40bc3a
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x40bc5a
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov edi, eax
jmp 0x40bc5c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x40bc5c
xor edi, edi
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x40bc94
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bc8a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bd06
push ecx
push edx
call fcn.004b2a81
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 0x40bcdd
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bcd3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bd06
push ecx
push edx
call fcn.004b2a81
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.004cdf70
int3