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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x358
mov eax, dword [0x4c3408]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x358], esi
mov dword [ebp - 0x350], 1
test esi, esi
je 0x42ac7d
cmp byte [esi], 0
je 0x42ac7d
push esi
call fcn.0042a150
add esp, 4
test eax, eax
jne 0x42aaa9
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439f38
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x20c]
mov ecx, esi
sub edx, esi
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x42aab3
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.004288a0
lea edi, [ebp - 0x20c]
add esp, 4
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x42aad7
mov eax, dword [0x483fe8]
mov dword [edi], eax
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
mov dword [ebp - 0x354], edi
cmp edi, 0xffffffff
je 0x42ac60
push ebx
lea ebx, [ebp - 0x108]
sub ebx, esi
mov eax, esi
nop dword [eax + eax]
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [ebx + eax - 1], cl
test cl, cl
jne 0x42ab20
lea eax, [ebp - 0x108]
push eax
call fcn.004288a0
lea edx, [ebp - 0x320]
add esp, 4
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x42ab44
lea edi, [ebp - 0x108]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42ab54
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
test byte [ebp - 0x34c], 0x10
rep movsb byte es:[edi], byte [esi]
je 0x42abee
mov ecx, 0x4afcdc
lea eax, [ebp - 0x320]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42aba0
test dl, dl
je 0x42ab9c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42aba0
add eax, 2
add ecx, 2
test dl, dl
jne 0x42ab80
xor eax, eax
jmp 0x42aba5
sbb eax, eax
or eax, 1
test eax, eax
je 0x42ac13
mov ecx, 0x48460c
lea eax, [ebp - 0x320]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42abd4
test dl, dl
je 0x42abd0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42abd4
add eax, 2
add ecx, 2
test dl, dl
jne 0x42abb4
xor eax, eax
jmp 0x42abd9
sbb eax, eax
or eax, 1
test eax, eax
je 0x42ac13
lea eax, [ebp - 0x108]
push eax
call fcn.0042aa50
add esp, 4
jmp 0x42ac0d
push 0x80
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x350], eax
push 0x140
lea eax, [ebp - 0x34c]
push 0
push eax
call fcn.0043f7e0
mov edi, dword [ebp - 0x354]
add esp, 0xc
cmp dword [ebp - 0x350], 0
je 0x42ac48
lea eax, [ebp - 0x34c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
jmp 0x42ac4a
xor eax, eax
mov esi, dword [ebp - 0x358]
test eax, eax
jne 0x42ab16
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov eax, dword [ebp - 0x350]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439f38
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.00439f38
mov esp, ebp
pop ebp
ret