Function at 0x1400064c0
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 0x1400066ed
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 0x140006648
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x14000663d
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 0x1400065e4
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 0x1400065e4
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x11]
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x1400065cc
cmp eax, 0xffffffff
je 0x140006648
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 0x140006580
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 0x14000660d
cmp eax, 1
je 0x14000669f
jmp 0x140006530
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 0x140006648
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x1400066b9
jmp 0x140006723
cmp eax, 0x6d
je 0x1400066d3
jmp 0x140006669
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.14000eed8
nop
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x49]
call fcn.140006240
lea rdx, [0x140039768]
lea rcx, [rbp - 0x49]
lea rcx, [rbp - 0x49]
call fcn.1400062b0
lea rdx, [0x140039730]
lea rcx, [rbp - 0x49]
call fcn.14001351c
int3
lea rcx, [rbp - 0x49]
call fcn.1400062b0
lea rdx, [0x140039730]
lea rcx, [rbp - 0x49]
call fcn.14001351c
int3
xor r9d, r9d
lea r8, [r9 - 1]
lea rdx, str.Failed_to_create_connection
lea rcx, [rbp - 0x11]
call fcn.14000eed8
nop
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x49]
call fcn.140006240
lea rdx, [0x140039768]
lea rcx, [rbp - 0x49]
call fcn.14001351c
nop
xor r9d, r9d
lea r8, [r9 - 1]
lea rdx, str.unexpected_error
lea rcx, [rbp - 0x11]
call fcn.14000eed8
nop
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x49]
call fcn.140006240
lea rdx, [0x140039768]
lea rcx, [rbp - 0x49]
call fcn.14001351c
int3