Function at 0x14004c3c4
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 - 0x1f]
sub rsp, 0xf8
mov rax, qword [0x1400ade58]
xor rax, rsp
mov qword [rbp + 7], rax
mov qword [rsp + 0x38], r9
mov r12, r8
mov r13, rdx
mov r15, rcx
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.1400088f0
nop
xor r8d, r8d
mov rdx, r12
lea rcx, [rsp + 0x48]
call fcn.140059c94
mov edi, eax
test eax, eax
jns 0x14004c43a
mov rcx, qword [rbp + 0x5f]
mov r9d, eax
lea r8, str.analoginput_spectrumcomponents_staticnodedurability.cpp
mov edx, 0x66
call fcn.140005c34
jmp 0x14004c5f9
lea rcx, [rsp + 0x48]
cmp qword [rbp - 0x79], 8
cmovae rcx, qword [rsp + 0x48]
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]
nop dword [rax + rax]
mov rsi, rax
mov qword [rsp + 0x40], rax
mov ebx, 0x80070000
cmp rax, 0xffffffffffffffff
jne 0x14004c49c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx edi, ax
or edi, ebx
test eax, eax
cmovle edi, eax
test edi, edi
jns 0x14004c49c
lea edx, [rsi + 0x6a]
jmp 0x14004c4f2
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x71], xmm0
mov qword [rbp - 0x61], rax
lea r9d, [rax + 0x18]
lea r8, [rbp - 0x71]
lea edx, [rax + 1]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_file_l2_1_0.dll_GetFileInformationByHandleEx]
nop dword [rax + rax]
mov r14d, 0x80004005
test eax, eax
jne 0x14004c50a
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx edi, ax
or edi, ebx
test eax, eax
cmovle edi, eax
test edi, edi
cmovns edi, r14d
test edi, edi
jns 0x14004c50a
mov edx, 0x6c
lea r8, str.analoginput_spectrumcomponents_staticnodedurability.cpp
mov r9d, edi
mov rcx, qword [rbp + 0x5f]
call fcn.140005c34
jmp 0x14004c5df
mov r14d, dword [0x1400926e0]
cmp dword [rbp - 0x69], 0x4004
cmovb r14d, dword [rbp - 0x69]
mov ecx, r14d
call fcn.14007da28
mov rbx, rax
mov qword [rsp + 0x30], rax
and qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, r14d
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_ReadFile]
nop dword [rax + rax]
test eax, eax
jne 0x14004c591
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
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 0x14004c591
mov rcx, qword [rbp + 0x5f]
mov r9d, edi
lea r8, str.analoginput_spectrumcomponents_staticnodedurability.cpp
mov edx, 0x71
call fcn.140005c34
jmp 0x14004c5cc
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r12
mov r9, r13
mov r8d, r14d
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x59]
call fcn.14004bf10
mov rdx, rax
mov rcx, qword [rsp + 0x38]
call fcn.14004bfdc
lea rcx, [rbp - 0x59]
call fcn.14004727c
xor edi, edi
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x14004c5df
mov edx, 1
mov rcx, rbx
call fcn.14007cbc4
nop
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14004c5f9
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
nop
mov rdx, qword [rbp - 0x79]
cmp rdx, 8
jb 0x14004c615
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
call fcn.140007d20
mov eax, edi
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.14007c650
add rsp, 0xf8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret