Function at 0x1400f2d40
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 r15d, r8d
mov qword [rsp + 0x28], rdx
mov rsi, rcx
mov rbp, qword [rsp + 0xd0]
mov rdi, qword [rbp + 8]
mov qword [rsp + 0x30], rdi
mov rcx, rbp
call fcn.1400aeb50
cmp byte [rsi + 0xe], 0
je 0x1400f2dad
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 0x1400f3108
mov byte [rsp + 0x20], 0
xor al, al
mov byte [rsp + 0x21], al
xor r12d, r12d
mov r13d, 0x1499700
test rdi, rdi
je 0x1400f2dd5
mov rdx, rbx
mov rcx, rdi
call fcn.14008e0f0
test al, al
jne 0x1400f2da6
mov r14d, r15d
cmp r15d, 0xabcd0123
mov edi, 1
cmove r14d, edi
mov rcx, rbp
call fcn.1400aeb50
cmp qword [rsi + 0xb0], 0xffffffffffffffff
je 0x1400f30e5
lea rdx, [rsi + 0xd]
cmp byte [rdx], 0
jne 0x1400f30d3
cmp byte [rsi + 0xe], 0
jne 0x1400f30c1
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 0x1400f30a0
cmp byte [rsi + 0xe], al
jne 0x1400f3083
cmp qword [rsi + 0xb0], 0xffffffffffffffff
je 0x1400f3063
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 0x1400f2eee
je 0x1400f3017
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x1400f2fd0
cmp r15d, 0xabcd0123
je 0x1400f2fbd
mov rdx, rbx
mov rcx, rbp
call fcn.1400aece0
test al, al
jne 0x1400f2fc1
mov r9, rbx
mov r8, rbp
mov edx, r14d
mov rcx, rsi
call fcn.1400f8e50
test al, al
je 0x1400f2f88
test edi, edi
jns 0x1400f2fc1
mov edi, 1
jmp 0x1400f2e70
lea edx, [rdi - 0x1000]
lea rcx, [rsi + 0x150]
call fcn.140159560
cmp byte [rsi + 0x2ac], 0
je 0x1400f2f1b
lea rcx, [rsi + 0x18]
mov r9, rbx
mov r8, qword [rbp + 8]
mov edx, edi
call fcn.140121dd0
cmp byte [rsi + 0x2a9], 0
je 0x1400f2f39
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x1400f2f39
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 0x1400f2f57
cmp dl, 0xd
je 0x1400f2f69
inc r12d
jmp 0x1400f2f69
test r12d, r12d
jne 0x1400f2f66
mov byte [rsp + 0x20], 1
mov byte [rsp + 0x21], 1
xor r12d, r12d
mov rcx, qword [rsp + 0x28]
call fcn.140034b40
cmp byte [rsp + 0x20], 0
jne 0x1400f3103
mov rdi, qword [rsp + 0x30]
jmp 0x1400f2dbb
cmp byte [rbp + 0x19], 0
je 0x1400f2f97
lea rdx, str.Socket_recv_aborted_by_application
jmp 0x1400f2fa4
cmp byte [rbp + 0x18], 0
jne 0x1400f2fae
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 0x1400f3103
mov byte [rbp + 0x18], 1
lea rcx, [rsp + 0x48]
call fcn.14006f6e0
jmp 0x1400f3103
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 0x1400f3103
cmp byte [rbx + 0xa9], 0
je 0x1400f3045
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 0x1400f3103
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 0x1400f3103
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 0x1400f3103
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 0x1400f3103
mov rax, qword [rbx]
mov rdx, qword [str.Another_thread_is_closing_this_socket.]
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x1400f3103
mov rax, qword [rbx]
lea rdx, str.Another_thread_is_already_receiving_on_this_socket.
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x1400f3103
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