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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d2691
mov eax, dword fs:[0]
push eax
sub esp, 0x320
mov eax, dword [0x64a070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x310], eax
xor eax, eax
mov dword [ebp - 0x58], 7
mov dword [ebp - 0x5c], 0
mov word [ebp - 0x6c], ax
xorps xmm0, xmm0
mov dword [ebp - 0x14], eax
movups xmmword [ebp - 0x24], xmm0
push 8
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.0057609b
add esp, 4
test eax, eax
jne 0x56221c
call fcn.00598721
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x24]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x24]
mov dword [eax], ecx
xor esi, esi
mov dword [ebp - 0x34], 0
xorps xmm0, xmm0
mov dword [ebp - 0x34], esi
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
push edi
mov byte [ebp - 4], 3
call fcn.00562e80
add esp, 4
test al, al
jne 0x56227b
mov byte [ebp - 0x2ed], al
jmp 0x562972
xor eax, eax
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], 0
mov word [ebp - 0x54], ax
mov byte [ebp - 4], 4
cmp word [edi], ax
jne 0x56229c
xor ecx, ecx
jmp 0x5622b0
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5622a1
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x54]
call fcn.00408a10
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x24]
call fcn.0041ea20
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
call fcn.0040d990
lea eax, [ebp - 0x30]
xor edi, edi
push eax
push edi
push edi
mov dword [ebp - 0x38], edi
call fcn.0040d990
add esp, 0x18
mov dword [ebp - 0x2c], edi
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x30]
push eax
call fcn.0041e7d0
cmp dword [ebp - 0x14], edi
sete al
test al, al
jne 0x5628c3
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [eax]
push 1
lea eax, [ebp - 0x320]
push eax
lea eax, [ebp - 0x32c]
push eax
lea ecx, [ebp - 0x24]
call fcn.00418210
mov ecx, eax
call fcn.0041ec00
mov edx, eax
mov eax, dword [edx]
test eax, eax
je 0x562339
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [edx + 8]
mov eax, dword [eax + ecx*4]
lea ecx, [ebp - 0x54]
cmp ecx, eax
je 0x562357
push 0xffffffffffffffff
push 0
push eax
call fcn.00408f10
push 0x5f8f64
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.0041ee80
push 0x5f8f60
push eax
lea eax, [ebp - 0x308]
mov byte [ebp - 4], 5
push eax
call fcn.0041ee20
add esp, 0x18
mov esi, eax
lea eax, [ebp - 0x6c]
cmp eax, esi
je 0x5623c0
mov eax, dword [ebp - 0x58]
cmp eax, 8
jb 0x5623a3
inc eax
lea ecx, [ebp - 0x6c]
push eax
push dword [ebp - 0x6c]
call fcn.00408de0
xor eax, eax
mov dword [ebp - 0x58], 7
push esi
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x5c], 0
mov word [ebp - 0x6c], ax
call fcn.0040c680
mov eax, dword [ebp - 0x2f4]
mov byte [ebp - 4], 5
cmp eax, 8
jb 0x56241d
mov ecx, dword [ebp - 0x308]
inc eax
cmp eax, 0x7fffffff
ja 0x562217
add eax, eax
cmp eax, 0x1000
jb 0x562414
test cl, 0x1f
jne 0x562217
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x562217
sub ecx, eax
cmp ecx, 4
jb 0x562217
cmp ecx, 0x23
ja 0x562217
mov ecx, eax
push ecx
call fcn.004820c0
add esp, 4
xor eax, eax
mov dword [ebp - 0x2f4], 7
mov word [ebp - 0x308], ax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x2f8], 0
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x562497
mov ecx, dword [ebp - 0x9c]
inc eax
cmp eax, 0x7fffffff
ja 0x562217
add eax, eax
cmp eax, 0x1000
jb 0x56248e
test cl, 0x1f
jne 0x562217
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x562217
sub ecx, eax
cmp ecx, 4
jb 0x562217
cmp ecx, 0x23
ja 0x562217
mov ecx, eax
push ecx
call fcn.004820c0
add esp, 4
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
dec eax
mov edx, dword [ebp - 0x1c]
add ecx, eax
mov eax, dword [ebp - 0x20]
dec edx
and edx, ecx
mov esi, dword [eax + edx*4]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x5624fe
mov ecx, dword [esi]
inc eax
cmp eax, 0x7fffffff
ja 0x562217
add eax, eax
cmp eax, 0x1000
jb 0x5624f5
test cl, 0x1f
jne 0x562217
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x562217
sub ecx, eax
cmp ecx, 4
jb 0x562217
cmp ecx, 0x23
ja 0x562217
mov ecx, eax
push ecx
call fcn.004820c0
add esp, 4
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x562514
mov esi, dword [esi]
xor eax, eax
mov ecx, 0
mov word [esi], ax
sub dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x18]
cmove eax, ecx
cmp dword [ebp - 0x58], 8
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x2ec]
lea eax, [ebp - 0x6c]
cmovae eax, dword [ebp - 0x6c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x5629d7
nop
mov edx, 0x5f17f8
lea ecx, [ebp - 0x2c0]
nop dword [eax + eax]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x562586
test ax, ax
je 0x562582
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x562586
add ecx, 4
add edx, 4
test ax, ax
jne 0x562560
xor eax, eax
jmp 0x56258b
sbb eax, eax
or eax, 1
test eax, eax
je 0x56277b
mov eax, 0x5f8f68
lea ecx, [ebp - 0x2c0]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x5625c6
test dx, dx
je 0x5625c2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x5625c6
add ecx, 4
add eax, 4
test dx, dx
jne 0x5625a0
xor eax, eax
jmp 0x5625cb
sbb eax, eax
or eax, 1
test eax, eax
je 0x56277b
test byte [ebp - 0x2ec], 0x10
je 0x562788
push 0x5f8f64
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.0041ee80
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 7
push ecx
push eax
lea eax, [ebp - 0x308]
push eax
call fcn.0041ee20
add esp, 0x18
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call fcn.0041eae0
mov eax, dword [ebp - 0x2f4]
cmp eax, 8
jb 0x56263b
inc eax
lea ecx, [ebp - 0x308]
push eax
push dword [ebp - 0x308]
call fcn.00408de0
xor eax, eax
mov dword [ebp - 0x2f4], 7
mov word [ebp - 0x308], ax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x2f8], 0
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x562677
inc eax
lea ecx, [ebp - 0x84]
push eax
push dword [ebp - 0x84]
call fcn.00408de0
push 0x5f8f64
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.0041ee80
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 9
push ecx
push eax
lea eax, [ebp - 0x308]
push eax
call fcn.0041ee20
add esp, 0x18
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xa
call fcn.0041e8c0
mov eax, dword [ebp - 0x2f4]
cmp eax, 8
jb 0x5626d2
inc eax
lea ecx, [ebp - 0x308]
push eax
push dword [ebp - 0x308]
call fcn.00408de0
xor eax, eax
mov dword [ebp - 0x2f4], 7
mov word [ebp - 0x308], ax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x2f8], 0
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x56270e
inc eax
lea ecx, [ebp - 0x84]
push eax
push dword [ebp - 0x84]
call fcn.00408de0
push 0x5f8f64
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.0041ee80
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 0xb
push ecx
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.0041ee20
mov eax, dword [ebp - 0x70]
add esp, 0x18
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x56275d
inc eax
lea ecx, [ebp - 0x84]
push eax
push dword [ebp - 0x84]
call fcn.00408de0
mov eax, dword [ebp - 0x88]
cmp eax, 8
jb 0x56277b
inc eax
lea ecx, [ebp - 0x9c]
push eax
push dword [ebp - 0x9c]
call fcn.00408de0
test byte [ebp - 0x2ec], 0x10
jne 0x56288f
push 0x5f8f64
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.0041ee80
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 0xc
push ecx
push eax
lea eax, [ebp - 0x308]
push eax
call fcn.0041ee20
add esp, 0x18
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xd
call fcn.0041e8c0
mov eax, dword [ebp - 0x2f4]
cmp eax, 8
jb 0x5627e3
inc eax
lea ecx, [ebp - 0x308]
push eax
push dword [ebp - 0x308]
call fcn.00408de0
xor eax, eax
mov dword [ebp - 0x2f4], 7
mov word [ebp - 0x308], ax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x2f8], 0
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x562822
inc eax
lea ecx, [ebp - 0x9c]
push eax
push dword [ebp - 0x9c]
call fcn.00408de0
push 0x5f8f64
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.0041ee80
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 0xe
push ecx
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.0041ee20
mov eax, dword [ebp - 0x88]
add esp, 0x18
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x562874
inc eax
lea ecx, [ebp - 0x9c]
push eax
push dword [ebp - 0x9c]
call fcn.00408de0
mov eax, dword [ebp - 0x70]
cmp eax, 8
jb 0x56288f
inc eax
lea ecx, [ebp - 0x84]
push eax
push dword [ebp - 0x84]
call fcn.00408de0
lea eax, [ebp - 0x2ec]
push eax
push esi
call edi
test eax, eax
jne 0x562550
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
cmp eax, 0x12
jne 0x5628d1
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x14], 0
jne 0x562310
mov edi, dword [ebp - 0x38]
mov esi, dword [ebp - 0x3c]
cmp esi, edi
je 0x5628f8
cmp dword [esi + 0x14], 8
jb 0x5628e0
mov eax, dword [esi]
jmp 0x5628e2
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 0x2ed], 0
jmp 0x562949
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x5629d7
add esi, 0x18
cmp esi, edi
jne 0x5628c7
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
mov byte [ebp - 0x314], 0
push dword [ebp - 0x314]
push edi
push esi
call fcn.0041ef90
add esp, 0xc
cmp esi, edi
je 0x562942
nop dword [eax]
cmp dword [esi + 0x14], 8
jb 0x56292a
mov eax, dword [esi]
jmp 0x56292c
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x5629d7
add esi, 0x18
cmp esi, edi
jne 0x562920
mov byte [ebp - 0x2ed], 1
mov eax, dword [ebp - 0x40]
cmp eax, 8
jb 0x56295e
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.00408de0
xor eax, eax
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], 0
mov word [ebp - 0x54], ax
lea ecx, [ebp - 0x30]
call fcn.0040d1b0
lea ecx, [ebp - 0x3c]
call fcn.0040d1b0
lea ecx, [ebp - 0x24]
call fcn.0041e970
push 1
push dword [ebp - 0x24]
lea ecx, [ebp - 0x309]
call fcn.004184d0
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x24], 0
cmp ecx, 8
jb 0x5629b6
inc ecx
push ecx
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x6c]
call fcn.00408de0
mov al, byte [ebp - 0x2ed]
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.0057608a
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x310]
mov byte [ebp - 0x2ed], 0
mov dword [ecx], eax
jmp 0x562949