Function at 0x1400a3370
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 0x1400a3550
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x1400a350a
lea ecx, [rdi + 0x48]
call fcn.1401ed1fc
mov rcx, rax
lea edx, [rdi + 0x30]
xor r9d, r9d
xor r8d, r8d
call fcn.14009fb24
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 0x1400a34ea
mov edx, ebp
mov rcx, rsi
call fcn.1401ecbac
add rax, 0xa
mov ecx, 0xffffffff
cmp rax, rcx
jae 0x1400a3478
mov edx, ebp
mov rcx, rsi
call fcn.1401ecbac
mov ecx, 0xfffffff5
cmp rcx, rax
je 0x1400a3478
mov edx, ebp
mov rcx, rsi
call fcn.1401ecbac
add rax, 0xa
mov ecx, 0xffffffe7
cmp rax, rcx
jae 0x1400a3478
mov edx, ebp
mov rcx, rsi
call fcn.1401ecbac
jmp 0x1400a34ed
mov rbx, rdi
mov rdx, rbp
mov rcx, rsi
call fcn.1401ecbac
lea rdx, [rax + 0xa]
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call fcn.14009fb24
mov rbx, rax
lea r8, str._s__READ_
lea rax, [0x140271e88]
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, [0x1400a30a0]
or r8d, 0xffffffff
mov qword [rsp + 0x28], rbx
mov rcx, r12
mov qword [rsp + 0x20], r15
call fcn.1400a39b0
mov rcx, rbx
call fcn.14009fc04
jmp 0x1400a3531
mov rax, rdi
lea rcx, [rax + 0x22]
call fcn.1401ed1fc
mov rbx, rax
test rsi, rsi
jne 0x1400a347b
mov rax, rdi
jmp 0x1400a3486
test rbx, rbx
je 0x1400a3531
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 0x1400a3531
cmp dword [rsp + 0x30], edi
jbe 0x1400a350f
mov ecx, 0x30
call fcn.1401ed1fc
mov r9, rax
test rax, rax
je 0x1400a35b0
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 0x1400a3595
mov rdi, qword [r14 + 0x18]
mov r8d, 1
mov qword [r9 + 0x28], rdi
lea rdx, [0x1400a3298]
mov rcx, r12
call fcn.1400a0488
jmp 0x1400a3531
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 0xfe
lea rdx, str.C:Users_anfdhDownloads_bvavMeshAgent_mastermicrostackILibParsers.c
mov ebx, 0xec3
mov dword [rsp + 0x20], eax
mov r9d, edi
mov r8d, ebx
xor ecx, ecx
call fcn.1400aa2f8
mov r8d, ebx
lea rdx, str.C:Users_anfdhDownloads_bvavMeshAgent_mastermicrostackILibParsers.c
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.14000105c
mov ecx, edi
call fcn.1401e2ef8
int3