Function at 0x14000a360
Capabilities:
Get socket status

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 edx, 0xa
mov r13, qword [rcx + 0x128]
mov rbx, rcx
mov rcx, r13
call sub.api_ms_win_crt_private_l1_1_0.dll_strchr
test rax, rax
je 0x14000a420
mov rcx, r13
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rcx, r13
lea rdx, [0x14016f1ca]
mov r14, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strtok
mov rcx, rax
test rax, rax
je 0x14000a628
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
mov rcx, rax
mov rsi, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea rdx, [rax + 1]
cmp rdx, r14
jl 0x14000a4b8
mov rdx, qword [rbx + 0x128]
mov byte [rdx], 0
mov r8, qword [0x140185620]
cmp byte [r8], 0
jne 0x14000a498
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]
lea rsi, [rsp + 0x270]
call sub.api_ms_win_crt_time_l1_1_0.dll__time64
lea rax, [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbx + 0x118]
mov qword [rsp + 0x38], rax
mov rdx, rsi
mov qword [rsp + 0x60], 0x3c
mov r14, qword [sym.imp.WS2_32.dll_select]
mov qword [rsp + 0x278], rcx
add ecx, 1
mov dword [rsp + 0x270], 1
mov qword [rsp + 0x20], rax
call r14
test eax, eax
jg 0x14000a4d8
lea rdx, str.stratum_recv_line_timed_out
xor ecx, ecx
xor esi, esi
call fcn.140007630
jmp 0x14000a3fa
mov r8, rsi
lea rdx, str.___s
mov ecx, 4
call fcn.140007630
jmp 0x14000a3fa
mov rcx, qword [rbx + 0x128]
sub r14, rax
lea r8, [r14 + 1]
add rdx, rcx
call sub.api_ms_win_crt_private_l1_1_0.dll_memmove
jmp 0x14000a3e9
vmovq xmm6, qword [0x14016f728]
lea r12, [rsp + 0x50]
xor ebp, ebp
lea r15, [rsp + 0x58]
jmp 0x14000a567
cmp qword [rsp + 0x50], 0
je 0x14000a5cf
mov rdi, qword [rbx + 0x128]
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rcx, rsi
mov r13, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea rdx, [r13 + rax + 1]
cmp rdx, qword [rbx + 0x120]
jae 0x14000a5e8
lea rcx, [rdi + r13]
mov rdx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
xor ecx, ecx
call sub.api_ms_win_crt_time_l1_1_0.dll__time64
sub rax, qword [rsp + 0x48]
cmp rax, 0x3b
jg 0x14000a618
mov r13, qword [rbx + 0x128]
mov edx, 0xa
mov rcx, r13
call sub.api_ms_win_crt_private_l1_1_0.dll_strchr
test rax, rax
jne 0x14000a39c
mov ecx, 0x100
mov rdi, rsi
mov rax, rbp
mov r9, r12
rep stosq qword [rdi], rax
mov rcx, qword [rbx + 8]
mov r8d, 0x7fc
mov rdx, rsi
call fcn.140048cd0
test eax, eax
je 0x14000a4f0
cmp eax, 0x51
jne 0x14000a5cf
mov rcx, qword [rbx + 0x118]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x60], 1
mov qword [rsp + 0x20], r15
mov rdx, qword [rsp + 0x38]
mov qword [rsp + 0x68], rcx
add ecx, 1
vmovq qword [rsp + 0x58], xmm6
call r14
test eax, eax
jg 0x14000a534
lea rdx, str.stratum_recv_line_failed
xor ecx, ecx
xor esi, esi
call fcn.140007630
jmp 0x14000a3fa
and rdx, 0xfffffffffffff800
mov rcx, rdi
add rdx, 0x800
mov qword [rbx + 0x120], rdx
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
mov qword [rbx + 0x128], rax
mov rdi, rax
jmp 0x14000a528
mov r13, qword [rbx + 0x128]
jmp 0x14000a39c
lea rdx, str.stratum_recv_line_failed_to_parse_a_newline_terminated_string
xor esi, esi
call fcn.140007630
jmp 0x14000a3fa