Function at 0x10009adf0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov rdi, r8
movsxd rbp, ecx
mov ecx, edx
call fcn.10006bf10
mov r15, rax
mov esi, dword [rsp + 0x98]
mov r14d, esi
and r14d, 0x12f0002
xor r12d, r12d
mov ebx, r12d
cmp ebp, 0xb
ja case.0x10009ae58.8
lea rax, [0x100000000]
mov edx, dword [rax + rbp*4 + 0x9b15c]
add rdx, rax
jmp rdx
mov rbx, qword [rdi + 0x28]
lea rax, [rbx + 0x70]
mov qword [rdi + 0x28], rax
or word [rdi + 0x30], 1
mov qword [rsp + 0x38], rbx
test rbx, rbx
je 0x10009b0a8
mov dword [rbx + 8], 1
lea rax, [0x10001d230]
mov qword [rbx], rax
mov qword [rbx + 0x10], 0x2000
mov dword [rbx + 0x18], r12d
mov qword [rbx + 0x20], r12
mov dword [rbx + 0x28], r12d
mov qword [rbx + 0x30], r12
lea rax, [0x10001d870]
mov qword [rbx], rax
lea rax, [rbx + 0x50]
mov qword [rax + 8], rax
mov qword [rax], rax
jmp 0x10009b123
mov rcx, qword [rdi + 0x28]
lea rax, [rcx + 0x440]
mov qword [rdi + 0x28], rax
or word [rdi + 0x30], 1
test rcx, rcx
je 0x10009aedd
call fcn.1000a0fe0
mov rbx, rax
call fcn.100068a00
mov rdi, qword gs:[0x30]
mov rbp, rax
add rdi, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x10009af08
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
test rdi, rdi
je 0x10009af19
mov r8, qword [rdi + 0xd8]
test r8, r8
jne 0x10009af50
call fcn.100063d30
call fcn.100068a00
mov rbp, rax
mov rdi, qword gs:[0x30]
add rdi, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x10009af49
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov r8, qword [rdi + 0xd8]
mov eax, esi
shr eax, 0x19
and eax, 1
mov dword [rsp + 0x28], eax
mov r8, qword [r8 + 0x210]
jmp 0x10009b10d
mov rcx, qword [rdi + 0x28]
lea rax, [rcx + 0x130]
mov qword [rdi + 0x28], rax
or word [rdi + 0x30], 1
test rcx, rcx
je case.0x10009ae58.8
call fcn.1000a3320
mov rbx, rax
jmp 0x10009b123
mov rcx, qword [rdi + 0x28]
lea rax, [rcx + 0xc0]
mov qword [rdi + 0x28], rax
or word [rdi + 0x30], 1
test rcx, rcx
je case.0x10009ae58.8
call fcn.1000a35d0
mov rbx, rax
jmp 0x10009b123
mov rcx, qword [rdi + 0x28]
lea rax, [rcx + 0x500]
mov qword [rdi + 0x28], rax
or word [rdi + 0x30], 1
test rcx, rcx
je 0x10009b105
call fcn.1000a5640
jmp 0x10009b102
mov rcx, qword [rdi + 0x28]
lea rax, [rcx + 0x490]
mov qword [rdi + 0x28], rax
or word [rdi + 0x30], 1
test rcx, rcx
je 0x10009aedd
call fcn.1000a5940
jmp 0x10009aeda
mov rcx, qword [rdi + 0x28]
lea rax, [rcx + 0x180]
mov qword [rdi + 0x28], rax
or word [rdi + 0x30], 1
test rcx, rcx
je case.0x10009ae58.8
call fcn.1000a5a90
mov rbx, rax
jmp 0x10009b123
mov rcx, qword [rdi + 0x28]
lea rax, [rcx + 0x550]
mov qword [rdi + 0x28], rax
or word [rdi + 0x30], 1
test rcx, rcx
je 0x10009b105
call fcn.1000a5bf0
jmp 0x10009b102
mov rcx, qword [rdi + 0x28]
lea rax, [rcx + 0x1f0]
mov qword [rdi + 0x28], rax
or word [rdi + 0x30], 1
test rcx, rcx
je 0x10009b07c
call fcn.1000a82b0
mov rbx, rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xa8]
mov r8, qword [rsp + 0xa0]
mov rdx, rdi
mov rcx, rbx
call fcn.1000a7890
test eax, eax
jne 0x10009b123
mov rbx, r12
jmp case.0x10009ae58.8
mov rcx, qword [rdi + 0x28]
lea rax, [rcx + 0x5c0]
mov qword [rdi + 0x28], rax
or word [rdi + 0x30], 1
test rcx, rcx
je 0x10009b0d1
call fcn.1000aa970
mov rbx, rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xa8]
mov r8, qword [rsp + 0xa0]
mov rdx, rdi
mov rcx, rbx
call fcn.1000a9f50
test eax, eax
jne 0x10009b105
mov rbx, r12
jmp case.0x10009ae58.8
mov rbx, rax
mov dword [rsp + 0x28], r12d
xor r8d, r8d
mov dword [rsp + 0x20], r14d
mov r9d, 1
mov rdx, r15
mov rcx, rbx
call fcn.100112f40
test rbx, rbx
je case.0x10009ae58.8
shr esi, 0x17
and esi, 1
mov edx, esi
mov rcx, rbx
call fcn.10010ea20
mov rax, rbx
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
ret