Function at 0x1000d7050
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x10022f440]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov r15d, r9d
mov rbp, r8
mov r12, rdx
mov rbx, rcx
mov qword [rsp + 0x40], rcx
mov r14, qword [rsp + 0x110]
call fcn.100068a00
mov rsi, rax
mov r10, qword gs:[0x30]
lea rdi, [r10 + rax]
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x1000d70cf
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
test rdi, rdi
je 0x1000d70de
cmp qword [rdi + 0xd8], 0
jne 0x1000d70ff
call fcn.100063d30
call fcn.100068a00
mov rdi, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x1000d70ff
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
call fcn.10006b640
lea r8, [rax + 0x230]
xor r13d, r13d
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], r12
or rsi, 0xffffffffffffffff
mov r9, rsi
mov edx, r15d
lea rcx, [rsp + 0x60]
call fcn.10005b5a0
mov rcx, qword [rbx + 0xac8]
mov rax, qword [rcx]
mov byte [rsp + 0x20], 6
mov r9d, 0x986
lea r8, [0x100022910]
mov edx, 0x3c0
call qword [rax + 0x48]
mov rdi, rax
mov qword [rsp + 0x50], rax
lea r12, [0x100002a88]
test rax, rax
je 0x1000d7183
lea rcx, [rax + 8]
xor r9d, r9d
mov r8, rbx
lea rdx, [rsp + 0x60]
call fcn.100067420
nop
mov qword [rdi], r12
jmp 0x1000d7186
mov rdi, r13
test rdi, rdi
je 0x1000d732a
add rdi, 8
lea rcx, [rbx + 0x28]
mov rdx, rdi
call fcn.1000ce330
test rdi, rdi
je 0x1000d732a
mov eax, dword [rdi + 0x30]
lock xadd dword [rbx + 0x107c], eax
lock inc dword [rbx + 0xaa0]
or r15d, 1
lea r8, [rsp + 0x48]
mov edx, r15d
lea rcx, [rbx + 0xf00]
call fcn.1000d3710
mov r15d, eax
test eax, eax
jne 0x1000d71f7
mov r9, r14
mov r8, qword [rsp + 0x48]
mov rdx, rdi
lea rcx, [rbx + 0xf00]
call fcn.1000d3870
xor eax, eax
jmp 0x1000d732f
mov qword [r14], r13
mov eax, dword [rdi + 0x30]
neg eax
lock xadd dword [rbx + 0x107c], eax
lock dec dword [rbx + 0xaa0]
lea rbx, [rdi + 0x10]
lock xadd dword [rbx + 0x10], esi
dec esi
jne 0x1000d7322
cmp qword [rbx + 8], 0
je 0x1000d7233
mov rcx, rbx
call fcn.1000585a0
jmp 0x1000d7322
add rbx, 0xfffffffffffffff0
mov eax, dword [rbx + 0xb0]
cmp eax, 2
jne 0x1000d728c
mov rdi, qword [rbx + 0xa0]
call fcn.100064800
mov edx, eax
xor eax, eax
lock cmpxchg dword [rdi + 0xf80], edx
mov ecx, r13d
sete cl
test ecx, ecx
jne 0x1000d7270
lea rcx, [rdi + 0xf80]
call fcn.100057ac0
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rax + 8], rcx
mov qword [rcx], rax
mov qword [rbx + 8], r13
mov qword [rbx], r13
mov dword [rdi + 0xf80], r13d
call fcn.100058010
test rax, rax
je 0x1000d72b4
cmp qword [rax + 0x1e8], rbx
jne 0x1000d72b4
test rbx, rbx
lea rcx, [rbx - 8]
jne 0x1000d72ab
mov rcx, r13
xor edx, edx
call fcn.100058e50
jmp 0x1000d7322
test rbx, rbx
je 0x1000d72bf
add rbx, 0xfffffffffffffff8
jmp 0x1000d72c2
mov rbx, r13
mov qword [rsp + 0x50], rbx
test rbx, rbx
je 0x1000d7322
mov qword [rbx], r12
lea rcx, [rbx + 8]
call fcn.100058db0
mov rax, rbx
mov edx, 0x200
and rax, 0xffffffffffffe000
je 0x1000d72f2
cmp word [rax + 4], dx
jne 0x1000d72f2
mov rax, qword [rax + 0x28]
mov rax, qword [rax + 8]
mov rcx, qword [rax + 0x10]
dec rcx
not rcx
and rcx, rbx
je 0x1000d730f
cmp word [rcx + 4], dx
jne 0x1000d730f
mov rcx, qword [rcx + 0x28]
mov rcx, qword [rcx + 8]
test byte [rcx + 0x28], 8
jne 0x1000d7322
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x28]
mov qword [r14], r13
mov eax, r15d
jmp 0x1000d732f
mov eax, 0xc0000000
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.10005f420
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret