Function at 0x140026cd0
Capabilities:
Set file attributes

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0x100
mov rax, qword [0x1400981e8]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rsi, qword [rcx + 8]
test rsi, rsi
je 0x140026f30
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x128], rbx
test rcx, rcx
je 0x140026d2b
mov eax, dword [rcx]
test eax, eax
je 0x140026d2b
cmp eax, 1
je 0x140026dfe
mov eax, dword [rcx + 4]
add rcx, 8
add rcx, rax
mov eax, dword [rcx]
test eax, eax
jne 0x140026d12
mov edi, 0xffffffff
mov ebx, edi
test rdx, rdx
je 0x140026ded
cmp r8, 0x20
jne 0x140026ded
cmp dword [rdx], 0x4957494e
jne 0x140026ded
mov rax, qword [rdx + 4]
lea r8d, [rbx + 4]
mov qword [rbp - 0x41], rax
xor edi, edi
mov rax, qword [rdx + 0xc]
xor r9d, r9d
mov qword [rbp - 0x51], rax
mov rcx, rsi
mov rax, qword [rdx + 0x14]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x130], r14
mov qword [rsp + 0x138], r15
mov r15d, dword [rdx + 0x1c]
mov edx, 0x100
mov dword [rsp + 0x28], 0x80
mov qword [rbp - 0x49], rax
mov dword [rsp + 0x20], 3
call qword [0x140098130]
mov r14, rax
test rax, rax
je 0x140026ddd
lea r9, [rbp - 0x51]
mov rcx, rax
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x41]
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov rcx, r14
call qword [0x140098118]
mov edx, r15d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ebx, edi
mov r15, qword [rsp + 0x138]
mov r14, qword [rsp + 0x130]
mov edi, ebx
mov eax, ebx
mov rbx, qword [rsp + 0x128]
jmp 0x140026f3f
xor edi, edi
mov qword [rbp + 0x2f], rdi
mov dword [rbp + 0x3b], edi
test rdx, rdx
je 0x140026ecf
cmp r8, 0x20
jne 0x140026ecf
cmp dword [rdx], 0x4957494e
jne 0x140026ecf
mov rax, qword [rdx + 4]
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x17], rax
mov rax, qword [rdx + 0xc]
mov qword [rbp + 0x27], rax
mov rax, qword [rdx + 0x14]
mov qword [rbp + 0x1f], rax
mov eax, dword [rdx + 0x1c]
mov rdx, rsi
mov dword [rbp + 0x37], eax
call qword [0x140098040]
mov dword [rsp + 0x50], edi
lea rax, [rbp - 0x39]
mov qword [rsp + 0x48], rdi
lea r9, [rbp - 0x29]
mov dword [rsp + 0x40], 0x20
lea r8, [rbp - 0x19]
mov dword [rsp + 0x38], 1
lea rcx, [rbp - 0x59]
mov dword [rsp + 0x30], 7
xorps xmm0, xmm0
mov dword [rsp + 0x28], 0x80
mov edx, 0x100180
mov qword [rsp + 0x20], rdi
mov dword [rbp - 0x19], 0x30
mov qword [rbp - 0x11], rdi
mov dword [rbp - 1], 0x40
mov qword [rbp - 9], rax
movdqu xmmword [rbp + 7], xmm0
call qword [0x140098008]
test eax, eax
jns 0x140026ee0
lfence
mov ecx, eax
call qword [0x140098038]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsp + 0x128]
mov edi, 0xffffffff
mov eax, edi
jmp 0x140026f3f
mov rcx, qword [rbp - 0x59]
lea r8, [rbp + 0x17]
mov r9d, 0x28
mov dword [rsp + 0x20], 4
lea rdx, [rbp - 0x29]
call qword [0x140098030]
mov ecx, eax
mov ebx, eax
call qword [0x140098038]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbp - 0x59]
call qword [section..data]
test ebx, ebx
mov rbx, qword [rsp + 0x128]
setns dil
dec edi
mov eax, edi
jmp 0x140026f3f
mov ecx, 0xb
call fcn.14003d1c0
mov eax, 0xffffffff
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1400498a0
add rsp, 0x100
pop rdi
pop rsi
pop rbp
ret