Function at 0x18005b7c0
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x6e8]
sub rsp, 0x7d0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1801548a8]
xor rax, rsp
mov qword [rbp + 0x6c0], rax
mov rdi, rcx
test rcx, rcx
je 0x18005b94f
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18005b956
call fcn.18006eac0
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8 + 0x10]
cmp al, 1
jne 0x18005b94f
movdqa xmm0, xmmword [0x180100240]
movdqu xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x30], 0
mov r8d, 0x52
lea rdx, str.d:jenkins.jenkinsworkspacelib_commoncomputerz12hookhomepage_normalutils.cpp
lea rcx, [rbp + 0x30]
call fcn.18000c340
nop
movdqa xmm0, xmmword [0x180100240]
movdqu xmmword [rbp + 0x20], xmm0
mov byte [rbp + 0x10], 0
mov r8d, 3
lea rdx, [0x1800fffb0]
lea rcx, [rbp + 0x10]
call fcn.18000c340
nop
call fcn.18006eac0
mov rdi, rax
mov r9d, 0x106
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x28]
call fcn.180008550
mov rbx, rax
lea rdx, str.delete_directory_is_not_exist_
mov rcx, rax
call fcn.180009410
mov r8, qword [rdi]
mov rdx, rbx
mov rcx, rdi
call qword [r8 + 0x38]
nop
lea rcx, [rsp + 0x28]
call fcn.180009580
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x18005b903
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005b8fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005bb50
call fcn.1800965cc
movdqa xmm0, xmmword [0x180100240]
movdqu xmmword [rbp + 0x20], xmm0
mov byte [rbp + 0x10], 0
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x18005b94f
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005b94a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005bb4a
call fcn.1800965cc
xor eax, eax
jmp 0x18005bb23
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x18005b960
cmp rax, 3
jbe 0x18005b94f
mov ebx, 1
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x2a0]
call fcn.1800c61d0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x4b0]
call fcn.1800c61d0
mov rdx, rdi
lea rcx, [rbp + 0x4b0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, str..
lea rcx, [rbp + 0x4b0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x18005b9e1
test bl, al
je 0x18005b9e1
and eax, 0xfffffffe
mov edx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x4b0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x18005bb18
lea rdx, [rbp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x18005bb0f
xor r14d, r14d
test byte [rbp + 0x50], 0x10
je 0x18005ba8a
cmp word [rbp + 0x7c], 0x2e
jne 0x18005ba45
movzx eax, word [rbp + 0x7e]
test ax, ax
je 0x18005bafa
cmp ax, 0x2e
jne 0x18005ba45
cmp word [rbp + 0x80], r14w
je 0x18005bafa
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x2a0]
call fcn.1800c61d0
mov rdx, rdi
lea rcx, [rbp + 0x2a0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, [rbp + 0x7c]
lea rcx, [rbp + 0x2a0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rbp + 0x2a0]
call fcn.18005b7c0
and ebx, eax
jmp 0x18005bafa
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x2a0]
call fcn.1800c61d0
mov rdx, rdi
lea rcx, [rbp + 0x2a0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, [rbp + 0x7c]
lea rcx, [rbp + 0x2a0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rbp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x18005bae7
test al, 1
je 0x18005bae7
and eax, 0xfffffffe
mov edx, eax
lea rcx, [rbp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rbp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
cmove ebx, r14d
lea rdx, [rbp + 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x18005ba17
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
and eax, ebx
mov rcx, qword [rbp + 0x6c0]
xor rcx, rsp
call fcn.180096b80
lea r11, [rsp + 0x7d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1800c9338
nop
call fcn.1800c9338
nop
int3