Function at 0x459f80
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d284
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c4
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x5d1ee0]
cmp eax, dword [ecx + 4]
jle 0x45a03a
push 0x5d1ee0
call fcn.0054daa0
add esp, 4
cmp dword [0x5d1ee0], 0xffffffff
jne 0x45a03a
mov byte [ebp - 4], 1
call fcn.0042efe0
mov ecx, eax
test ecx, ecx
je 0x45a35a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [0x5d1ee4], eax
push 0x59e0f0
mov ecx, 0x5d1ee4
mov byte [ebp - 4], 2
call fcn.0042f250
test al, al
jne 0x45a01c
push 2
push 0x59e0f0
mov ecx, 0x5d1ee4
call fcn.0042f580
push 0x5820e0
call fcn.0054d9ec
add esp, 4
mov byte [ebp - 4], 0
push 0x5d1ee0
call fcn.0054da4f
add esp, 4
push 0x5d1ee4
lea edx, [ebp + 8]
lea ecx, [ebp - 0x28]
call fcn.0041fbd0
add esp, 4
push 0
push 0
push 0
lea eax, [ebp - 0x2cc]
mov byte [ebp - 4], 3
push eax
push 1
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
or ebx, 0xffffffff
mov dword [ebp - 0x24], eax
cmp eax, ebx
jne 0x45a091
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x45a085
xor esi, esi
jmp 0x45a315
mov eax, dword [ebp - 0x24]
cmp eax, 0xffffffff
je 0x45a2ff
lea eax, [ebp - 0x24]
mov dword [ebp - 0x7c], vtable.std::_Func_impl_no_alloc_class__lambda_4e7423bc63e9e87dfba09c59968c7160___void___.0
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x1c], eax
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 5
call fcn.0045bef0
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x30], eax
test ecx, ecx
je 0x45a0d8
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x7c]
cmp ecx, eax
setne al
push eax
call edx
mov byte [ebp - 4], 6
nop dword [eax]
cmp word [ebp - 0x2a0], 0x2e
je 0x45a264
mov eax, dword [ebp - 0x2cc]
and eax, 0x410
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x45a10f
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x45a11b
call fcn.0042efe0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov byte [ebp - 4], 8
test eax, eax
je 0x45a35a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
mov byte [ebp - 4], 7
or edi, 1
mov edx, dword [ebp + 8]
mov dword [ebp - 0x14], edi
lea esi, [eax + 0x10]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x20], esi
mov edi, dword [edx - 0xc]
lea ebx, [edi + 1]
test ebx, ebx
js 0x45a364
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, ebx
or eax, ecx
jge 0x45a172
push ebx
lea ecx, [ebp - 0x20]
call fcn.0042f4e0
mov esi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x2c]
add edi, edi
je 0x45a1a6
test esi, esi
je 0x45a196
push edi
test edx, edx
je 0x45a18b
push edx
push esi
call fcn.0054f360
add esp, 0xc
jmp 0x45a1a6
push 0
push esi
call fcn.0054f8e0
add esp, 0xc
call fcn.00552afd
mov dword [eax], 0x16
call fcn.005529ff
lea eax, [edi + esi]
test eax, eax
jne 0x45a1bf
call fcn.00552afd
mov dword [eax], 0x16
call fcn.005529ff
jmp 0x45a1c7
mov ecx, 0x5c
mov word [eax], cx
cmp ebx, dword [esi - 8]
lea edi, [esi - 0x10]
jg 0x45a364
xor eax, eax
mov dword [edi + 4], ebx
mov word [esi + ebx*2], ax
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x2a0]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041fb10
add esp, 4
and dword [ebp - 0x14], 0xfffffffe
or ebx, 0xffffffff
mov byte [ebp - 4], 0xa
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x45a210
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x1c], 0
je 0x45a236
push ecx
mov esi, esp
mov dword [ebp - 0x1c], esi
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.0042e8d0
add eax, 0x10
mov dword [esi], eax
call fcn.00459f80
add esp, 4
jmp 0x45a243
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x45a2b7
mov byte [ebp - 4], 6
mov eax, ebx
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45a261
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x2cc]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45a0e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x45a2d3
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x45a36e
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x45a30c
mov edx, dword [ecx]
lea eax, [ebp - 0x54]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
xor esi, esi
jmp 0x45a315
mov edx, dword [ebp - 0x18]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45a287
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x45a287
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x45a36e
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x45a2ff
mov edx, dword [ecx]
lea eax, [ebp - 0x54]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x45a310
xor esi, esi
jmp 0x45a315
mov esi, 1
mov edx, dword [ebp - 0x28]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45a32f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x45a347
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0042f560
push 0x80070057
call fcn.0042f560
call fcn.005374ac
int3