Function at 0x140133bb0
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 rax, qword [0x1402c8b58]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, r9
mov r13d, r8d
mov qword [rsp + 0x28], rdx
mov rsi, rcx
mov r14, qword [rsp + 0xd0]
mov byte [rsp + 0x20], 0
xor al, al
mov byte [rsp + 0x21], al
mov rdi, qword [r14 + 8]
mov qword [rsp + 0x30], rdi
mov rcx, r14
call fcn.14007d090
cmp byte [rsi + 0xce], 0
je 0x140133c22
mov rax, qword [rbx]
mov rdx, qword [str._4__]
mov rcx, rbx
call qword [rax + 0x28]
xor al, al
jmp 0x140133f84
xor r12d, r12d
mov ebp, 0xc042c00
test rdi, rdi
je 0x140133c3e
mov rdx, rbx
mov rcx, rdi
call fcn.1400c6c70
test al, al
jne 0x140133c1b
mov r15d, 1
cmp r13d, 0xabcd0123
cmovne r15d, r13d
mov rcx, r14
call fcn.14007d090
cmp qword [rsi + 0x290], 0xffffffffffffffff
je 0x140133f60
lea rdx, [rsi + 0xcd]
cmp byte [rdx], 0
jne 0x140133f4e
cmp byte [rsi + 0xce], 0
jne 0x140133f3c
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.140012380
nop
test r15d, r15d
cmove r15d, ebp
lea rcx, [rsi + 0x1f8]
mov r9, rbx
mov r8, qword [r14 + 8]
mov edx, 0x1000
call fcn.1401d6950
test al, al
jne 0x140133f1a
cmp byte [rsi + 0xce], al
jne 0x140133efd
cmp qword [rsi + 0x290], 0xffffffffffffffff
je 0x140133edd
mov bpl, 1
nop dword [rax]
xor r9d, r9d
lea r8d, [r9 + 1]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsi + 0x290]
call qword [sym.imp.WS2_32.dll_recv]
movsxd rdi, eax
test eax, eax
jg 0x140133d65
je 0x140133e90
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x140133e48
test bpl, bpl
je 0x140133e34
cmp r13d, 0xabcd0123
je 0x140133e34
mov rdx, rbx
mov rcx, r14
call fcn.14007d210
test al, al
jne 0x140133e39
mov r9, rbx
mov r8, r14
mov edx, r15d
mov rcx, rsi
call fcn.140139b80
test al, al
je 0x140133e02
xor bpl, bpl
test edi, edi
js 0x140133ce0
jmp 0x140133e39
lea edx, [rdi - 0x1000]
lea rcx, [rsi + 0x1f8]
call fcn.1401d6900
cmp byte [rsi + 0x37a], 0
je 0x140133d95
lea rcx, [rsi + 0xd8]
mov r9, rbx
mov r8, qword [r14 + 8]
mov edx, edi
call fcn.14012f1c0
cmp byte [rsi + 0x371], 0
je 0x140133db3
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x140133db3
mov rdx, rdi
mov r8, rbx
call fcn.1400c6fc0
nop
lea rcx, [rsp + 0x40]
call fcn.1400124a0
movzx edx, byte [rsp + 0x38]
cmp dl, 0xa
je 0x140133dd1
cmp dl, 0xd
je 0x140133de0
inc r12d
jmp 0x140133de3
test r12d, r12d
jne 0x140133de0
mov byte [rsp + 0x20], 1
mov byte [rsp + 0x21], 1
xor r12d, r12d
mov rcx, qword [rsp + 0x28]
call fcn.14003ed50
cmp byte [rsp + 0x20], 0
jne 0x140133f7f
mov rdi, qword [rsp + 0x30]
jmp 0x140133c25
cmp byte [r14 + 0x29], 0
je 0x140133e1b
mov rax, qword [rbx]
lea rdx, str.Socket_recv_aborted_by_application
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x140133e39
cmp byte [r14 + 0x28], 0
jne 0x140133e39
mov rax, qword [rbx]
lea rdx, str.Socket_recv_failed.
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x140133e39
mov byte [r14 + 0x28], 1
lea rcx, [rsp + 0x40]
call fcn.1400124a0
jmp 0x140133f7f
mov rcx, rbx
call fcn.140054450
mov r8d, 1
lea rdx, str.maxToReceive
mov rcx, rbx
call fcn.140053ac0
mov rax, qword [rbx]
lea rdx, str.Failed_to_receive_data_on_the_TCP_socket
mov rcx, rbx
call qword [rax + 0x28]
mov byte [r14 + 0x2a], 1
mov byte [rsi + 0x288], 0
lea rcx, [rsp + 0x40]
call fcn.1400124a0
jmp 0x140133f7f
cmp byte [rbx + 0x169], 0
je 0x140133ebe
mov r8d, 1
lea rdx, str.maxToReceive
mov rcx, rbx
call fcn.140053ac0
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.140137540
mov byte [r14 + 0x2b], 1
lea rcx, [rsp + 0x40]
call fcn.1400124a0
jmp 0x140133f7f
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 + 0x40]
call fcn.1400124a0
jmp 0x140133f7f
mov rax, qword [rbx]
mov rdx, qword [str._4__]
mov rcx, rbx
call qword [rax + 0x28]
nop
lea rcx, [rsp + 0x40]
call fcn.1400124a0
jmp 0x140133f7f
mov byte [r14 + 0x29], 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 + 0x40]
call fcn.1400124a0
jmp 0x140133f7f
mov rax, qword [rbx]
mov rdx, qword [str._4__]
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x140133f7f
mov rax, qword [rbx]
lea rdx, str.Another_thread_is_already_receiving_on_this_socket.
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x140133f7f
mov r8, qword [rbx]
lea rdx, str.This_socket_is_not_connected
mov rcx, rbx
call qword [r8 + 0x28]
mov byte [r14 + 0x2a], 1
mov word [rsi + 0x288], 0
movzx eax, byte [rsp + 0x21]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401e12d0
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret