Function at 0x1400114f0
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 sub.msvcrt.dll_strlen
mov rcx, rbp
mov rsi, rax
call sub.msvcrt.dll_strlen
lea rcx, [rsi + rax + 0x50]
call sub.msvcrt.dll_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 fcn.140009da0
mov rax, qword [0x1402c62f0]
cmp byte [rax], 0
jne 0x1400115d0
lea rbp, [rbx + 0x130]
mov rcx, rbp
call fcn.1402322e0
mov rcx, rbx
mov rdx, rsi
call fcn.14000a130
mov rcx, rbp
mov edi, eax
call fcn.140233210
test dil, dil
jne 0x14001159a
jmp 0x1400115aa
mov rdx, rax
mov rcx, rbx
call fcn.14000f600
mov r13d, eax
test al, al
je 0x1400115f0
mov rcx, r15
call sub.msvcrt.dll_free
mov rcx, rbx
call fcn.14000e900
mov r15, rax
test rax, rax
jne 0x140011580
mov rcx, rsi
call sub.msvcrt.dll_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, [0x14027322e]
mov ecx, 5
call fcn.14000a220
jmp 0x140011551
lea r14, [rsp + 0x40]
xor edx, edx
mov rcx, r15
mov r8, r14
call fcn.14022ad80
mov rcx, r15
mov r12, rax
call sub.msvcrt.dll_free
test r12, r12
je 0x1400116f4
lea rdx, str.result
mov rcx, r12
call fcn.14022bd80
lea rdx, str.error
mov rcx, r12
mov r15, rax
call fcn.14022bd80
test r15, r15
je 0x1400116b0
cmp dword [r15], 6
je 0x1400116b0
test rax, rax
je 0x14001164c
cmp dword [rax], 7
jne 0x1400116b0
mov rax, qword [0x1402c6290]
cmp byte [rax], 0
je 0x14001169e
lea rdx, str._id_:_3___method_:__mining.extranonce.subscribe____params_:___
mov rcx, rsi
call fcn.140009da0
mov rax, qword [0x1402c62f0]
cmp byte [rax], 0
jne 0x14001178f
mov rcx, rbp
call fcn.1402322e0
mov rcx, rbx
mov rdx, rsi
call fcn.14000a130
mov rcx, rbp
mov r13d, eax
call fcn.140233210
test r13b, r13b
jne 0x14001171f
mov rcx, rsi
call sub.msvcrt.dll_free
mov r13d, edi
jmp 0x1400116c9
mov ecx, 1
lea rdx, str.Stratum_authentication_failed
call fcn.14000a380
mov rcx, rsi
call sub.msvcrt.dll_free
mov rax, qword [r12 + 8]
cmp rax, 0xffffffffffffffff
je 0x1400115b5
sub rax, 1
mov qword [r12 + 8], rax
jne 0x1400115b5
mov rcx, r12
call fcn.14022c4c0
jmp 0x1400115b5
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x9c]
mov ecx, 1
lea rdx, str.JSON_decode_failed__d_:__s
call fcn.14000a380
mov rcx, rsi
call sub.msvcrt.dll_free
jmp 0x1400115b2
mov rax, qword [rbx + 0x118]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x140], 1
mov qword [rsp + 0x38], 3
lea rdx, [rsp + 0x140]
mov qword [rsp + 0x148], rax
lea ecx, [rax + 1]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jg 0x1400117a8
lea rdx, str.Extranonce_disabled__subscribe_timed_out
mov ecx, 2
call fcn.14000a6b0
mov rax, qword [0x1402c6290]
mov rcx, rsi
mov byte [rax], 0
call sub.msvcrt.dll_free
jmp 0x1400116a6
mov r8, rsi
lea rdx, [0x14027322e]
mov ecx, 5
call fcn.14000a220
jmp 0x140011677
mov rcx, rbx
call fcn.14000e900
mov rbp, rax
test rax, rax
je 0x14001169e
mov r8, r14
xor edx, edx
mov rcx, rax
call fcn.14022ad80
mov r13, rax
test rax, rax
je 0x14001182e
mov rcx, rax
lea rdx, [0x1402734cd]
call fcn.14022bd80
mov rcx, rax
call fcn.14022c2d0
cmp rax, 3
je 0x14001184e
mov rdx, rbp
mov rcx, rbx
call fcn.14000f600
test al, al
je 0x140011889
mov rax, qword [r13 + 8]
cmp rax, 0xffffffffffffffff
je 0x140011819
sub rax, 1
mov qword [r13 + 8], rax
je 0x14001189f
mov rcx, rbp
call sub.msvcrt.dll_free
mov rcx, rsi
call sub.msvcrt.dll_free
jmp 0x1400116a6
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x9c]
mov ecx, 2
lea rdx, str.JSON_decode_failed__d_:__s
call fcn.14000a6b0
jmp 0x140011819
lea rdx, str.result
mov rcx, r13
call fcn.14022bd80
mov rdx, qword [0x1402c6280]
cmp byte [rdx], 0
je 0x140011801
test rax, rax
je 0x140011873
cmp dword [rax], 6
jne 0x140011801
lea rdx, str.Method_extranonce.subscribe_is_not_supported
mov ecx, 5
call fcn.14000a220
jmp 0x140011801
lea rdx, str.Stratum_answer_id_is_not_correct_
mov ecx, 2
call fcn.14000a6b0
jmp 0x140011801
mov rcx, r13
call fcn.14022c4c0
jmp 0x140011819