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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61dda0
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x653af8]
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 + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push 0x4939c8
push eax
lea eax, [ebp - 0x1ac]
mov byte [ebp - 4], 1
push eax
call fcn.0050b760
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x50eb62
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x50eb2e
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
mov byte [ebp - 4], 2
cmp edx, 0x1000
jb 0x50eb24
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50ee6b
push edx
push ecx
call fcn.006024e7
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov eax, dword [ebp - 0x198]
mov byte [ebp - 4], 3
cmp eax, 0x10
jb 0x50eb84
inc eax
lea ecx, [ebp - 0x1ac]
push eax
push dword [ebp - 0x1ac]
call fcn.004c24c0
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x180]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
mov dword [ebp - 0x188], esi
cmp esi, 0xffffffff
je 0x50edbb
cmp byte [ebp - 0x154], 0x2e
je 0x50ed60
test edi, edi
je 0x50ebff
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x50ebff
lea eax, [ebp - 0x154]
mov ecx, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x50ebf2
test dl, dl
je 0x50ebee
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x50ebf2
add ecx, 2
add eax, 2
test dl, dl
jne 0x50ebd2
xor eax, eax
jmp 0x50ebf7
sbb eax, eax
or eax, 1
test eax, eax
je 0x50ed63
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 0x492e24
cmovae eax, dword [ebp - 0x40]
push dword [ebp - 0x18c]
mov dword [ebp - 0x30], 0
mov byte [eax], 0
lea eax, [ebp - 0x1c4]
push eax
call fcn.0050b760
add esp, 0xc
mov edx, eax
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 4
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x50ec40
sub ecx, esi
lea eax, [ebp - 0x154]
push ecx
push eax
mov ecx, edx
call fcn.004c2070
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [ebp - 0x2c]
movq qword [ebp - 0x194], xmm1
movups xmmword [ebp - 0x1a4], xmm0
cmp edx, 0x10
jb 0x50ecc7
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
mov byte [ebp - 4], 5
cmp edx, 0x1000
jb 0x50ecae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50ee6b
push edx
push ecx
call fcn.006024e7
movups xmm0, xmmword [ebp - 0x1a4]
add esp, 8
movq xmm1, qword [ebp - 0x194]
mov edx, dword [ebp - 0x1b0]
movq qword [ebp - 0x30], xmm1
mov byte [ebp - 4], 1
movups xmmword [ebp - 0x40], xmm0
cmp edx, 0x10
jb 0x50ed16
mov ecx, dword [ebp - 0x1c4]
inc edx
mov eax, ecx
mov byte [ebp - 4], 7
cmp edx, 0x1000
jb 0x50ed08
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50ee6b
push edx
push ecx
call fcn.006024e7
add esp, 8
mov byte [ebp - 4], 1
test byte [ebp - 0x180], 0x10
je 0x50ed4c
mov esi, dword [ebp + 0x10]
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x40]
push edi
push eax
call fcn.0050ea70
add esp, 0xc
test al, al
jne 0x50ed63
push dword [ebp - 0x188]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 0x181], 0
jmp 0x50edc2
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.005109e0
add esp, 4
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x180]
push eax
push dword [ebp - 0x188]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x50ebb2
push dword [ebp - 0x188]
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x50edb2
test esi, esi
je 0x50edbb
mov eax, dword [ebp - 0x18c]
cmp dword [eax + 0x14], 0x10
jb 0x50eda7
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x50edbb
mov byte [ebp - 0x181], 0
jmp 0x50edc2
mov byte [ebp - 0x181], 1
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x50edfa
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
mov byte [ebp - 4], 0xe
cmp edx, 0x1000
jb 0x50edf0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50ee70
push edx
push ecx
call fcn.006024e7
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x50ee4a
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
mov dword [ebp - 4], 0xf
cmp edx, 0x1000
jb 0x50ee40
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50ee70
push edx
push ecx
call fcn.006024e7
add esp, 8
mov al, byte [ebp - 0x181]
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.00602a00
mov esp, ebp
pop ebp
ret
call fcn.0053accc
call fcn.0053accc
int3