Function at 0x14000ac20
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x808]
sub rsp, 0x908
mov rax, qword [0x1400cfce8]
xor rax, rsp
mov qword [rbp + 0x7f0], rax
mov qword [rsp + 0x48], r9
mov qword [rsp + 0x50], r8
mov r13, rdx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rdx
mov r15, qword [rbp + 0x878]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x68], r15
mov rdi, qword [rdx + 0x10]
mov eax, 4
mov ebx, eax
cmp rdi, rax
cmovb rbx, rdi
mov rcx, rdx
mov r14, qword [rdx + 0x18]
cmp r14, 0x10
jb 0x14000ac97
mov rcx, qword [rdx]
mov rsi, rbx
cmp rbx, rax
cmova rsi, rax
mov r8, rsi
lea rdx, [0x14005ee08]
call sub.VCRUNTIME140.dll_memcmp
mov r12d, 0xa
test eax, eax
jne 0x14000acc0
cmp rbx, 4
je 0x14000ad1c
mov rcx, r13
cmp r14, 0x10
jb 0x14000accd
mov rcx, qword [r13]
mov r8, rsi
lea rdx, [0x14005edf0]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000ace6
cmp rbx, 4
je 0x14000ad1c
mov rbx, r12
cmp rdi, r12
cmovb rbx, rdi
mov rcx, r13
cmp r14, 0x10
jb 0x14000acfd
mov rcx, qword [r13]
mov r8, rbx
cmp rbx, r12
cmova r8, r12
lea rdx, str.completion
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000ad20
cmp rbx, r12
jne 0x14000ad20
xor edx, edx
jmp 0x14000ad22
mov dl, 1
mov r8b, 1
xor ecx, ecx
call fcn.14000a860
mov qword [rsp + 0x40], rax
cmp rax, 0xffffffffffffffff
je 0x14000b078
xor ebx, ebx
movzx r12d, byte [rbp + 0x870]
test r12b, r12b
je 0x14000ae76
mov r14, qword [r13 + 0x10]
movabs rax, 0x7fffffffffffffff
mov rcx, rax
sub rcx, r14
cmp rcx, 1
jb 0x14000b901
mov r15, r13
cmp qword [r13 + 0x18], 0x10
jb 0x14000ad7a
mov r15, qword [r13]
mov qword [rsp + 0x70], rbx
lea rsi, [r14 + 1]
mov ebx, recv
lea rdi, [rsp + 0x70]
cmp rsi, rbx
jbe 0x14000ae08
mov rbx, rsi
or rbx, 0xf
cmp rbx, rax
jbe 0x14000adca
mov rbx, rax
movabs rax, 0x8000000000000027
mov rcx, rax
call fcn.140055554
test rax, rax
je 0x14000af89
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14000ae03
mov eax, reloc.WS2_32.dll_shutdown
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14000adf2
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000b8fb
jmp 0x14000adab
test rcx, rcx
je 0x14000adfe
call fcn.140055554
jmp 0x14000ae00
xor eax, eax
mov rdi, rax
mov qword [rsp + 0x70], rdi
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rbx
mov byte [rdi], 0x58
lea rcx, [rdi + 1]
mov r8, r14
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rsi], 0
lea rdx, [rsp + 0x70]
mov rcx, r13
call fcn.140009f30
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14000ae6f
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ae6a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000af89
call fcn.140055590
xor ebx, ebx
mov r15, qword [rsp + 0x38]
mov rsi, qword [r15 + 0x10]
test rsi, rsi
jne 0x14000ae9a
mov rcx, r13
cmp qword [r13 + 0x18], 0x10
jb 0x14000ae8d
mov rcx, qword [r13]
mov rdx, r15
call fcn.14001d8c0
jmp 0x14000af95
test r12b, r12b
je 0x14000af95
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, rsi
cmp rax, 1
jb 0x14000b901
mov rax, qword [rsp + 0x38]
cmp qword [rax + 0x18], 8
jb 0x14000aecc
mov r15, qword [rax]
mov qword [rsp + 0x70], rbx
lea r14, [rsi + 1]
mov ebx, 7
lea rdi, [rsp + 0x70]
cmp r14, rbx
jbe 0x14000af18
mov rbx, r14
or rbx, 7
cmp rbx, rcx
jbe 0x14000aef5
mov rbx, rcx
jmp 0x14000af02
cmp rbx, 0xa
mov eax, 0xa
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x70]
call fcn.14000a3e0
mov rdi, rax
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], rbx
mov eax, 0x58
mov word [rdi], ax
lea rcx, [rdi + 2]
lea r8, [rsi + rsi]
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
xor ebx, ebx
mov word [rdi + r14*2], bx
lea rdx, [rsp + 0x70]
mov r15, qword [rsp + 0x38]
mov rcx, r15
call fcn.140009fc0
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14000af95
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000af90
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000af90
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140055590
mov rax, 0xffffffffffffffff
cmp qword [r15 + 0x18], 8
jb 0x14000afb2
mov rdx, qword [r15]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14000afa6
jmp 0x14000afc0
inc rax
cmp word [r15 + rax*2], 0
jne 0x14000afb2
mov rdx, r15
add eax, eax
xor r9d, r9d
mov r8d, eax
mov r14, qword [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x14000b0da
mov edx, 5
mov ebx, edx
cmp qword [r13 + 0x10], rdx
cmovb rbx, qword [r13 + 0x10]
mov rcx, r13
mov rsi, qword [r13 + 0x18]
cmp rsi, 0x10
jb 0x14000b000
mov rcx, qword [r13]
mov rdi, rbx
cmp rbx, rdx
cmova rdi, rdx
mov r8, rdi
lea rdx, str.Xexit
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000b023
cmp rbx, 5
je 0x14000b049
mov rcx, r13
cmp rsi, 0x10
jb 0x14000b030
mov rcx, qword [r13]
mov r8, rdi
lea rdx, str.Xquit
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000b0b1
cmp rbx, 5
jne 0x14000b0b1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x7e
jne 0x14000b0b1
lea rdx, str.Could_not_send_exit_command_to_MEGAcmd_server__probably_already_down_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008c90
lea rdx, [0x1400097c0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rcx, r13
call fcn.140009cc0
nop
mov rcx, r15
call fcn.14000a2b0
mov eax, 0xffffffff
mov rcx, qword [rbp + 0x7f0]
xor rcx, rsp
call fcn.140055ba0
add rsp, 0x908
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rdx, str.ERROR_writing_command_to_socket:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008c90
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
jmp 0x14000b067
mov dword [rsp + 0x30], 0xffffffff
xor r9d, r9d
lea r8d, [r9 + 4]
lea rdx, [rsp + 0x30]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x14000b105
lea rdx, str.ERROR_reading_output_code:
jmp 0x14000b0b8
mov r12, qword [rsp + 0x48]
nop word [rax + rax]
mov ecx, dword [rsp + 0x30]
lea eax, [rcx + 0x3d]
cmp eax, 1
jbe 0x14000b25e
cmp ecx, 0xffffffc2
je 0x14000b267
nop dword [rax]
xor r9d, r9d
mov r8d, 0x400
lea rdx, [rbp + 0x3e0]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_recv]
movsxd rdi, eax
test eax, eax
je 0x14000b704
lea rcx, [0x1400d1640]
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x14000b90d
cmp rdi, 0x401
jae 0x14000b907
mov byte [rbp + rdi + 0x3e0], al
mov qword [rsp + 0x70], rbx
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], bx
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x3e0]
call fcn.14001d8c0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fileno]
mov ecx, eax
mov edx, 0x20000
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__setmode]
mov ebx, eax
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
mov rcx, r12
call fcn.140009290
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fileno]
mov ecx, eax
mov edx, ebx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__setmode]
lea rcx, [0x1400d1640]
call sub.MSVCP140.dll__Mtx_unlock
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14000b24e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b249
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b6f1
call fcn.140055590
cmp edi, 0xffffffff
je 0x14000b6f8
xor ebx, ebx
jmp 0x14000b130
cmp ecx, 0xffffffc2
jne 0x14000b401
xor r9d, r9d
lea r8d, [r9 + 8]
lea rdx, [rsp + 0x38]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x14000b774
cmp qword [rsp + 0x38], 0
jbe 0x14000b774
lea rcx, [0x1400d1640]
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x14000b915
mov rax, qword [rsp + 0x38]
nop dword [rax]
lea rcx, [rax + 1]
call fcn.140055598
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov r8d, dword [rsp + 0x38]
mov rdx, rax
mov rcx, r14
call qword [sym.imp.WS2_32.dll_recv]
movsxd rsi, eax
test eax, eax
je 0x14000b3ca
mov rcx, qword [rsp + 0x40]
mov byte [rsi + rcx], 0
mov qword [rsp + 0x70], rbx
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], bx
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.14001d8c0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fileno]
mov ecx, eax
mov edx, 0x20000
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__setmode]
mov ebx, eax
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
mov rcx, r12
call fcn.140009290
lea rdx, [0x140009840]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fileno]
mov ecx, eax
mov edx, ebx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__setmode]
sub qword [rsp + 0x38], rsi
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14000b3ca
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b3b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b76d
call fcn.140055590
mov rcx, qword [rsp + 0x40]
call fcn.140055590
jmp 0x14000b3d8
mov rcx, qword [rsp + 0x40]
call fcn.140055590
test esi, esi
je 0x14000b3f0
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x14000b3f0
cmp esi, 0xffffffff
mov ebx, 0
jne 0x14000b2b0
lea rcx, [0x1400d1640]
call sub.MSVCP140.dll__Mtx_unlock
jmp 0x14000b6cc
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], recv
mov byte [rbp - 0x70], 0
nop word [rax + rax]
xor r9d, r9d
mov r8d, 0x400
lea rdx, [rbp - 0x30]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_recv]
movsxd rsi, eax
test eax, eax
je 0x14000b4c1
cmp rsi, 0x401
jae 0x14000b8f5
mov byte [rbp + rsi - 0x30], 0
lea rax, [rbp - 0x30]
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x14000b460
mov rcx, qword [rbp - 0x60]
mov rdx, qword [rbp - 0x58]
mov rax, rdx
sub rax, rcx
cmp rbx, rax
ja 0x14000b4a9
lea rax, [rbx + rcx]
mov qword [rbp - 0x60], rax
lea rdi, [rbp - 0x70]
cmp rdx, 0x10
cmovae rdi, qword [rbp - 0x70]
add rdi, rcx
mov r8, rbx
lea rdx, [rbp - 0x30]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x14000b4c1
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x30]
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.140009630
cmp esi, 0x400
jne 0x14000b4d2
cmp esi, 0xffffffff
jne 0x14000b420
xor esi, esi
cmp dword [rsp + 0x30], 0xffffffc4
jne 0x14000b524
mov dword [rsp + 0x48], esi
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x14000b508
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rdx, qword [rbp - 0x70]
mov r8, rdi
mov rcx, qword [rsp + 0x58]
call fcn.14000c080
mov dword [rsp + 0x48], eax
xor r9d, r9d
lea r8d, [r9 + 4]
lea rdx, [rsp + 0x48]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_send]
mov ebx, eax
jmp 0x14000b688
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x78], recv
mov qword [rbp - 0x80], 6
mov eax, dword [str.FAILED]
mov dword [rsp + 0x70], eax
movzx eax, word [0x14005f29c]
mov word [rsp + 0x74], ax
mov byte [rsp + 0x76], sil
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x14000b62a
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rdx, qword [rbp - 0x70]
lea rcx, [rbp - 0x50]
call rdi
mov rbx, rax
lea rax, [rsp + 0x70]
cmp rax, rbx
je 0x14000b5ef
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14000b5bf
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b5ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b780
call fcn.140055590
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], recv
mov byte [rsp + 0x70], 0
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], recv
mov byte [rbx], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x14000b62a
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b625
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b780
call fcn.140055590
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdx, qword [rsp + 0x70]
xor r9d, r9d
lea r8d, [r9 + 0x20]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_send]
mov ebx, eax
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14000b688
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b683
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b787
call fcn.140055590
cmp ebx, 0xffffffff
je 0x14000b81b
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x14000b6cc
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b6c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b885
call fcn.140055590
xor r9d, r9d
lea r8d, [r9 + 4]
lea rdx, [rsp + 0x30]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x14000b78e
xor ebx, ebx
jmp 0x14000b110
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, str.ERROR_reading_output:
jmp 0x14000b795
mov rcx, r14
call qword [sym.imp.WS2_32.dll_closesocket]
mov ebx, dword [rsp + 0x30]
mov rdx, qword [r13 + 0x18]
cmp rdx, 0x10
jb 0x14000b74c
mov rcx, qword [r13]
inc rdx
cmp rdx, 0x1000
jb 0x14000b747
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000b814
mov rcx, r8
call fcn.140055590
xor eax, eax
mov qword [r13 + 0x10], rax
mov qword [r13 + 0x18], recv
mov byte [r13], al
mov rcx, r15
call fcn.14000a2b0
mov eax, ebx
jmp 0x14000b08e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, str.Error_reading_size_of_partial_output:
jmp 0x14000b0b8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rdx, str.ERROR_reading_output_code:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008c90
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
lea rdx, [0x1400097c0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [r13 + 0x18]
cmp rdx, 0x10
jb 0x14000b7fd
mov rcx, qword [r13]
inc rdx
cmp rdx, 0x1000
jb 0x14000b7f8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000b814
mov rcx, r8
call fcn.140055590
xor eax, eax
mov qword [r13 + 0x10], rax
mov qword [r13 + 0x18], recv
mov byte [r13], al
jmp 0x14000b081
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rdx, str.ERROR_writing_confirm_response_to_socket:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008c90
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
lea rdx, [0x1400097c0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x14000b891
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b88c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b88c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140055590
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], recv
mov byte [rbp - 0x70], 0
mov rdx, qword [r13 + 0x18]
cmp rdx, 0x10
jb 0x14000b8d8
mov rcx, qword [r13]
inc rdx
cmp rdx, 0x1000
jb 0x14000b8d3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000b8ee
mov rcx, r8
call fcn.140055590
mov qword [r13 + 0x10], rsi
mov qword [r13 + 0x18], recv
mov byte [r13], 0
jmp 0x14000b081
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400558f8
nop
call fcn.14000a220
int3
call fcn.14000a320
int3
call fcn.1400558f8
int3
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
int3
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
int3