Function at 0x1400ad750
Capabilities:
Set file attributes

Disassembly:
push rdi
sub rsp, 0x80
mov rdi, rcx
mov rcx, qword [rcx + 0x10c30]
call fcn.140149ff0
cmp dword [rdi + 0x20], 0
jne 0x1400ada12
mov qword [rsp + 0x78], rbx
lea r9, [rsp + 0x40]
mov qword [rsp + 0x70], rbp
lea r8, [rsp + 0xa8]
mov qword [rsp + 0x68], rsi
lea rdx, [rsp + 0xa0]
mov qword [rsp + 0x60], r12
mov rcx, rdi
mov qword [rsp + 0x58], r14
call fcn.1400ad5c0
xor r12d, r12d
lea rcx, [rdi + 0x10c5c]
mov qword [rsp + 0x30], r12
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0x40000000
mov ebp, eax
mov dword [rsp + 0x20], 3
lea r8d, [r12 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rcx, qword [rdi + 0xb00]
mov rsi, rax
mov edx, dword [rcx + 0x14]
test dl, 0x5f
je 0x1400ad836
and edx, 0x7f
lea rcx, [rdi + 0x10c5c]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x1400ad836
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str._nwarning___d_:_could_not_set_file_attributes_n
lea rcx, [rdi + 0xb08]
call fcn.1400ab2e0
mov r8d, eax
lea r9d, [r12 + 1]
lea rdx, [rdi + 0xb08]
mov rcx, rdi
call qword [rdi + 0x10df0]
mov rdx, qword [rdi + 0x10b60]
test rdx, rdx
je 0x1400ad945
movzx r8d, word [rdi + 0x10b88]
lea rax, [rsp + 0x90]
lea r9, [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov rcx, rdi
call fcn.1400ad2c0
test eax, eax
je 0x1400ad945
mov rax, qword [rdi + 0xb00]
lea rdx, [rdi + 0x10c5c]
mov r9, qword [rsp + 0x98]
mov rcx, rdi
mov qword [rsp + 0x50], r15
mov r15d, dword [rsp + 0x90]
mov r8d, dword [rax + 0x14]
mov dword [rsp + 0x20], r15d
call fcn.1400ad020
cmp eax, 0x4f
jne 0x1400ad940
mov eax, dword [rdi + 0x44]
test eax, eax
je 0x1400ad8fc
lea rdx, [rdi + 0x8b08]
lea rcx, [rdi + 0x10c5c]
call fcn.1400b9120
mov r8, rax
lea rdx, [0x1401d2dac]
lea rcx, [rdi + 0xb08]
call fcn.1400ab2e0
mov r8d, eax
lea rdx, [rdi + 0xb08]
mov r9d, 1
mov rcx, rdi
call qword [rdi + 0x10df0]
mov eax, dword [rdi + 0x44]
test eax, eax
lea rcx, [0x1401c4284]
lea r9, [0x14019526c]
cmovne r9, rcx
lea r8d, [r15 - 0xb]
lea rcx, [rdi + 0xb08]
lea rdx, str._compressed_WinNT_security_data_missing___d_bytes__s
call fcn.1400ab2e0
mov r8d, eax
lea rdx, [rdi + 0xb08]
mov r9d, 1
mov rcx, rdi
call qword [rdi + 0x10df0]
mov r15, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
cmp rsi, 0xffffffffffffffff
jne 0x1400ad985
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str._nCreateFile___error__d_when_trying_set_file_time_n
lea rcx, [rdi + 0xb08]
call fcn.1400ab2e0
mov r8d, eax
lea r9d, [rsi + 2]
lea rdx, [rdi + 0xb08]
mov rcx, rdi
call qword [rdi + 0x10df0]
jmp 0x1400ad9fe
test ebp, ebp
je 0x1400ad9f5
test bpl, 1
lea r9, [rsp + 0xa0]
lea r8, [rsp + 0xa8]
mov rcx, rsi
cmove r9, r12
lea rdx, [rsp + 0x40]
test bpl, 2
cmove r8, r12
test bpl, 4
cmove rdx, r12
call qword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x1400ad9f5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str._nSetFileTime_failed:__d_n
lea rcx, [rdi + 0xb08]
call fcn.1400ab2e0
mov r8d, eax
lea rdx, [rdi + 0xb08]
xor r9d, r9d
mov rcx, rdi
call qword [rdi + 0x10df0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
mov r12, qword [rsp + 0x60]
add rsp, 0x80
pop rdi
ret