Function at 0x140007100
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp + 0x3f], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov esi, r8d
mov r14, rdx
mov rdi, rcx
mov dword [rbp + 0x67], 0
xor eax, eax
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], rax
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 - 0x31], 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 - 0x49]
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 + 0xf]
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x14000721c
cmp eax, 0xffffffff
je 0x140007298
lea rcx, [rbp + 0xf]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0xf]
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 - 0x49]
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 + 0xf]
call fcn.14000f830
nop
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x29]
call fcn.140006e70
lea rdx, [0x14003ae78]
lea rcx, [rbp - 0x29]
call fcn.140014260
nop
lea rcx, [rbp - 0x29]
call fcn.140006ee0
lea rdx, [0x14003aee0]
lea rcx, [rbp - 0x29]
call fcn.140014260
int3
lea rcx, [rbp - 0x29]
call fcn.140006ee0
lea rdx, [0x14003aee0]
lea rcx, [rbp - 0x29]
call fcn.140014260
int3
lea rcx, [rbp - 0x29]
call fcn.140006ee0
lea rdx, [0x14003aee0]
lea rcx, [rbp - 0x29]
call fcn.140014260
int3
xor r9d, r9d
lea r8, [r9 - 1]
lea rdx, str.Failed_to_create_connection
lea rcx, [rbp + 0xf]
call fcn.14000f830
nop
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x29]
call fcn.140006e70
lea rdx, [0x14003ae78]
lea rcx, [rbp - 0x29]
call fcn.140014260
nop
xor r9d, r9d
lea r8, [r9 - 1]
lea rdx, str.unexpected_error
lea rcx, [rbp + 0xf]
call fcn.14000f830
nop
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x29]
call fcn.140006e70
lea rdx, [0x14003ae78]
lea rcx, [rbp - 0x29]
call fcn.140014260
int3