Function at 0x1400c6f0b
Capabilities:
Get file attributes

Disassembly:
jmp 0x1400d6e80
mov byte [rsp + 0x20], r9b
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
mov rax, qword [0x1402b1058]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x1402ce2dc]
call fcn.1400c7735
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, qword [rbp + 0x140]
mov qword [rcx + 0x50], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, qword [rbp + 0x140]
mov qword [rcx + 0x20], rax
mov dword [rbp + 4], 0x40000000
mov rcx, qword [rbp + 0x148]
call fcn.1400c3da6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0x10
test eax, eax
je 0x1400d6f3f
mov eax, dword [rbp + 4]
or eax, 0x2200000
mov dword [rbp + 4], eax
mov rcx, qword [rbp + 0x148]
call fcn.1400c3da6
mov qword [rsp + 0x30], 0
mov ecx, dword [rbp + 4]
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, dword [rbp + 0x150]
mov edx, 0x80000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rcx, qword [rbp + 0x140]
mov qword [rcx], rax
mov rax, qword [rbp + 0x140]
cmp qword [rax], 0xffffffffffffffff
jne 0x1400d6fad
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Error_opening_file:__d_n
call fcn.1400c48c3
xor al, al
jmp 0x1400d70ea
xor r8d, r8d
mov rdx, qword [rbp + 0x140]
lea rcx, [0x1400c4f8f]
call qword [sym.imp.KERNEL32.dll_CreateThreadpoolWait]
mov rcx, qword [rbp + 0x140]
mov qword [rcx + 0x58], rax
mov rax, qword [rbp + 0x140]
cmp qword [rax + 0x58], 0
jne 0x1400d6ff8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Error_creating_threadpool__d_n
call fcn.1400c48c3
xor al, al
jmp 0x1400d70ea
xor r8d, r8d
mov rax, qword [rbp + 0x140]
mov rdx, qword [rax + 0x20]
mov rax, qword [rbp + 0x140]
mov rcx, qword [rax + 0x58]
call qword [sym.imp.KERNEL32.dll_SetThreadpoolWait]
movzx eax, byte [rbp + 0x158]
test eax, eax
je 0x1400d7069
mov rax, qword [rbp + 0x140]
add rax, 8
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x24]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x90000
mov rax, qword [rbp + 0x140]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
jmp 0x1400d70c3
mov rax, qword [rbp + 0x140]
add rax, 8
mov rcx, qword [rbp + 0x140]
add rcx, 0x34
mov rdx, qword [rbp + 0x140]
add rdx, 0x28
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x18
mov qword [rsp + 0x20], rcx
mov r9d, 0xc
mov r8, rdx
mov edx, 0x90240
mov rax, qword [rbp + 0x140]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0x3e5
je 0x1400d70e8
mov edx, dword [rbp + 0x44]
lea rcx, str.Oplock_Failed__d_n
call fcn.1400c48c3
xor al, al
jmp 0x1400d70ea
mov al, 1
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x14025e8a0]
call fcn.1400c6808
mov rax, rdi
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.1400c499a
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret