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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c4
mov eax, dword [0x5afee0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x880], eax
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x620], ax
xor esi, esi
lea eax, [ebp - 0x61e]
push esi
push eax
mov dword [ebp - 0x87c], ebx
mov dword [ebp - 0x878], 1
call fcn.00537010
add esp, 0xc
push 0x588e08
push ebx
push 0x58002c
mov ebx, 0x103
lea eax, [ebp - 0x620]
push ebx
push eax
call fcn.00532a01
add esp, 0x14
lea eax, [ebp - 0x870]
push eax
lea eax, [ebp - 0x620]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x884], eax
cmp eax, 0xffffffff
jne 0x4a44c7
xor eax, eax
jmp 0x4a47bf
cmp dword [ebp + 0x14], esi
je 0x4a44e9
cmp dword [ebp + 0xc], esi
je 0x4a44d7
cmp dword [ebp + 0xc], 1
jne 0x4a44e9
push dword [ebp - 0x87c]
mov ecx, dword [ebp - 0x880]
call fcn.004a42b7
pop ecx
xor eax, eax
push edi
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x416]
push esi
push eax
call fcn.00537010
add esp, 0xc
inc dword [0x5e0a84]
mov eax, dword [0x5e0a84]
push 0x32
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x4a4586
push 1
push esi
push esi
push esi
lea eax, [ebp - 0x8c0]
push eax
mov dword [ebp - 0x874], esi
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4a4586
cmp dword [ebp - 0x8bc], 0x12
jne 0x4a4547
mov dword [ebp - 0x874], 1
lea eax, [ebp - 0x8c0]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x8c0]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push esi
push esi
push esi
lea eax, [ebp - 0x8c0]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x4a4534
cmp dword [ebp - 0x874], esi
je 0x4a4586
push esi
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, 0x583f04
lea eax, [ebp - 0x844]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4a45b7
cmp dx, si
je 0x4a45b3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4a45b7
add eax, 4
add ecx, 4
cmp dx, si
jne 0x4a4591
xor eax, eax
jmp 0x4a45bc
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
je 0x4a4762
mov ecx, 0x583f08
lea eax, [ebp - 0x844]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4a45f5
cmp dx, si
je 0x4a45f1
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4a45f5
add eax, 4
add ecx, 4
cmp dx, si
jne 0x4a45cf
xor eax, eax
jmp 0x4a45fa
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
je 0x4a4762
xor eax, eax
push edi
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push esi
push eax
call fcn.00537010
add esp, 0xc
test byte [ebp - 0x870], 0x10
lea eax, [ebp - 0x844]
push eax
push dword [ebp - 0x87c]
lea eax, [ebp - 0x210]
je 0x4a4667
push 0x58409c
push ebx
push eax
call fcn.00532a01
add esp, 0x14
push dword [ebp + 0x14]
lea eax, [ebp - 0x210]
push dword [ebp - 0x880]
push dword [ebp + 0xc]
push eax
call fcn.004a442e
add esp, 0x10
jmp 0x4a475c
push 0x58002c
push ebx
push eax
call fcn.00532a01
add esp, 0x14
cmp dword [ebp + 0xc], esi
je 0x4a4685
cmp dword [ebp + 0xc], 1
jne 0x4a4762
cmp dword [ebp - 0x880], esi
je 0x4a46f3
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push 0x208
mov dword [ebp - 0x874], eax
lea eax, [ebp - 0x418]
push esi
push eax
call fcn.00537010
add esp, 0xc
push dword [ebp - 0x874]
lea eax, [ebp - 0x418]
push 0x58c2e4
push ebx
push eax
call fcn.00532a01
add esp, 0x10
cmp dword [ebp - 0x874], esi
je 0x4a4762
push dword [ebp - 0x880]
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x4a4762
cmp dword [ebp + 0x14], esi
je 0x4a474f
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x8a4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x89c], eax
mov eax, 0x454
mov word [ebp - 0x894], ax
lea eax, [ebp - 0x8a4]
push eax
mov dword [ebp - 0x88e], esi
mov dword [ebp - 0x8a4], esi
mov dword [ebp - 0x88a], esi
mov dword [ebp - 0x8a0], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov edi, 0x206
jmp 0x4a475c
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x878], eax
lea eax, [ebp - 0x870]
push eax
push dword [ebp - 0x884]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4a4503
push dword [ebp - 0x884]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0xc], esi
je 0x4a4794
cmp dword [ebp + 0xc], 2
jne 0x4a47b9
push 0x20
push dword [ebp - 0x87c]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp + 0x14], esi
jne 0x4a47b9
push dword [ebp - 0x87c]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 0x878], eax
mov eax, dword [ebp - 0x878]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052f7d0
leave
ret