Function at 0x1400a32e0
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rbx, qword [rsp + 0x88]
mov rsi, r9
mov rbp, rdx
mov qword [rax - 0x38], r8
mov r14, r8
lea r9, [rax - 0x28]
mov r8d, dword [rsp + 0x80]
mov r12, rcx
xor edi, edi
mov rdx, rsi
mov rcx, rbp
mov dword [rax - 0x28], edi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400a34c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x1400a347a
lea ecx, [rdi + 0x48]
call fcn.1401ea40c
mov rcx, rax
lea edx, [rdi + 0x30]
xor r9d, r9d
xor r8d, r8d
call fcn.14009faa0
mov rcx, qword [rsp + 0x90]
mov r15, rax
mov qword [rax], rsi
mov rsi, qword [rsp + 0x98]
mov qword [rax + 0x10], rbp
mov ebp, 0x400
mov qword [rax + 0x18], r14
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rcx
test rsi, rsi
je 0x1400a345a
mov edx, ebp
mov rcx, rsi
call fcn.1401e9dbc
add rax, 0xa
mov ecx, 0xffffffff
cmp rax, rcx
jae 0x1400a33e8
mov edx, ebp
mov rcx, rsi
call fcn.1401e9dbc
mov ecx, 0xfffffff5
cmp rcx, rax
je 0x1400a33e8
mov edx, ebp
mov rcx, rsi
call fcn.1401e9dbc
add rax, 0xa
mov ecx, 0xffffffe7
cmp rax, rcx
jae 0x1400a33e8
mov edx, ebp
mov rcx, rsi
call fcn.1401e9dbc
jmp 0x1400a345d
mov rbx, rdi
mov rdx, rbp
mov rcx, rsi
call fcn.1401e9dbc
lea rdx, [rax + 0xa]
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call fcn.14009faa0
mov rbx, rax
lea r8, str._s__READ_
lea rax, [0x14026eda8]
test rsi, rsi
mov rcx, rbx
cmove rsi, rax
mov rdx, qword [rbx - 0x18]
mov r9, rsi
call fcn.140001114
mov rdx, qword [r14 + 0x18]
lea r9, [0x1400a3010]
or r8d, 0xffffffff
mov qword [rsp + 0x28], rbx
mov rcx, r12
mov qword [rsp + 0x20], r15
call fcn.1400a3920
mov rcx, rbx
call fcn.14009fb80
jmp 0x1400a34a1
mov rax, rdi
lea rcx, [rax + 0x22]
call fcn.1401ea40c
mov rbx, rax
test rsi, rsi
jne 0x1400a33eb
mov rax, rdi
jmp 0x1400a33f6
test rbx, rbx
je 0x1400a34a1
mov rax, qword [rsp + 0x90]
mov r9, rsi
mov qword [rsp + 0x28], rax
mov r8d, 5
mov rdx, rbp
mov dword [rsp + 0x20], edi
mov rcx, r12
call rbx
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
ret
test rbx, rbx
je 0x1400a34a1
cmp dword [rsp + 0x30], edi
jbe 0x1400a347f
mov ecx, 0x30
call fcn.1401ea40c
mov r9, rax
test rax, rax
je 0x1400a3520
mov qword [rax], rsi
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov rax, qword [rsp + 0x90]
mov qword [r9 + 0x20], rax
mov eax, dword [rsp + 0x30]
mov qword [r9 + 0x18], rax
test r14, r14
je 0x1400a3505
mov rdi, qword [r14 + 0x18]
mov r8d, 1
mov qword [r9 + 0x28], rdi
lea rdx, [0x1400a3208]
mov rcx, r12
call fcn.1400a03f8
jmp 0x1400a34a1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 0xfe
lea rdx, str.C:Users_anfdhDownloadsMeshAgent_masterMeshAgent_mastermicrostackILibParsers.c
mov ebx, 0xec3
mov dword [rsp + 0x20], eax
mov r9d, edi
mov r8d, ebx
xor ecx, ecx
call fcn.1400aa25c
mov r8d, ebx
lea rdx, str.C:Users_anfdhDownloadsMeshAgent_masterMeshAgent_mastermicrostackILibParsers.c
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.14000105c
mov ecx, edi
call fcn.1401e0110
int3