Function at 0x14000ef20
Capabilities:
Get socket status

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x388
vmovups xmmword [rsp + 0x370], xmm6
vmovq xmm6, qword [0x140274978]
xor edi, edi
xor ebx, ebx
xor esi, esi
mov r13, rcx
lea r14, [rcx + 0x130]
jmp 0x14000efff
mov rcx, qword [r13 + 0x118]
lea rax, [rsp + 0x58]
lea rdx, [rsp + 0x160]
mov dword [rsp + 0x160], 1
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x168], rcx
add ecx, 1
vmovq qword [rsp + 0x58], xmm6
call qword [sym.imp.WS2_32.dll_select]
lea rdx, str.stratum_subscribe_timed_out
test eax, eax
jg 0x14000f088
mov ecx, 1
call fcn.14000a380
mov rcx, r15
call sub.msvcrt.dll_free
test rbx, rbx
je 0x14000f1d0
mov rax, qword [rbx + 8]
cmp rax, 0xffffffffffffffff
je 0x14000efe8
sub rax, 1
mov qword [rbx + 8], rax
je 0x14000f460
nop dword [rax + rax]
test rsi, rsi
je 0x14000f209
test dil, dil
jne 0x14000f209
mov edi, 1
mov rbp, qword [r13 + 0x148]
test rbp, rbp
je 0x14000f1a0
mov rcx, rbp
call sub.msvcrt.dll_strlen
lea rcx, [rax + 0x80]
call sub.msvcrt.dll_malloc
mov r15, rax
test dil, dil
jne 0x14000f160
mov r8, rbp
lea rdx, str._id_:_1___method_:__mining.subscribe____params_:___cpuminer_opt_3.23.1_____s__
mov rcx, rax
call fcn.140009da0
mov rax, qword [0x1402c62f0]
cmp byte [rax], 0
jne 0x14000f17f
mov rcx, r14
call fcn.1402322e0
mov rcx, r13
mov rdx, r15
call fcn.14000a130
mov rcx, r14
mov ebp, eax
call fcn.140233210
test bpl, bpl
jne 0x14000ef60
lea rdx, str.stratum_subscribe_send_failed
jmp 0x14000efb0
mov rcx, r13
call fcn.14000e900
mov rsi, rax
test rax, rax
je 0x14000f1e0
xor edx, edx
mov rcx, rax
lea r8, [rsp + 0x60]
call fcn.14022ad80
mov rcx, rsi
mov rbx, rax
call sub.msvcrt.dll_free
test rbx, rbx
je 0x14000f3b0
lea rdx, str.result
mov rcx, rbx
call fcn.14022bd80
lea rdx, str.error
mov rcx, rbx
mov qword [rsp + 0x38], rax
mov r12, rax
call fcn.14022bd80
mov rbp, rax
test r12, r12
je 0x14000f370
cmp dword [r12], 7
je 0x14000f370
test rax, rax
je 0x14000f230
cmp dword [rax], 7
je 0x14000f230
mov rax, qword [0x1402c6280]
cmp byte [rax], 0
jne 0x14000f420
test dil, dil
jne 0x14000f420
mov rcx, r15
call sub.msvcrt.dll_free
mov rax, qword [rbx + 8]
cmp rax, 0xffffffffffffffff
je 0x14000effa
sub rax, 1
mov qword [rbx + 8], rax
jne 0x14000effa
mov rcx, rbx
call fcn.14022c4c0
jmp 0x14000effa
lea rdx, str._id_:_1___method_:__mining.subscribe____params_:___
mov rcx, r15
call fcn.140009da0
mov rax, qword [0x1402c62f0]
cmp byte [rax], 0
je 0x14000f051
mov r8, r15
lea rdx, [0x14027322e]
mov ecx, 5
call fcn.14000a220
jmp 0x14000f051
mov ecx, pe_nt_image_headers64
call sub.msvcrt.dll_malloc
mov r15, rax
test dil, dil
jne 0x14000f160
lea rdx, str._id_:_1___method_:__mining.subscribe____params_:___cpuminer_opt_3.23.1__
mov rcx, rax
call fcn.140009da0
jmp 0x14000f041
xor ebx, ebx
jmp 0x14000efe8
mov rcx, r15
call sub.msvcrt.dll_free
test rbx, rbx
je 0x14000f209
mov rax, qword [rbx + 8]
cmp rax, 0xffffffffffffffff
je 0x14000f209
sub rax, 1
mov qword [rbx + 8], rax
jne 0x14000f209
mov rcx, rbx
call fcn.14022c4c0
xor ebp, ebp
vmovups xmm6, xmmword [rsp + 0x370]
mov eax, ebp
add rsp, 0x388
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x38]
xor edx, edx
call fcn.14022bfa0
test rax, rax
je 0x14000f3e0
cmp dword [rax], 1
jne 0x14000f3e0
mov rcx, rax
mov qword [rsp + 0x40], rax
call fcn.14022bf80
test eax, eax
jle 0x14000f3e0
mov qword [rsp + 0x48], r15
lea r12d, [rax - 1]
mov r15, qword [rsp + 0x40]
xor ebp, ebp
mov qword [rsp + 0x40], rbx
jmp 0x14000f2c0
cmp dword [rax], 1
jne 0x14000f2d3
xor edx, edx
mov rcx, rax
call fcn.14022bfa0
mov rcx, rax
call fcn.14022c1d0
mov rcx, rax
test rax, rax
je 0x14000f2b4
lea rdx, str.mining.notify
call qword [sym.imp.msvcrt.dll__stricmp]
test eax, eax
je 0x14000f46d
lea rax, [rbp + 1]
cmp rbp, r12
je 0x14000f2d3
mov rbp, rax
mov rdx, rbp
mov rcx, r15
call fcn.14022bfa0
mov rbx, rax
test rax, rax
jne 0x14000f280
mov r15, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
lea rbp, [r13 + 0x480]
mov rcx, rbp
call fcn.1402322e0
mov rcx, qword [r13 + 0x148]
test rcx, rcx
je 0x14000f2fd
call sub.msvcrt.dll_free
xor r8d, r8d
mov rax, qword [0x140274960]
mov qword [r13 + 0x148], r8
mov rcx, rbp
mov qword [r13 + 0x138], rax
call fcn.140233210
mov rdx, qword [rsp + 0x38]
mov r8d, 1
mov rcx, r13
call fcn.14000c190
mov rcx, r15
mov ebp, eax
call sub.msvcrt.dll_free
mov rax, qword [rbx + 8]
cmp rax, 0xffffffffffffffff
je 0x14000f358
sub rax, 1
mov qword [rbx + 8], rax
je 0x14000f533
nop word [rax + rax]
test bpl, bpl
je 0x14000efe8
jmp 0x14000f20b
mov rax, qword [0x1402c6280]
cmp byte [rax], 0
jne 0x14000f385
test dil, dil
je 0x14000f127
mov rcx, r15
call sub.msvcrt.dll_free
test rbp, rbp
jne 0x14000f428
lea rcx, str._unknown_reason_
call sub.msvcrt.dll__strdup
mov rbp, rax
jmp 0x14000f438
mov r8d, dword [rsp + 0x60]
lea r9, [rsp + 0xbc]
mov ecx, 1
lea rdx, str.JSON_decode_failed__d_:__s
call fcn.14000a380
mov rcx, r15
call sub.msvcrt.dll_free
jmp 0x14000efe8
mov rax, qword [0x1402c6280]
cmp byte [rax], 0
jne 0x14000f2dd
lea rbp, [r13 + 0x480]
mov rcx, rbp
call fcn.1402322e0
mov r8, qword [r13 + 0x148]
test r8, r8
je 0x14000f300
mov rcx, r8
call sub.msvcrt.dll_free
xor r8d, r8d
jmp 0x14000f300
mov rcx, r15
call sub.msvcrt.dll_free
mov rcx, rbp
mov edx, 3
call fcn.140228910
mov rbp, rax
mov r8, rbp
lea rdx, str.JSON_RPC_call_failed:__s
mov ecx, 1
call fcn.14000a380
mov rcx, rbp
call sub.msvcrt.dll_free
jmp 0x14000efcb
mov rcx, rbx
call fcn.14022c4c0
jmp 0x14000efe8
mov r12, rbx
mov edx, 1
mov r15, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rcx, r12
call fcn.14022bfa0
mov rcx, rax
call fcn.14022c1d0
mov r8, rax
mov rax, qword [0x1402c6280]
cmp byte [rax], 0
je 0x14000f4e9
test r8, r8
je 0x14000f2dd
lea rdx, str.Stratum_session_id:__s
mov ecx, 5
mov qword [rsp + 0x40], r8
lea rbp, [r13 + 0x480]
call fcn.14000a220
mov rcx, rbp
call fcn.1402322e0
mov rcx, qword [r13 + 0x148]
mov r8, qword [rsp + 0x40]
test rcx, rcx
je 0x14000f517
call sub.msvcrt.dll_free
mov r8, qword [rsp + 0x40]
jmp 0x14000f517
lea rbp, [r13 + 0x480]
mov qword [rsp + 0x40], r8
mov rcx, rbp
call fcn.1402322e0
mov rcx, qword [r13 + 0x148]
mov r8, qword [rsp + 0x40]
test rcx, rcx
jne 0x14000f527
test r8, r8
je 0x14000f300
mov rcx, r8
call sub.msvcrt.dll__strdup
mov r8, rax
jmp 0x14000f300
call sub.msvcrt.dll_free
mov r8, qword [rsp + 0x40]
jmp 0x14000f50e
mov rcx, rbx
call fcn.14022c4c0
jmp 0x14000f358