Function at 0x410c60
Capabilities:
Get socket status

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x378
mov rsi, r8
mov r12, 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 r13, rax
call sub.msvcrt.dll_sprintf
mov rax, qword [0x00713880]
cmp byte [rax], 0
jne 0x410d70
lea r15, [r12 + 0x130]
lea rsi, [r12 + 8]
lea rdi, [r12 + 0x118]
mov rcx, r15
call fcn.0067e290
mov rcx, rsi
mov r8, r13
mov rdx, rdi
call fcn.0040a910
mov rcx, r15
mov ebx, eax
mov byte [rsp + 0x3f], al
call fcn.0067f1c0
test bl, bl
jne 0x410d19
jmp 0x410d40
mov rdx, rax
mov rcx, r12
call fcn.0040ed30
mov ebp, eax
test al, al
je 0x410d90
mov rcx, r14
call sub.msvcrt.dll_free
mov rcx, r12
call fcn.0040ded0
mov r14, rax
test rax, rax
jne 0x410d00
mov rcx, r13
call sub.msvcrt.dll_free
mov byte [rsp + 0x3f], 0
jmp 0x410d48
mov rcx, r13
call sub.msvcrt.dll_free
movzx eax, byte [rsp + 0x3f]
add rsp, 0x378
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r8, r13
lea rdx, [0x006b71de]
mov ecx, 5
call fcn.0040ab70
jmp 0x410cc1
lea rax, [rsp + 0x60]
xor edx, edx
mov rcx, r14
mov r8, rax
mov qword [rsp + 0x48], rax
call fcn.006769b0
mov rcx, r14
mov rbx, rax
call sub.msvcrt.dll_free
test rbx, rbx
je 0x410f86
lea rdx, str.result
mov rcx, rbx
call fcn.00677a90
lea rdx, str.error
mov rcx, rbx
mov qword [rsp + 0x40], rax
call fcn.00677a90
mov r8, qword [rsp + 0x40]
test r8, r8
je 0x410f40
cmp dword [r8], 6
je 0x410f40
test rax, rax
je 0x410e04
cmp dword [rax], 7
jne 0x410f40
mov rax, qword [0x00713820]
cmp byte [rax], 0
je 0x410f56
movabs rax, 0x33203a226469227b
movabs rdx, 0x6f6874656d22202c
mov byte [r13 + 0x40], 0
mov qword [r13], rax
movabs rax, 0x6e696d22203a2264
mov qword [r13 + 8], rdx
movabs rdx, 0x727478652e676e69
mov qword [r13 + 0x10], rax
movabs rax, 0x732e65636e6f6e61
mov qword [r13 + 0x18], rdx
movabs rdx, 0x6562697263736275
mov qword [r13 + 0x20], rax
movabs rax, 0x6172617022202c22
mov qword [r13 + 0x28], rdx
movabs rdx, 0x7d5d5b203a22736d
mov qword [r13 + 0x30], rax
mov qword [r13 + 0x38], rdx
mov rax, qword [0x00713880]
cmp byte [rax], 0
jne 0x410fb6
mov rcx, r15
call fcn.0067e290
mov rcx, rsi
mov r8, r13
mov rdx, rdi
call fcn.0040a910
mov rcx, r15
mov esi, eax
call fcn.0067f1c0
test sil, sil
je 0x410f56
mov rax, qword [r12 + 0x118]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x160], 1
mov qword [rsp + 0x58], 3
lea rdx, [rsp + 0x160]
mov qword [rsp + 0x168], rax
lea ecx, [rax + 1]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jg 0x410fcf
lea rdx, str.Extranonce_disabled__subscribe_timed_out
mov ecx, 2
call fcn.0040afc0
mov rax, qword [0x00713820]
mov byte [rsp + 0x3f], sil
mov byte [rax], 0
jmp 0x410f56
lea rdx, str.Stratum_authentication_failed
mov ecx, 1
call fcn.0040a9e0
mov byte [rsp + 0x3f], bpl
mov rcx, r13
call sub.msvcrt.dll_free
mov rax, qword [rbx + 8]
cmp rax, 0xffffffffffffffff
je 0x410d48
dec rax
mov qword [rbx + 8], rax
jne 0x410d48
mov rcx, rbx
call fcn.00678260
jmp 0x410d48
mov r8d, dword [rsp + 0x60]
lea r9, [rsp + 0xbc]
lea rdx, str.JSON_decode_failed__d_:__s
mov ecx, 1
call fcn.0040a9e0
mov rcx, r13
call sub.msvcrt.dll_free
mov byte [rsp + 0x3f], bpl
jmp 0x410d48
mov r8, r13
lea rdx, [0x006b71de]
mov ecx, 5
call fcn.0040ab70
jmp 0x410e99
mov rcx, r12
call fcn.0040ded0
mov r15, rax
test rax, rax
je 0x410f56
mov r8, qword [rsp + 0x48]
xor edx, edx
mov rcx, rax
call fcn.006769b0
mov r14, rax
test rax, rax
je 0x411053
mov rcx, rax
lea rdx, [0x006b73f5]
call fcn.00677a90
mov rcx, rax
call fcn.00678040
cmp rax, 3
je 0x411073
mov rdx, r15
mov rcx, r12
call fcn.0040ed30
test al, al
je 0x4110ae
mov rax, qword [r14 + 8]
cmp rax, 0xffffffffffffffff
je 0x411041
dec rax
mov qword [r14 + 8], rax
je 0x4110c4
mov rcx, r15
call sub.msvcrt.dll_free
mov byte [rsp + 0x3f], sil
jmp 0x410f56
mov r8d, dword [rsp + 0x60]
lea r9, [rsp + 0xbc]
lea rdx, str.JSON_decode_failed__d_:__s
mov ecx, 2
call fcn.0040afc0
jmp 0x411041
lea rdx, str.result
mov rcx, r14
call fcn.00677a90
mov rdx, qword [0x00713810]
cmp byte [rdx], 0
je 0x41102a
test rax, rax
je 0x411098
cmp dword [rax], 6
jne 0x41102a
lea rdx, str.Method_extranonce.subscribe_is_not_supported
mov ecx, 5
call fcn.0040ab70
jmp 0x41102a
lea rdx, str.Stratum_answer_id_is_not_correct_
mov ecx, 2
call fcn.0040afc0
jmp 0x41102a
mov rcx, r14
call fcn.00678260
jmp 0x411041