Function at 0x410e10
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 r15, r8
mov r13, rcx
mov rcx, rdx
mov r12, rdx
call sub.msvcrt.dll_strlen
mov rcx, r15
mov r14, rax
call sub.msvcrt.dll_strlen
lea rcx, [r14 + rax + 0x50]
call sub.msvcrt.dll_malloc
mov rcx, rax
mov r9, r15
mov r8, r12
lea rdx, str._id_:_2___method_:__mining.authorize____params_:____s_____s__
mov r14, rax
call fcn.0040aa40
mov rsi, qword [0x007a7560]
cmp byte [rsi], 0
jne 0x410f00
lea rbx, [r13 + 0x130]
mov rcx, rbx
call fcn.006f9420
mov rcx, r13
mov rdx, r14
call fcn.0040ada0
mov r15d, eax
mov rcx, rbx
call fcn.006fa350
test r15b, r15b
jne 0x410eb7
jmp 0x410ed8
mov rdx, rax
mov rcx, r13
call fcn.0040ed00
test al, al
je 0x410f20
mov rcx, r12
call sub.msvcrt.dll_free
mov rcx, r13
call fcn.0040e170
mov r12, rax
test rax, rax
jne 0x410ea0
mov rcx, r14
call sub.msvcrt.dll_free
xor r15d, r15d
jmp 0x410ee0
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, [0x0073a220]
mov ecx, 4
call fcn.0040b1a0
jmp 0x410e71
lea rbp, [rsp + 0x40]
xor edx, edx
mov rcx, r12
mov r8, rbp
call fcn.006f1c90
mov rdi, rax
mov rcx, r12
call sub.msvcrt.dll_free
test rdi, rdi
je 0x411081
lea rdx, str.result
mov rcx, rdi
call fcn.006f2d00
mov r12, rax
lea rdx, str.error
mov rcx, rdi
call fcn.006f2d00
test r12, r12
je 0x411040
cmp dword [r12], 6
je 0x411040
test rax, rax
je 0x410f89
cmp dword [rax], 7
jne 0x411040
mov r12, qword [0x007a7500]
cmp byte [r12], 0
je 0x411051
lea rdx, str._id_:_3___method_:__mining.extranonce.subscribe____params_:___
mov rcx, r14
call fcn.0040aa40
cmp byte [rsi], 0
jne 0x4110ac
mov rcx, rbx
call fcn.006f9420
mov rcx, r13
mov rdx, r14
call fcn.0040ada0
mov esi, eax
mov rcx, rbx
call fcn.006fa350
test sil, sil
je 0x411051
mov rax, qword [r13 + 0x118]
mov qword [rsp + 0x38], 3
mov qword [rsp + 0x148], rax
lea ecx, [rax + 1]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x140]
mov dword [rsp + 0x140], 1
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jg 0x4110c5
lea rdx, str.Extranonce_disabled__subscribe_timed_out
mov ecx, 1
call fcn.0040b1a0
mov r15d, esi
mov byte [r12], 0
jmp 0x411051
lea rdx, str.Stratum_authentication_failed
xor ecx, ecx
call fcn.0040aeb0
xor r15d, r15d
mov rcx, r14
call sub.msvcrt.dll_free
mov rax, qword [rdi + 8]
cmp rax, 0xffffffffffffffff
je 0x410ee0
dec rax
mov qword [rdi + 8], rax
jne 0x410ee0
mov rcx, rdi
call fcn.006f3440
jmp 0x410ee0
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x9c]
lea rdx, str.JSON_decode_failed__d_:__s
xor ecx, ecx
call fcn.0040aeb0
mov rcx, r14
call sub.msvcrt.dll_free
xor r15d, r15d
jmp 0x410ee0
mov r8, r14
lea rdx, [0x0073a220]
mov ecx, 4
call fcn.0040b1a0
jmp 0x410fb3
mov rcx, r13
call fcn.0040e170
mov r12, rax
test rax, rax
je 0x411051
mov r8, rbp
xor edx, edx
mov rcx, rax
call fcn.006f1c90
mov r15, rax
test rax, rax
je 0x411162
mov rcx, rax
lea rdx, [0x0073a43a]
call fcn.006f2d00
mov rcx, rax
call fcn.006f3260
cmp rax, 3
je 0x41111a
mov rdx, r12
mov rcx, r13
call fcn.0040ed00
test al, al
je 0x411195
lea rdx, str.result
mov rcx, r15
call fcn.006f2d00
mov rdx, qword [0x007a74e0]
cmp byte [rdx], 0
je 0x41113f
test rax, rax
je 0x411182
cmp dword [rax], 6
je 0x411182
mov rax, qword [r15 + 8]
cmp rax, 0xffffffffffffffff
je 0x411152
dec rax
mov qword [r15 + 8], rax
je 0x4111ab
mov rcx, r12
call sub.msvcrt.dll_free
mov r15d, esi
jmp 0x411051
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x9c]
lea rdx, str.JSON_decode_failed__d_:__s
mov ecx, 1
call fcn.0040b1a0
jmp 0x411152
lea rdx, str.Method_extranonce.subscribe_is_not_supported
mov ecx, 4
call fcn.0040b1a0
jmp 0x41113f
lea rdx, str.Stratum_answer_id_is_not_correct_
mov ecx, 1
call fcn.0040b1a0
jmp 0x41111a
mov rcx, r15
call fcn.006f3440
jmp 0x411152