Function at 0x410aa0
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 rsi, r8
mov r13, rcx
mov rcx, rdx
mov rbx, rdx
call sub.msvcrt.dll_strlen
mov rcx, rsi
mov rdi, rax
call sub.msvcrt.dll_strlen
lea rcx, [rdi + rax + 0x50]
call sub.msvcrt.dll_malloc
mov r9, rsi
mov r8, rbx
lea rdx, str._id_:_2___method_:__mining.authorize____params_:____s_____s__
mov rcx, rax
mov r14, rax
call fcn.0040ab90
mov rax, qword [0x00725790]
cmp byte [rax], 0
jne 0x410b90
lea rbx, [r13 + 0x130]
mov rcx, rbx
call fcn.00679e60
mov rcx, r13
mov rdx, r14
call fcn.0040aef0
mov rcx, rbx
mov r15d, eax
call fcn.0067ad90
test r15b, r15b
jne 0x410b49
jmp 0x410b70
mov rdx, rax
mov rcx, r13
call fcn.0040eaa0
mov edi, eax
test al, al
je 0x410bb0
mov rcx, r12
call sub.msvcrt.dll_free
mov rcx, r13
call fcn.0040de80
mov r12, rax
test rax, rax
jne 0x410b30
mov rcx, r14
xor r15d, r15d
call sub.msvcrt.dll_free
jmp 0x410b78
mov rcx, r14
call sub.msvcrt.dll_free
mov eax, r15d
add rsp, 0x358
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r8, r14
lea rdx, [0x006bb1a0]
mov ecx, 4
call fcn.0040b2f0
jmp 0x410b01
lea rbp, [rsp + 0x40]
xor edx, edx
mov rcx, r12
mov r8, rbp
call fcn.00672680
mov rcx, r12
mov rsi, rax
call sub.msvcrt.dll_free
test rsi, rsi
je 0x410d21
lea rdx, str.result
mov rcx, rsi
call fcn.00673780
lea rdx, str.error
mov rcx, rsi
mov r12, rax
call fcn.00673780
test r12, r12
je 0x410ce0
cmp dword [r12], 6
je 0x410ce0
test rax, rax
je 0x410c19
cmp dword [rax], 7
jne 0x410ce0
mov r12, qword [0x00725730]
cmp byte [r12], 0
je 0x410cf1
lea rdx, str._id_:_3___method_:__mining.extranonce.subscribe____params_:___
mov rcx, r14
call fcn.0040ab90
mov rax, qword [0x00725790]
cmp byte [rax], 0
jne 0x410d4c
mov rcx, rbx
call fcn.00679e60
mov rcx, r13
mov rdx, r14
call fcn.0040aef0
mov rcx, rbx
mov edi, eax
call fcn.0067ad90
test dil, dil
je 0x410cf1
mov rax, qword [r13 + 0x118]
mov rdx, qword [0x006bc078]
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
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x140]
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jg 0x410d65
lea rdx, str.Extranonce_disabled__subscribe_timed_out
mov ecx, 1
mov r15d, edi
call fcn.0040b2f0
mov byte [r12], 0
jmp 0x410cf1
lea rdx, str.Stratum_authentication_failed
xor ecx, ecx
mov r15d, edi
call fcn.0040b000
mov rcx, r14
call sub.msvcrt.dll_free
mov rax, qword [rsi + 8]
cmp rax, 0xffffffffffffffff
je 0x410b78
dec rax
mov qword [rsi + 8], rax
jne 0x410b78
mov rcx, rsi
call fcn.00673f20
jmp 0x410b78
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x9c]
lea rdx, str.JSON_decode_failed__d_:__s
xor ecx, ecx
mov r15d, edi
call fcn.0040b000
mov rcx, r14
call sub.msvcrt.dll_free
jmp 0x410b78
mov r8, r14
lea rdx, [0x006bb1a0]
mov ecx, 4
call fcn.0040b2f0
jmp 0x410c4a
mov rcx, r13
call fcn.0040de80
mov r12, rax
test rax, rax
je 0x410cf1
mov r8, rbp
xor edx, edx
mov rcx, rax
call fcn.00672680
mov r15, rax
test rax, rax
je 0x410e02
mov rcx, rax
lea rdx, [0x006bb3ba]
call fcn.00673780
mov rcx, rax
call fcn.00673d20
cmp rax, 3
je 0x410dba
mov rdx, r12
mov rcx, r13
call fcn.0040eaa0
test al, al
je 0x410e35
lea rdx, str.result
mov rcx, r15
call fcn.00673780
mov rdx, qword [0x00725710]
cmp byte [rdx], 0
je 0x410ddf
test rax, rax
je 0x410e22
cmp dword [rax], 6
je 0x410e22
mov rax, qword [r15 + 8]
cmp rax, 0xffffffffffffffff
je 0x410df2
dec rax
mov qword [r15 + 8], rax
je 0x410e4b
mov rcx, r12
mov r15d, edi
call sub.msvcrt.dll_free
jmp 0x410cf1
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x9c]
lea rdx, str.JSON_decode_failed__d_:__s
mov ecx, 1
call fcn.0040b2f0
jmp 0x410df2
lea rdx, str.Method_extranonce.subscribe_is_not_supported
mov ecx, 4
call fcn.0040b2f0
jmp 0x410ddf
lea rdx, str.Stratum_answer_id_is_not_correct_
mov ecx, 1
call fcn.0040b2f0
jmp 0x410dba
mov rcx, r15
call fcn.00673f20
jmp 0x410df2