Function at 0x413b80
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 0x55e9db
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2c8
mov eax, dword [0x5b0514]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
push 0x58c24c
mov edx, edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c0]
call fcn.0041be20
mov esi, eax
add esp, 4
lea eax, [ebp - 0x44]
cmp eax, esi
je 0x413c35
mov ecx, eax
call fcn.00407320
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x2ac]
cmp edx, 8
jb 0x413c75
mov ecx, dword [ebp - 0x2c0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x413c6b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413f14
push edx
push ecx
call fcn.00497cc1
add esp, 8
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x298]
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x2a4], esi
cmp esi, 0xffffffff
je 0x413e6e
nop
cmp word [ebp - 0x26c], 0x2e
je 0x413df6
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov edx, edi
cmovae eax, dword [ebp - 0x2c]
xor ecx, ecx
push 0x58bdf0
mov word [eax], cx
lea ecx, [ebp - 0x2d8]
call fcn.0041be20
add esp, 4
mov edx, eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 2
lea eax, [ecx + 2]
mov dword [ebp - 0x29c], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413cf0
sub ecx, dword [ebp - 0x29c]
lea eax, [ebp - 0x26c]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.00411920
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2b8], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x2c]
movq qword [ebp - 0x2a0], xmm0
call fcn.00407320
movups xmm0, xmmword [ebp - 0x2b8]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [ebp - 0x2a0]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x2c4]
movq qword [ebp - 0x1c], xmm0
cmp edx, 8
jb 0x413da0
mov ecx, dword [ebp - 0x2d8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x413d96
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413f14
push edx
push ecx
call fcn.00497cc1
add esp, 8
test byte [ebp - 0x298], 0x10
je 0x413dc5
mov dl, 1
lea ecx, [ebp - 0x2c]
call fcn.00413b80
mov esi, eax
test esi, esi
jne 0x413e70
mov esi, dword [ebp - 0x2a4]
jmp 0x413df6
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0x80
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
test eax, eax
je 0x413e46
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
je 0x413e46
lea eax, [ebp - 0x298]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
cmp eax, 1
je 0x413ca0
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
cmp esi, 0x12
jne 0x413e70
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x413e2b
mov eax, dword [edi]
push 0x80
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
test eax, eax
jne 0x413e50
mov eax, dword [sym.imp.KERNEL32.DLL_GetLastError]
call eax
mov esi, eax
jmp 0x413e70
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
jmp 0x413e70
cmp dword [edi + 0x14], 8
jb 0x413e58
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
test eax, eax
jne 0x413e6e
mov eax, dword [sym.imp.KERNEL32.DLL_GetLastError]
call eax
mov esi, eax
jmp 0x413e70
xor esi, esi
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x413eaa
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x413ea0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413f19
push edx
push ecx
call fcn.00497cc1
add esp, 8
mov edx, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp edx, 8
jb 0x413ef4
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x413eea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413f1e
push edx
push ecx
call fcn.00497cc1
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00497cb0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00524999
call fcn.00524999
call fcn.00524999
int3