Function at 0x140011430
Capabilities:
Get socket status

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x358
mov rbp, r8
mov rbx, rcx
mov rcx, rdx
mov rdi, rdx
call sym.strlen
mov rcx, rbp
mov rsi, rax
call sym.strlen
lea rcx, [rsi + rax + 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 [str._f2_]
cmp byte [rax], 0
jne 0x140011510
lea rbp, [rbx + 0x130]
mov rcx, rbp
call sym.pthread_mutex_lock
mov rcx, rbx
mov rdx, rsi
call sym.send_line
mov rcx, rbp
mov edi, eax
call sym.pthread_mutex_unlock
test dil, dil
jne 0x1400114da
jmp 0x1400114ea
mov rdx, rax
mov rcx, rbx
call sym.stratum_handle_method
mov r13d, eax
test al, al
je 0x140011530
mov rcx, r15
call sym.free
mov rcx, rbx
call sym.stratum_recv_line
mov r15, rax
test rax, rax
jne 0x1400114c0
mov rcx, rsi
call sym.free
xor r13d, r13d
mov eax, r13d
add rsp, 0x358
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r8, rsi
lea rdx, [0x1402b827e]
mov ecx, 5
call sym.applog.constprop.0
jmp 0x140011491
lea r14, [rsp + 0x40]
xor edx, edx
mov rcx, r15
mov r8, r14
call sym.json_loads
mov rcx, r15
mov r12, rax
call sym.free
test r12, r12
je 0x140011634
lea rdx, str.result
mov rcx, r12
call sym.json_object_get
lea rdx, str.error
mov rcx, r12
mov r15, rax
call sym.json_object_get
test r15, r15
je 0x1400115f0
cmp dword [r15], 6
je 0x1400115f0
test rax, rax
je 0x14001158c
cmp dword [rax], 7
jne 0x1400115f0
mov rax, qword [str.z__]
cmp byte [rax], 0
je 0x1400115de
lea rdx, str._id_:_3___method_:__mining.extranonce.subscribe____params_:___
mov rcx, rsi
call sym.sprintf_1
mov rax, qword [str._f2_]
cmp byte [rax], 0
jne 0x1400116d2
mov rcx, rbp
call sym.pthread_mutex_lock
mov rcx, rbx
mov rdx, rsi
call sym.send_line
mov rcx, rbp
mov r13d, eax
call sym.pthread_mutex_unlock
test r13b, r13b
jne 0x14001165f
mov rcx, rsi
call sym.free
mov r13d, edi
jmp 0x140011609
mov ecx, 1
lea rdx, str.Stratum_authentication_failed
call sym.applog.constprop.1
mov rcx, rsi
call sym.free
mov rax, qword [r12 + 8]
cmp rax, 0xffffffffffffffff
je 0x1400114f5
sub rax, 1
mov qword [r12 + 8], rax
jne 0x1400114f5
mov rcx, r12
call sym.json_delete
jmp 0x1400114f5
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x9c]
mov ecx, 1
lea rdx, str.JSON_decode_failed__d_:__s
call sym.applog.constprop.1
mov rcx, rsi
call sym.free
jmp 0x1400114f2
mov rax, qword [rbx + 0x118]
mov rdx, qword [0x1402b9248]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x140], 1
mov qword [rsp + 0x148], rax
lea ecx, [rax + 1]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x38], rdx
lea rdx, [rsp + 0x140]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jg 0x1400116eb
lea rdx, str.Extranonce_disabled__subscribe_timed_out
mov ecx, 2
call sym.applog
mov rax, qword [str.z__]
mov rcx, rsi
mov byte [rax], 0
call sym.free
jmp 0x1400115e6
mov r8, rsi
lea rdx, [0x1402b827e]
mov ecx, 5
call sym.applog.constprop.0
jmp 0x1400115b7
mov rcx, rbx
call sym.stratum_recv_line
mov rbp, rax
test rax, rax
je 0x1400115de
mov r8, r14
xor edx, edx
mov rcx, rax
call sym.json_loads
mov r13, rax
test rax, rax
je 0x140011771
mov rcx, rax
lea rdx, [0x1402b851d]
call sym.json_object_get
mov rcx, rax
call sym.json_integer_value
cmp rax, 3
je 0x140011791
mov rdx, rbp
mov rcx, rbx
call sym.stratum_handle_method
test al, al
je 0x1400117cc
mov rax, qword [r13 + 8]
cmp rax, 0xffffffffffffffff
je 0x14001175c
sub rax, 1
mov qword [r13 + 8], rax
je 0x1400117e2
mov rcx, rbp
call sym.free
mov rcx, rsi
call sym.free
jmp 0x1400115e6
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x9c]
mov ecx, 2
lea rdx, str.JSON_decode_failed__d_:__s
call sym.applog
jmp 0x14001175c
lea rdx, str.result
mov rcx, r13
call sym.json_object_get
mov rdx, qword [0x140311c80]
cmp byte [rdx], 0
je 0x140011744
test rax, rax
je 0x1400117b6
cmp dword [rax], 6
jne 0x140011744
lea rdx, str.Method_extranonce.subscribe_is_not_supported
mov ecx, 5
call sym.applog.constprop.0
jmp 0x140011744
lea rdx, str.Stratum_answer_id_is_not_correct_
mov ecx, 2
call sym.applog
jmp 0x140011744
mov rcx, r13
call sym.json_delete
jmp 0x14001175c