Function at 0x483250
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 0x5a3e04
mov eax, dword fs:[0]
push eax
sub esp, 0x48c
mov eax, dword [0x639354]
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.00429250
mov ecx, eax
test ecx, ecx
je 0x48386d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 1
test esi, esi
je 0x483304
test esi, 0xffff0000
jne 0x4832ee
movzx eax, si
mov ecx, ebx
push eax
call fcn.00429d90
jmp 0x48330f
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4832f3
sub ecx, edx
sar ecx, 1
jmp 0x483306
xor ecx, ecx
push ecx
push esi
mov ecx, ebx
call fcn.0042a060
lea eax, [ebp - 0x46c]
mov byte [ebp - 4], 0
push eax
call fcn.004847e0
push 0x5b9864
lea eax, [ebp - 0x46c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x478]
push eax
call fcn.00429810
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 0x48337e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp edi, 0xffffffff
jne 0x483392
mov dword [ebp - 0x480], 1
jmp 0x4837b1
mov ecx, dword [0x643da0]
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 0x483480
push 0x5b9808
lea eax, [ebp - 0x43c]
push eax
call esi
test eax, eax
je 0x483786
push 0x5b980c
lea eax, [ebp - 0x43c]
push eax
call esi
test eax, eax
je 0x483786
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x498]
push eax
call fcn.00429810
push 0x5b9804
push eax
lea eax, [ebp - 0x494]
mov byte [ebp - 4], 3
push eax
call fcn.00429810
push dword [ebp - 0x48c]
mov byte [ebp - 4], 4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [eax]
call fcn.00483250
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 0x483452
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 0x483473
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x4837a6
jmp 0x483780
cmp dword [ebp + 0xc], 0
je 0x483614
lea ecx, [ebp - 0x43c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x483493
sub ecx, edx
sar ecx, 1
cmp ecx, 4
jle 0x483614
lea eax, [ebp - 0x444]
lea eax, [eax + ecx*2]
push 0x5b9e20
push eax
call fcn.0056b422
add esp, 8
test eax, eax
jne 0x483614
mov eax, dword [ebp - 0x484]
mov ecx, dword [eax]
mov eax, dword [0x641de4]
cmp eax, dword [ecx + 4]
jg 0x483877
mov eax, dword [0x641de0]
add eax, 0xfffffff0
cmp dword [eax + 4], 0
jne 0x48358c
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x483584
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x483514
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, 0x641de0
call fcn.0042a060
mov eax, dword [0x641de0]
mov edx, dword [eax - 0xc]
test edx, edx
je 0x483573
lea ecx, [edx - 1]
test ecx, ecx
js 0x483863
cmp ecx, edx
jg 0x483863
movzx eax, word [eax + ecx*2]
cmp eax, 0x5c
je 0x483573
cmp eax, 0x2f
je 0x483573
push 1
push 0x5b9804
mov ecx, 0x641de0
call fcn.004299d0
push 8
push str.drivers_
mov ecx, 0x641de0
call fcn.004299d0
mov eax, dword [0x641de0]
add eax, 0xfffffff0
push eax
call fcn.00429b80
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 0x4835b2
sub ecx, edx
lea eax, [ebp - 0x43c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x474]
call fcn.004299d0
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 0x4835fd
cmp dword [ebp + 0x10], eax
je 0x4835fd
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 0x483614
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 0x48362c
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x48363a
call fcn.00429250
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
mov byte [ebp - 4], 8
test ecx, ecx
je 0x48386d
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 0x483670
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.0042b6f0
mov esi, dword [ebp - 0x478]
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x483753
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x483753
mov byte [ebp - 4], 9
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x48386d
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.0042c720
mov edi, dword [ebp - 0x474]
push edi
push esi
call fcn.0056b9b4
add esp, 0x18
test eax, eax
jne 0x483724
push 4
push eax
push edi
jmp 0x48372f
cmp dword [ebp + 0x10], 0
je 0x483735
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 0x48374d
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 0x483780
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 0x4833b0
mov dword [ebp - 0x480], 1
test edi, edi
je 0x4837b3
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 0x4837d3
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 0x483804
cmp esi, 2
je 0x483804
cmp esi, 3
je 0x483804
push 4
push eax
push dword [ebp - 0x46c]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0x48c]
test ecx, ecx
je 0x483816
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 0x483831
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x483841
cmp edi, 0xffffffff
je 0x483841
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.0055c3a9
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00429b60
push 0x80004005
call fcn.00429b60
push 0x641de4
call fcn.0055c868
add esp, 4
cmp dword [0x641de4], 0xffffffff
jne 0x4834e3
mov byte [ebp - 4], 5
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x48386d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov byte [ebp - 4], 2
push 0x5b47a0
mov dword [0x641de0], eax
call fcn.0055cb7a
push 0x641de4
call fcn.0055c81e
add esp, 8
jmp 0x4834e3