Function at 0x140137608
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x11f0]
mov eax, 0x12f0
call fcn.140152430
sub rsp, rax
mov rax, qword [0x140432200]
xor rax, rsp
mov qword [rbp + 0x11e0], rax
mov rbx, r8
mov rdi, rdx
mov r14, rcx
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rbx
xor r15d, r15d
mov dword [rsp + 0x38], r15d
mov qword [rbp - 0x78], r15
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x70], xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
mov rdx, r8
lea r12d, [r15 + 0xf]
cmp qword [r8 + 0x18], r12
jbe 0x140137684
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
lea rcx, [rsp + 0x40]
call fcn.140130384
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.1401381c4
cmp eax, 0xffffffff
je 0x14013795d
mov eax, dword [rbp + 0x1a0]
add eax, 2
movsxd rcx, eax
call fcn.1401518c4
mov rsi, rax
mov ecx, dword [rbp + 0x1a0]
sar ecx, 8
mov byte [rax], cl
mov al, byte [rbp + 0x1a0]
mov byte [rsi + 1], al
movsxd r8, dword [rbp + 0x1a0]
lea rcx, [rsi + 2]
lea rdx, [rbp - 0x60]
call fcn.140349170
mov r8d, dword [rbp + 0x1a0]
add r8d, 2
xor r9d, r9d
mov rdx, rsi
mov rcx, qword [r14]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
js 0x140137980
mov rcx, rsi
call fcn.140151880
mov word [rbp + 0x1b0], r15w
lea r8, [rbp + 0x1b8]
mov edx, 0x4004667f
mov rcx, qword [r14]
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x14013793a
movzx eax, word [rbp + 0x1b0]
mov ecx, dword [rbp + 0x1b8]
cmp ecx, 2
jb 0x140137780
test ax, ax
jne 0x140137780
xor r9d, r9d
lea r8d, [r9 + 2]
lea rdx, [rbp + 0x1b0]
mov rcx, qword [r14]
call qword [sym.imp.WS2_32.dll_recv]
movzx ecx, word [rbp + 0x1b0]
call qword [sym.imp.WS2_32.dll_ntohs]
mov word [rbp + 0x1b0], ax
mov dword [rbp + 0x1b8], r15d
jmp 0x140137718
mov r8d, eax
cmp ecx, eax
jb 0x14013778c
test ax, ax
jne 0x14013779c
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140137718
mov r13d, 0x1000
cmp ecx, r13d
ja 0x1401379a3
xor r9d, r9d
lea rdx, [rbp + 0x1e0]
mov rcx, qword [r14]
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
cmp ecx, 0xffffffff
je 0x1401379c6
movzx eax, word [rbp + 0x1b0]
cmp eax, ecx
jne 0x1401379e9
mov qword [rdi + 0x18], r15
mov qword [rdi + 0x20], r15
mov qword [rdi + 0x28], r15
mov qword [rdi + 0x30], r15
mov qword [rdi + 0x38], r15
mov qword [rdi + 0x40], r15
lea rsi, [rdi + 0x48]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r12
mov byte [rsi], r15b
mov dword [rsp + 0x38], 1
movups xmmword [rbp + 0x1c0], xmm0
mov qword [rbp + 0x1d0], r15
mov qword [rbp + 0x1d8], r15
mov r8, rcx
lea rdx, [rbp + 0x1e0]
lea rcx, [rbp + 0x1c0]
call fcn.1401302c4
nop
lea rdx, [r14 + 0x18]
cmp rsi, rdx
je 0x140137858
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], r12
jbe 0x140137850
mov rdx, qword [rdx]
mov rcx, rsi
call fcn.1401348a8
mov rdx, rdi
lea rcx, [rbp + 0x1c0]
call fcn.140138794
cmp eax, 0xffffffff
je 0x140137a0c
mov rdx, qword [rbp + 0x1d8]
cmp rdx, r12
jbe 0x1401378ac
inc rdx
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, r13
jb 0x1401378a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140137a2f
call fcn.140151880
mov qword [rbp + 0x1d0], r15
mov qword [rbp + 0x1d8], r12
mov byte [rbp + 0x1c0], r15b
lea rcx, [rbp - 0x78]
call fcn.140137b68
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, r12
jbe 0x1401378fc
inc rdx
mov rcx, qword [rbx]
cmp rdx, r13
jb 0x1401378f7
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140137934
mov rcx, r8
call fcn.140151880
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r12
mov byte [rbx], r15b
mov rax, rdi
mov rcx, qword [rbp + 0x11e0]
xor rcx, rsp
call fcn.140151860
mov rbx, qword [rsp + 0x1348]
add rsp, 0x12f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14031dc94
nop
lea rdx, str.Cannot_read_the_data_available_length.
lea rcx, [rsp + 0x20]
call fcn.140129bb4
lea rdx, [0x14042f3e0]
lea rcx, [rsp + 0x20]
call fcn.140315a80
int3
lea rdx, str.Cannot_parse_the_request.
lea rcx, [rsp + 0x20]
call fcn.140129bb4
lea rdx, [0x14042f3e0]
lea rcx, [rsp + 0x20]
call fcn.140315a80
int3
lea rdx, str.Cannot_send_the_request.
lea rcx, [rsp + 0x20]
call fcn.140129bb4
lea rdx, [0x14042f3e0]
lea rcx, [rsp + 0x20]
call fcn.140315a80
int3
lea rdx, str.Received_message_is_too_big.
lea rcx, [rsp + 0x20]
call fcn.140129bb4
lea rdx, [0x14042f3e0]
lea rcx, [rsp + 0x20]
call fcn.140315a80
int3
lea rdx, str.Received_message_is_empty.
lea rcx, [rsp + 0x20]
call fcn.140129bb4
lea rdx, [0x14042f3e0]
lea rcx, [rsp + 0x20]
call fcn.140315a80
int3
lea rdx, str.Received_message_is_not_full.
lea rcx, [rsp + 0x20]
call fcn.140129bb4
lea rdx, [0x14042f3e0]
lea rcx, [rsp + 0x20]
call fcn.140315a80
nop
lea rdx, str.Cannot_parse_response.
lea rcx, [rsp + 0x20]
call fcn.140129bb4
lea rdx, [0x14042f3e0]
lea rcx, [rsp + 0x20]
call fcn.140315a80
nop
call fcn.14031dc94
int3