Function at 0x14000f950
Capabilities:
Get socket status

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x3b8
vmovups xmmword [rsp + 0x360], xmm6
vmovups xmmword [rsp + 0x370], xmm7
vmovups xmmword [rsp + 0x380], xmm8
vmovups xmmword [rsp + 0x390], xmm9
vmovups xmmword [rsp + 0x3a0], xmm10
lea rax, str._id_:_1___method_:__mining.subscribe____params_:___
xor esi, esi
xor r15d, r15d
xor r13d, r13d
vmovq xmm9, rax
mov rbp, rcx
lea r14, [rcx + 0x130]
jmp 0x14000fa62
mov rax, qword [0x140329368]
mov rcx, qword [rbp + 0x118]
lea rdx, [rsp + 0x150]
mov dword [rsp + 0x150], 1
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x158], rcx
inc ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
lea rdx, str.stratum_subscribe_timed_out
test eax, eax
jg 0x14000faf0
mov ecx, 1
call sym.applog.constprop.1
mov rcx, rbx
call sym.free
test r15, r15
je 0x14000fc30
mov rax, qword [r15 + 8]
cmp rax, 0xffffffffffffffff
je 0x14000fa50
dec rax
mov qword [r15 + 8], rax
je 0x14000fbb2
nop word [rax + rax]
test r13, r13
setne al
xor esi, 1
and sil, al
je 0x14000fc68
mov r8, qword [rbp + 0x148]
test r8, r8
je 0x14000fc00
mov rcx, r8
mov qword [rsp + 0x30], r8
call sym.strlen
lea rcx, [rax + 0x80]
call sym.malloc
test sil, sil
mov r8, qword [rsp + 0x30]
mov rbx, rax
jne 0x14000fbc0
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 [0x140386cf0]
cmp byte [rax], 0
jne 0x14000fbdd
mov rcx, r14
call sym.pthread_mutex_lock
mov rcx, rbp
mov rdx, rbx
call sym.send_line
mov rcx, r14
mov edi, eax
call sym.pthread_mutex_unlock
test dil, dil
jne 0x14000f9c0
lea rdx, str.stratum_subscribe_send_failed
jmp 0x14000fa15
mov rcx, rbp
call sym.stratum_recv_line
mov r13, rax
test rax, rax
je 0x14000fc40
xor edx, edx
mov rcx, rax
lea r8, [rsp + 0x50]
call sym.json_loads
mov rcx, r13
mov r15, rax
call sym.free
test r15, r15
je 0x14000fe50
lea rdx, str.result
mov rcx, r15
call sym.json_object_get
lea rdx, str.error
mov rcx, r15
vmovq xmm6, rax
call sym.json_object_get
mov rdi, rax
vmovq rax, xmm6
test rax, rax
je 0x14000fe10
cmp dword [rax], 7
je 0x14000fe10
test rdi, rdi
je 0x14000fcb0
cmp dword [rdi], 7
je 0x14000fcb0
mov rdx, qword [0x140386c80]
cmp byte [rdx], 0
jne 0x14000fe80
test sil, sil
jne 0x14000fe80
mov rcx, rbx
call sym.free
mov rax, qword [r15 + 8]
cmp rax, 0xffffffffffffffff
je 0x14000fa50
dec rax
mov qword [r15 + 8], rax
jne 0x14000fa50
mov rcx, r15
call sym.json_delete
jmp 0x14000fa50
vmovq rdx, xmm9
mov rcx, rbx
call sym.sprintf_1
mov rax, qword [0x140386cf0]
cmp byte [rax], 0
je 0x14000fabb
mov r8, rbx
lea rdx, [0x1403282be]
mov ecx, 5
call sym.applog.constprop.0
jmp 0x14000fabb
mov ecx, pe_nt_image_headers64
call sym.malloc
mov rbx, rax
test sil, sil
jne 0x14000fbc0
lea rdx, str._id_:_1___method_:__mining.subscribe____params_:___cpuminer_flex_1.0_x64W__
mov rcx, rax
call sym.sprintf_1
jmp 0x14000faab
xor r15d, r15d
jmp 0x14000fa50
mov rcx, rbx
call sym.free
test r15, r15
je 0x14000fc68
mov rax, qword [r15 + 8]
cmp rax, 0xffffffffffffffff
je 0x14000fc68
dec rax
mov qword [r15 + 8], rax
jne 0x14000fc68
mov rcx, r15
call sym.json_delete
xor edi, edi
vmovups xmm6, xmmword [rsp + 0x360]
vmovups xmm7, xmmword [rsp + 0x370]
mov eax, edi
vmovups xmm8, xmmword [rsp + 0x380]
vmovups xmm9, xmmword [rsp + 0x390]
vmovups xmm10, xmmword [rsp + 0x3a0]
add rsp, 0x3b8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
xor edx, edx
vmovq rcx, xmm6
call sym.json_array_get
mov rdx, rax
lea rax, [rbp + 0x480]
vmovq xmm10, rax
test rdx, rdx
je 0x14000fd7c
cmp dword [rdx], 1
jne 0x14000fd7c
mov rcx, rdx
mov qword [rsp + 0x30], rdx
call sym.json_array_size
test eax, eax
jle 0x14000fd7c
dec eax
lea rdi, str.mining.notify
mov byte [rsp + 0x3f], sil
vmovq xmm7, rbx
xor r12d, r12d
mov rbx, qword [rsp + 0x30]
vmovq xmm8, rdi
mov rsi, rax
jmp 0x14000fd5f
cmp dword [rax], 1
jne 0x14000fd72
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 0x14000fd52
vmovq rdx, xmm8
call qword [sym.imp.msvcrt.dll__stricmp]
test eax, eax
je 0x14000febd
lea rax, [r12 + 1]
cmp rsi, r12
je 0x14000fd72
mov r12, rax
mov rdx, r12
mov rcx, rbx
call sym.json_array_get
mov rdi, rax
test rax, rax
jne 0x14000fd20
movzx esi, byte [rsp + 0x3f]
vmovq rbx, xmm7
vmovq rcx, xmm10
call sym.pthread_mutex_lock
mov rcx, qword [rbp + 0x148]
test rcx, rcx
je 0x14000fd97
call sym.free
xor eax, eax
nop dword [rax]
mov qword [rbp + 0x148], rax
mov rax, qword [0x140329348]
vmovq rcx, xmm10
mov qword [rbp + 0x138], rax
call sym.pthread_mutex_unlock
mov r8d, 1
mov rcx, rbp
vmovq rdx, xmm6
call sym.stratum_parse_extranonce
mov rcx, rbx
mov edi, eax
call sym.free
mov rax, qword [r15 + 8]
cmp rax, 0xffffffffffffffff
je 0x14000fe00
dec rax
mov qword [r15 + 8], rax
jne 0x14000fe00
mov rcx, r15
call sym.json_delete
nop word [rax + rax]
test dil, dil
je 0x14000fa50
jmp 0x14000fc6a
mov rdx, qword [0x140386c80]
cmp byte [rdx], 0
jne 0x14000fe25
test sil, sil
je 0x14000fb8f
mov rcx, rbx
call sym.free
test rdi, rdi
jne 0x14000fe88
lea rcx, str._unknown_reason_
call sym.strdup
mov r8, rax
jmp 0x14000fe98
mov r8d, dword [rsp + 0x50]
lea r9, [rsp + 0xac]
lea rdx, str.JSON_decode_failed__d_:__s
mov ecx, 1
call sym.applog.constprop.1
mov rcx, rbx
call sym.free
jmp 0x14000fa50
mov rcx, rbx
call sym.free
mov edx, 3
mov rcx, rdi
call sym.json_dumps
mov r8, rax
lea rdx, str.JSON_RPC_call_failed:__s
mov ecx, 1
mov qword [rsp + 0x30], r8
call sym.applog.constprop.1
mov rcx, qword [rsp + 0x30]
call sym.free
jmp 0x14000fa30
mov rcx, rdi
mov edx, 1
vmovq rbx, xmm7
movzx esi, byte [rsp + 0x3f]
call sym.json_array_get
mov rcx, rax
call sym.json_string_value
mov rdi, rax
mov rax, qword [0x140386c80]
cmp byte [rax], 0
je 0x14000ff25
test rdi, rdi
je 0x14000fd7c
mov r8, rdi
lea rdx, str.Stratum_session_id:__s
mov ecx, 5
call sym.applog.constprop.0
vmovq rcx, xmm10
call sym.pthread_mutex_lock
mov rcx, qword [rbp + 0x148]
test rcx, rcx
je 0x14000ff44
call sym.free
jmp 0x14000ff44
vmovq rcx, xmm10
call sym.pthread_mutex_lock
mov rcx, qword [rbp + 0x148]
test rcx, rcx
jne 0x14000ff51
test rdi, rdi
je 0x14000fd97
mov rcx, rdi
call sym.strdup
jmp 0x14000fda0
call sym.free
jmp 0x14000ff3b