Function at 0x42bf10
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 0x4e368e
mov eax, dword fs:[0]
push eax
sub esp, 0x53c
mov eax, dword [0x51f524]
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, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x4ac], ebx
mov dword [ebp - 0x4a4], edi
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42c278
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.0048d040
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
add esp, 0xc
push dword [edi]
push eax
call esi
push 0x4f0d80
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x498]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x4a0], eax
cmp eax, 0xffffffff
je 0x42c185
test eax, eax
je 0x42c185
mov esi, eax
cmp word [ebp - 0x46c], 0x2e
mov ax, word [ebp - 0x46a]
jne 0x42bfda
test ax, ax
je 0x42c15b
cmp ax, 0x2e
jne 0x42bfee
cmp word [ebp - 0x468], 0
je 0x42c15b
mov eax, dword [edi]
mov dword [ebp - 4], 3
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x42c007
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x42c01b
call fcn.00409e40
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x42c29e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
or ebx, 1
mov dword [ebp - 0x4ac], ebx
lea esi, [eax + 0x10]
mov eax, dword [edi]
mov dword [ebp - 0x4a8], esi
mov dword [ebp - 0x4b0], eax
mov edi, dword [eax - 0xc]
lea ebx, [edi + 1]
test ebx, ebx
js 0x42c294
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x42c06d
push ebx
lea ecx, [ebp - 0x4a8]
call fcn.0040ac20
mov esi, dword [ebp - 0x4a8]
add edi, edi
push edi
push dword [ebp - 0x4b0]
push edi
push esi
call fcn.0042cf20
lea ecx, [edi + esi]
add esp, 0x10
test ecx, ecx
jne 0x42c099
call fcn.004976de
mov dword [eax], 0x16
call fcn.004975b8
jmp 0x42c0a2
mov ax, word [0x4ef6ec]
mov word [ecx], ax
cmp ebx, dword [esi - 8]
jg 0x42c294
xor eax, eax
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], ax
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x4a8]
push eax
lea eax, [ebp - 0x49c]
push eax
call fcn.00421c70
add esp, 0xc
mov ebx, dword [ebp - 0x4ac]
and ebx, 0xfffffffe
mov dword [ebp - 0x4ac], ebx
mov byte [ebp - 4], 5
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42c0fc
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test byte [ebp - 0x498], 0x10
je 0x42c122
lea eax, [ebp - 0x49c]
push eax
call fcn.0042bf10
add esp, 4
push dword [ebp - 0x49c]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x42c12e
push dword [ebp - 0x49c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x49c]
or eax, 0xffffffff
add edx, 0xfffffff0
mov dword [ebp - 4], eax
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42c14f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x4a0]
mov edi, dword [ebp - 0x4a4]
lea eax, [ebp - 0x498]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42bfc0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x42c278
call fcn.00456910
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42c278
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x50
push str.d:jenkins.jenkinsworkspacelib_commondumpuperdump_uperpopupcheckutils.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov ebx, eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.00414b50
push 3
push 0x4f0620
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.00414b50
mov byte [ebp - 4], 1
call fcn.00456910
mov edi, eax
lea ecx, [ebp - 0x548]
push 0x116
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.0040e920
mov esi, eax
push str.FindFirstFile_failed__error_code_
push esi
mov byte [ebp - 4], 2
call fcn.0040ff50
add esp, 8
mov ecx, esi
push ebx
call fcn.004170d0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x548]
call fcn.00410080
lea ecx, [ebp - 0x230]
call fcn.0040f4f0
lea ecx, [ebp - 0x248]
call fcn.0040f4f0
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.00466ab7
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00409b80
push 0x80004005
call fcn.00409b80
int3