Function at 0x14002a880
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov rsi, r8
mov rax, qword [0x1400ff028]
xor rax, rsp
mov qword [rsp + 0x90], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
mov r13b, byte [0x1401018b0]
test r13b, 0x19
jne 0x14002aa7f
xor r14d, r14d
mov r15, r12
cmp qword [rsi + 0x38], 0
jne 0x14002a9c6
mov eax, dword [0x14010a0f0]
mov ecx, dword [0x1401025d8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14002a9f9
mov ecx, dword [0x140102430]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14002a939
movsxd rcx, dword [0x14010a0e8]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x14010a0ec]
jne 0x14002a939
mov rax, qword [rax + rcx]
test rax, rax
je 0x14002a939
mov rcx, qword [rax + 0x10]
mov qword [rsi + 0x60], rcx
mov eax, dword [rax + 8]
mov dword [rsi + 0x58], eax
mov eax, dword [0x14010a0e0]
mov ecx, dword [0x1401025d8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14002aa3c
mov ecx, dword [0x140102430]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14002a9c6
movsxd rcx, dword [0x14010a0d8]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x14010a0dc]
jne 0x14002a9c6
mov rax, qword [rax + rcx]
test rax, rax
je 0x14002a9c6
cmp dword [rax + 0x68], 0xf00dbaad
je 0x14002ab51
mov rcx, qword [rax + 0x20]
mov qword [rsi + 0x38], rcx
movups xmm0, xmmword [rax + 0x38]
mov rcx, qword [rax + 0x48]
mov qword [rsi + 0x50], rcx
movups xmmword [rsi + 0x40], xmm0
cmp byte [rax + 0x6c], 0
jne 0x14002a9f5
cmp qword [rax + 0x50], 0
setne al
mov byte [rsi + 0x6c], al
test r13b, 0x19
jne 0x14002ab34
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140069b80
nop
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov al, 1
jmp 0x14002a9c3
lea rcx, [0x14010a0f0]
call fcn.1400676e4
cmp dword [0x14010a0f0], 0xffffffff
jne 0x14002a8f9
mov qword [0x14010a0e8], 0
lea rcx, [0x14010a0e8]
xor edx, edx
call fcn.140036aa0
lea rcx, [0x14010a0f0]
call fcn.140067684
jmp 0x14002a8f9
lea rcx, [0x14010a0e0]
call fcn.1400676e4
cmp dword [0x14010a0e0], 0xffffffff
jne 0x14002a95e
mov qword [0x14010a0d8], 0
lea rcx, [0x14010a0d8]
xor edx, edx
call fcn.140036aa0
lea rcx, [0x14010a0e0]
call fcn.140067684
jmp 0x14002a95e
mov rbx, r9
mov rdi, rdx
mov eax, dword [rsi + 0x68]
shl rax, 0x20
mov r14d, ecx
or r14, rax
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [rsp + 0x54], eax
lea r15, [rsp + 0x58]
mov qword [r15], r12
mov rcx, r15
call fcn.140047d70
movaps xmm0, xmmword [0x1400e8af0]
lea rbp, [rsp + 0x60]
movaps xmmword [rbp], xmm0
movaps xmmword [rbp + 0x10], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rbp + 0x20], rax
mov word [rbp], 0x601
lea rax, str.task_queue_name
mov qword [rbp + 8], rax
mov qword [rbp + 0x18], rbx
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], r15
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x48], 0x900
mov qword [rsp + 0x20], 0
lea r14, [0x1401018b0]
mov cl, 0x58
mov rdx, r14
mov r8, rdi
xor r9d, r9d
call fcn.14002edd0
mov r15, rax
mov rcx, rbp
call fcn.140038170
mov r12, rdi
jmp 0x14002a8c9
cmp byte [r14], 0
je 0x14002a9d0
mov rcx, r14
mov rdx, r12
mov r8, r15
call fcn.140062e20
jmp 0x14002a9d0
cmp qword [rax + 8], 0
je 0x14002ab63
cmp qword [rax + 0x10], 0
jne 0x14002a99d
cmp qword [rax + 0x20], 0
jne 0x14002a99d
jmp 0x14002a9c6