Function at 0x1000a0f74
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov rbx, rdx
xor edx, edx
mov r15, rcx
lea ecx, [rdx + 2]
xor r13d, r13d
mov rdi, r8
mov r12d, r13d
call fcn.1000a0b08
cmp al, r13b
je 0x1000a148c
xor eax, eax
mov ebp, 0x80000000
lea r8, [0x10009da08]
and dword [rsp + 0x48], ebp
and dword [rsp + 0x60], ebp
lea rdx, [rsp + 0x48]
mov rcx, rbx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
call fcn.10009e49c
cmp eax, r13d
mov ebx, eax
jl 0x1000a11a0
lea r8, [0x1000636a4]
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.10009e49c
cmp eax, r13d
jge 0x1000a1017
mov ebx, eax
jmp 0x1000a11a0
mov ecx, dword [0x1000de268]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, qword [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
lea r8d, [rdx + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
cmp rax, r13
je 0x1000a105f
and dword [rax + 8], ebp
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
and dword [rbx + 0x20], ebp
mov qword [rbx + 0x28], rax
mov qword [rbx + 0x30], rax
cmp rbx, r13
jne 0x1000a106e
mov ebx, 0x8007000e
jmp 0x1000a11a0
lea r8, [rbx + 8]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x60]
mov qword [rbx], r15
call fcn.1000a0eac
cmp eax, r13d
mov edi, eax
jl 0x1000a1196
and dword [rsp + 0x30], ebp
xor eax, eax
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
call fcn.1000a0eac
cmp eax, r13d
mov edi, eax
jl 0x1000a118c
mov ecx, dword [rsp + 0x30]
mov r11d, 0xfffffff
mov ebp, r13d
mov r10d, 1
test r11d, ecx
jbe 0x1000a1168
bt ecx, 0x1c
lea rax, [rsp + 0x38]
cmovb rax, qword [rsp + 0x38]
mov rdi, qword [rax + r13]
mov rcx, rdi
mov rax, qword [rdi]
call qword [rax + 0x100]
mov rdx, qword [0x1000e2050]
mov r8, qword [rax]
mov rcx, rax
call qword [r8 + 0x50]
mov qword [rsp + 0x88], rdi
lea rdx, [rsp + 0x90]
mov byte [rsp + 0x80], al
lea rcx, [rbx + 0x20]
movaps xmm0, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0x90], xmm0
call fcn.1000a3be8
mov edi, eax
test eax, eax
js 0x1000a118c
mov ecx, dword [rsp + 0x30]
mov r10d, 1
mov r11d, 0xfffffff
mov eax, ecx
add ebp, r10d
add r13, 8
and eax, r11d
cmp ebp, eax
jb 0x1000a10da
xor r13d, r13d
lea rdi, [r14 + 0x30]
mov edx, r13d
mov ecx, dword [rdi]
and ecx, r11d
jbe 0x1000a11d3
mov eax, dword [rdi]
mov r8, r13
shr eax, 0x1c
and eax, r10d
cmp eax, r13d
je 0x1000a11bb
mov r9, qword [rdi + 8]
jmp 0x1000a11bf
lea rcx, [rsp + 0x30]
call fcn.10007d870
mov rcx, rbx
call fcn.1000a4284
mov ebx, edi
lea rcx, [rsp + 0x60]
call fcn.10007d870
lea rcx, [rsp + 0x48]
call fcn.10007d870
mov eax, ebx
jmp 0x1000a148f
lea r9, [rdi + 8]
mov r14, qword [r9 + r8]
cmp qword [r14], r15
je 0x1000a11f4
add edx, r10d
add r8, 8
cmp ecx, edx
ja 0x1000a1181
mov ebp, dword [rdi]
and ebp, r11d
lea esi, [rbp + 1]
cmp esi, ebp
jb 0x1000a135e
cmp esi, r11d
ja 0x1000a135e
mov r12d, r13d
jmp 0x1000a1367
mov ebp, r13d
mov r15d, 1
test dword [rbx + 8], r11d
jbe 0x1000a128f
bt dword [rbx + 8], 0x1c
jae 0x1000a1214
mov rax, qword [rbx + 0x10]
jmp 0x1000a1218
lea rax, [rbx + 0x10]
mov edx, dword [r14 + 8]
mov r9, qword [r13 + rax]
xor al, al
and edx, r11d
jbe 0x1000a125e
mov ecx, dword [r14 + 8]
mov r10d, edx
shr ecx, 0x1c
and ecx, r15d
xor r8d, r8d
test ecx, ecx
je 0x1000a1242
mov rdx, qword [r14 + 0x10]
jmp 0x1000a1246
lea rdx, [r14 + 0x10]
cmp r9, qword [rdx + r8]
movzx eax, al
cmove eax, r15d
add r8, 8
sub r10, r15
jne 0x1000a1238
test al, al
jne 0x1000a1277
mov edx, dword [r14 + 8]
lea rcx, [r14 + 8]
mov r8, r9
and edx, r11d
call fcn.10005fe4c
mov r11d, 0xfffffff
mov eax, dword [rbx + 8]
add ebp, r15d
add r13, 8
and eax, r11d
cmp ebp, eax
jb 0x1000a1207
xor r13d, r13d
mov ebp, r13d
test dword [rbx + 0x20], r11d
jbe 0x1000a1461
mov rsi, r13
bt dword [rbx + 0x20], 0x1c
jae 0x1000a12ac
mov r8, qword [rbx + 0x28]
jmp 0x1000a12b0
lea r8, [rbx + 0x28]
movdqu xmm0, xmmword [r8 + rsi]
mov edx, dword [r14 + 0x20]
mov cl, r13b
and edx, r11d
movdqu xmmword [rsp + 0x90], xmm0
jbe 0x1000a131e
mov eax, dword [r14 + 0x20]
mov r11, qword [rsp + 0x98]
mov r9, r13
shr eax, 0x1c
mov r10d, edx
and eax, r15d
cmp eax, r13d
je 0x1000a12ee
mov rdx, qword [r14 + 0x28]
jmp 0x1000a12f2
lea rdx, [r14 + 0x28]
movdqu xmm0, xmmword [rdx + r9]
movzx ecx, cl
movdqu xmmword [rsp + 0x80], xmm0
cmp r11, qword [rsp + 0x88]
cmove ecx, r15d
add r9, 0x10
sub r10, r15
jne 0x1000a12e3
cmp cl, r13b
jne 0x1000a133e
movdqu xmm0, xmmword [r8 + rsi]
lea rdx, [rsp + 0xa0]
lea rcx, [r14 + 0x20]
movdqu xmmword [rsp + 0xa0], xmm0
call fcn.1000a3be8
mov eax, dword [rbx + 0x20]
mov r11d, 0xfffffff
add ebp, r15d
and eax, r11d
add rsi, 0x10
cmp ebp, eax
jb 0x1000a129f
jmp 0x1000a1461
or esi, 0xffffffff
mov r12d, 0x80070216
cmp r12d, r13d
jl 0x1000a145d
mov eax, dword [rdi]
bt eax, 0x1c
jb 0x1000a138d
and eax, r11d
cmp eax, 2
jne 0x1000a138d
mov edx, esi
mov rcx, rdi
call fcn.10007d8e8
mov r12d, eax
cmp r12d, r13d
jl 0x1000a145d
bt dword [rdi], 0x1c
mov eax, dword [0x1000e2da8]
jae 0x1000a13c6
test al, 1
jne 0x1000a13bd
or eax, 1
mov dword [0x1000e2da8], eax
lea rax, [0x100011f78]
mov qword [0x1000e2db8], rax
lea rcx, [0x1000e2db8]
jmp 0x1000a13e8
test al, 2
jne 0x1000a13e1
or eax, 2
mov dword [0x1000e2da8], eax
lea rax, fcn.1000a4148
mov qword [0x1000e2db0], rax
lea rcx, [0x1000e2db0]
mov rax, qword [rcx]
lea rdx, [rsp + 0xf8]
mov r9d, esi
mov qword [rsp + 0x20], rdx
mov rdx, rdi
mov r8d, ebp
call qword [rax + 0x10]
cmp eax, r13d
mov r12d, eax
jl 0x1000a145a
mov r8d, dword [rdi]
mov rdx, qword [rsp + 0xf8]
mov r14d, 0xfffffff
and r8d, r14d
lea rcx, [rdx + 8]
sub r8d, ebp
shl r8, 3
call sub.msvcrt.dll_memmove
mov r11d, dword [rdi]
xor r11d, esi
and r11d, r14d
xor dword [rdi], r11d
bt dword [rdi], 0x1d
jae 0x1000a144f
mov rax, qword [rsp + 0xf8]
xor ecx, ecx
mov qword [rax], rcx
mov rax, qword [rsp + 0xf8]
mov qword [rax], rbx
cmp r12d, r13d
cmovge rbx, r13
lea rcx, [rsp + 0x30]
call fcn.10007d870
cmp rbx, r13
je 0x1000a1478
mov rcx, rbx
call fcn.1000a4284
lea rcx, [rsp + 0x60]
call fcn.10007d870
lea rcx, [rsp + 0x48]
call fcn.10007d870
mov eax, r12d
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret