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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c29fc
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x4f5108]
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 eax, dword [ecx]
sub eax, 0x10
push eax
call fcn.004043f0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x264], eax
lea ecx, [ebp - 0x264]
mov dword [ebp - 4], 0
call fcn.0045bf90
mov ecx, eax
call fcn.0045bee0
mov eax, dword [ebp - 0x264]
or ebx, 0xffffffff
cmp dword [eax - 0xc], 0
jne 0x45b784
xor edi, edi
jmp 0x45b9ea
push 1
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x264]
call fcn.00455d60
mov byte [ebp - 4], 1
mov ecx, 0x4db5a0
mov esi, dword [ebp - 0x26c]
mov eax, esi
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45b7d6
test dx, dx
je 0x45b7d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45b7d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x45b7b0
xor eax, eax
jmp 0x45b7db
sbb eax, eax
or eax, 1
test eax, eax
setne al
test al, al
je 0x45b808
lea edx, [ebp - 0x26c]
mov ecx, 0x4e0b74
call fcn.0045bd30
test al, al
je 0x45b808
push 0x4db5a0
lea ecx, [ebp - 0x264]
call fcn.00429620
push dword [ebp - 0x264]
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
je 0x45b81f
xor edi, edi
jmp 0x45b9cf
push 0x4dbe64
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.00417100
add esp, 0xc
lea ecx, [ebp - 0x260]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [ebp - 0x270]
mov edi, eax
mov dword [ebp - 0x278], edi
add edx, 0xfffffff0
mov ecx, ebx
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x45b86e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp edi, 0xffffffff
je 0x45b9c1
nop word [eax + eax]
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x268]
call fcn.00404260
mov byte [ebp - 4], 2
mov edx, 0x4d9378
mov eax, dword [ebp - 0x268]
mov ecx, eax
mov di, word [ecx]
cmp di, word [edx]
jne 0x45b8c9
test di, di
je 0x45b8c5
mov di, word [ecx + 2]
cmp di, word [edx + 2]
jne 0x45b8c9
add ecx, 4
add edx, 4
test di, di
jne 0x45b8a3
xor ecx, ecx
jmp 0x45b8ce
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x45b983
mov edx, 0x4db584
mov ecx, eax
nop dword [eax]
mov di, word [ecx]
cmp di, word [edx]
jne 0x45b906
test di, di
je 0x45b902
mov di, word [ecx + 2]
cmp di, word [edx + 2]
jne 0x45b906
add ecx, 4
add edx, 4
test di, di
jne 0x45b8e0
xor ecx, ecx
jmp 0x45b90b
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x45b983
lea eax, [ebp - 0x268]
push eax
lea edx, [ebp - 0x264]
lea ecx, [ebp - 0x274]
call fcn.004171d0
add esp, 4
push eax
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 3
call fcn.00401fe0
mov byte [ebp - 4], 2
mov eax, ebx
mov edx, dword [ebp - 0x274]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45b95b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test byte [ebp - 0x260], 0x10
je 0x45b971
lea ecx, [ebp - 0x268]
call fcn.0045b710
jmp 0x45b97d
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x268]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 1
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45b99e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x278]
lea eax, [ebp - 0x260]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45b880
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edi, eax
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov ecx, ebx
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x45b9ea
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x264]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x45ba0c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
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.00479b70
mov esp, ebp
pop ebp
ret