Function at 0x1400bee20
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x160
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
mov rax, qword [0x140391620]
xor rax, rsp
mov qword [rsp + 0x108], rax
mov rbx, rdx
lea rdx, [rsp + 0x30]
call fcn.140063a10
mov rdi, rax
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0xe8], rcx
mov rcx, qword [rax + 0x20]
mov qword [rsp + 0xf8], rcx
lea rax, method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_8
mov qword [rdi + 0x10], rax
lea rax, [0x140339d78]
mov qword [rdi + 0x20], rax
mov rdx, rdi
lea rcx, [rsp + 0xd8]
mov rax, qword [rsp + 0xe8]
call qword [rax + 0x10]
mov qword [rdi + 0x18], 0
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0x100], rax
lea rax, [0x1403396e0]
mov qword [rdi + 0x28], rax
mov rax, qword [rdi + 0x10]
mov rdx, qword [rax]
lea rax, [sym.ethminer.exe_public_virtual:_void___cdecl_Json::CharReader::destructor_void____ptr64]
cmp rdx, rax
je 0x1400beeeb
mov rcx, rdi
call rdx
nop
mov rax, qword [rsp + 0xf8]
mov r8, qword [rax + 0x18]
test r8, r8
je 0x1400bef2d
lea rax, [0x1400c1500]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0xd8]
call r8
jmp 0x1400bf010
mov rdi, qword [rbx]
movups xmm6, xmmword [rbx + 8]
movsd xmm7, qword [rbx + 0x18]
mov esi, dword [rbx + 0x20]
mov rbp, qword [rbx + 0x28]
mov r14, qword [rbx + 0x30]
movups xmm8, xmmword [rbx + 0x40]
movups xmm9, xmmword [rbx + 0x50]
movups xmm10, xmmword [rbx + 0x60]
mov rbx, qword [rbx + 0x70]
mov ecx, dword [0x1403a2700]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400bef9a
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400bef9a
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x1400bef9a
mov qword [rcx + 0x10], 0
movzx ecx, byte [rax]
cmp cl, 0x22
jb 0x1400bef92
mov byte [rax + 0x88], cl
jmp 0x1400befab
mov rcx, rax
call fcn.1400eadb0
mov ecx, 0x89
call fcn.140255070
mov byte [rax + 0x88], 0x22
mov qword [rax + 8], rdi
movups xmmword [rax + 0x10], xmm6
movsd qword [rax + 0x20], xmm7
mov dword [rax + 0x28], esi
mov qword [rax + 0x30], rbp
mov qword [rax + 0x38], r14
movups xmmword [rax + 0x48], xmm8
movups xmmword [rax + 0x58], xmm9
movups xmmword [rax + 0x68], xmm10
mov qword [rax + 0x78], rbx
lea rcx, [0x1400c1eb0]
mov qword [rax], rcx
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0xd8]
mov rax, qword [rsp + 0xf8]
call qword [rax + 0x10]
nop
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x1400bf010
xor edx, edx
mov rcx, rax
call qword [rax]
nop
lea rcx, [rsp + 0xd8]
mov rax, qword [rsp + 0xe8]
call qword [rax]
nop
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.140255050
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret