Function at 0x14005c7f0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x2b0]
sub rsp, 0x3b0
mov rax, qword [0x1402ba410]
xor rax, rsp
mov qword [rbp + 0x2a8], rax
mov rbx, qword [rcx]
lea rdx, str.e_94m_i
lea rcx, [rsp + 0x58]
call fcn.140091b70
nop
lea rdx, str.Disconnected_from
lea rcx, [rsp + 0x68]
call fcn.1400345b0
lea rdx, [rbx + 0x68]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14005c85c
mov rdx, qword [rdx]
lea rcx, [rsp + 0x68]
call fcn.140041af0
nop
lea rdx, [rbp + 0x240]
lea rcx, [rsp + 0x70]
call fcn.140032c20
lea rcx, [rbp + 0x240]
call fcn.140092020
mov rdx, qword [rbp + 0x258]
cmp rdx, 0x10
jb 0x14005c8c8
inc rdx
mov rcx, qword [rbp + 0x240]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c8c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005c8c3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401ec5cc
xor r15d, r15d
mov qword [rbp + 0x250], r15
mov qword [rbp + 0x258], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x240], r15b
lea rcx, [rsp + 0x58]
call fcn.140003ff0
nop
mov rax, qword [rbx + 0x240]
mov qword [rax + 0x30], r15
mov rdi, qword [rax + 0x38]
mov qword [rax + 0x38], r15
test rdi, rdi
je 0x14005c933
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14005c933
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x14005c933
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
lea rax, [0x140276434]
mov qword [rbp + 0x280], rax
xorps xmm2, xmm2
movups xmmword [rbp + 0x288], xmm2
movups xmmword [rbp + 0x298], xmm2
movups xmm0, xmmword [rbp + 0x280]
movups xmmword [rbx + 0xd8], xmm0
movups xmm1, xmmword [rbp + 0x290]
movups xmmword [rbx + 0xe8], xmm1
unpckhpd xmm2, xmm2
movsd qword [rbx + 0xf8], xmm2
lea rcx, [rbx + 0x1a0]
call fcn.14002e880
lea rcx, [rbx + 0x1f0]
call fcn.14002e880
movzx eax, byte [rbx + 0x61]
test al, al
je 0x14005c9f5
mov rax, qword [0x1402c5898]
movzx eax, byte [rax + 0x190]
test al, al
je 0x14005c9ec
lea rdx, str.e_94m_i
lea rcx, [rbp + 0x148]
call fcn.140091b70
nop
lea rdx, str.Shutting_down_miners...
lea rcx, [rbp + 0x158]
call fcn.1400345b0
nop
lea rcx, [rbp + 0x148]
call fcn.14002e480
mov rcx, qword [0x1402c5898]
call fcn.140055180
mov byte [rbx + 0x60], 0
jmp 0x14005cba5
mov byte [rbx + 0x62], 1
lea rdx, str.e_94m_i
lea rcx, [rbp + 0x50]
call fcn.140091b70
nop
lea rdx, str.No_connection._Suspend_mining_...
lea rcx, [rbp + 0x60]
call fcn.1400345b0
nop
lea rdx, [rbp + 0x260]
lea rcx, [rbp + 0x68]
call fcn.140032c20
lea rcx, [rbp + 0x260]
call fcn.140092020
mov rdx, qword [rbp + 0x278]
cmp rdx, 0x10
jb 0x14005ca7b
inc rdx
mov rcx, qword [rbp + 0x260]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ca76
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005ca76
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401ec5cc
mov qword [rbp + 0x270], r15
mov qword [rbp + 0x278], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x260], 0
lea rcx, [rbp + 0x50]
call fcn.140003ff0
nop
mov rsi, qword [0x1402c5898]
lea rdi, [rsi + 0x18]
mov qword [rsp + 0x50], rdi
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14005cac4
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
mov byte [rsi + 0x10], 1
mov r14, qword [rsi + 0x70]
mov rsi, qword [rsi + 0x68]
cmp rsi, r14
je 0x14005caf6
nop word [rax + rax]
mov edx, 2
mov rcx, qword [rsi]
call fcn.14005b170
add rsi, 0x10
cmp rsi, r14
jne 0x14005cae0
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
lea rax, [0x14005dbb0]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
movups xmm1, xmmword [rbx + 0x190]
movups xmmword [rsp + 0x30], xmm1
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsp + 0x40], xmm0
psrldq xmm1, 8
movq rbx, xmm1
mov ecx, dword [0x1402c6040]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14005cb4f
cmp qword [rax], rbx
je 0x14005cb4f
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14005cb41
lea rdx, [rsp + 0x40]
mov ecx, 0x58
call fcn.140021f90
mov qword [rax + 0x20], r15
lea rcx, [0x140058870]
mov qword [rax + 0x28], rcx
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r15
mov dword [rax + 0x30], r15d
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rax + 0x38], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rax + 0x48], xmm1
mov rcx, qword [0x1402c5cd8]
lock inc dword [rcx + 0x30]
mov rdx, rax
call fcn.140022d60
mov rcx, qword [rbp + 0x2a8]
xor rcx, rsp
call fcn.1401ebfb0
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
add rcx, 8
jmp 0x14005c7f0