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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58e268
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x608190]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
call fcn.0042ee40
add esp, 4
mov dword [ebp - 0x2dc], eax
mov ecx, dword [ebp - 0x2dc]
mov dword [ebp - 0x2cc], ecx
cmp dword [ebp - 0x2cc], 0
je 0x42f642
cmp dword [ebp - 0x2cc], 1
je 0x42f644
jmp 0x42f658
jmp 0x42f65d
mov ecx, dword [ebp + 8]
call fcn.0042e3d0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x42f8cd
jmp 0x42f8cd
push 0x5e15b0
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.00431120
add esp, 0xc
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2a8]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0042e3d0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2bc], eax
cmp dword [ebp - 0x2bc], 0xffffffff
jne 0x42f6b2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0042d070
jmp 0x42f8cd
mov dword [ebp - 0x2b8], 0x5e15bc
lea edx, [ebp - 0x27c]
mov dword [ebp - 0x2b4], edx
mov eax, dword [ebp - 0x2b4]
mov cx, word [eax]
mov word [ebp - 0x2c2], cx
mov edx, dword [ebp - 0x2b8]
cmp cx, word [edx]
jne 0x42f72e
cmp word [ebp - 0x2c2], 0
je 0x42f722
mov eax, dword [ebp - 0x2b4]
mov cx, word [eax + 2]
mov word [ebp - 0x2c4], cx
mov edx, dword [ebp - 0x2b8]
cmp cx, word [edx + 2]
jne 0x42f72e
add dword [ebp - 0x2b4], 4
add dword [ebp - 0x2b8], 4
cmp word [ebp - 0x2c4], 0
jne 0x42f6c8
mov dword [ebp - 0x2c8], 0
jmp 0x42f739
sbb eax, eax
or eax, 1
mov dword [ebp - 0x2c8], eax
mov ecx, dword [ebp - 0x2c8]
mov dword [ebp - 0x2e4], ecx
cmp dword [ebp - 0x2e4], 0
je 0x42f886
mov dword [ebp - 0x2b0], 0x5e15c0
lea edx, [ebp - 0x27c]
mov dword [ebp - 0x2ac], edx
mov eax, dword [ebp - 0x2ac]
mov cx, word [eax]
mov word [ebp - 0x2be], cx
mov edx, dword [ebp - 0x2b0]
cmp cx, word [edx]
jne 0x42f7ce
cmp word [ebp - 0x2be], 0
je 0x42f7c2
mov eax, dword [ebp - 0x2ac]
mov cx, word [eax + 2]
mov word [ebp - 0x2c0], cx
mov edx, dword [ebp - 0x2b0]
cmp cx, word [edx + 2]
jne 0x42f7ce
add dword [ebp - 0x2ac], 4
add dword [ebp - 0x2b0], 4
cmp word [ebp - 0x2c0], 0
jne 0x42f768
mov dword [ebp - 0x2d0], 0
jmp 0x42f7d9
sbb eax, eax
or eax, 1
mov dword [ebp - 0x2d0], eax
mov ecx, dword [ebp - 0x2d0]
mov dword [ebp - 0x2d4], ecx
cmp dword [ebp - 0x2d4], 0
je 0x42f886
push 0x5e15c8
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x58]
push eax
call fcn.00431120
add esp, 0xc
mov dword [ebp - 0x2e0], eax
mov ecx, dword [ebp - 0x2e0]
mov dword [ebp - 0x2d8], ecx
mov byte [ebp - 4], 1
lea edx, [ebp - 0x27c]
push edx
mov eax, dword [ebp - 0x2d8]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.004311e0
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.0042d070
mov edx, dword [ebp - 0x2a8]
and edx, 0x10
je 0x42f86b
lea eax, [ebp - 0x28]
push eax
call fcn.0042f5e0
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.0042e3d0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x42f87a
lea ecx, [ebp - 0x28]
call fcn.0042e3d0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0042d070
lea ecx, [ebp - 0x2a8]
push ecx
mov edx, dword [ebp - 0x2bc]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42f6b2
mov eax, dword [ebp - 0x2bc]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 8]
call fcn.0042e3d0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0042d070
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00558807
mov esp, ebp
pop ebp
ret