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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59eacd
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x63434c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x260]
xor ebx, ebx
push 0x250
push ebx
push eax
mov dword [ebp - 0x268], ebx
call fcn.0055c530
add esp, 0xc
mov dword [ebp - 0x274], ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x261], 1
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x47ad07
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x26c], eax
mov byte [ebp - 4], 1
test esi, esi
je 0x47a702
test esi, 0xffff0000
jne 0x47a6ec
movzx eax, si
lea ecx, [ebp - 0x26c]
push eax
call fcn.00429d30
jmp 0x47a711
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47a6f1
sub ecx, edx
sar ecx, 1
jmp 0x47a704
xor ecx, ecx
push ecx
push esi
lea ecx, [ebp - 0x26c]
call fcn.0042a000
mov edi, dword [ebp - 0x26c]
mov byte [ebp - 4], 2
mov ecx, dword [edi - 0xc]
test ecx, ecx
je 0x47a75b
lea eax, [ecx - 1]
test eax, eax
js 0x47ad11
cmp eax, ecx
jg 0x47ad11
movzx eax, word [edi + eax*2]
cmp eax, 0x5c
je 0x47a75b
cmp eax, 0x2f
je 0x47a75b
push 1
push 0x5b4804
lea ecx, [ebp - 0x26c]
call fcn.00429970
mov edi, dword [ebp - 0x26c]
push 0x5b4864
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.004297b0
add esp, 0xc
lea ecx, [ebp - 0x260]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [ebp - 0x278]
mov ecx, eax
test ecx, ecx
mov eax, 0
cmovne eax, ecx
add edx, 0xfffffff0
mov dword [ebp - 0x274], eax
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x47a7bb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x274]
test eax, eax
je 0x47acb6
cmp eax, 0xffffffff
je 0x47acb6
mov esi, dword [ebp - 0x274]
test byte [ebp - 0x260], 0x10
je 0x47a997
push 0x5b4808
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x47ac77
push 0x5b480c
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x47ac77
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax + 4]
mov edi, dword [eax]
cmp edi, ebx
je 0x47a866
nop
mov ecx, dword [edi]
lea eax, [ebp - 0x234]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x47a84e
test dx, dx
je 0x47a84a
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x47a84e
add ecx, 4
add eax, 4
test dx, dx
jne 0x47a828
xor eax, eax
jmp 0x47a853
sbb eax, eax
or eax, 1
mov byte [ebp - 4], 2
test eax, eax
je 0x47ac71
add edi, 4
cmp edi, ebx
jne 0x47a820
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 0
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x294]
push eax
call fcn.004297b0
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 5
push ecx
push dword [ebp + 0xc]
push dword [eax]
call fcn.0047a650
mov edx, dword [ebp - 0x294]
add esp, 0x18
test eax, eax
sete byte [ebp - 0x26d]
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47a8e1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x284]
mov byte [ebp - 4], 2
test edi, edi
je 0x47a978
mov ebx, dword [ebp - 0x280]
cmp edi, ebx
je 0x47a927
lea ecx, [ecx]
mov edx, dword [edi]
or eax, 0xffffffff
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47a91a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 4
cmp edi, ebx
jne 0x47a900
mov edi, dword [ebp - 0x284]
mov ecx, dword [ebp - 0x27c]
mov eax, edi
sub ecx, edi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x47a950
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47ad1b
push ecx
push edi
call fcn.00558004
add esp, 8
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 0
cmp byte [ebp - 0x26d], 0
mov ebx, dword [ebp - 0x268]
je 0x47ac77
mov byte [ebp - 0x261], 0
jmp 0x47ac77
mov ecx, dword [edi - 0x10]
test ecx, ecx
je 0x47a9a7
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x47a9b3
call fcn.004291f0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov byte [ebp - 4], 7
test eax, eax
je 0x47ad07
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov byte [ebp - 4], 6
or ebx, 1
mov dword [ebp - 0x288], eax
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x268], ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47a9e5
sub ecx, edx
lea eax, [ebp - 0x234]
sar ecx, 1
push ecx
push eax
push dword [edi - 0xc]
lea eax, [ebp - 0x288]
push edi
push eax
call fcn.0042b690
mov esi, dword [ebp - 0x288]
add esp, 0x14
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
and ebx, 0xfffffffe
add esi, 0xfffffff0
mov dword [ebp - 0x268], ebx
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x47aa3f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi - 0x10]
test ecx, ecx
je 0x47aa4f
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x47aa5b
call fcn.004291f0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov byte [ebp - 4], 9
test eax, eax
je 0x47ad07
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov byte [ebp - 4], 8
or ebx, 2
mov dword [ebp - 0x28c], eax
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x268], ebx
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47aa90
sub ecx, edx
lea eax, [ebp - 0x234]
sar ecx, 1
push ecx
push eax
push dword [edi - 0xc]
lea eax, [ebp - 0x28c]
push edi
push eax
call fcn.0042b690
mov esi, dword [ebp - 0x28c]
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
and dword [ebp - 0x268], 0xfffffffd
mov ebx, eax
mov byte [ebp - 4], 2
add esi, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x47aaec
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
jne 0x47ac6b
mov byte [ebp - 0x261], bl
mov byte [ebp - 4], 0xa
call fcn.004291f0
test eax, eax
je 0x47ad07
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x290], eax
mov byte [ebp - 4], 0xb
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x234]
push eax
push edi
lea eax, [ebp - 0x290]
push str._s_s_d__x
push eax
call fcn.0042c6c0
add esp, 0x14
mov ecx, dword [edi - 0x10]
test ecx, ecx
je 0x47ab52
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x47ab5e
call fcn.004291f0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x47ad07
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov byte [ebp - 4], 0xc
or dword [ebp - 0x268], 4
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x278], eax
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47ab90
sub ecx, edx
lea eax, [ebp - 0x234]
sar ecx, 1
push ecx
push eax
push dword [edi - 0xc]
lea eax, [ebp - 0x278]
push edi
push eax
call fcn.0042b690
mov edi, dword [ebp - 0x290]
mov esi, dword [ebp - 0x278]
push edi
push esi
call fcn.00567464
and dword [ebp - 0x268], 0xfffffffb
add esp, 0x1c
mov ebx, eax
mov byte [ebp - 4], 0xb
add esi, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x47abf2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
jne 0x47ac02
push 4
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x47ac4f
cmp dword [ebp + 0xc], 0
je 0x47ac4f
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x298]
push eax
call fcn.004297b0
add esp, 0xc
push 4
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov edx, dword [ebp - 0x298]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47ac4f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x47ac6b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x274]
mov ebx, dword [ebp - 0x268]
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, dword [ebp - 0x26c]
test eax, eax
jne 0x47a7d2
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x47acad
cmp dword [ebp + 0xc], eax
je 0x47acad
push 4
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
movzx ebx, byte [ebp - 0x261]
jmp 0x47acc1
mov esi, dword [ebp - 0x274]
mov ebx, 1
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x47acd9
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x47ace9
cmp esi, 0xffffffff
je 0x47ace9
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00557e89
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00429b00
push 0x80070057
call fcn.00429b00
call fcn.00566a14
int3