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

Disassembly:
push 0xffffffffffffffff
push 0x50e5e6
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x53a1a4]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53a1a4]
xor eax, esp
push eax
lea eax, [esp + 0x280]
mov dword fs:[0], eax
mov eax, dword [0x544fac]
mov edx, dword [eax + 0xc]
mov ebp, dword [esp + 0x290]
mov dword [esp + 0x28], ecx
xor ebx, ebx
mov ecx, 0x544fac
mov byte [esp + 0x1b], bl
call edx
lea edi, [eax + 0x10]
mov dword [esp + 0x20], edi
mov dword [esp + 0x288], ebx
mov eax, dword [0x544fac]
mov edx, dword [eax + 0xc]
mov ecx, 0x544fac
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x288], 1
cmp ebp, ebx
jne 0x442f7f
xor eax, eax
jmp 0x442f93
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x442f84
sub eax, edx
sar eax, 1
mov ebx, eax
push ebp
lea eax, [esp + 0x20]
call fcn.00407680
push 4
push 0x51bc70
lea eax, [esp + 0x24]
push eax
call fcn.00418990
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [esp + 0x24], esi
cmp esi, 0xffffffff
je 0x44316c
nop
cmp word [esp + 0x58], 0x2e
je 0x44309d
test ebp, ebp
jne 0x442fe4
xor eax, eax
jmp 0x442fff
mov eax, ebp
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x442ff0
sub eax, edx
sar eax, 1
mov ebx, eax
push ebp
lea eax, [esp + 0x24]
call fcn.00407680
push 1
push 0x51bc7c
lea eax, [esp + 0x28]
push eax
call fcn.00418990
lea eax, [esp + 0x58]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x443023
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.00418990
test byte [esp + 0x2c], 0x10
mov edi, dword [esp + 0x20]
je 0x44307a
mov eax, dword [esp + 0x294]
test al, al
je 0x443073
mov ecx, dword [esp + 0x28]
push eax
push edi
call fcn.00442ef0
mov esi, eax
test esi, esi
jne 0x443100
mov esi, dword [esp + 0x24]
jmp 0x44309d
mov byte [esp + 0x1b], 1
jmp 0x44309d
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x443153
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x443153
lea eax, [esp + 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, 1
je 0x442fd0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
mov esi, eax
cmp esi, 0x12
jne 0x4430e7
cmp byte [esp + 0x1b], 0
jne 0x44316c
push 0x80
push ebp
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x44315d
call ebx
mov esi, eax
lea ecx, [esp + 0x1c]
call fcn.00406cf0
lea ecx, [esp + 0x20]
call fcn.00406cf0
mov eax, esi
jmp 0x4431bd
mov byte [esp + 0x288], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x443128
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x288], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44314f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x4431bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x443100
push ebp
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x4430e3
mov byte [esp + 0x288], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x443194
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x288], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4431bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.004ea10a
add esp, 0x278
ret 8