Function at 0x1400169c4
Capabilities:
Get file attributes
Read file on windows

Disassembly:
jmp 0x14003a2b0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x2c8
lea rbp, [rsp + 0x60]
mov rdi, rsp
mov ecx, 0xb2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2e8]
mov rax, qword [0x140064bf8]
xor rax, rbp
mov qword [rbp + 0x258], rax
lea rcx, [0x14006d245]
call fcn.140016276
mov dword [rbp + 4], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0xa8], 0
cmp qword [rbp + 0x280], 0
jne 0x14003a33a
xor eax, eax
jmp 0x14003a60b
call fcn.1400168b1
mov rax, qword [rax + 0x20]
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0xc8]
mov rcx, qword [rax + 0x40]
call qword [sym.imp.ntdll.dll_RtlDosPathNameToNtPathName_U]
movzx eax, al
test eax, eax
jne 0x14003a366
jmp 0x14003a5e2
mov dword [rbp + 0xf8], 0x30
mov qword [rbp + 0x100], 0
mov dword [rbp + 0x110], 0x40
lea rax, [rbp + 0xc8]
mov qword [rbp + 0x108], rax
mov qword [rbp + 0x118], 0
mov qword [rbp + 0x120], 0
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0x21
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x148]
lea r8, [rbp + 0xf8]
mov edx, 0x100001
lea rcx, [rbp + 0x68]
call qword [sym.imp.ntdll.dll_NtCreateFile]
mov dword [rbp + 0x24], eax
lea rcx, [rbp + 0xc8]
call qword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
cmp dword [rbp + 0x24], 0
jge 0x14003a41b
jmp 0x14003a5e2
mov rdx, qword [rbp + 0x280]
lea rcx, [rbp + 0xc8]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov dword [rbp + 0xf8], 0x30
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0x100], rax
mov dword [rbp + 0x110], 0x40
lea rax, [rbp + 0xc8]
mov qword [rbp + 0x108], rax
mov qword [rbp + 0x118], 0
mov qword [rbp + 0x120], 0
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0x60
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x148]
lea r8, [rbp + 0xf8]
mov edx, 0x100001
lea rcx, [rbp + 0x48]
call qword [sym.imp.ntdll.dll_NtCreateFile]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jge 0x14003a4d7
jmp 0x14003a5e2
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
lea rcx, [rbp + 0x178]
call fcn.140016c2b
mov dword [rsp + 0x20], 5
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetElement
lea r8, [rbp + 0x178]
lea rdx, [rbp + 0x148]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jge 0x14003a51c
jmp 0x14003a5e2
mov eax, dword [rbp + 0x180]
mov qword [rbp + 0xa8], rax
lea r9, [rbp + 0x24]
mov r8d, 4
mov edx, 0x3000
lea rcx, [rbp + 0xa8]
call fcn.140016938
mov qword [rbp + 0x88], rax
cmp dword [rbp + 0x24], 0
jl 0x14003a5d8
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov eax, dword [rbp + 0x180]
mov dword [rsp + 0x30], eax
mov rax, qword [rbp + 0x88]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x148]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ntdll.dll_NtReadFile]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jl 0x14003a5bf
cmp qword [rbp + 0x288], 0
je 0x14003a5bd
mov rax, qword [rbp + 0x288]
mov ecx, dword [rbp + 0x180]
mov dword [rax], ecx
jmp 0x14003a5d8
xor edx, edx
mov rcx, qword [rbp + 0x88]
call fcn.140016163
mov qword [rbp + 0x88], 0
cmp dword [rbp + 4], 0
jne 0x14003a329
cmp qword [rbp + 0x68], 0
je 0x14003a5f3
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ntdll.dll_NtClose]
cmp qword [rbp + 0x48], 0
je 0x14003a604
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ntdll.dll_NtClose]
mov rax, qword [rbp + 0x88]
mov rdi, rax
lea rcx, [rbp - 0x60]
lea rdx, [0x140053658]
call fcn.140016b90
mov rax, rdi
mov rcx, qword [rbp + 0x258]
xor rcx, rbp
call fcn.14001633e
lea rsp, [rbp + 0x268]
pop rdi
pop rbp
ret