Function at 0x1400407e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x1400ed368]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r13, r9
mov r12, r8
mov r15, rdx
mov rbp, rcx
mov rdi, qword [rsp + 0xe0]
mov rsi, qword [rsp + 0xe8]
mov rbx, qword [rdi]
mov rbx, qword [rbx + 0x78]
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x30], rdi
mov rdx, rdi
mov ecx, 0xc0
call fcn.140037d60
mov r14, rax
mov qword [rsp + 0x38], rax
xor ecx, ecx
mov qword [rax + 0x20], rcx
lea rax, [0x140040c60]
mov qword [r14 + 0x28], rax
mov qword [r14], rcx
mov qword [r14 + 8], rcx
mov qword [r14 + 0x10], rcx
mov qword [r14 + 0x18], rcx
mov dword [r14 + 0x30], ecx
movups xmm0, xmmword [r13]
movups xmmword [r14 + 0x38], xmm0
lea rdx, [r14 + 0x48]
mov rax, qword [rdi]
mov qword [rdi], rcx
mov qword [rdx], rax
lea rcx, [r14 + 0x50]
mov r8, rsi
call fcn.140040e60
mov qword [rsp + 0x40], r14
test rbx, rbx
je 0x1400408fe
mov r8d, 0x58
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x68]
call fcn.1400380b0
lea rax, vtable.asio::detail::cancellation_handler_class_asio::detail::win_iocp_handle_service::iocp_op_cancellation_.0
mov rdx, qword [rsp + 0x48]
mov qword [rdx], rax
mov rax, qword [r15]
xor edi, edi
mov qword [rdx + 0x28], rdi
lea r8, [0x1400393b0]
mov qword [rdx + 0x30], r8
mov qword [rdx + 8], rdi
mov qword [rdx + 0x10], rdi
mov qword [rdx + 0x18], rdi
mov qword [rdx + 0x20], rdi
mov dword [rdx + 0x38], edi
mov qword [rdx + 0x40], rax
mov qword [rdx + 0x48], r14
mov rax, qword [rsp + 0x50]
mov qword [rdx + 0x50], rax
mov qword [rbx], rdx
lea r14, [rdx + 8]
jmp 0x140040900
xor edi, edi
movups xmm0, xmmword [r13]
movups xmmword [rsp + 0x58], xmm0
cmp dword [r15 + 8], 0
jne 0x14004091d
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [r15 + 8], eax
jmp 0x140040931
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [r15 + 8], eax
je 0x140040931
mov dword [r15 + 8], 0xffffffff
mov rax, qword [rbp + 0x28]
lock inc dword [rax + 0x30]
cmp qword [r15], 0xffffffffffffffff
jne 0x140040956
xor r9d, r9d
mov r8d, 0x2719
mov rdx, r14
mov rcx, qword [rbp + 0x28]
call fcn.140038d70
jmp 0x1400409d5
mov r8, qword [rsp + 0x60]
test r8, r8
jne 0x140040971
xor r9d, r9d
mov rdx, r14
mov rcx, qword [rbp + 0x28]
call fcn.140038d70
jmp 0x1400409d5
mov dword [rsp + 0x68], edi
mov dword [r14 + 0x10], r12d
shr r12, 0x20
mov dword [r14 + 0x14], r12d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x68]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
jne 0x1400409c9
cmp eax, 0x3e5
je 0x1400409c9
cmp eax, 0xea
je 0x1400409c9
mov r9d, dword [rsp + 0x68]
mov r8d, eax
mov rdx, r14
mov rcx, qword [rbp + 0x28]
call fcn.140038d70
jmp 0x1400409d5
mov rdx, r14
mov rcx, qword [rbp + 0x28]
call fcn.140038ce0
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
lea rcx, [rsp + 0x30]
call fcn.140040bd0
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140084ea0
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret