Function at 0x18006b600
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 [0x180168908]
xor rax, rsp
mov qword [rbp + 0x6c0], rax
mov rdi, rcx
test rcx, rcx
je 0x18006b78f
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18006b796
call fcn.18007dd60
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8 + 0x10]
cmp al, 1
jne 0x18006b78f
movdqa xmm0, xmmword [0x1801106e0]
movdqu xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x30], 0
mov r8d, 0x5d
lea rdx, str.d:jenkins.jenkinsworkspacelib_commoncomputerz12_grab_versionhookhomepage_1145utils.cpp
lea rcx, [rbp + 0x30]
call fcn.18000a3d0
nop
movdqa xmm0, xmmword [0x1801106e0]
movdqu xmmword [rbp + 0x20], xmm0
mov byte [rbp + 0x10], 0
mov r8d, 3
lea rdx, [0x180112978]
lea rcx, [rbp + 0x10]
call fcn.18000a3d0
nop
call fcn.18007dd60
mov rdi, rax
mov r9d, 0x14c
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x28]
call fcn.18000dda0
mov rbx, rax
lea rdx, str.delete_directory_is_not_exist_
mov rcx, rax
call fcn.18000f150
mov r8, qword [rdi]
mov rdx, rbx
mov rcx, rdi
call qword [r8 + 0x38]
nop
lea rcx, [rsp + 0x28]
call fcn.18000f5c0
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x18006b743
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006b73e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18006b990
call fcn.1800a4c5c
movdqa xmm0, xmmword [0x1801106e0]
movdqu xmmword [rbp + 0x20], xmm0
mov byte [rbp + 0x10], 0
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x18006b78f
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006b78a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18006b98a
call fcn.1800a4c5c
xor eax, eax
jmp 0x18006b963
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x18006b7a0
cmp rax, 3
jbe 0x18006b78f
mov ebx, 1
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x2a0]
call fcn.1800d4600
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x4b0]
call fcn.1800d4600
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 0x18006b821
test bl, al
je 0x18006b821
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 0x18006b958
lea rdx, [rbp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x18006b94f
xor r14d, r14d
test byte [rbp + 0x50], 0x10
je 0x18006b8ca
cmp word [rbp + 0x7c], 0x2e
jne 0x18006b885
movzx eax, word [rbp + 0x7e]
test ax, ax
je 0x18006b93a
cmp ax, 0x2e
jne 0x18006b885
cmp word [rbp + 0x80], r14w
je 0x18006b93a
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x2a0]
call fcn.1800d4600
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.18006b600
and ebx, eax
jmp 0x18006b93a
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x2a0]
call fcn.1800d4600
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 0x18006b927
test al, 1
je 0x18006b927
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 0x18006b857
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.1800a5130
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.1800d79f8
nop
call fcn.1800d79f8
nop
int3