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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51d7a8
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x55d184]
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 dword [ebp - 0x2b0], ecx
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x58]
call fcn.0040b9c0
push 3
push 0x526054
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.0040b840
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x2a8]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
mov dword [ebp - 0x2b4], ebx
cmp ebx, 0xffffffff
je 0x40c161
mov esi, 0xa
nop dword [eax]
lea eax, [ebp - 0x2a8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x40c161
cmp word [ebp - 0x27c], 0x2e
je 0x40bf40
mov ax, word [ebp - 0x27a]
test ax, ax
je 0x40bf40
cmp ax, 0x2e
jne 0x40bf7c
cmp word [ebp - 0x278], 0
je 0x40bf40
xor eax, eax
mov dword [ebp - 0x18], 0
lea edi, [ebp - 0x27c]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ecx, [edi + 2]
nop dword [eax]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x40bfa0
sub edi, ecx
sar edi, 1
cmp edi, 7
ja 0x40bfe0
lea esi, [edi + edi]
mov dword [ebp - 0x18], edi
push esi
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004cb5f0
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x28], ax
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
jmp 0x40c043
cmp edi, 0x7ffffffe
ja 0x40c1f0
mov ebx, edi
or ebx, 7
cmp ebx, 0x7ffffffe
jbe 0x40c000
mov ebx, SysReAllocString
jmp 0x40c006
cmp ebx, 0xa
cmovb ebx, esi
lea eax, [ebx + 1]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040ae10
lea esi, [edi + edi]
mov dword [ebp - 0x2ac], eax
push esi
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x18], edi
push ecx
push eax
mov dword [ebp - 0x14], ebx
call fcn.004cb070
mov eax, dword [ebp - 0x2ac]
add esp, 0xc
xor ecx, ecx
mov word [eax + esi], cx
mov esi, eax
mov dword [ebp - 0x28], esi
test byte [ebp - 0x2a8], 0x10
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
push eax
je 0x40c09d
call fcn.0040b9c0
cmp ebx, 8
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
cmovae eax, esi
lea ecx, [ebp - 0x40]
push edi
push eax
call fcn.0040b840
push 1
push 0x525b5c
lea ecx, [ebp - 0x40]
call fcn.0040b840
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.0040b9c0
mov ecx, dword [ebp - 0x2b0]
call fcn.0040beb0
jmp 0x40c0da
call fcn.0040b9c0
cmp ebx, 8
mov byte [ebp - 4], 4
lea eax, [ebp - 0x28]
cmovae eax, esi
lea ecx, [ebp - 0x40]
push edi
push eax
call fcn.0040b840
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.0040ba50
mov ecx, dword [ebp - 0x2b0]
call fcn.0040c200
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x40c118
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c10e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c1f5
push edx
push ecx
call fcn.0049bb5c
add esp, 8
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x40c156
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c14c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c1f5
push edx
push ecx
call fcn.0049bb5c
add esp, 8
mov ebx, dword [ebp - 0x2b4]
jmp 0x40bf34
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x40c194
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 4
cmovae eax, dword [ebp + 8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x58]
call fcn.00408700
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x40c1d2
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c1c8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c1f5
push edx
push ecx
call fcn.0049bb5c
add esp, 8
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.0049be04
mov esp, ebp
pop ebp
ret 0x18
call fcn.004072f0
call fcn.004cf6b9
int3