Function at 0x1400f3130
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x14026be10]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, r9
mov r12d, r8d
mov qword [rsp + 0x28], rdx
mov rsi, rcx
mov rbp, qword [rsp + 0xd0]
mov byte [rsp + 0x20], 0
xor al, al
mov byte [rsp + 0x21], al
mov rdi, qword [rbp + 8]
mov qword [rsp + 0x30], rdi
mov rcx, rbp
call fcn.1400aeb50
cmp byte [rsi + 0xe], 0
je 0x1400f31a8
mov rax, qword [rbx]
mov rdx, qword [str.Another_thread_is_closing_this_socket.]
mov rcx, rbx
call qword [rax + 0x28]
xor al, al
jmp 0x1400f34f8
xor r15d, r15d
mov r13d, 0x1499700
test rdi, rdi
je 0x1400f31c5
mov rdx, rbx
mov rcx, rdi
call fcn.14008e0f0
test al, al
jne 0x1400f31a1
mov r14d, r12d
cmp r12d, 0xabcd0123
mov edi, 1
cmove r14d, edi
mov rcx, rbp
call fcn.1400aeb50
cmp qword [rsi + 0xb0], 0xffffffffffffffff
je 0x1400f34d5
lea rdx, [rsi + 0xd]
cmp byte [rdx], 0
jne 0x1400f34c3
cmp byte [rsi + 0xe], 0
jne 0x1400f34b1
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x48]
call fcn.14006f5b0
nop
test r14d, r14d
cmove r14d, r13d
mov r9, rbx
mov r8, qword [rbp + 8]
mov edx, 0x1000
lea rcx, [rsi + 0x150]
call fcn.1401595b0
test al, al
jne 0x1400f3490
cmp byte [rsi + 0xe], al
jne 0x1400f3473
cmp qword [rsi + 0xb0], 0xffffffffffffffff
je 0x1400f3453
nop word [rax + rax]
xor r9d, r9d
mov r8d, edi
lea rdx, [rsp + 0x40]
mov rcx, qword [rsi + 0xb0]
call qword [sym.imp.WS2_32.dll_recv]
movsxd rdi, eax
test eax, eax
jg 0x1400f32de
je 0x1400f3407
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x1400f33c0
cmp r12d, 0xabcd0123
je 0x1400f33ad
mov rdx, rbx
mov rcx, rbp
call fcn.1400aece0
test al, al
jne 0x1400f33b1
mov r9, rbx
mov r8, rbp
mov edx, r14d
mov rcx, rsi
call fcn.1400f8e50
test al, al
je 0x1400f3378
test edi, edi
jns 0x1400f33b1
mov edi, 1
jmp 0x1400f3260
lea edx, [rdi - 0x1000]
lea rcx, [rsi + 0x150]
call fcn.140159560
cmp byte [rsi + 0x2ac], 0
je 0x1400f330b
lea rcx, [rsi + 0x18]
mov r9, rbx
mov r8, qword [rbp + 8]
mov edx, edi
call fcn.140121dd0
cmp byte [rsi + 0x2a9], 0
je 0x1400f3329
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x1400f3329
mov rdx, rdi
mov r8, rbx
call fcn.14008e440
nop
lea rcx, [rsp + 0x48]
call fcn.14006f6e0
movzx edx, byte [rsp + 0x40]
cmp dl, 0xa
je 0x1400f3347
cmp dl, 0xd
je 0x1400f3356
inc r15d
jmp 0x1400f3359
test r15d, r15d
jne 0x1400f3356
mov byte [rsp + 0x20], 1
mov byte [rsp + 0x21], 1
xor r15d, r15d
mov rcx, qword [rsp + 0x28]
call fcn.140034b40
cmp byte [rsp + 0x20], 0
jne 0x1400f34f3
mov rdi, qword [rsp + 0x30]
jmp 0x1400f31ab
cmp byte [rbp + 0x19], 0
je 0x1400f3387
lea rdx, str.Socket_recv_aborted_by_application
jmp 0x1400f3394
cmp byte [rbp + 0x18], 0
jne 0x1400f339e
lea rdx, str.Socket_recv_failed.
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
nop
lea rcx, [rsp + 0x48]
call fcn.14006f6e0
jmp 0x1400f34f3
mov byte [rbp + 0x18], 1
lea rcx, [rsp + 0x48]
call fcn.14006f6e0
jmp 0x1400f34f3
mov rcx, rbx
call fcn.1400720b0
mov r8d, 1
lea rdx, str.maxToReceive
mov rcx, rbx
call fcn.1400717d0
mov rax, qword [rbx]
lea rdx, str.Failed_to_receive_data_on_the_TCP_socket
mov rcx, rbx
call qword [rax + 0x28]
mov byte [rbp + 0x1a], 1
mov byte [rsi + 0xa8], 0
lea rcx, [rsp + 0x48]
call fcn.14006f6e0
jmp 0x1400f34f3
cmp byte [rbx + 0xa9], 0
je 0x1400f3435
mov r8d, 1
lea rdx, str.maxToReceive
mov rcx, rbx
call fcn.1400717d0
mov rax, qword [rbx]
lea rdx, str.Connection_closed_by_peer.
mov rcx, rbx
call qword [rax + 0x28]
mov rdx, rbx
mov rcx, rsi
call fcn.1400f6f30
mov byte [rbp + 0x1b], 1
lea rcx, [rsp + 0x48]
call fcn.14006f6e0
jmp 0x1400f34f3
mov rax, qword [rbx]
lea rdx, str.The_socket_is_already_closed.__Cannot_recv.
mov rcx, rbx
call qword [rax + 0x28]
nop
lea rcx, [rsp + 0x48]
call fcn.14006f6e0
jmp 0x1400f34f3
mov rax, qword [rbx]
mov rdx, qword [str.Another_thread_is_closing_this_socket.]
mov rcx, rbx
call qword [rax + 0x28]
nop
lea rcx, [rsp + 0x48]
call fcn.14006f6e0
jmp 0x1400f34f3
mov byte [rbp + 0x19], 1
mov rax, qword [rbx]
lea rdx, str.Aborted_by_application_while_download_throttling__2_
mov rcx, rbx
call qword [rax + 0x28]
nop
lea rcx, [rsp + 0x48]
call fcn.14006f6e0
jmp 0x1400f34f3
mov rax, qword [rbx]
mov rdx, qword [str.Another_thread_is_closing_this_socket.]
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x1400f34f3
mov rax, qword [rbx]
lea rdx, str.Another_thread_is_already_receiving_on_this_socket.
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x1400f34f3
mov r8, qword [rbx]
lea rdx, str.This_socket_is_not_connected
mov rcx, rbx
call qword [r8 + 0x28]
mov byte [rbp + 0x1a], dil
mov word [rsi + 0xa8], 0
movzx eax, byte [rsp + 0x21]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140168e10
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret