Function at 0x4828f0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get common file path
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f844
mov eax, dword fs:[0]
push eax
sub esp, 0x48c
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 eax, dword [ebp + 0x14]
xor edi, edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x48c], eax
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x490], edi
push ecx
mov ebx, esp
mov dword [ebp - 4], edi
mov dword [ebp - 0x47c], edi
mov dword [ebp - 0x484], ebx
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x482f0d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 1
test esi, esi
je 0x4829a4
test esi, 0xffff0000
jne 0x48298e
movzx eax, si
mov ecx, ebx
push eax
call fcn.00429d30
jmp 0x4829af
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x482993
sub ecx, edx
sar ecx, 1
jmp 0x4829a6
xor ecx, ecx
push ecx
push esi
mov ecx, ebx
call fcn.0042a000
lea eax, [ebp - 0x46c]
mov byte [ebp - 4], 0
push eax
call fcn.00483e80
push 0x5b4864
lea eax, [ebp - 0x46c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x478]
push eax
call fcn.004297b0
add esp, 0x14
lea ecx, [ebp - 0x468]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [ebp - 0x478]
test eax, eax
cmovne edi, eax
or ebx, 0xffffffff
mov dword [ebp - 0x488], edi
add edx, 0xfffffff0
mov dword [ebp - 0x490], edi
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x482a1e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp edi, 0xffffffff
jne 0x482a32
mov dword [ebp - 0x480], 1
jmp 0x482e51
mov ecx, dword [0x63ec50]
mov eax, dword fs:[0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
lea eax, [eax + ecx*4]
mov dword [ebp - 0x484], eax
lea ecx, [ecx]
test byte [ebp - 0x468], 0x10
je 0x482b20
push 0x5b4808
lea eax, [ebp - 0x43c]
push eax
call esi
test eax, eax
je 0x482e26
push 0x5b480c
lea eax, [ebp - 0x43c]
push eax
call esi
test eax, eax
je 0x482e26
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x498]
push eax
call fcn.004297b0
push 0x5b4804
push eax
lea eax, [ebp - 0x494]
mov byte [ebp - 4], 3
push eax
call fcn.004297b0
push dword [ebp - 0x48c]
mov byte [ebp - 4], 4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [eax]
call fcn.004828f0
mov edx, dword [ebp - 0x494]
mov esi, eax
add esp, 0x28
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x482af2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x498]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x482b13
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x482e46
jmp 0x482e20
cmp dword [ebp + 0xc], 0
je 0x482cb4
lea ecx, [ebp - 0x43c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x482b33
sub ecx, edx
sar ecx, 1
cmp ecx, 4
jle 0x482cb4
lea eax, [ebp - 0x444]
lea eax, [eax + ecx*2]
push 0x5b4e20
push eax
call fcn.00566ed2
add esp, 8
test eax, eax
jne 0x482cb4
mov eax, dword [ebp - 0x484]
mov ecx, dword [eax]
mov eax, dword [0x63cccc]
cmp eax, dword [ecx + 4]
jg 0x482f17
mov eax, dword [0x63ccc8]
add eax, 0xfffffff0
cmp dword [eax + 4], 0
jne 0x482c2c
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x482c24
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x482bb4
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, 0x63ccc8
call fcn.0042a000
mov eax, dword [0x63ccc8]
mov edx, dword [eax - 0xc]
test edx, edx
je 0x482c13
lea ecx, [edx - 1]
test ecx, ecx
js 0x482f03
cmp ecx, edx
jg 0x482f03
movzx eax, word [eax + ecx*2]
cmp eax, 0x5c
je 0x482c13
cmp eax, 0x2f
je 0x482c13
push 1
push 0x5b4804
mov ecx, 0x63ccc8
call fcn.00429970
push 8
push str.drivers_
mov ecx, 0x63ccc8
call fcn.00429970
mov eax, dword [0x63ccc8]
add eax, 0xfffffff0
push eax
call fcn.00429b20
add eax, 0x10
add esp, 4
or dword [ebp - 0x470], 1
mov dword [ebp - 0x474], eax
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 6
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x482c52
sub ecx, edx
lea eax, [ebp - 0x43c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x474]
call fcn.00429970
mov esi, dword [ebp - 0x474]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x482c9d
cmp dword [ebp + 0x10], eax
je 0x482c9d
push 4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x482cb4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x46c]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x482ccc
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x482cda
call fcn.004291f0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
mov byte [ebp - 4], 8
test ecx, ecx
je 0x482f0d
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x470]
lea ecx, [ebp - 0x43c]
add eax, 0x10
mov byte [ebp - 4], 7
or ebx, 2
mov dword [ebp - 0x478], eax
mov dword [ebp - 0x470], ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x482d10
mov eax, dword [ebp - 0x46c]
sub ecx, edx
sar ecx, 1
push ecx
lea ecx, [ebp - 0x43c]
push ecx
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x478]
push eax
call fcn.0042b690
mov esi, dword [ebp - 0x478]
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x482df3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x482df3
mov byte [ebp - 4], 9
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x482f0d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x474], eax
mov byte [ebp - 4], 0xa
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
lea eax, [ebp - 0x474]
push str._s_d__x
push eax
call fcn.0042c6c0
mov edi, dword [ebp - 0x474]
push edi
push esi
call fcn.00567464
add esp, 0x18
test eax, eax
jne 0x482dc4
push 4
push eax
push edi
jmp 0x482dcf
cmp dword [ebp + 0x10], 0
je 0x482dd5
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x482ded
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x488]
inc dword [ebp - 0x47c]
and ebx, 0xfffffffd
mov dword [ebp - 0x470], ebx
add esi, 0xfffffff0
or ebx, 0xffffffff
mov byte [ebp - 4], 2
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x482e20
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
lea eax, [ebp - 0x468]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x482a50
mov dword [ebp - 0x480], 1
test edi, edi
je 0x482e53
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor edi, edi
push dword [ebp - 0x46c]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x482e73
and eax, 0xfffffffe
push eax
push dword [ebp - 0x46c]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x46c]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x482ea4
cmp esi, 2
je 0x482ea4
cmp esi, 3
je 0x482ea4
push 4
push eax
push dword [ebp - 0x46c]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0x48c]
test ecx, ecx
je 0x482eb6
mov eax, dword [ebp - 0x47c]
add dword [ecx], eax
mov edx, dword [ebp - 0x46c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x482ed1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x482ee1
cmp edi, 0xffffffff
je 0x482ee1
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x480]
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 0x80070057
call fcn.00429b00
push 0x80004005
call fcn.00429b00
push 0x63cccc
call fcn.00558348
add esp, 4
cmp dword [0x63cccc], 0xffffffff
jne 0x482b83
mov byte [ebp - 4], 5
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x482f0d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov byte [ebp - 4], 2
push 0x5afc90
mov dword [0x63ccc8], eax
call fcn.0055865a
push 0x63cccc
call fcn.005582fe
add esp, 8
jmp 0x482b83