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

Disassembly:
push rbp
push r15
mov eax, 0x10b8
call fcn.1400e64d0
sub rsp, rax
mov rax, qword [0x140155040]
xor rax, rsp
mov qword [rsp + 0x1090], rax
mov r15, rdx
mov dword [rsp + 0x20], 5
lea rdx, [rsp + 0x60]
mov r9d, 0x18
lea r8, [rsp + 0x78]
mov rbp, rcx
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
js 0x14008249d
movups xmm0, xmmword [rsp + 0x78]
mov qword [rsp + 0x10e0], rbx
mov qword [rsp + 0x10e8], rsi
mov qword [rsp + 0x10b0], rdi
mov qword [rsp + 0x10a8], r12
mov qword [rsp + 0x10a0], r14
movups xmmword [rsp + 0x60], xmm0
lfence
mov ecx, 8
call fcn.1400c7230
xor r12d, r12d
mov ecx, 0x48
mov r14, rax
mov qword [rax], r12
call fcn.1400c7230
mov rsi, qword [rsp + 0x68]
xor ecx, ecx
xorps xmm0, xmm0
mov qword [rax], r12
mov dword [rax + 0x10], r12d
mov qword [rax + 0x38], r12
mov byte [rax + 0x40], r12b
mov dword [rax + 8], ecx
mov byte [rax + 0xc], cl
movups xmmword [rax + 0x14], xmm0
movups xmmword [rax + 0x24], xmm0
mov word [rax + 0x34], cx
mov byte [rax + 0x36], cl
mov qword [r14], rax
test rsi, rsi
je 0x1400823b6
nop
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x90]
mov qword [rsp + 0x38], r12
xor r9d, r9d
mov dword [rsp + 0x30], 0x1000
xor r8d, r8d
mov qword [rsp + 0x28], rax
xor edx, edx
lea rax, [rsp + 0x50]
mov rcx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtReadFile]
test eax, eax
js 0x1400823b6
mov rbx, qword [r14]
mov rdi, qword [rsp + 0x58]
test rbx, rbx
je 0x1400823ad
cmp byte [rbx + 0x40], r12b
jne 0x1400823ad
cmp qword [rbx], r12
jne 0x140082378
mov ecx, 0x400
call fcn.1400c7274
xor edx, edx
mov qword [rbx], rax
mov r8d, 0x400
mov rcx, rax
call fcn.1400e6910
mov r9, qword ds:[rbx]
lea rax, [rbx + 8]
mov r8d, dword [rbx + 0x10]
lea rcx, [rbx + 0x14]
mov qword [rsp + 0x28], rax
mov edx, edi
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x90]
call fcn.1400c3de0
add dword [rbx + 0x10], edi
mov rdi, qword [rsp + 0x58]
sub rsi, rdi
jne 0x140082300
mov rcx, qword [r14]
test rcx, rcx
je 0x1400823c5
nop
call fcn.1400c4760
mov rax, qword [r14]
test rax, rax
je 0x140082438
cmp byte [rax + 0x40], r12b
je 0x140082438
mov rcx, r14
call fcn.1400babe0
mov rsi, rax
test rax, rax
je 0x140082438
cmp byte [rax], r12b
je 0x140082438
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], r12b
jne 0x1400823f1
mov rdx, qword [0x140159180]
lea rbx, [rdi + rdi]
lea rcx, [rbx + 0x12]
call fcn.1400601a0
mov rdx, rdi
mov r10, rax
lea rcx, [rax + 0x10]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov word [rcx + rbx], r12w
mov rcx, rsi
mov r8, qword [rax + 8]
call fcn.140062120
mov qword [r15], r10
mov dil, 1
jmp 0x14008243b
xor dil, dil
mov rbx, qword [r14]
mov r12, qword [rsp + 0x10a8]
mov rsi, qword [rsp + 0x10e8]
test rbx, rbx
je 0x140082472
mov rcx, qword [rbx]
call fcn.1400c726c
mov rcx, qword ds:[rbx + 0x38]
call fcn.1400c726c
mov edx, 0x48
mov rcx, rbx
call fcn.1400c726c
mov edx, 8
mov rcx, r14
call fcn.1400c726c
mov r14, qword [rsp + 0x10a0]
movzx eax, dil
mov rdi, qword [rsp + 0x10b0]
mov rbx, qword [rsp + 0x10e0]
jmp 0x14008249f
xor al, al
mov rcx, qword [rsp + 0x1090]
xor rcx, rsp
call fcn.1400c6a20
add rsp, 0x10b8
pop r15
pop rbp
ret