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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6ffd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x6d0
mov eax, dword [0x663a90]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 8]
xorps xmm0, xmm0
mov edi, dword [ebx + 0x10]
movups xmmword [ebp - 0x468], xmm0
mov dword [ebp - 0x458], 0
push 8
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x45c], 0
mov dword [ebp - 0x458], 0
call fcn.0058a1e0
add esp, 4
mov dword [ebp - 0x468], eax
test eax, eax
je 0x466274
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x468]
lea ecx, [ebp - 0x468]
mov dword [eax], ecx
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x454], xmm0
mov dword [ebp - 0x444], 0
push 8
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0
call fcn.0058a1e0
add esp, 4
mov dword [ebp - 0x454], eax
test eax, eax
je 0x4662f0
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x454]
lea ecx, [ebp - 0x454]
mov dword [eax], ecx
push esi
lea ecx, [ebp - 0x6d0]
mov byte [ebp - 4], 1
call fcn.004069d0
lea eax, [ebp - 0x6d0]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x454]
call fcn.0040d090
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x6bc]
cmp eax, 8
jb 0x466340
inc eax
lea ecx, [ebp - 0x6d0]
push eax
push dword [ebp - 0x6d0]
call fcn.00407c00
xor eax, eax
mov dword [ebp - 0x42c], 7
mov dword [ebp - 0x430], 0
mov word [ebp - 0x440], ax
cmp word [esi], ax
jne 0x466366
xor ecx, ecx
jmp 0x46637f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x466370
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x440]
call fcn.00406f90
lea eax, [ebp - 0x440]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x468]
call fcn.0040d090
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x42c]
cmp eax, 8
jb 0x4663c4
inc eax
lea ecx, [ebp - 0x440]
push eax
push dword [ebp - 0x440]
call fcn.00407c00
cmp dword [ebp - 0x458], 0
je 0x466705
lea eax, [ebp - 0x6e0]
push eax
lea ecx, [ebp - 0x468]
call fcn.0040d3b0
mov edx, eax
mov ecx, dword [edx]
test ecx, ecx
jne 0x4663ef
xor eax, eax
jmp 0x4663f1
mov eax, dword [ecx]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [edx + 8]
push 0xffffffffffffffff
mov eax, dword [eax + ecx*4]
xor ecx, ecx
push ecx
mov word [ebp - 0x440], cx
lea ecx, [ebp - 0x440]
push eax
mov dword [ebp - 0x42c], 7
mov dword [ebp - 0x430], 0
call fcn.00407440
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x460]
mov eax, dword [ebp - 0x464]
dec ecx
and ecx, dword [ebp - 0x45c]
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x466457
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00407c00
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x46646d
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
sub dword [ebp - 0x458], 1
jne 0x466483
mov dword [ebp - 0x45c], eax
jmp 0x466489
inc dword [ebp - 0x45c]
push 0x208
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.005a2d80
cmp dword [ebp - 0x42c], 8
lea eax, [ebp - 0x440]
cmovae eax, dword [ebp - 0x440]
push eax
lea eax, [ebp - 0x428]
push 0x639c14
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x428]
push 0x639c1c
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x250
lea eax, [ebp - 0x6b8]
push 0
push eax
call fcn.005a2d80
add esp, 0xc
lea eax, [ebp - 0x6b8]
push eax
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4666d6
nop dword [eax]
cmp word [ebp - 0x68c], 0x2e
je 0x4666b9
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.005a2d80
cmp dword [ebp - 0x42c], 8
lea ecx, [ebp - 0x68c]
push ecx
lea eax, [ebp - 0x440]
cmovae eax, dword [ebp - 0x440]
push eax
lea eax, [ebp - 0x220]
push 0x639c24
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
test byte [ebp - 0x6b8], 0x10
je 0x4666ac
test edi, edi
je 0x46658b
lea eax, [ebp - 0x68c]
push eax
push edi
call fcn.005ac88b
add esp, 8
test eax, eax
je 0x4666b9
xor eax, eax
mov dword [ebp - 0x6bc], 7
mov dword [ebp - 0x6c0], 0
mov word [ebp - 0x6d0], ax
cmp word [ebp - 0x220], ax
jne 0x4665b5
xor ecx, ecx
jmp 0x4665cf
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4665c0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x6d0]
call fcn.00406f90
lea eax, [ebp - 0x6d0]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x468]
call fcn.0040d090
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x6bc]
cmp eax, 8
jb 0x46661a
inc eax
lea ecx, [ebp - 0x6d0]
push eax
push dword [ebp - 0x6d0]
call fcn.00407c00
xor eax, eax
mov dword [ebp - 0x6bc], 7
mov dword [ebp - 0x6c0], 0
mov word [ebp - 0x6d0], ax
cmp word [ebp - 0x220], ax
je 0x46665f
lea eax, [ebp - 0x220]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x466650
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x6d0]
call fcn.00406f90
lea eax, [ebp - 0x6d0]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x454]
call fcn.0040d090
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x6bc]
cmp eax, 8
jb 0x4666b9
inc eax
lea ecx, [ebp - 0x6d0]
push eax
push dword [ebp - 0x6d0]
call fcn.00407c00
jmp 0x4666b9
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x6b8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x466510
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x42c]
cmp eax, 8
jb 0x4666f8
inc eax
lea ecx, [ebp - 0x440]
push eax
push dword [ebp - 0x440]
call fcn.00407c00
cmp dword [ebp - 0x458], 0
jne 0x4663d1
cmp dword [ebp - 0x444], 0
je 0x466812
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
nop dword [eax + eax]
lea eax, [ebp - 0x6e0]
push eax
lea ecx, [ebp - 0x454]
call fcn.0040d3b0
mov edx, eax
mov eax, dword [edx]
test eax, eax
je 0x46673c
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [edx + 8]
push 0xffffffffffffffff
mov eax, dword [eax + ecx*4]
xor ecx, ecx
push ecx
mov word [ebp - 0x440], cx
lea ecx, [ebp - 0x440]
push eax
mov dword [ebp - 0x42c], 7
mov dword [ebp - 0x430], 0
call fcn.00407440
mov ecx, dword [ebp - 0x44c]
mov eax, dword [ebp - 0x450]
dec ecx
and ecx, dword [ebp - 0x448]
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x46679e
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00407c00
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x4667b4
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
sub dword [ebp - 0x444], 1
jne 0x4667ca
mov dword [ebp - 0x448], eax
jmp 0x4667d0
inc dword [ebp - 0x448]
cmp dword [ebp - 0x42c], 8
lea eax, [ebp - 0x440]
cmovae eax, dword [ebp - 0x440]
push eax
call edi
mov eax, dword [ebp - 0x42c]
cmp eax, 8
jb 0x466805
inc eax
lea ecx, [ebp - 0x440]
push eax
push dword [ebp - 0x440]
call fcn.00407c00
cmp dword [ebp - 0x444], 0
jne 0x466720
lea ecx, [ebp - 0x454]
call fcn.0040cff0
push dword [ebp - 0x454]
call fcn.00589cce
add esp, 4
mov dword [ebp - 0x454], 0
lea ecx, [ebp - 0x468]
call fcn.0040cff0
push dword [ebp - 0x468]
call fcn.00589cce
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00589cd3
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc