Function at 0x1400a2b34
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, r9
mov qword [rax - 0x38], r8
mov rsi, rdx
lea r9, [rax - 0x28]
mov rbp, r8
mov r15, rcx
mov r8d, dword [rsp + 0x80]
xor edi, edi
mov rdx, rbx
mov dword [rax - 0x28], edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400a2cea
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x1400a2d5a
lea ecx, [rdi + 0x48]
call fcn.1401e3670
mov rcx, rax
lea edx, [rdi + 0x30]
xor r9d, r9d
xor r8d, r8d
call fcn.14009f390
mov rcx, qword [rsp + 0x88]
mov r14, rax
mov r12d, 0x400
mov qword [rax + 0x10], rsi
mov rsi, qword [rsp + 0x98]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0x90]
mov qword [rax], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rcx
test rsi, rsi
jne 0x1400a2bed
mov eax, edi
jmp 0x1400a2bf8
mov rdx, r12
mov rcx, rsi
call fcn.1401e2fdc
add rax, 0xa
mov ecx, 0xffffffff
cmp rax, rcx
jae 0x1400a2c6b
test rsi, rsi
jne 0x1400a2c10
mov rax, rdi
jmp 0x1400a2c1b
mov rdx, r12
mov rcx, rsi
call fcn.1401e2fdc
mov ecx, 0xfffffff5
cmp rcx, rax
je 0x1400a2c6b
test rsi, rsi
jne 0x1400a2c2f
mov rax, rdi
jmp 0x1400a2c3a
mov rdx, r12
mov rcx, rsi
call fcn.1401e2fdc
add rax, 0xa
mov ecx, 0xffffffe7
cmp rax, rcx
jae 0x1400a2c6b
test rsi, rsi
jne 0x1400a2c52
mov rax, rdi
jmp 0x1400a2c5d
mov rdx, r12
mov rcx, rsi
call fcn.1401e2fdc
lea rcx, [rax + 0x22]
call fcn.1401e3670
mov rbx, rax
jmp 0x1400a2c6e
mov rbx, rdi
test rsi, rsi
jne 0x1400a2c78
mov rax, rdi
jmp 0x1400a2c83
mov rdx, r12
mov rcx, rsi
call fcn.1401e2fdc
lea rdx, [rax + 0xa]
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call fcn.14009f390
mov rbx, rax
lea r8, str._s__READ_
lea rax, [0x1402662c8]
test rsi, rsi
mov rcx, rbx
cmove rsi, rax
mov rdx, qword [rbx - 0x18]
mov r9, rsi
call fcn.140001138
mov rdx, qword [rbp + 0x18]
lea r9, [0x1400a2864]
or r8d, 0xffffffff
mov qword [rsp + 0x28], rbx
mov rcx, r15
mov qword [rsp + 0x20], r14
call fcn.1400a3148
mov rcx, rbx
call fcn.14009f478
jmp 0x1400a2d8b
cmp dword [rsp + 0x30], edi
jbe 0x1400a2d5a
mov r14, qword [rsp + 0x88]
test r14, r14
je 0x1400a2d8b
mov ecx, 0x30
call fcn.1401e3670
mov r9, rax
test rax, rax
je 0x1400a2daa
mov qword [rax], rbx
mov qword [rax + 8], r14
mov qword [rax + 0x10], rsi
mov rax, qword [rsp + 0x90]
mov qword [r9 + 0x20], rax
mov eax, dword [rsp + 0x30]
mov qword [r9 + 0x18], rax
test rbp, rbp
je 0x1400a2d3f
mov rdi, qword [rbp + 0x18]
mov r8d, 1
mov qword [r9 + 0x28], rdi
lea rdx, [0x1400a2a5c]
mov rcx, r15
call fcn.14009fd08
jmp 0x1400a2d8b
cmp qword [rsp + 0x88], rdi
je 0x1400a2d8b
mov rax, qword [rsp + 0x90]
mov r9, rbx
mov qword [rsp + 0x28], rax
mov r8d, 5
mov rdx, rsi
mov dword [rsp + 0x20], edi
mov rcx, r15
call qword [rsp + 0x88]
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
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 0xfe
lea rdx, str...microstackILibParsers.c
mov ebx, 0xeb3
mov dword [rsp + 0x20], eax
mov r9d, edi
mov r8d, ebx
xor ecx, ecx
call fcn.1400a8e8c
mov r8d, ebx
lea rdx, str...microstackILibParsers.c
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.1400010e4
mov ecx, edi
call fcn.1401dbf38
int3