Function at 0x14000eab0
Capabilities:
Get socket status

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x368
mov rbp, r8
mov rbx, rcx
mov rcx, rdx
mov rdi, rdx
call sym.strlen
mov rcx, rbp
mov rsi, rax
call sym.strlen
add rsi, rax
mov rax, qword [0x1401fd630]
cmp byte [rax], 0
je 0x14000ebb0
lea rcx, [rsi + 0x12c]
call sym.malloc
mov r9, rbp
mov r8, rdi
lea rdx, str._method_:__login____params_:__login_:___s____pass_:___s____agent_:___s____id_:_1
mov rsi, rax
lea rax, str.cpuminer_multi_1.3.9.4
mov qword [rsp + 0x20], rax
mov rcx, rsi
call sym.sprintf_1
mov rax, qword [0x1401fd6f0]
cmp byte [rax], 0
jne 0x14000ebe1
lea r12, [rbx + 0x130]
mov rcx, r12
call sym.pthread_mutex_lock
mov rcx, rbx
mov rdx, rsi
call sym.send_line
mov rcx, r12
mov edi, eax
call sym.pthread_mutex_unlock
test dil, dil
jne 0x14000eb7e
jmp 0x14000eb8e
mov rdx, rax
mov rcx, rbx
call sym.stratum_handle_method
mov r15d, eax
test al, al
je 0x14000ec00
mov rcx, r13
call sym.free
mov rcx, rbx
call sym.stratum_recv_line
mov r13, rax
test rax, rax
jne 0x14000eb60
mov rcx, rsi
call sym.free
xor r15d, r15d
mov eax, r15d
add rsp, 0x368
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsi + 0x50]
call sym.malloc
mov r9, rbp
mov r8, rdi
lea rdx, str._id_:_2___method_:__mining.authorize____params_:____s_____s__
mov rcx, rax
mov rsi, rax
call sym.sprintf_1
mov rax, qword [0x1401fd6f0]
cmp byte [rax], 0
je 0x14000eb32
mov r8, rsi
lea rdx, [0x1401b2b38]
mov ecx, 4
call sym.applog
jmp 0x14000eb32
lea r14, [rsp + 0x50]
xor edx, edx
mov rcx, r13
mov r8, r14
call sym.json_loads
mov rcx, r13
mov rbp, rax
call sym.free
test rbp, rbp
je 0x14000ee0a
lea rdx, str.result
mov rcx, rbp
call sym.json_object_get
lea rdx, str.error
mov rcx, rbp
mov r13, rax
call sym.json_object_get
mov rcx, rbp
lea rdx, [0x1401b2d51]
mov qword [rsp + 0x38], rax
call sym.json_object_get
mov rcx, rax
call sym.json_integer_value
cmp eax, 2
je 0x14000ed80
mov rax, qword [0x1401fd630]
cmp byte [rax], 0
jne 0x14000edc0
mov rax, qword [0x1401fd6c0]
cmp byte [rax], 0
jne 0x14000ecc0
mov rcx, rsi
call sym.free
mov r15d, edi
mov rax, qword [rbp + 8]
cmp rax, 0xffffffffffffffff
je 0x14000eb99
lock dec qword [rbp + 8]
jne 0x14000eb99
mov rcx, rbp
call sym.json_delete
jmp 0x14000eb99
lea rdx, str._id_:_3___method_:__mining.extranonce.subscribe____params_:___
mov rcx, rsi
call sym.sprintf_1
mov rax, qword [0x1401fd6f0]
cmp byte [rax], 0
jne 0x14000eead
mov rcx, r12
call sym.pthread_mutex_lock
mov rcx, rbx
mov rdx, rsi
call sym.send_line
mov rcx, r12
mov r13d, eax
call sym.pthread_mutex_unlock
test r13b, r13b
je 0x14000ec88
mov rax, qword [rbx + 0x118]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x150], 1
mov qword [rsp + 0x48], 3
lea rdx, [rsp + 0x150]
mov qword [rsp + 0x158], rax
lea ecx, [rax + 1]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jg 0x14000ee32
mov rax, qword [0x1401fd6b0]
cmp byte [rax], 0
je 0x14000ec88
lea rdx, str.stratum_extranonce_subscribe_timed_out
mov ecx, 4
call sym.applog
mov rcx, rsi
call sym.free
jmp 0x14000ec90
test r13, r13
je 0x14000eda3
cmp dword [r13], 6
je 0x14000eda3
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x14000ec6c
cmp dword [rax], 7
je 0x14000ec6c
xor ecx, ecx
lea rdx, str.Stratum_authentication_failed
call sym.applog.constprop.0
mov rcx, rsi
call sym.free
jmp 0x14000ec93
mov rcx, rbp
call sym.rpc2_login_decode
mov rcx, r13
lea rdx, [0x1401b2f88]
lea r13, [rbx + 0x338]
call sym.json_object_get
mov rcx, r13
mov r15, rax
call sym.pthread_mutex_lock
test r15, r15
je 0x14000edfd
lea rdx, [rbx + 0x210]
mov rcx, r15
call sym.rpc2_job_decode
mov rcx, r13
call sym.pthread_mutex_unlock
jmp 0x14000ec7c
mov r8d, dword [rsp + 0x50]
xor ecx, ecx
lea r9, [rsp + 0xac]
lea rdx, str.JSON_decode_failed__d_:__s
call sym.applog.constprop.0
mov rcx, rsi
call sym.free
jmp 0x14000eb96
mov rcx, rbx
call sym.stratum_recv_line
mov r12, rax
test rax, rax
je 0x14000ec88
mov r8, r14
xor edx, edx
mov rcx, rax
call sym.json_loads
mov r13, rax
test rax, rax
je 0x14000eec6
mov rcx, rax
lea rdx, [0x1401b2d51]
call sym.json_object_get
mov rcx, rax
call sym.json_integer_value
cmp rax, 3
je 0x14000ee87
mov rdx, r12
mov rcx, rbx
call sym.stratum_handle_method
test al, al
je 0x14000eee6
mov rax, qword [r13 + 8]
cmp rax, 0xffffffffffffffff
je 0x14000ee98
lock dec qword [r13 + 8]
je 0x14000eef9
mov rcx, r12
call sym.free
mov rcx, rsi
call sym.free
jmp 0x14000ec90
mov r8, rsi
lea rdx, [0x1401b2b38]
mov ecx, 4
call sym.applog
jmp 0x14000ecdf
mov r8d, dword [rsp + 0x50]
lea r9, [rsp + 0xac]
lea rdx, str.JSON_decode_failed__d_:__s
mov ecx, 1
call sym.applog
jmp 0x14000ee98
lea rdx, str.Stratum_answer_id_is_not_correct_
mov ecx, 1
call sym.applog
jmp 0x14000ee87
mov rcx, r13
call sym.json_delete
jmp 0x14000ee98