Function at 0x14000ef10
Capabilities:
Get socket status

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x398
vmovups xmmword [rsp + 0x380], xmm6
vmovq xmm6, qword [0x1402b9230]
xor ebx, ebx
xor esi, esi
xor r12d, r12d
mov rbp, rcx
lea r14, [rcx + 0x130]
jmp 0x14000efe9
mov rcx, qword [rbp + 0x118]
lea rax, [rsp + 0x68]
lea rdx, [rsp + 0x170]
mov dword [rsp + 0x170], 1
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x178], rcx
add ecx, 1
vmovq qword [rsp + 0x68], xmm6
call qword [sym.imp.WS2_32.dll_select]
lea rdx, str.stratum_subscribe_timed_out
test eax, eax
jg 0x14000f070
mov ecx, 1
call sym.applog.constprop.1
mov rcx, r15
call sym.free
test rsi, rsi
je 0x14000f1a8
mov rax, qword [rsi + 8]
cmp rax, 0xffffffffffffffff
je 0x14000efd8
sub rax, 1
mov qword [rsi + 8], rax
je 0x14000f132
nop dword [rax + rax]
test r12, r12
setne al
xor ebx, 1
and bl, al
je 0x14000f1d9
mov rdi, qword [rbp + 0x148]
test rdi, rdi
je 0x14000f180
mov rcx, rdi
call sym.strlen
lea rcx, [rax + 0x80]
call sym.malloc
mov r15, rax
test bl, bl
jne 0x14000f140
mov r8, rdi
lea rdx, str._id_:_1___method_:__mining.subscribe____params_:___cpuminer_flex_1.0_x64W_____s__
mov rcx, rax
call sym.sprintf_1
mov rax, qword [str._f2_]
cmp byte [rax], 0
jne 0x14000f15f
mov rcx, r14
call sym.pthread_mutex_lock
mov rcx, rbp
mov rdx, r15
call sym.send_line
mov rcx, r14
mov edi, eax
call sym.pthread_mutex_unlock
test dil, dil
jne 0x14000ef50
lea rdx, str.stratum_subscribe_send_failed
jmp 0x14000efa0
mov rcx, rbp
call sym.stratum_recv_line
mov r12, rax
test rax, rax
je 0x14000f1b0
xor edx, edx
mov rcx, rax
lea r8, [rsp + 0x70]
call sym.json_loads
mov rcx, r12
mov rsi, rax
call sym.free
test rsi, rsi
je 0x14000f378
lea rdx, str.result
mov rcx, rsi
call sym.json_object_get
lea rdx, str.error
mov rcx, rsi
mov qword [rsp + 0x38], rax
mov r13, rax
call sym.json_object_get
mov rdi, rax
test r13, r13
je 0x14000f340
cmp dword [r13], 7
je 0x14000f340
test rax, rax
je 0x14000f200
cmp dword [rax], 7
je 0x14000f200
mov rax, qword [0x140311c80]
cmp byte [rax], 0
jne 0x14000f3a8
test bl, bl
jne 0x14000f3a8
mov rcx, r15
call sym.free
mov rax, qword [rsi + 8]
cmp rax, 0xffffffffffffffff
je 0x14000efd8
sub rax, 1
mov qword [rsi + 8], rax
jne 0x14000efd8
mov rcx, rsi
call sym.json_delete
jmp 0x14000efd8
lea rdx, str._id_:_1___method_:__mining.subscribe____params_:___
mov rcx, r15
call sym.sprintf_1
mov rax, qword [str._f2_]
cmp byte [rax], 0
je 0x14000f03a
mov r8, r15
lea rdx, [0x1402b827e]
mov ecx, 5
call sym.applog.constprop.0
jmp 0x14000f03a
mov ecx, pe_nt_image_headers64
call sym.malloc
mov r15, rax
test bl, bl
jne 0x14000f140
lea rdx, str._id_:_1___method_:__mining.subscribe____params_:___cpuminer_flex_1.0_x64W__
mov rcx, rax
call sym.sprintf_1
jmp 0x14000f02a
xor esi, esi
jmp 0x14000efd8
mov rcx, r15
call sym.free
test rsi, rsi
je 0x14000f1d9
mov rax, qword [rsi + 8]
cmp rax, 0xffffffffffffffff
je 0x14000f1d9
sub rax, 1
mov qword [rsi + 8], rax
jne 0x14000f1d9
mov rcx, rsi
call sym.json_delete
xor edi, edi
vmovups xmm6, xmmword [rsp + 0x380]
mov eax, edi
add rsp, 0x398
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x38]
xor edx, edx
call sym.json_array_get
mov rdx, rax
lea rax, [rbp + 0x480]
mov qword [rsp + 0x40], rax
test rdx, rdx
je 0x14000f2b5
cmp dword [rdx], 1
jne 0x14000f2b5
mov rcx, rdx
mov qword [rsp + 0x48], rdx
call sym.json_array_size
test eax, eax
jle 0x14000f2b5
mov byte [rsp + 0x57], bl
lea r13d, [rax - 1]
mov rbx, qword [rsp + 0x48]
xor edi, edi
mov qword [rsp + 0x58], rsi
jmp 0x14000f298
cmp dword [rax], 1
jne 0x14000f2ab
xor edx, edx
mov rcx, rax
call sym.json_array_get
mov rcx, rax
call sym.json_string_value
mov rcx, rax
test rax, rax
je 0x14000f28c
lea rdx, str.mining.notify
call qword [sym.imp.msvcrt.dll__stricmp]
test eax, eax
je 0x14000f3e1
lea rax, [rdi + 1]
cmp r13, rdi
je 0x14000f2ab
mov rdi, rax
mov rdx, rdi
mov rcx, rbx
call sym.json_array_get
mov rsi, rax
test rax, rax
jne 0x14000f258
movzx ebx, byte [rsp + 0x57]
mov rsi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
call sym.pthread_mutex_lock
mov rcx, qword [rbp + 0x148]
test rcx, rcx
je 0x14000f2d0
call sym.free
xor eax, eax
nop word [rax + rax]
mov qword [rbp + 0x148], rax
mov rax, qword [0x1402b9210]
mov rcx, qword [rsp + 0x40]
mov qword [rbp + 0x138], rax
call sym.pthread_mutex_unlock
mov rdx, qword [rsp + 0x38]
mov r8d, 1
mov rcx, rbp
call sym.stratum_parse_extranonce
mov rcx, r15
mov edi, eax
call sym.free
mov rax, qword [rsi + 8]
cmp rax, 0xffffffffffffffff
je 0x14000f330
sub rax, 1
mov qword [rsi + 8], rax
jne 0x14000f330
mov rcx, rsi
call sym.json_delete
test dil, dil
je 0x14000efd8
jmp 0x14000f1db
mov rax, qword [0x140311c80]
cmp byte [rax], 0
jne 0x14000f354
test bl, bl
je 0x14000f10e
mov rcx, r15
call sym.free
test rdi, rdi
jne 0x14000f3b0
lea rcx, str._unknown_reason_
call sym.strdup
mov rdi, rax
jmp 0x14000f3c0
mov r8d, dword [rsp + 0x70]
lea r9, [rsp + 0xcc]
mov ecx, 1
lea rdx, str.JSON_decode_failed__d_:__s
call sym.applog.constprop.1
mov rcx, r15
call sym.free
jmp 0x14000efd8
mov rcx, r15
call sym.free
mov rcx, rdi
mov edx, 3
call sym.json_dumps
mov rdi, rax
mov r8, rdi
lea rdx, str.JSON_RPC_call_failed:__s
mov ecx, 1
call sym.applog.constprop.1
mov rcx, rdi
call sym.free
jmp 0x14000efbb
mov r13, rsi
mov edx, 1
movzx ebx, byte [rsp + 0x57]
mov rsi, qword [rsp + 0x58]
mov rcx, r13
call sym.json_array_get
mov rcx, rax
call sym.json_string_value
mov rdi, rax
mov rax, qword [0x140311c80]
cmp byte [rax], 0
je 0x14000f44c
test rdi, rdi
je 0x14000f2b5
mov r8, rdi
lea rdx, str.Stratum_session_id:__s
mov ecx, 5
call sym.applog.constprop.0
mov rcx, qword [rsp + 0x40]
call sym.pthread_mutex_lock
mov rcx, qword [rbp + 0x148]
test rcx, rcx
je 0x14000f46b
call sym.free
jmp 0x14000f46b
mov rcx, qword [rsp + 0x40]
call sym.pthread_mutex_lock
mov rcx, qword [rbp + 0x148]
test rcx, rcx
jne 0x14000f478
test rdi, rdi
je 0x14000f2d0
mov rcx, rdi
call sym.strdup
jmp 0x14000f2d8
call sym.free
jmp 0x14000f462