Function at 0x42afd0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f1a0
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x4cd070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x290], esi
mov dword [ebp - 4], 1
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x42b032
cmp word [ecx], si
je 0x42b032
sub esp, 8
lea edx, [ebp + 0x14]
call fcn.004237d0
mov eax, dword [ebp + 0x14]
add esp, 8
test eax, eax
je 0x42b032
cmp byte [eax], 0
jne 0x42b037
mov eax, 0x4afda8
push eax
push str.On_Delete_DIR_:__s
push str.Utils
push 0x3c7
push str.utilsUtils.cpp
push 2
call fcn.0040e400
push eax
call fcn.00402c30
add esp, 0x1c
mov dword [ebp - 0x28], 0
cmp dword [ebp + 0x20], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0
setle byte [ebp - 0x28a]
movups xmmword [ebp - 0x38], xmm0
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0xc]
cmp ecx, 1
jl 0x42b0b1
mov eax, dword [ebp + 8]
push 1
push 0x4b5884
lea eax, [eax + ecx*2]
add eax, 0xfffffffe
push eax
call fcn.00486087
add esp, 0xc
test eax, eax
sete al
test al, al
jne 0x42b0d1
mov ecx, dword [ebp + 0xc]
lea eax, [ecx + 1]
push eax
lea ecx, [ebp + 8]
call fcn.004064a0
push 0x4b5884
push eax
push dword [ebp + 8]
call fcn.00480d25
add esp, 0xc
inc dword [ebp + 0xc]
mov eax, dword [ebp + 8]
test eax, eax
je 0x42b0de
cmp word [eax], 0
jne 0x42b0e3
mov eax, 0x4aebf4
push eax
lea eax, [ebp - 0x38]
push str._s.
push eax
call fcn.004063a0
mov edi, dword [ebp - 0x38]
add esp, 0xc
test edi, edi
je 0x42b104
cmp word [edi], 0
mov eax, edi
jne 0x42b109
mov eax, 0x4aebf4
lea ecx, [ebp - 0x288]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x294], eax
cmp eax, 0xffffffff
je 0x42b408
nop word [eax + eax]
push 0xff
lea eax, [ebp - 0x25c]
push 0x4b588c
push eax
call fcn.00486087
add esp, 0xc
test eax, eax
je 0x42b3e1
push 0xff
lea eax, [ebp - 0x25c]
push 0x4b836c
push eax
call fcn.00486087
add esp, 0xc
test eax, eax
je 0x42b3e1
cmp byte [ebp - 0x28a], 0
jne 0x42b1d9
push 0xffffffffffffffff
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x29c], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x2ac]
push eax
movups xmmword [ebp - 0x2ac], xmm0
call fcn.00405e40
or esi, 1
mov dword [ebp - 0x290], esi
mov esi, dword [ebp - 0x2ac]
test esi, esi
je 0x42b1be
cmp word [esi], 0
mov eax, esi
jne 0x42b1c3
mov eax, 0x4aebf4
push eax
lea ecx, [ebp + 0x1c]
call fcn.00406190
test eax, eax
jne 0x42b1df
mov byte [ebp - 0x289], 1
jmp 0x42b1e6
mov esi, dword [ebp - 0x2ac]
mov byte [ebp - 0x289], 0
mov eax, dword [ebp - 0x290]
test al, 1
je 0x42b219
and eax, 0xfffffffe
mov dword [ebp - 0x290], eax
test esi, esi
je 0x42b206
push esi
call fcn.00480a27
add esp, 4
mov eax, dword [ebp - 0x2a0]
test eax, eax
je 0x42b219
push eax
call fcn.00480a27
add esp, 4
cmp byte [ebp - 0x289], 0
jne 0x42b3db
test byte [ebp - 0x288], 0x10
je 0x42b36f
lea eax, [ebp + 8]
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
push eax
movups xmmword [ebp - 0x24], xmm0
call fcn.00405bb0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x20]
inc eax
push eax
call fcn.004064a0
mov esi, dword [ebp - 0x24]
push 0x4b5884
push eax
push esi
call fcn.00480d25
mov ecx, dword [ebp - 0x20]
add esp, 0xc
inc ecx
cmp word [ebp - 0x25c], 0
mov dword [ebp - 0x20], ecx
je 0x42b2c4
lea esi, [ebp - 0x25c]
lea edx, [esi + 2]
nop word [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42b290
sub esi, edx
sar esi, 1
lea eax, [ecx + esi]
push eax
lea ecx, [ebp - 0x24]
call fcn.004064a0
lea ecx, [ebp - 0x25c]
push ecx
push eax
push dword [ebp - 0x24]
call fcn.00480d25
add esp, 0xc
add dword [ebp - 0x20], esi
mov esi, dword [ebp - 0x24]
sub esp, 0x14
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
push 0x4aebf4
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
call fcn.00405e40
sub esp, 0x14
lea eax, [ebp - 0x24]
mov ecx, esp
push eax
call fcn.00405bb0
call fcn.0042afd0
add esp, 0x28
test esi, esi
je 0x42b319
cmp word [esi], 0
mov eax, esi
jne 0x42b31e
mov eax, 0x4aebf4
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov byte [ebp - 4], 2
test esi, esi
je 0x42b33d
push esi
call fcn.00480a27
add esp, 4
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
test eax, eax
je 0x42b3db
push eax
call fcn.00480a27
add esp, 4
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
jmp 0x42b3db
mov eax, dword [ebp + 8]
test eax, eax
je 0x42b37c
cmp word [eax], 0
jne 0x42b381
mov eax, 0x4aebf4
lea ecx, [ebp - 0x25c]
push ecx
push eax
lea eax, [ebp - 0x38]
push 0x4b5df0
push eax
call fcn.004063a0
mov eax, dword [ebp - 0x288]
add esp, 0x10
mov edi, dword [ebp - 0x38]
test al, 1
je 0x42b3c3
test edi, edi
je 0x42b3b3
cmp word [edi], 0
mov ecx, edi
jne 0x42b3b8
mov ecx, 0x4aebf4
and eax, 0xfffffffe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test edi, edi
je 0x42b3cf
cmp word [edi], 0
mov eax, edi
jne 0x42b3d4
mov eax, 0x4aebf4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [ebp - 0x290]
lea eax, [ebp - 0x288]
push eax
push dword [ebp - 0x294]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42b130
push dword [ebp - 0x294]
call dword [sym.imp.KERNEL32.dll_FindClose]
test edi, edi
je 0x42b415
push edi
call fcn.00480a27
add esp, 4
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x42b425
push eax
call fcn.00480a27
add esp, 4
mov eax, dword [ebp + 8]
test eax, eax
je 0x42b43c
push eax
call fcn.00480a27
add esp, 4
mov dword [ebp + 8], 0
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0x10], 0
mov dword [ebp + 0xc], 0
test eax, eax
je 0x42b468
push eax
call fcn.00480a27
add esp, 4
mov dword [ebp + 0x14], 0
mov dword [ebp + 0x18], 0
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x42b47f
push eax
call fcn.00480a27
add esp, 4
mov dword [ebp + 0x1c], 0
mov eax, dword [ebp + 0x28]
mov dword [ebp + 0x24], 0
mov dword [ebp + 0x20], 0
test eax, eax
je 0x42b49d
push eax
call fcn.00480a27
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00464f19
mov esp, ebp
pop ebp
ret