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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d869c
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x655140]
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 ecx, dword [ecx]
sub ecx, 0x10
call fcn.00408e50
add eax, 0x10
mov dword [ebp - 0x268], eax
lea ecx, [ebp - 0x268]
mov dword [ebp - 4], 0
call fcn.0048a150
mov esi, dword [ebp - 0x268]
or eax, 0xffffffff
cmp dword [esi - 0xc], 0
jne 0x489969
xor ebx, ebx
jmp 0x489c95
push 1
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x268]
call fcn.00408520
mov byte [ebp - 4], 1
mov ecx, 0x63403c
mov edi, dword [ebp - 0x26c]
mov eax, edi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4899b6
test dx, dx
je 0x4899b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4899b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x489990
xor eax, eax
jmp 0x4899bb
sbb eax, eax
or eax, 1
test eax, eax
je 0x489a0d
mov ecx, 0x63b984
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4899ec
test dx, dx
je 0x4899e8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4899ec
add eax, 4
add ecx, 4
test dx, dx
jne 0x4899c6
xor eax, eax
jmp 0x4899f1
sbb eax, eax
or eax, 1
test eax, eax
je 0x489a0d
push 1
push 0x63403c
lea ecx, [ebp - 0x268]
call fcn.00409100
mov esi, dword [ebp - 0x268]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
je 0x489a1f
xor ebx, ebx
jmp 0x489c74
push 0x6344d4
lea edx, [ebp - 0x268]
lea ecx, [ebp - 0x270]
call fcn.00408100
add esp, 4
lea ecx, [ebp - 0x260]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [ebp - 0x270]
mov ebx, eax
mov dword [ebp - 0x27c], ebx
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x489a6d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp ebx, 0xffffffff
je 0x489c6b
call fcn.00402de0
mov ecx, eax
test ecx, ecx
je 0x489ccf
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x264]
call fcn.00408c10
test al, al
jne 0x489ad8
lea ecx, [ebp - 0x234]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x489ab6
sub ecx, edx
lea eax, [ebp - 0x234]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x264]
call fcn.00408fa0
mov byte [ebp - 4], 3
mov edx, 0x636a90
mov eax, dword [ebp - 0x264]
mov ecx, eax
nop dword [eax]
mov bx, word [ecx]
cmp bx, word [edx]
jne 0x489b16
test bx, bx
je 0x489b12
mov bx, word [ecx + 2]
cmp bx, word [edx + 2]
jne 0x489b16
add ecx, 4
add edx, 4
test bx, bx
jne 0x489af0
xor ecx, ecx
jmp 0x489b1b
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x489c2c
mov edx, 0x63b97c
mov ecx, eax
nop word [eax + eax]
mov bx, word [ecx]
cmp bx, word [edx]
jne 0x489b56
test bx, bx
je 0x489b52
mov bx, word [ecx + 2]
cmp bx, word [edx + 2]
jne 0x489b56
add ecx, 4
add edx, 4
test bx, bx
jne 0x489b30
xor ecx, ecx
jmp 0x489b5b
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x489c2c
lea eax, [ebp - 0x264]
push eax
lea edx, [ebp - 0x268]
lea ecx, [ebp - 0x278]
call fcn.004082a0
add esp, 4
mov byte [ebp - 4], 4
mov edx, dword [eax]
mov ebx, dword [ebp - 0x264]
add ebx, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, ebx
je 0x489be2
cmp dword [ebx + 0xc], 0
jl 0x489bd3
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x489bd3
call fcn.00408e50
mov dword [ebp - 0x274], eax
lea edx, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x489bc8
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x274]
add eax, 0x10
mov dword [ebp - 0x264], eax
jmp 0x489be2
push dword [edx - 0xc]
lea ecx, [ebp - 0x264]
push edx
call fcn.00408fa0
mov byte [ebp - 4], 3
or eax, 0xffffffff
mov edx, dword [ebp - 0x278]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x489c04
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test byte [ebp - 0x260], 0x10
je 0x489c1a
lea ecx, [ebp - 0x264]
call fcn.00489900
jmp 0x489c26
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x264]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 1
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x489c48
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x27c]
lea eax, [ebp - 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x489a76
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebx, eax
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov ecx, eax
lock xadd dword [edi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x489c95
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x489cb1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
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.004b3f1a
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402a80
int3