Function at 0x14005ea30
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 - 0x2a0]
sub rsp, 0x3a0
mov rax, qword [0x1402cf480]
xor rax, rsp
mov qword [rbp + 0x298], rax
mov rbx, qword [rcx]
xor r15d, r15d
lea rdx, str.e_94m_i
lea rcx, [rsp + 0x48]
call fcn.14008dbb0
nop
lea rdx, str.Disconnected_from
lea rcx, [rsp + 0x58]
call fcn.140035180
lea rdx, [rbx + 0x68]
cmp qword [rbx + 0x80], 0xf
jbe 0x14005ea9f
mov rdx, qword [rbx + 0x68]
mov r8, qword [rbx + 0x78]
lea rcx, [rsp + 0x58]
call fcn.14003f210
nop
lea rdx, [rbp + 0x230]
lea rcx, [rsp + 0x60]
call fcn.140033df0
lea rcx, [rbp + 0x230]
call fcn.14008df10
mov rdx, qword [rbp + 0x248]
cmp rdx, 0xf
jbe 0x14005eb0f
inc rdx
mov rcx, qword [rbp + 0x230]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005eb0a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005eb0a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fb494
movdqa xmm0, xmmword [0x1402956a0]
movdqu xmmword [rbp + 0x240], xmm0
mov byte [rbp + 0x230], 0
lea rcx, [rsp + 0x48]
call fcn.140004870
nop
mov rax, qword [rbx + 0x230]
mov qword [rax + 0x30], r15
mov rdi, qword [rax + 0x38]
mov qword [rax + 0x38], r15
test rdi, rdi
je 0x14005eb75
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14005eb75
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x14005eb75
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
lea rax, [0x14028bbf4]
mov qword [rbp + 0x270], rax
xorps xmm2, xmm2
movups xmmword [rbp + 0x278], xmm2
movups xmmword [rbp + 0x288], xmm2
movups xmm0, xmmword [rbp + 0x270]
movups xmmword [rbx + 0xd8], xmm0
movups xmm1, xmmword [rbp + 0x280]
movups xmmword [rbx + 0xe8], xmm1
unpckhpd xmm2, xmm2
movsd qword [rbx + 0xf8], xmm2
lea rcx, [rbx + 0x170]
call fcn.14002f5f0
lea rcx, [rbx + 0x1b0]
call fcn.14002f5f0
movzx eax, byte [rbx + 0x61]
test al, al
je 0x14005ec37
mov rax, qword [0x1402da528]
movzx ecx, byte [rax + 0x178]
test cl, cl
je 0x14005ec2e
lea rdx, str.e_94m_i
lea rcx, [rbp + 0x138]
call fcn.14008dbb0
nop
lea rdx, str.Shutting_down_miners...
lea rcx, [rbp + 0x148]
call fcn.140035180
nop
lea rcx, [rbp + 0x138]
call fcn.14002f1c0
mov rcx, qword [0x1402da528]
call fcn.140055dc0
mov byte [rbx + 0x60], 0
jmp 0x14005edf4
mov byte [rbx + 0x62], 1
lea rdx, str.e_94m_i
lea rcx, [rbp + 0x40]
call fcn.14008dbb0
nop
lea rdx, str.No_connection._Suspend_mining_...
lea rcx, [rbp + 0x50]
call fcn.140035180
nop
lea rdx, [rbp + 0x250]
lea rcx, [rbp + 0x58]
call fcn.140033df0
lea rcx, [rbp + 0x250]
call fcn.14008df10
mov rdx, qword [rbp + 0x268]
cmp rdx, 0xf
jbe 0x14005ecbd
inc rdx
mov rcx, qword [rbp + 0x250]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ecb8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005ecb8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fb494
movdqa xmm0, xmmword [0x1402956a0]
movdqu xmmword [rbp + 0x260], xmm0
mov byte [rbp + 0x250], 0
lea rcx, [rbp + 0x40]
call fcn.140004870
nop
mov rsi, qword [0x1402da528]
lea rdi, [rsi + 0x18]
mov qword [rsp + 0x20], rdi
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14005ed07
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov eax, dword [rdi + 0x4c]
cmp eax, 0x7fffffff
jne 0x14005ed22
dec eax
mov dword [rdi + 0x4c], eax
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov byte [rsi + 0x10], 1
mov r14, qword [rsi + 0x70]
mov rsi, qword [rsi + 0x68]
cmp rsi, r14
je 0x14005ed49
mov edx, 2
mov rcx, qword [rsi]
call fcn.14005c1d0
add rsi, 0x10
cmp rsi, r14
jne 0x14005ed33
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
movups xmm0, xmmword [rbx + 0x160]
movups xmmword [rsp + 0x28], xmm0
lea rax, [0x14005ffc0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
psrldq xmm0, 8
movq rbx, xmm0
mov ecx, dword [0x1402daed4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14005ed9e
nop word [rax + rax]
cmp qword [rax], rbx
je 0x14005ed9e
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14005ed90
lea rdx, [rsp + 0x38]
mov ecx, 0x58
call fcn.140021fa0
mov qword [rax + 0x20], r15
lea rcx, [0x1400583e0]
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 + 0x28]
movups xmmword [rax + 0x38], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rax + 0x48], xmm1
mov rcx, qword [0x1402da978]
lock inc dword [rcx + 0x30]
mov rdx, rax
call fcn.140022b10
mov rcx, qword [rbp + 0x298]
xor rcx, rsp
call fcn.1401fb000
lea r11, [rsp + 0x3a0]
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 0x14005ea30