Function at 0x1000f9760
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0xb0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x10022f440]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rcx + 0x18], rdx
mov rax, qword [0x1002966b0]
test rax, rax
cmove rax, rdx
mov qword [0x1002966b0], rax
xor ebx, ebx
mov qword [rsp + 0x30], rbx
call fcn.10006bba0
or rbp, 0xffffffffffffffff
test eax, eax
je 0x1000f980e
call fcn.10006af60
mov r9d, eax
xor edx, edx
lea r8d, [rbx + 1]
mov rcx, rdi
call fcn.100101480
test rax, rax
je 0x1000f9804
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea r9d, [rbx + 0x12]
mov r8, rsi
lea rdx, [0x1000f9aa0]
mov rcx, rax
call fcn.1000d7050
jmp 0x1000f98dd
mov eax, 0x80000000
jmp 0x1000f99fc
call fcn.100058d10
mov r14, rax
call fcn.10006b640
mov dword [rsp + 0x50], 0x12
lea rcx, [0x1000f9aa0]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rsi
lea rcx, [rax + 0x230]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x70], rbx
call fcn.100068a00
mov rsi, rax
mov rcx, qword gs:[0x30]
lea rdi, [rcx + rax]
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x1000f9876
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
test rdi, rdi
je 0x1000f98a7
cmp qword [rdi + 0xe8], rdi
jne 0x1000f98a7
call fcn.1001672c0
test eax, eax
je 0x1000f98a7
call qword [0x1002aaa48]
test eax, eax
je 0x1000f98a7
lea rcx, [rsp + 0x80]
call qword [0x1002aab88]
jmp 0x1000f98c3
movups xmm0, xmmword [0x10002a138]
movaps xmmword [rsp + 0x80], xmm0
mov eax, dword [0x10002a148]
mov dword [rsp + 0x90], eax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.1000d0c40
mov esi, eax
test eax, eax
jne 0x1000f99fa
mov rdi, qword [rsp + 0x30]
lock xadd dword [rdi + 0x20], ebp
dec ebp
jne 0x1000f99fa
cmp qword [rdi + 0x18], rbx
je 0x1000f990d
lea rcx, [rdi + 0x10]
call fcn.1000585a0
jmp 0x1000f99fa
mov eax, dword [rdi + 0xb0]
cmp eax, 2
jne 0x1000f9962
mov r14, qword [rdi + 0xa0]
call fcn.100064800
mov edx, eax
xor eax, eax
lock cmpxchg dword [r14 + 0xf80], edx
mov ecx, ebx
sete cl
test ecx, ecx
jne 0x1000f9946
lea rcx, [r14 + 0xf80]
call fcn.100057ac0
mov rcx, qword [rdi + 8]
mov rax, qword [rdi]
mov qword [rax + 8], rcx
mov qword [rcx], rax
mov qword [rdi + 8], rbx
mov qword [rdi], rbx
mov dword [r14 + 0xf80], ebx
call fcn.100058010
test rax, rax
je 0x1000f998a
cmp qword [rax + 0x1e8], rdi
jne 0x1000f998a
test rdi, rdi
je 0x1000f997e
lea rbx, [rdi - 8]
xor edx, edx
mov rcx, rbx
call fcn.100058e50
jmp 0x1000f99fa
test rdi, rdi
je 0x1000f9993
lea rbx, [rdi - 8]
mov qword [rsp + 0x38], rbx
test rbx, rbx
je 0x1000f99fa
lea rax, [0x100002a88]
mov qword [rbx], rax
lea rcx, [rbx + 8]
call fcn.100058db0
mov rax, rbx
mov edx, 0x200
and rax, 0xffffffffffffe000
je 0x1000f99ca
cmp word [rax + 4], dx
jne 0x1000f99ca
mov rax, qword [rax + 0x28]
mov rax, qword [rax + 8]
mov rcx, qword [rax + 0x10]
dec rcx
not rcx
and rcx, rbx
je 0x1000f99e7
cmp word [rcx + 4], dx
jne 0x1000f99e7
mov rcx, qword [rcx + 0x28]
mov rcx, qword [rcx + 8]
test byte [rcx + 0x28], 8
jne 0x1000f99fa
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x28]
mov eax, esi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.10005f420
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret