Function at 0x488da0
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d92e3
mov eax, dword fs:[0]
push eax
sub esp, 0x4e4
mov eax, dword [0x511070]
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 edi, edx
mov esi, ecx
push 0x20a
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.004a73c0
mov eax, dword [0x515be8]
add esp, 0xc
inc eax
mov dword [0x515be8], eax
cmp eax, 0xa
jbe 0x488e05
dec eax
mov dword [0x515be8], eax
xor eax, eax
jmp 0x4892d6
test esi, esi
je 0x488df8
push 0x104
lea eax, [ebp - 0x220]
push esi
push eax
call fcn.004bb9d9
add esp, 0xc
test eax, eax
jne 0x488e2f
dec dword [0x515be8]
xor eax, eax
jmp 0x4892d6
lea ecx, [ebp - 0x220]
call fcn.0048a730
test al, al
je 0x488e22
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x4f0]
call fcn.0041c9e0
mov esi, eax
push str.Folder
lea ecx, [ebp - 0x4ec]
mov dword [ebp - 4], 0
call fcn.0041c9e0
mov byte [ebp - 4], 1
push dword [esi]
push dword [eax]
push 0x4ec424
push 0x515408
call fcn.0048c0f0
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov edx, dword [ebp - 0x4ec]
add esp, 0x10
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x488ea7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x4f0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x488ec9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x250]
call fcn.00438880
push 1
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x250]
mov esi, dword [ebp - 0x240]
push esi
push str.0s
call fcn.00446380
lea ecx, [esi - 1]
cmp eax, ecx
je 0x488f32
push str.0s
lea edx, [ebp - 0x250]
lea ecx, [ebp - 0x280]
call fcn.00449060
add esp, 4
lea ecx, [ebp - 0x250]
push eax
call fcn.004444b0
lea ecx, [ebp - 0x280]
call fcn.00433800
xor eax, eax
mov dword [ebp - 0x254], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x268], ax
lea ecx, [ebp - 0x268]
lea eax, [ebp - 0x250]
mov dword [ebp - 0x258], 0
push eax
call fcn.00439070
xor eax, eax
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], 0
mov word [ebp - 0x238], ax
push 0x4ec44c
lea edx, [ebp - 0x268]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x280]
call fcn.00449060
add esp, 4
lea ecx, [ebp - 0x268]
push eax
call fcn.004444b0
lea ecx, [ebp - 0x280]
call fcn.00433800
cmp dword [ebp - 0x254], 8
lea ecx, [ebp - 0x4e8]
lea eax, [ebp - 0x268]
cmovae eax, dword [ebp - 0x268]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x489285
test byte [ebp - 0x4e8], 0x10
je 0x4890cf
mov edx, 0x4ec430
lea ecx, [ebp - 0x4bc]
nop word [eax + eax]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x489026
test ax, ax
je 0x489022
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x489026
add ecx, 4
add edx, 4
test ax, ax
jne 0x489000
xor eax, eax
jmp 0x48902b
sbb eax, eax
or eax, 1
test eax, eax
je 0x48911c
mov ecx, 0x4e79dc
lea eax, [ebp - 0x4bc]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x489066
test dx, dx
je 0x489062
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x489066
add eax, 4
add ecx, 4
test dx, dx
jne 0x489040
xor eax, eax
jmp 0x48906b
sbb eax, eax
or eax, 1
test eax, eax
je 0x48911c
lea eax, [ebp - 0x4bc]
push eax
lea ecx, [ebp - 0x298]
call fcn.00438880
push eax
lea edx, [ebp - 0x250]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x280]
call fcn.00470cb0
add esp, 4
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x4890aa
mov eax, dword [eax]
mov edx, edi
mov ecx, eax
call fcn.00488da0
lea ecx, [ebp - 0x280]
call fcn.00433800
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 4
call fcn.00433800
jmp 0x48911c
lea eax, [ebp - 0x4bc]
push eax
lea edx, [ebp - 0x250]
lea ecx, [ebp - 0x298]
call fcn.00449060
add esp, 4
lea ecx, [ebp - 0x238]
push eax
call fcn.004444b0
lea ecx, [ebp - 0x298]
call fcn.00433800
cmp dword [ebp - 0x224], 8
lea ecx, [ebp - 0x238]
mov edx, edi
cmovae ecx, dword [ebp - 0x238]
call fcn.00488ab0
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [ebp - 0x4e8]
push eax
push ebx
call esi
test eax, eax
je 0x48927e
nop dword [eax]
nop dword [eax + eax]
test byte [ebp - 0x4e8], 0x10
lea eax, [ebp - 0x4bc]
je 0x489225
mov ecx, 0x4ec430
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48917e
test dx, dx
je 0x48917a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48917e
add eax, 4
add ecx, 4
test dx, dx
jne 0x489158
xor eax, eax
jmp 0x489183
sbb eax, eax
or eax, 1
test eax, eax
je 0x48926c
mov ecx, 0x4e79dc
lea eax, [ebp - 0x4bc]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4891bc
test dx, dx
je 0x4891b8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4891bc
add eax, 4
add ecx, 4
test dx, dx
jne 0x489196
xor eax, eax
jmp 0x4891c1
sbb eax, eax
or eax, 1
test eax, eax
je 0x48926c
lea eax, [ebp - 0x4bc]
push eax
lea ecx, [ebp - 0x280]
call fcn.00438880
push eax
lea edx, [ebp - 0x250]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x298]
call fcn.00470cb0
add esp, 4
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 8
jb 0x489200
mov eax, dword [eax]
mov edx, edi
mov ecx, eax
call fcn.00488da0
lea ecx, [ebp - 0x298]
call fcn.00433800
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 4
call fcn.00433800
jmp 0x48926c
push eax
lea edx, [ebp - 0x250]
lea ecx, [ebp - 0x298]
call fcn.00449060
add esp, 4
lea ecx, [ebp - 0x238]
push eax
call fcn.004444b0
lea ecx, [ebp - 0x298]
call fcn.00433800
cmp dword [ebp - 0x224], 8
lea ecx, [ebp - 0x238]
mov edx, edi
cmovae ecx, dword [ebp - 0x238]
call fcn.00488ab0
lea eax, [ebp - 0x4e8]
push eax
push ebx
call esi
test eax, eax
jne 0x489140
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4892aa
test edi, edi
je 0x4892aa
push 4
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
dec dword [0x515be8]
lea ecx, [ebp - 0x238]
call fcn.00433800
lea ecx, [ebp - 0x268]
call fcn.00433800
lea ecx, [ebp - 0x250]
call fcn.00433800
mov eax, 1
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.004a474b
mov esp, ebp
pop ebp
ret