Function at 0x140068934
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 8]
sub rsp, 0x108
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x1400e7708]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov qword [rsp + 0x38], r9
mov r14, r8
mov r13, rdx
mov r12, rcx
mov rdx, rcx
lea rcx, [rsp + 0x68]
call fcn.140005d6c
nop
test r14, r14
je 0x140068999
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x68]
call fcn.140078118
mov edi, eax
jmp 0x14006899b
xor edi, edi
test edi, edi
jns 0x1400689bc
mov rcx, qword [rbp + 0x48]
mov r9d, edi
lea r8, str.analoginput_spectrumcomponents_staticnodedurability.cpp
mov edx, 0x66
call fcn.140003b74
jmp 0x140068b76
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rcx, qword [rsp + 0x68]
and qword [rsp + 0x20], 0
mov r9d, 3
xor r8d, r8d
mov edx, 0x80000000
call qword [sym.imp.api_ms_win_core_file_l1_2_0.dll_CreateFile2]
mov rsi, rax
mov qword [rsp + 0x48], rax
mov ebx, 0x80070000
cmp rax, 0xffffffffffffffff
jne 0x140068a0b
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx edi, ax
or edi, ebx
test eax, eax
cmovle edi, eax
jmp 0x140068a0d
xor edi, edi
test edi, edi
jns 0x140068a18
mov edx, 0x69
jmp 0x140068a67
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
lea r9d, [rax + 0x18]
lea r8, [rsp + 0x50]
lea edx, [rax + 1]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_file_l2_1_0.dll_GetFileInformationByHandleEx]
mov r15d, 0x80004005
test eax, eax
jne 0x140068a7f
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx edi, ax
or edi, ebx
test eax, eax
cmovle edi, eax
test edi, edi
cmovns edi, r15d
test edi, edi
jns 0x140068a7f
mov edx, 0x6c
lea r8, str.analoginput_spectrumcomponents_staticnodedurability.cpp
mov r9d, edi
mov rcx, qword [rbp + 0x48]
call fcn.140003b74
jmp 0x140068b62
mov r15d, 0x4004
cmp dword [rsp + 0x58], r15d
cmovb r15d, dword [rsp + 0x58]
mov ecx, r15d
call fcn.1400a17ec
mov rbx, rax
mov qword [rsp + 0x30], rax
and qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, r15d
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_ReadFile]
test eax, eax
jne 0x140068af8
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
mov eax, 0x80004005
cmovns edi, eax
test edi, edi
jns 0x140068af8
mov rcx, qword [rbp + 0x48]
mov r9d, edi
lea r8, str.analoginput_spectrumcomponents_staticnodedurability.cpp
mov edx, 0x71
call fcn.140003b74
jmp 0x140068b4f
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r14
mov r9, r13
mov r8d, r15d
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x70]
call fcn.140068590
mov rdx, rax
mov rcx, qword [rsp + 0x38]
call fcn.14006865c
lea rcx, [rbp - 0x40]
call fcn.140004948
lea rcx, [rbp - 0x68]
call fcn.140004948
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x140068b48
mov edx, 1
call fcn.1400a07d8
xor edi, edi
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x140068b62
mov edx, 1
mov rcx, rbx
call fcn.1400a07d8
nop
lea rcx, [rsi - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140068b76
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop
lea rcx, [rsp + 0x68]
call fcn.140004948
mov eax, edi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400a01e0
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret