Function at 0x10009b1a0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], r8
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbp
mov rbx, r8
movsxd rsi, ecx
mov ecx, edx
call fcn.10006bf10
mov r12, rax
mov ebp, dword [rsp + 0xa8]
mov r15d, ebp
and r15d, 0x12f0002
xor r14d, r14d
mov edi, r14d
cmp esi, 0xb
ja case.0x10009b205.8
lea rax, [0x100000000]
mov edx, dword [rax + rsi*4 + 0x9b514]
add rdx, rax
jmp rdx
mov rcx, qword [rbx + 0x28]
lea rax, [rcx + 0xf0]
mov qword [rbx + 0x28], rax
or word [rbx + 0x30], 1
mov qword [rsp + 0x38], rcx
test rcx, rcx
je 0x10009b22f
call fcn.100094140
mov rdi, rax
jmp 0x10009b232
mov rdi, r14
jmp 0x10009b4e1
mov rcx, qword [rbx + 0x28]
lea rax, [rcx + 0x4c0]
mov qword [rbx + 0x28], rax
or word [rbx + 0x30], 1
mov qword [rsp + 0x38], rcx
test rcx, rcx
je 0x10009b25f
call fcn.1000aab00
mov rdi, rax
jmp 0x10009b262
mov rdi, r14
call fcn.100068a00
mov rsi, qword gs:[0x30]
mov r14, rax
add rsi, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x10009b28e
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
test rsi, rsi
je 0x10009b29f
mov r8, qword [rsi + 0xd8]
test r8, r8
jne 0x10009b2d7
call fcn.100063d30
call fcn.100068a00
mov r14, rax
mov rsi, qword gs:[0x30]
add rsi, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x10009b2d0
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
mov r8, qword [rsi + 0xd8]
shr ebp, 0x19
and ebp, 1
mov dword [rsp + 0x28], ebp
mov r8, qword [r8 + 0x210]
jmp 0x10009b4cb
mov rcx, qword [rbx + 0x28]
lea rax, [rcx + 0x1c0]
mov qword [rbx + 0x28], rax
or word [rbx + 0x30], 1
mov qword [rsp + 0x38], rcx
test rcx, rcx
je 0x10009b315
call fcn.1000ac930
mov rdi, rax
jmp 0x10009b318
mov rdi, r14
jmp 0x10009b4e1
mov rcx, qword [rbx + 0x28]
lea rax, [rcx + 0x140]
mov qword [rbx + 0x28], rax
or word [rbx + 0x30], 1
mov qword [rsp + 0x38], rcx
test rcx, rcx
je 0x10009b345
call fcn.1000acbf0
mov rdi, rax
jmp 0x10009b348
mov rdi, r14
jmp 0x10009b4e1
mov rcx, qword [rbx + 0x28]
lea rax, [rcx + 0x590]
mov qword [rbx + 0x28], rax
or word [rbx + 0x30], 1
mov qword [rsp + 0x38], rcx
test rcx, rcx
je 0x10009b375
call fcn.1000aec00
mov rdi, rax
jmp 0x10009b378
mov rdi, r14
jmp 0x10009b4c3
mov rcx, qword [rbx + 0x28]
lea rax, [rcx + 0x510]
mov qword [rbx + 0x28], rax
or word [rbx + 0x30], 1
mov qword [rsp + 0x38], rcx
test rcx, rcx
je 0x10009b3a5
call fcn.1000aeed0
mov rdi, rax
jmp 0x10009b3a8
mov rdi, r14
jmp 0x10009b262
mov rcx, qword [rbx + 0x28]
lea rax, [rcx + 0x210]
mov qword [rbx + 0x28], rax
or word [rbx + 0x30], 1
mov qword [rsp + 0x38], rcx
test rcx, rcx
je 0x10009b3d5
call fcn.1000aeff0
mov rdi, rax
jmp 0x10009b3d8
mov rdi, r14
jmp 0x10009b4e1
mov rcx, qword [rbx + 0x28]
lea rax, [rcx + 0x5e0]
mov qword [rbx + 0x28], rax
or word [rbx + 0x30], 1
mov qword [rsp + 0x38], rcx
test rcx, rcx
je 0x10009b405
call fcn.1000af110
mov rdi, rax
jmp 0x10009b408
mov rdi, r14
jmp 0x10009b4c3
mov rcx, qword [rbx + 0x28]
lea rax, [rcx + 0x280]
mov qword [rbx + 0x28], rax
or word [rbx + 0x30], 1
mov qword [rsp + 0x38], rcx
test rcx, rcx
je 0x10009b435
call fcn.1000b1690
mov rdi, rax
jmp 0x10009b438
mov rdi, r14
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xb8]
mov r8, qword [rsp + 0xb0]
mov rdx, rbx
mov rcx, rdi
call fcn.1000b0c70
test eax, eax
jne 0x10009b4e1
mov rdi, r14
jmp case.0x10009b205.8
mov rcx, qword [rbx + 0x28]
lea rax, [rcx + 0x650]
mov qword [rbx + 0x28], rax
or word [rbx + 0x30], 1
mov qword [rsp + 0x38], rcx
test rcx, rcx
je 0x10009b494
call fcn.1000b3c10
mov rdi, rax
jmp 0x10009b497
mov rdi, r14
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xb8]
mov r8, qword [rsp + 0xb0]
mov rdx, rbx
mov rcx, rdi
call fcn.1000b31f0
test eax, eax
je 0x10009b464
mov dword [rsp + 0x28], r14d
xor r8d, r8d
mov dword [rsp + 0x20], r15d
mov r9d, 1
mov rdx, r12
mov rcx, rdi
call fcn.100111fa0
test rdi, rdi
je case.0x10009b205.8
movzx r8d, word [rsp + 0xa0]
mov rdx, rbx
mov rcx, rdi
call fcn.100106d90
mov rax, rdi
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret