Function at 0x140035a10
Capabilities:
Get socket status

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbp
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x360
mov rax, qword [0x1401858e0]
xor rax, rsp
mov qword [rsp + 0x350], rax
mov r12, qword [rsp + 0x30]
xor r13b, r13b
mov r14, qword [rsp + 0x30]
xor r15b, r15b
mov qword [r11 + 0x10], rbx
mov rbp, rcx
mov qword [r11 + 0x18], rdi
mov rax, qword [rbp + 0x40]
test rax, rax
je 0x140035a6c
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], 0
jne 0x140035a61
jmp 0x140035a6e
xor ecx, ecx
sub rcx, 0xffffffffffffff80
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140035d7f
test r15b, r15b
je 0x140035a92
lea rdx, str._id_:_1___method_:__mining.subscribe____params_:___
jmp 0x140035ab3
mov r8, qword [rbp + 0x40]
test r8, r8
je 0x140035aac
lea rdx, str._id_:_1___method_:__mining.subscribe____params_:___ccminer_8.19_KlausT_____s__
mov rcx, rsi
call fcn.140029290
jmp 0x140035abb
lea rdx, str._id_:_1___method_:__mining.subscribe____params_:___ccminer_8.19_KlausT__
mov rcx, rsi
call fcn.140029290
cmp byte [0x1401965d9], 0
je 0x140035ad8
mov r8, rsi
lea rdx, [0x140174018]
mov ecx, 4
call fcn.140033bd0
lea rcx, [rbp + 0x30]
call fcn.1400ca5e0
mov rcx, qword [rbp + 0x18]
mov rdx, rsi
call fcn.140034e70
lea rcx, [rbp + 0x30]
movzx ebx, al
call fcn.1400cabc0
test bl, bl
je 0x140035d01
mov rax, qword [rbp + 0x18]
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 0x140035b59
lea rdx, str.stratum_subscribe_timed_out
xor ecx, ecx
call fcn.140033bd0
jmp 0x140035d01
mov rcx, rbp
call fcn.140035030
mov r12, rax
test rax, rax
je 0x140035d01
lea r8, [rsp + 0x40]
xor edx, edx
mov rcx, rax
call fcn.1401110d0
mov rcx, r12
mov r14, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test r14, r14
jne 0x140035bad
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x9c]
lea rdx, str.JSON_decode_failed__d_:__s
xor ecx, ecx
call fcn.140033bd0
jmp 0x140035d01
lea rdx, [0x140173494]
mov rcx, r14
call fcn.140112820
mov rcx, rax
call fcn.140112750
cmp rax, 1
je 0x140035bdb
lea rdx, str.Stratum_subscribe_answer_id_is_not_correct_
mov ecx, 1
call fcn.140033bd0
lea rdx, str.result
mov rcx, r14
call fcn.140112820
lea rdx, str.error
mov rcx, r14
mov rdi, rax
call fcn.140112820
mov rbx, rax
test rdi, rdi
je 0x140035cb5
cmp dword [rdi], 7
je 0x140035cb5
test rax, rax
je 0x140035c1f
cmp dword [rax], 7
jne 0x140035cb5
mov r8d, 1
mov rdx, rdi
mov rcx, rbp
call fcn.1400358a0
test al, al
je 0x140035d01
mov rcx, rdi
mov r13b, 1
call fcn.1400357d0
cmp byte [0x1401965da], 0
mov rbx, rax
je 0x140035c68
test rax, rax
je 0x140035c68
mov r8, rax
lea rdx, str.Stratum_session_id:__s
mov ecx, 4
call fcn.140033bd0
lea rcx, [rbp + 0xd0]
call fcn.1400ca5e0
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x140035c83
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rbx, rbx
je 0x140035c93
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
jmp 0x140035c95
xor eax, eax
mov qword [rbp + 0x40], rax
lea rcx, [rbp + 0xd0]
movabs rax, 0x3ff0000000000000
mov qword [rbp + 0x38], rax
call fcn.1400cabc0
jmp 0x140035d01
cmp byte [0x1401965da], 0
jne 0x140035cc3
test r15b, r15b
je 0x140035d01
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rbx, rbx
je 0x140035ce0
mov edx, 3
mov rcx, rbx
call fcn.140113630
jmp 0x140035ced
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.140033bd0
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test r14, r14
je 0x140035d2b
mov rax, qword [r14 + 8]
cmp rax, 0xffffffffffffffff
je 0x140035d2b
sub rax, 1
mov qword [r14 + 8], rax
jne 0x140035d2b
mov rcx, r14
call fcn.140112620
test r13b, r13b
jne 0x140035d42
test r12, r12
je 0x140035d42
test r15b, r15b
jne 0x140035d42
mov r15b, 1
jmp 0x140035a54
mov rdi, qword [rsp + 0x3a0]
movzx eax, r13b
mov rbx, qword [rsp + 0x398]
mov rcx, qword [rsp + 0x350]
xor rcx, rsp
call fcn.1401150e0
mov rbp, qword [rsp + 0x3a8]
add rsp, 0x360
pop r15
pop r14
pop r13
pop r12
pop rsi
ret
lea rdx, str.Out_of_memory_
xor ecx, ecx
call fcn.140033bd0
mov ecx, 2
call fcn.1400293d0
int3