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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed59b
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x53f100]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], ebx
jne 0x47a405
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47a3fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x47a84f
lea ecx, [ebp - 0x264]
push ecx
push ecx
mov esi, esp
mov dword [ebp - 0x270], esp
mov dword [ebp - 0x268], esi
call fcn.004bcd4c
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x47a435
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov eax, 0x4ff58c
shr eax, 0x10
mov byte [ebp - 4], 1
mov dword [ebp - 0x27c], eax
cmp eax, ebx
jne 0x47a476
mov ecx, 0x4ff58c
movzx edi, cx
push edi
call fcn.004c4eeb
cmp eax, ebx
je 0x47a490
push edi
push eax
mov ecx, esi
call fcn.00424e60
jmp 0x47a490
push 0x4ff58c
call fcn.004cbe7a
add esp, 4
push eax
push 0x4ff58c
mov ecx, esi
call fcn.004253b1
push ecx
mov byte [ebp - 4], 2
mov esi, esp
mov dword [ebp - 0x268], esp
mov dword [ebp - 0x274], esi
call fcn.004bcd4c
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x47a4bd
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov ecx, 0x506f1c
mov byte [ebp - 4], 3
test ecx, 0xffff0000
jne 0x47a4f6
mov edx, ecx
movzx edi, dx
push edi
call fcn.004c4eeb
cmp eax, ebx
je 0x47a510
push edi
push eax
mov ecx, esi
call fcn.00424e60
jmp 0x47a510
push 0x506f1c
call fcn.004cbe7a
add esp, 4
push eax
push 0x506f1c
mov ecx, esi
call fcn.004253b1
mov byte [ebp - 4], 4
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x274], esp
mov esi, esp
push eax
call fcn.00425422
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea edi, [ebp - 0x280]
mov byte [ebp - 4], bl
call fcn.00477ed0
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov eax, dword [ebp - 0x280]
add eax, 0xfffffff0
mov dword [ebp - 0x270], esi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47a575
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, 0xffffffff
je 0x47a7ed
mov edi, edi
push ecx
mov esi, esp
mov dword [ebp - 0x274], esp
mov dword [ebp - 0x278], esi
call fcn.004bcd4c
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x47a42b
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x27c], ebx
jne 0x47a5da
mov ecx, 0x4ff58c
movzx edi, cx
push edi
call fcn.004c4eeb
cmp eax, ebx
je 0x47a5f4
push edi
push eax
mov ecx, esi
call fcn.00424e60
jmp 0x47a5f4
push 0x4ff58c
call fcn.004cbe7a
add esp, 4
push eax
push 0x4ff58c
mov ecx, esi
call fcn.004253b1
push ecx
mov byte [ebp - 4], 6
mov esi, esp
mov dword [ebp - 0x278], esp
mov dword [ebp - 0x26c], esi
call fcn.004bcd4c
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x47a42b
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 7
test ecx, 0xffff0000
jne 0x47a655
mov edx, ecx
movzx edi, dx
push edi
call fcn.004c4eeb
cmp eax, ebx
je 0x47a673
push edi
push eax
mov ecx, esi
call fcn.00424e60
jmp 0x47a673
lea eax, [ebp - 0x238]
push eax
call fcn.004cbe7a
add esp, 4
push eax
lea ecx, [ebp - 0x238]
push ecx
mov ecx, esi
call fcn.004253b1
mov byte [ebp - 4], 8
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x26c], esp
mov esi, esp
push eax
call fcn.00425422
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea edi, [ebp - 0x268]
mov byte [ebp - 4], bl
call fcn.00477ed0
add esp, 0xc
mov byte [ebp - 4], 9
test byte [ebp - 0x264], 0x10
je 0x47a759
lea ecx, [ebp - 0x238]
mov eax, 0x504008
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47a6e7
cmp dx, bx
je 0x47a6e3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47a6e7
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x47a6c1
xor eax, eax
jmp 0x47a6ec
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x47a7a5
lea ecx, [ebp - 0x238]
mov eax, 0x507374
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47a726
cmp dx, bx
je 0x47a722
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47a726
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x47a700
xor eax, eax
jmp 0x47a72b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x47a7a5
mov eax, dword [ebp - 0x268]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x26c], esp
mov esi, esp
push eax
call fcn.00425422
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0047a3a0
add esp, 4
jmp 0x47a7a5
mov edx, dword [ebp - 0x268]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
push edx
call esi
mov eax, dword [ebp - 0x268]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
test eax, eax
jne 0x47a7a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x47a7a5
mov ecx, dword [ebp - 0x268]
call fcn.0047f590
mov ecx, dword [ebp - 0x268]
push ebx
push ecx
call esi
mov edx, dword [ebp - 0x268]
push edx
call edi
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47a7ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x270]
lea ecx, [ebp - 0x264]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x47a580
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x26c], esp
mov esi, esp
push eax
call fcn.00425422
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0047b1a0
xor ecx, ecx
add esp, 4
cmp eax, ebx
sete cl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov esi, ecx
mov ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47a84d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004cb516
mov esp, ebp
pop ebp
ret