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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6bc66b
mov eax, dword fs:[0]
push eax
sub esp, 0x30c
mov eax, dword [0x78efc4]
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 edi, ecx
call fcn.004df010
cmp eax, 2
je 0x4e0b91
mov al, 1
jmp 0x4e10f1
push 8
mov dword [ebp - 0x2f0], 0
mov dword [ebp - 0x2ec], 0
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2e4], 0
mov dword [ebp - 0x2e0], 0
call fcn.00677616
lea ecx, [ebp - 0x2f0]
mov dword [eax + 4], 0
mov dword [ebp - 0x2f0], eax
mov dword [eax], ecx
sub esp, 0x14
mov dword [ebp - 4], 0
mov ecx, esp
mov dword [ecx], 0
push 3
push 0x7519d8
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov byte [ebp - 4], 0
call fcn.0044d800
mov edx, edi
lea ecx, [ebp - 0x40]
call fcn.004e06e0
push 0x250
lea eax, [ebp - 0x2d8]
push 0
push eax
call fcn.00679eb0
add esp, 0x24
lea ecx, [ebp - 0x2d8]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [sym.imp.KERNEL32.dll_FindClose]
xor esi, esi
mov dword [ebp - 0x2f4], esi
mov dword [ebp - 0x88], eax
test ecx, ecx
je 0x4e0cbb
mov dword [ebp - 0x314], ecx
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x318]
mov dword [ebp - method.std::_Func_impl_no_alloc_int____stdcall___void____bool__void__.virtual_0], vtable.std::_Func_impl_no_alloc_int____stdcall___void____bool__void__.0
mov dword [ebp - 0x2f4], ecx
mov dword [ebp - 0x5c], esi
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov esi, dword [ebp - 0x2f4]
mov ecx, eax
mov dword [ebp - 0x5c], ecx
test esi, esi
je 0x4e0cc0
mov eax, dword [esi]
mov ecx, esi
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x318]
cmp esi, eax
setne al
push eax
call edx
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x2f4], 0
jmp 0x4e0cc0
xor ecx, ecx
mov dword [ebp - 0x5c], ecx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x4e0f75
cmp eax, 0xffffffff
je 0x4e0f75
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp dword [0x79101c], 8
lea ecx, [ebp - 0x2ac]
mov eax, 0x791008
cmovae eax, dword [0x791008]
nop word [eax + eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4e0d26
test dx, dx
je 0x4e0d22
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4e0d26
add ecx, 4
add eax, 4
test dx, dx
jne 0x4e0d00
xor eax, eax
jmp 0x4e0d2b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4e0e4e
cmp dword [0x791004], 8
lea ecx, [ebp - 0x2ac]
mov eax, 0x790ff0
cmovae eax, dword [0x790ff0]
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4e0d76
test dx, dx
je 0x4e0d72
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4e0d76
add ecx, 4
add eax, 4
test dx, dx
jne 0x4e0d50
xor eax, eax
jmp 0x4e0d7b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4e0e4e
sub esp, 0x18
mov edx, esp
mov dword [edx], 0
lea ecx, [ebp - 0x2ac]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
lea esi, [ecx + 2]
mov byte [ebp - 4], 3
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e0db0
sub ecx, esi
lea eax, [ebp - 0x2ac]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.0044d800
mov edx, edi
lea ecx, [ebp - 0x28]
call fcn.004e06e0
add esp, 0x18
mov byte [ebp - 4], 5
lea eax, [ebp - 0x28]
test byte [ebp - 0x2d8], 0x10
je 0x4e0df9
push eax
lea ecx, [ebp - 0x2f0]
call fcn.004e4170
jmp 0x4e0e10
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4e0eb1
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4e0e4e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e0e44
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e1112
push edx
push ecx
call fcn.006779b1
add esp, 8
lea eax, [ebp - 0x2d8]
push eax
push dword [ebp - 0x88]
call ebx
test eax, eax
jne 0x4e0ce1
lea ecx, [ebp - 0x88]
call fcn.00537920
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4e1004
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e0ffa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e110d
jmp 0x4e0ffa
call fcn.004486f0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x58]
call fcn.00531420
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
push str.Unable_to_remove_file__0_._Error:__1
push 2
call fcn.00454910
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x4e0f20
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e0f16
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e1112
push edx
push ecx
call fcn.006779b1
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4e0f5e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e0f54
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e1112
push edx
push ecx
call fcn.006779b1
add esp, 8
mov ecx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x4e0fa1
cmp eax, 0xffffffff
je 0x4e0fa1
test ecx, ecx
je 0x4e0fbd
mov dword [ebp - 0x2dc], eax
lea edx, [ebp - 0x2dc]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
je 0x4e0fbd
mov edx, dword [ecx]
lea eax, [ebp - 0x80]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x5c], 0
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4e10e2
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e10d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e1112
jmp 0x4e10d8
push edx
push ecx
call fcn.006779b1
add esp, 8
cmp dword [ebp - 0x2e0], 0
je 0x4e1063
nop dword [eax]
lea ecx, [ebp - 0x2f0]
call fcn.004e4550
mov ecx, eax
call fcn.004e0b50
test al, al
je 0x4e10e2
mov eax, dword [ebp - 0x2e4]
mov ecx, dword [ebp - 0x2e0]
dec eax
mov edx, dword [ebp - 0x2e8]
add ecx, eax
mov eax, dword [ebp - 0x2ec]
dec edx
and edx, ecx
mov ecx, dword [eax + edx*4]
call fcn.0044d7a0
sub dword [ebp - 0x2e0], 1
jne 0x4e1010
mov dword [ebp - 0x2e4], 0
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4e106d
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4e10d4
call fcn.004486f0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x58]
call fcn.00531420
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 8
push eax
push edi
push str.Unable_to_remove_directory__0_._Error:__1
push 2
mov ecx, esi
call fcn.00454910
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x4e10e2
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e10d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e1117
jmp 0x4e10d8
mov bl, 1
jmp 0x4e10e4
push edx
push ecx
call fcn.006779b1
add esp, 8
xor bl, bl
lea ecx, [ebp - 0x2f0]
call fcn.004e41e0
mov al, bl
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.006773ff
mov esp, ebp
pop ebp
ret
call fcn.00682da2
call fcn.00682da2
call fcn.00682da2
int3