Function at 0x14005fb60
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 [0x140304470]
xor rax, rsp
mov qword [rbp + 0x2a8], rax
mov rbx, qword [rcx]
lea rdx, str.e_94m_i
lea rcx, [rsp + 0x58]
call fcn.140094f70
nop
lea rdx, str.Disconnected_from
lea rcx, [rsp + 0x68]
call fcn.140035d70
lea rdx, [rbx + 0x68]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14005fbcc
mov rdx, qword [rdx]
lea rcx, [rsp + 0x68]
call fcn.140043600
nop
lea rdx, [rbp + 0x240]
lea rcx, [rsp + 0x70]
call fcn.140034220
lea rcx, [rbp + 0x240]
call fcn.140095420
mov rdx, qword [rbp + 0x258]
cmp rdx, 0x10
jb 0x14005fc38
inc rdx
mov rcx, qword [rbp + 0x240]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005fc33
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005fc33
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402193dc
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.1400041d0
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 0x14005fca3
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14005fca3
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x14005fca3
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
lea rax, [0x1402b3c74]
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.14002fe40
lea rcx, [rbx + 0x1f0]
call fcn.14002fe40
movzx eax, byte [rbx + 0x61]
test al, al
je 0x14005fd65
mov rax, qword [0x140311b38]
movzx eax, byte [rax + 0x190]
test al, al
je 0x14005fd5c
lea rdx, str.e_94m_i
lea rcx, [rbp + 0x148]
call fcn.140094f70
nop
lea rdx, str.Shutting_down_miners...
lea rcx, [rbp + 0x158]
call fcn.140035d70
nop
lea rcx, [rbp + 0x148]
call fcn.14002fa40
mov rcx, qword [0x140311b38]
call fcn.140058200
mov byte [rbx + 0x60], 0
jmp 0x14005ff15
mov byte [rbx + 0x62], 1
lea rdx, str.e_94m_i
lea rcx, [rbp + 0x50]
call fcn.140094f70
nop
lea rdx, str.No_connection._Suspend_mining_...
lea rcx, [rbp + 0x60]
call fcn.140035d70
nop
lea rdx, [rbp + 0x260]
lea rcx, [rbp + 0x68]
call fcn.140034220
lea rcx, [rbp + 0x260]
call fcn.140095420
mov rdx, qword [rbp + 0x278]
cmp rdx, 0x10
jb 0x14005fdeb
inc rdx
mov rcx, qword [rbp + 0x260]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005fde6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005fde6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402193dc
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.1400041d0
nop
mov rsi, qword [0x140311b38]
lea rdi, [rsi + 0x18]
mov qword [rsp + 0x50], rdi
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14005fe34
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 0x14005fe66
nop word [rax + rax]
mov edx, 2
mov rcx, qword [rsi]
call fcn.14005e220
add rsi, 0x10
cmp rsi, r14
jne 0x14005fe50
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
lea rax, [0x140060f00]
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 [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14005febf
cmp qword [rax], rbx
je 0x14005febf
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14005feb1
lea rdx, [rsp + 0x40]
mov ecx, 0x58
call fcn.1400227f0
mov qword [rax + 0x20], r15
lea rcx, [0x14005b920]
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 [0x140311f88]
lock inc dword [rcx + 0x30]
mov rdx, rax
call fcn.1400235c0
mov rcx, qword [rbp + 0x2a8]
xor rcx, rsp
call fcn.140218dc0
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 0x14005fb60