Function at 0x180054ed0
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 [0x180146748]
xor rax, rsp
mov qword [rbp + 0x6c0], rax
mov rdi, rcx
test rcx, rcx
je 0x18005505f
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180055066
call fcn.180068070
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8 + 0x10]
cmp al, 1
jne 0x18005505f
movdqa xmm0, xmmword [0x1800f5220]
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.18000c180
nop
movdqa xmm0, xmmword [0x1800f5220]
movdqu xmmword [rbp + 0x20], xmm0
mov byte [rbp + 0x10], 0
mov r8d, 3
lea rdx, [0x1800f4f90]
lea rcx, [rbp + 0x10]
call fcn.18000c180
nop
call fcn.180068070
mov rdi, rax
mov r9d, 0x106
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x28]
call fcn.180008390
mov rbx, rax
lea rdx, str.delete_directory_is_not_exist_
mov rcx, rax
call fcn.180009250
mov r8, qword [rdi]
mov rdx, rbx
mov rcx, rdi
call qword [r8 + 0x38]
nop
lea rcx, [rsp + 0x28]
call fcn.1800093c0
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x180055013
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005500e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180055260
call fcn.18008c16c
movdqa xmm0, xmmword [0x1800f5220]
movdqu xmmword [rbp + 0x20], xmm0
mov byte [rbp + 0x10], 0
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x18005505f
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005505a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005525a
call fcn.18008c16c
xor eax, eax
jmp 0x180055233
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x180055070
cmp rax, 3
jbe 0x18005505f
mov ebx, 1
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x2a0]
call fcn.1800bbd80
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x4b0]
call fcn.1800bbd80
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 0x1800550f1
test bl, al
je 0x1800550f1
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 0x180055228
lea rdx, [rbp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x18005521f
xor r14d, r14d
test byte [rbp + 0x50], 0x10
je 0x18005519a
cmp word [rbp + 0x7c], 0x2e
jne 0x180055155
movzx eax, word [rbp + 0x7e]
test ax, ax
je 0x18005520a
cmp ax, 0x2e
jne 0x180055155
cmp word [rbp + 0x80], r14w
je 0x18005520a
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x2a0]
call fcn.1800bbd80
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.180054ed0
and ebx, eax
jmp 0x18005520a
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x2a0]
call fcn.1800bbd80
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 0x1800551f7
test al, 1
je 0x1800551f7
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 0x180055127
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.18008c720
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.1800beee8
nop
call fcn.1800beee8
nop
int3