Function at 0x140068080
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x2c8]
sub rsp, 0x3b0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1403284b0]
xor rax, rsp
mov qword [rbp + 0x2a8], rax
mov rsi, rcx
lea rdx, str.e_94m_i
lea rcx, [rbp - 0x68]
call fcn.14009cf30
nop
lea rdx, str.Disconnected_from
lea rcx, [rbp - 0x58]
call fcn.1400377f0
mov rdx, qword [rsi]
add rdx, 0x68
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140065715
mov rdx, qword [rdx]
lea rcx, [rbp - 0x58]
call fcn.140045530
nop
lea rcx, [rbp - 0x68]
call fcn.1400300e0
mov rax, qword [rsi]
mov rcx, qword [rax + 0x238]
xor r15d, r15d
mov qword [rsp + 0x78], r15
mov qword [rcx + 0x30], r15
mov qword [rbp - 0x80], r15
mov rbx, qword [rcx + 0x38]
mov qword [rcx + 0x38], r15
test rbx, rbx
je 0x14006577b
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14006577b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14006577b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
lea rax, [0x1402be4c8]
mov qword [rbp + 0x280], rax
xor eax, eax
mov qword [rbp + 0x288], rax
mov qword [rbp + 0x290], rax
mov qword [rbp + 0x298], rax
mov qword [rbp + 0x2a0], rax
mov rax, qword [rsi]
movups xmm0, xmmword [rbp + 0x280]
movups xmmword [rax + 0xd8], xmm0
movups xmm1, xmmword [rbp + 0x290]
movups xmmword [rax + 0xe8], xmm1
movsd xmm0, qword [rbp + 0x2a0]
movsd qword [rax + 0xf8], xmm0
mov rcx, qword [rsi]
mov dword [rsp + 0x20], r15d
mov byte [rsp + 0x24], r15b
lea rbx, [0x1402c41e8]
mov qword [rsp + 0x28], rbx
lea rdx, [rcx + 0x1a0]
lea r8, [rsp + 0x20]
mov rcx, qword [rcx + 0x198]
call fcn.140034190
cmp dword [rsp + 0x20], r15d
jne 0x140065a38
mov rcx, qword [rsi]
mov dword [rsp + 0x30], r15d
mov byte [rsp + 0x34], r15b
mov qword [rsp + 0x38], rbx
lea rdx, [rcx + 0x1f0]
lea r8, [rsp + 0x30]
mov rcx, qword [rcx + 0x1e8]
call fcn.140034190
cmp dword [rsp + 0x30], r15d
jne 0x140065a26
mov rax, qword [rsi]
movzx eax, byte [rax + 0x61]
test al, al
je 0x1400658b0
mov rax, qword [0x140335668]
movzx eax, byte [rax + 0x1a0]
test al, al
je 0x1400658a4
lea rdx, str.e_94m_i
lea rcx, [rbp + 0x90]
call fcn.14009cf30
nop
lea rdx, str.Shutting_down_miners...
lea rcx, [rbp + 0xa0]
call fcn.1400377f0
nop
lea rcx, [rbp + 0x90]
call fcn.1400300e0
mov rcx, qword [0x140335668]
call fcn.14005ba40
mov rax, qword [rsi]
mov byte [rax + 0x60], 0
jmp 0x1400659fa
mov rax, qword [rsi]
mov byte [rax + 0x62], 1
lea rdx, str.e_94m_i
lea rcx, [rbp + 0x188]
call fcn.14009cf30
nop
lea rdx, str.No_connection._Suspend_mining_...
lea rcx, [rbp + 0x198]
call fcn.1400377f0
nop
lea rcx, [rbp + 0x188]
call fcn.1400300e0
mov rdi, qword [0x140335668]
lea rbx, [rdi + 0x18]
mov qword [rbp - 0x78], rbx
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140065910
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
mov byte [rdi + 0x10], 1
mov r14, qword [rdi + 0x70]
mov rdi, qword [rdi + 0x68]
cmp rdi, r14
je 0x140065937
mov edx, 2
mov rcx, qword [rdi]
call fcn.140062860
add rdi, 0x10
cmp rdi, r14
jne 0x140065921
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
test eax, eax
je 0x14006594d
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
mov rax, qword [rsi]
mov qword [rbp - 0x70], rax
lea rcx, [0x140066fd0]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rax
movups xmm1, xmmword [rax + 0x188]
movups xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsp + 0x60], xmm0
psrldq xmm1, 8
movq rbx, xmm1
mov ecx, dword [0x140336660]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400659a4
cmp qword [rax], rbx
je 0x1400659a4
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140065996
lea rdx, [rsp + 0x60]
mov ecx, 0x58
call fcn.140022380
mov qword [rax + 0x20], r15
lea rcx, [0x14005fa40]
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 + 0x50]
movups xmmword [rax + 0x38], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rax + 0x48], xmm1
mov rcx, qword [0x140335998]
lock inc dword [rcx + 0x30]
mov rdx, rax
call fcn.140023450
mov rcx, qword [rbp + 0x2a8]
xor rcx, rsp
call fcn.1402225a0
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
lea rdx, str.cancel
lea rcx, [rsp + 0x30]
call fcn.1400221d0
int3
lea rdx, str.cancel
lea rcx, [rsp + 0x20]
call fcn.1400221d0
int3
add rcx, 8
jmp 0x1400656a0