Function at 0x14000bed0
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xa88
vmovups xmmword [rsp + 0xa70], xmm6
mov rdi, qword [rcx + 0x128]
mov edx, 0xa
mov rbx, rcx
mov rcx, rdi
call sym.strchr
test rax, rax
je 0x14000bf90
mov rcx, rdi
call sym.strlen
mov rcx, rdi
lea rdx, [0x1401b2b59]
mov rbp, rax
call sym.strtok
mov rcx, rax
test rax, rax
je 0x14000c220
call sym.strdup
mov rcx, rax
mov rsi, rax
call sym.strlen
lea rdx, [rax + 1]
cmp rdx, rbp
jl 0x14000c030
mov rax, qword [rbx + 0x128]
mov byte [rax], 0
mov rax, qword [0x1401fd6f0]
cmp byte [rax], 0
jne 0x14000c010
vmovups xmm6, xmmword [rsp + 0xa70]
mov rax, rsi
add rsp, 0xa88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0x48]
mov rbp, qword [sym.imp.msvcrt.dll__time64]
call rbp
lea rsi, [rsp + 0x270]
mov rcx, qword [rbx + 0x118]
lea rax, [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
mov r15, qword [sym.imp.WS2_32.dll_select]
mov dword [rsp + 0x270], 1
mov qword [rsp + 0x60], 0x3c
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov qword [rsp + 0x278], rcx
inc ecx
call r15
test eax, eax
jg 0x14000c050
lea rdx, str.stratum_recv_line_timed_out
xor ecx, ecx
call sym.applog.constprop.0
xor esi, esi
jmp 0x14000bf69
mov r8, rsi
lea rdx, str.___s
mov ecx, 4
call sym.applog
jmp 0x14000bf69
mov rcx, qword [rbx + 0x128]
sub rbp, rax
lea r8, [rbp + 1]
add rdx, rcx
call sym.memmove
jmp 0x14000bf59
vmovq xmm6, qword [0x1401b3790]
mov r12, qword [sym.imp.libcurl_4.dll_curl_easy_recv]
lea r13, [rsp + 0x50]
jmp 0x14000c0e0
cmp qword [rsp + 0x50], 0
je 0x14000bfff
mov r14, qword [rbx + 0x128]
mov rcx, r14
call sym.strlen
mov rcx, rsi
mov rdi, rax
call sym.strlen
lea rdx, [rdi + rax + 1]
cmp rdx, qword [rbx + 0x120]
jae 0x14000c1e0
lea rcx, [r14 + rdi]
mov rdx, rsi
call sym.strcpy
xor ecx, ecx
call rbp
sub rax, qword [rsp + 0x48]
mov rdi, qword [rbx + 0x128]
cmp rax, 0x3b
jg 0x14000bf0c
mov edx, 0xa
mov rcx, rdi
call sym.strchr
test rax, rax
jne 0x14000bf0c
xor edx, edx
mov r8d, 0x800
mov rcx, rsi
call sym.memset
mov rcx, qword [rbx + 8]
mov r9, r13
mov r8d, 0x7fc
mov rdx, rsi
call r12
test eax, eax
je 0x14000c070
mov rcx, qword [rbx + 0x118]
cmp eax, 0x51
je 0x14000c1a0
xor r9d, r9d
mov r8d, 0x7fc
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_recv]
cdqe
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14000bfff
jns 0x14000c0b0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x14000bfff
mov rcx, qword [rbx + 0x118]
lea rax, [rsp + 0x58]
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov dword [rsp + 0x60], 1
vmovq qword [rsp + 0x58], xmm6
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x68], rcx
inc ecx
call r15
test eax, eax
jg 0x14000c0b0
xor esi, esi
jmp 0x14000bf69
lea rax, [rsp + 0x58]
mov qword [rsp + 0x68], rcx
xor r9d, r9d
inc ecx
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov dword [rsp + 0x60], 1
mov qword [rsp + 0x58], 1
mov qword [rsp + 0x20], rax
call r15
test eax, eax
jg 0x14000c210
mov rcx, qword [rbx + 0x118]
jmp 0x14000c11b
and rdx, 0xfffffffffffff800
mov rcx, r14
add rdx, 0x800
mov qword [rbx + 0x120], rdx
call sym.realloc
mov r14, rax
mov qword [rbx + 0x128], rax
jmp 0x14000c0a4
mov rax, qword [rsp + 0x50]
jmp 0x14000c134
lea rdx, str.stratum_recv_line_failed_to_parse_a_newline_terminated_string
xor esi, esi
call sym.applog.constprop.0
jmp 0x14000bf69