Function at 0x140106af0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x14048a080]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rdi, rdx
xor r14d, r14d
mov rcx, qword [rdx + 0x18]
mov qword [rbp + 0x70], rcx
mov rax, qword [rdx + 0x28]
mov qword [rbp + 0x80], rax
mov rax, qword [rcx + 8]
add rdx, 8
lea rcx, [rbp + 0x60]
call rax
nop
mov rax, qword [rdi + 0x30]
mov qword [rbp + 0x88], rax
mov rdx, rdi
lea rcx, [rbp + 0xf0]
call fcn.14010b0f0
nop
mov rax, qword [rbp + 0x88]
mov rbx, qword [rax + 0x20]
mov rax, qword [rbp + 0x70]
mov rdx, qword [rax + 0x18]
lea rcx, [rbp + 0x60]
call rdx
lea r8, [0x1403f7ec8]
mov rdx, rax
lea rcx, [rsp + 0x50]
call rbx
nop
mov rcx, qword [rsp + 0x60]
mov qword [rbp + 0xa0], rcx
mov rax, qword [rsp + 0x70]
mov qword [rbp + 0xb0], rax
lea rax, fcn.140009110
mov qword [rsp + 0x60], rax
lea rax, [0x1404048f8]
mov qword [rsp + 0x70], rax
mov rax, qword [rcx + 0x10]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x90]
call rax
mov qword [rsp + 0x68], r14
mov rax, qword [rsp + 0x78]
mov qword [rbp + 0xb8], rax
lea rax, [0x140403eb0]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov rdx, qword [rax]
lea rax, [fcn.140009110]
cmp rdx, rax
je 0x140106c0d
lea rcx, [rsp + 0x50]
call rdx
nop
lea r8, [rbp + 0x90]
lea rdx, [rbp + 0xc0]
call fcn.1400fdc60
mov rsi, rax
mov rcx, qword [rax + 0x20]
mov rax, qword [rcx + 0x18]
mov edi, 0xffffffff
test rax, rax
je 0x140106c5c
lea rcx, [0x14010bd60]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp + 0xf0]
mov qword [rsp + 0x48], rcx
lea rdx, [rsp + 0x40]
mov rcx, rsi
call rax
jmp 0x140106d1a
mov r15, qword [rcx + 0x10]
lea rdx, [rbp + 0xf0]
lea rcx, [rbp - 0x80]
call fcn.14010b0f0
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov ecx, dword [0x140c5b1a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140106c8e
mov r14, qword [rax + 8]
mov r8d, 0xf0
mov rdx, r14
call fcn.140100b00
mov rbx, rax
lea rcx, [rax + 8]
lea rdx, [rbp - 0x80]
call fcn.14010b0f0
lea rax, [0x14010c010]
mov qword [rbx], rax
mov qword [rsp + 0x30], rbx
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x140106cd6
mov eax, edi
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x140106cd6
mov rax, qword [rcx]
call qword [rax + select]
cmp byte [rbp - 0x30], 0
je 0x140106cee
mov rax, qword [rbp - 0x18]
mov rdx, qword [rax]
lea rcx, [rbp - 0x28]
call rdx
nop
mov byte [rbp - 0x30], 0
mov rax, qword [rbp - 0x68]
mov rdx, qword [rax]
lea rcx, [rbp - 0x78]
call rdx
nop
lea rdx, [rsp + 0x30]
mov rcx, rsi
call r15
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140106d1a
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov rax, qword [rbp + 0xd0]
mov rdx, qword [rax]
lea rcx, [rbp + 0xc0]
call rdx
nop
mov rax, qword [rbp + 0xa0]
mov rdx, qword [rax]
lea rcx, [rbp + 0x90]
call rdx
nop
mov rcx, qword [rbp + 0x188]
test rcx, rcx
je 0x140106d5e
lock xadd dword [rcx + 0xc], edi
cmp edi, 1
jne 0x140106d5e
mov rax, qword [rcx]
call qword [rax + select]
cmp byte [rbp + 0x140], 0
je 0x140106d82
mov rax, qword [rbp + 0x158]
mov rdx, qword [rax]
lea rcx, [rbp + 0x148]
call rdx
nop
mov byte [rbp + 0x140], 0
mov rax, qword [rbp + 0x108]
mov rdx, qword [rax]
lea rcx, [rbp + 0xf8]
call rdx
nop
mov rax, qword [rbp + 0x70]
mov rdx, qword [rax]
lea rcx, [rbp + 0x60]
call rdx
nop
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.14028bc70
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret