Function at 0x140007110
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov esi, r8d
mov r14, rdx
mov rdi, rcx
xor eax, eax
mov dword [rbp + 0x67], eax
mov qword [rbp + 0x1f], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x27], xmm0
xor r9d, r9d
xor r8d, r8d
lea edx, [rax + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov rbx, rax
mov qword [rbp + 0x7f], rax
mov qword [rbp + 0x37], rax
mov qword [rbp - 0x59], rax
mov rax, qword [rdi + 0x10]
mov rcx, qword [rax + 0x28]
mov qword [rbp - 0x51], rcx
cmp rbx, 0xffffffffffffffff
je 0x14000733d
nop word [rax + rax]
lea rax, [rbp + 0x1f]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x67]
mov r8d, esi
mov rdx, r14
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140007298
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x14000728d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x59]
lea ecx, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x140007234
nop
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x59]
lea ecx, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 1
je 0x140007234
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x11]
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x14000721c
cmp eax, 0xffffffff
je 0x140007298
lea rcx, [rbp - 0x11]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x11]
call qword [sym.imp.USER32.dll_DispatchMessageA]
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x59]
lea ecx, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x1400071d0
mov r9d, 0xffffffff
xor r8d, r8d
lea rdx, [rbp - 0x59]
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x14000725d
cmp eax, 1
je 0x1400072ef
jmp 0x140007180
mov r9d, 1
lea r8, [rbp + 0x67]
lea rdx, [rbp + 0x1f]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x140007298
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x140007309
jmp 0x140007373
cmp eax, 0x6d
je 0x140007323
jmp 0x1400072b9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
xor r9d, r9d
lea r8, [r9 - 1]
lea rdx, str.Read_Error
lea rcx, [rbp - 0x11]
call fcn.140010d5c
nop
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x49]
call fcn.140006e90
lea rdx, [0x14003dea0]
lea rcx, [rbp - 0x49]
call fcn.14001543c
nop
lea rcx, [rbp - 0x49]
call fcn.140006f00
lea rdx, [0x14003de68]
lea rcx, [rbp - 0x49]
call fcn.14001543c
int3
lea rcx, [rbp - 0x49]
call fcn.140006f00
lea rdx, [0x14003de68]
lea rcx, [rbp - 0x49]
call fcn.14001543c
int3
lea rcx, [rbp - 0x49]
call fcn.140006f00
lea rdx, [0x14003de68]
lea rcx, [rbp - 0x49]
call fcn.14001543c
int3
xor r9d, r9d
lea r8, [r9 - 1]
lea rdx, str.Failed_to_create_connection
lea rcx, [rbp - 0x11]
call fcn.140010d5c
nop
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x49]
call fcn.140006e90
lea rdx, [0x14003dea0]
lea rcx, [rbp - 0x49]
call fcn.14001543c
nop
xor r9d, r9d
lea r8, [r9 - 1]
lea rdx, str.unexpected_error
lea rcx, [rbp - 0x11]
call fcn.140010d5c
nop
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x49]
call fcn.140006e90
lea rdx, [0x14003dea0]
lea rcx, [rbp - 0x49]
call fcn.14001543c
int3