Function at 0x14001cee0
Capabilities:
Get socket status

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x360
mov rax, qword [0x14008d0f8]
xor rax, rsp
mov qword [rsp + 0x350], rax
xor r12d, r12d
xor r14d, r14d
xor r13d, r13d
xor r15d, r15d
mov rbp, rcx
cmp dword [rcx + 0x770], r12d
je 0x14001cf25
lea eax, [r12 + 1]
jmp 0x14001d27a
mov qword [rsp + 0x398], rbx
mov qword [rsp + 0x3a0], rsi
mov qword [rsp + 0x3a8], rdi
nop dword [rax]
mov rax, qword [rbp + 0x140]
test rax, rax
je 0x14001cf5b
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], 0
jne 0x14001cf50
jmp 0x14001cf5d
xor ecx, ecx
sub rcx, 0xffffffffffffff80
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test r15d, r15d
je 0x14001cf78
lea rdx, str._id_:_1___method_:__mining.subscribe____params_:___
jmp 0x14001cf9c
mov r8, qword [rbp + 0x140]
test r8, r8
je 0x14001cf95
lea rdx, str._id_:_1___method_:__mining.subscribe____params_:___ccminer_CPU_3.8.3_____s__
mov rcx, rsi
call fcn.14000b920
jmp 0x14001cfa4
lea rdx, str._id_:_1___method_:__mining.subscribe____params_:___ccminer_CPU_3.8.3__
mov rcx, rsi
call fcn.14000b920
cmp dword [0x1400a7850], 0
je 0x14001cfc1
mov r8, rsi
lea rdx, [0x140082d50]
mov ecx, 4
call fcn.14001ae00
lea rcx, [0x14008ed00]
call fcn.140027690
mov rcx, qword [rbp + 0x118]
mov rdx, rsi
call fcn.14001c290
lea rcx, [0x14008ed00]
mov ebx, eax
call fcn.140027c70
test ebx, ebx
je 0x14001d21d
mov rax, qword [rbp + 0x118]
lea rdx, [rsp + 0x140]
mov qword [rsp + 0x148], rax
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x140], 1
mov qword [rsp + 0x30], 0xa
lea ecx, [rax + 1]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jg 0x14001d04d
lea rdx, str.stratum_subscribe_timed_out
xor ecx, ecx
call fcn.14001ae00
jmp 0x14001d21d
mov rcx, rbp
call fcn.14001c450
mov r12, rax
test rax, rax
je 0x14001d21d
lea r8, [rsp + 0x40]
mov rcx, rax
call fcn.14000e130
mov rcx, r12
mov r14, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test r14, r14
jne 0x14001d09f
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x9c]
lea rdx, str.JSON_decode_failed__d_:__s
xor ecx, ecx
call fcn.14001ae00
jmp 0x14001d21d
cmp dword [r14], 0
jne 0x14001d0c6
lea rcx, [r14 + 0x10]
lea rdx, [0x140082358]
call fcn.14000ca40
test rax, rax
je 0x14001d0c6
cmp dword [rax], 3
jne 0x14001d0c6
cmp qword [rax + 0x10], 1
je 0x14001d0d7
lea rdx, str.Stratum_subscribe_answer_id_is_not_correct_
mov ecx, 1
call fcn.14001ae00
mov ebx, dword [r14]
test ebx, ebx
jne 0x14001d0f3
lea rcx, [r14 + 0x10]
lea rdx, str.result
call fcn.14000ca40
mov rdi, rax
jmp 0x14001d0f5
xor edi, edi
test ebx, ebx
jne 0x14001d10e
lea rcx, [r14 + 0x10]
lea rdx, str.error
call fcn.14000ca40
mov rbx, rax
jmp 0x14001d110
xor ebx, ebx
test rdi, rdi
je 0x14001d1d1
cmp dword [rdi], 7
je 0x14001d1d1
test rbx, rbx
je 0x14001d130
cmp dword [rbx], 7
jne 0x14001d1d1
mov r8d, 1
mov rdx, rdi
mov rcx, rbp
call fcn.14001cc50
test eax, eax
je 0x14001d21d
mov rcx, rdi
mov r13d, 1
call fcn.14001cb40
cmp dword [0x1400a7b1c], 0
mov rbx, rax
je 0x14001d17b
test rax, rax
je 0x14001d17b
mov r8, rax
lea rdx, str.Stratum_session_id:__s
lea ecx, [r13 + 3]
call fcn.14001ae00
lea rcx, [0x1400a7610]
call fcn.140027690
mov rcx, qword [rbp + 0x140]
test rcx, rcx
je 0x14001d199
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rbx, rbx
je 0x14001d1a9
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
jmp 0x14001d1ab
xor eax, eax
mov qword [rbp + 0x140], rax
lea rcx, [0x1400a7610]
movabs rax, 0x3ff0000000000000
mov qword [rbp + 0x130], rax
call fcn.140027c70
jmp 0x14001d21d
cmp dword [0x1400a7b1c], 0
jne 0x14001d1df
test r15d, r15d
je 0x14001d21d
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rbx, rbx
je 0x14001d1fc
mov edx, 3
mov rcx, rbx
call fcn.14000c490
jmp 0x14001d209
lea rcx, str._unknown_reason_
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov r8, rax
lea rdx, str.JSON_RPC_call_failed:__s
xor ecx, ecx
mov rsi, rax
call fcn.14001ae00
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test r14, r14
je 0x14001d247
mov rax, qword [r14 + 8]
cmp rax, 0xffffffffffffffff
je 0x14001d247
sub rax, 1
mov qword [r14 + 8], rax
jne 0x14001d247
mov rcx, r14
call fcn.14000ed90
test r13d, r13d
jne 0x14001d25f
test r12, r12
je 0x14001d25f
test r15d, r15d
jne 0x14001d25f
lea r15d, [r13 + 1]
jmp 0x14001cf40
mov rdi, qword [rsp + 0x3a8]
mov eax, r13d
mov rsi, qword [rsp + 0x3a0]
mov rbx, qword [rsp + 0x398]
mov rcx, qword [rsp + 0x350]
xor rcx, rsp
call fcn.14006df60
add rsp, 0x360
pop r15
pop r14
pop r13
pop r12
pop rbp
ret