Function at 0x1401a8820
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, 0x88
mov r13, rcx
mov rax, qword [0x14028f028]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rcx, qword [rcx + 0x70]
mov rax, qword [r13 + 0x128]
mov al, byte [rax + 0x39]
mov byte [rsp + 0x27], al
sub rcx, qword [r13 + 0x68]
je 0x1401a8b0e
sar rcx, 4
call fcn.1401a8f90
mov r15, rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov al, byte [r13 + 0x80]
test al, 1
jne 0x1401a8ec4
mov rsi, qword [r13 + 0x68]
shl r15, 4
add r15, rsi
cmp r15, qword [r13 + 0x70]
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x38], r15
je 0x1401a8b1a
mov rdx, r15
mov al, byte [rdx + 9]
test al, 1
jne 0x1401a8a3d
mov al, byte [rdx + 8]
test al, 1
jne 0x1401a8a10
mov byte [rdx + 8], 1
mov qword [rsp + 0x30], rdx
mov rax, qword [rdx]
mov rdx, 0xffffffffffe00000
and rax, rdx
xor ecx, ecx
test byte [r13 + 8], 1
sete cl
shl rcx, 0xe
add rax, rcx
add rax, 0x4000
mov qword [rsp + 0x48], rax
and rax, rdx
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov rbp, qword [rax + rcx*8]
test rbp, rbp
je 0x1401a89ee
mov r15, qword [rsp + 0x28]
shl r15, 0xa
add r15, qword [rsp + 0x40]
mov r13, r15
shr r13, 0xc
and r13d, 0x1fffff
lea r14, [r13 + 1]
mov rax, r15
and rax, 0xffffffffffe00000
mov rcx, r15
shr rcx, 9
and ecx, 0xfe0
lea r12, [rax + rcx]
add r12, 0x1000
mov rbx, r15
movabs rax, 0xfffffffe00000000
and rbx, rax
add rbx, r13
movzx ecx, byte [r12 + 0x1e]
mov rax, rcx
neg rax
shl rcx, 5
neg rcx
cmp byte [r12 + rcx + 0x1d], 0
jne 0x1401a8a05
shl rax, 5
mov rax, qword [r12 + rax + 0x10]
mov edi, dword [rax + 0x18]
bsf rsi, rbp
cmp byte [rsp + 0x27], 0
jne 0x1401a89b5
mov rcx, rsi
shl rcx, 4
or rcx, r15
xor edx, edx
mov r8, rdi
call fcn.1400cf750
add rdi, 0xfff
shr rdi, 0xc
je 0x1401a89dd
add rdi, r13
cmp rdi, r14
ja 0x1401a89cd
mov rdi, r14
sub rdi, r13
mov rcx, rbx
mov dl, 1
mov r8, rdi
call fcn.1400cf750
mov rax, 0xfffffffffffffffe
mov ecx, esi
rol rax, cl
and rbp, rax
jne 0x1401a896f
mov rcx, qword [rsp + 0x28]
inc rcx
cmp rcx, 0x800
jne 0x1401a8904
jmp 0x1401a8a2a
shl rax, 5
mov rdi, qword [r12 + rax + 0x20]
jmp 0x1401a8996
mov rbx, qword [rsp + 0x68]
cmp rbx, qword [rsp + 0x70]
je 0x1401a8a50
mov qword [rbx], rdx
add rbx, 8
mov qword [rsp + 0x68], rbx
jmp 0x1401a8a3d
mov rdx, qword [rsp + 0x30]
mov byte [rdx + 9], 1
mov r13, qword [rsp + 0x50]
mov r15, qword [rsp + 0x38]
add rdx, 0x10
cmp rdx, qword [r13 + 0x70]
jne 0x1401a88b2
jmp 0x1401a8b16
sub rbx, qword [rsp + 0x60]
mov rbp, rbx
sar rbp, 3
lea rax, [rbp + 1]
movabs rcx, 0x1fffffffffffffff
cmp rax, rcx
ja 0x1401a8f79
sar rbx, 2
cmp rbx, rax
cmovb rbx, rax
movabs rax, 0xfffffffffffffff
cmp rbp, rax
cmovae rbx, rcx
test rbx, rbx
jne 0x1401a8afb
xor r12d, r12d
lea rdi, [r12 + rbp*8]
mov qword [rdi], rdx
mov r14, qword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
sub r8, r14
sub rdi, r8
test r8, r8
jle 0x1401a8ac4
mov rcx, rdi
mov rsi, rdx
mov rdx, r14
call fcn.1400cf0a0
mov rdx, rsi
lea rax, [r12 + rbx*8]
lea rcx, [r12 + rbp*8]
add rcx, 8
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rax
test r14, r14
je 0x1401a8a3d
mov rcx, r14
mov rsi, rdx
call fcn.1400089f0
mov rdx, rsi
jmp 0x1401a8a3d
mov rcx, rbx
mov rsi, rdx
call fcn.1401a9020
mov rdx, rsi
mov r12, rax
jmp 0x1401a8a97
xor r15d, r15d
jmp 0x1401a8870
mov rsi, qword [r13 + 0x68]
cmp rsi, r15
je 0x1401a8d59
mov al, byte [rsi + 9]
test al, 1
jne 0x1401a8cad
mov al, byte [rsi + 8]
test al, 1
jne 0x1401a8c80
mov byte [rsi + 8], 1
mov qword [rsp + 0x30], rsi
mov rax, qword [rsi]
mov rdx, 0xffffffffffe00000
and rax, rdx
xor ecx, ecx
test byte [r13 + 8], 1
sete cl
shl rcx, 0xe
add rax, rcx
add rax, 0x4000
mov qword [rsp + 0x48], rax
and rax, rdx
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov r13, qword [rax + rcx*8]
test r13, r13
je 0x1401a8c5e
mov r15, qword [rsp + 0x28]
shl r15, 0xa
add r15, qword [rsp + 0x40]
mov rbp, r15
shr rbp, 0xc
and ebp, 0x1fffff
lea rbx, [rbp + 1]
mov rax, r15
and rax, 0xffffffffffe00000
mov rcx, r15
shr rcx, 9
and ecx, 0xfe0
lea r12, [rax + rcx]
add r12, 0x1000
mov r14, r15
movabs rax, 0xfffffffe00000000
and r14, rax
add r14, rbp
movzx ecx, byte [r12 + 0x1e]
mov rax, rcx
neg rax
shl rcx, 5
neg rcx
cmp byte [r12 + rcx + 0x1d], 0
jne 0x1401a8c75
shl rax, 5
mov rax, qword [r12 + rax + 0x10]
mov edi, dword [rax + 0x18]
bsf rsi, r13
cmp byte [rsp + 0x27], 0
jne 0x1401a8c25
mov rcx, rsi
shl rcx, 4
or rcx, r15
xor edx, edx
mov r8, rdi
call fcn.1400cf750
add rdi, 0xfff
shr rdi, 0xc
je 0x1401a8c4d
add rdi, rbp
cmp rdi, rbx
ja 0x1401a8c3d
mov rdi, rbx
sub rdi, rbp
mov rcx, r14
mov dl, 1
mov r8, rdi
call fcn.1400cf750
mov rax, 0xfffffffffffffffe
mov ecx, esi
rol rax, cl
and r13, rax
jne 0x1401a8bdf
mov rcx, qword [rsp + 0x28]
inc rcx
cmp rcx, 0x800
jne 0x1401a8b75
jmp 0x1401a8c9a
shl rax, 5
mov rdi, qword [r12 + rax + 0x20]
jmp 0x1401a8c06
mov rbx, qword [rsp + 0x68]
cmp rbx, qword [rsp + 0x70]
je 0x1401a8cb6
mov qword [rbx], rsi
add rbx, 8
mov qword [rsp + 0x68], rbx
jmp 0x1401a8cad
mov rsi, qword [rsp + 0x30]
mov byte [rsi + 9], 1
mov r13, qword [rsp + 0x50]
mov r15, qword [rsp + 0x38]
add rsi, 0x10
jmp 0x1401a8b1a
sub rbx, qword [rsp + 0x60]
mov rbp, rbx
sar rbp, 3
lea rax, [rbp + 1]
movabs rcx, 0x1fffffffffffffff
cmp rax, rcx
ja 0x1401a8f79
sar rbx, 2
cmp rbx, rax
cmovb rbx, rax
movabs rax, 0xfffffffffffffff
cmp rbp, rax
cmovae rbx, rcx
test rbx, rbx
jne 0x1401a8f1e
xor r12d, r12d
lea rdi, [r12 + rbp*8]
mov qword [rdi], rsi
mov r14, qword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
sub r8, r14
sub rdi, r8
test r8, r8
jle 0x1401a8d28
mov rcx, rdi
mov rdx, r14
call fcn.1400cf0a0
lea rax, [r12 + rbx*8]
lea rcx, [r12 + rbp*8]
add rcx, 8
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rax
test r14, r14
je 0x1401a8cad
mov rcx, r14
call fcn.1400089f0
jmp 0x1401a8cad
mov rdi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
cmp rdi, r12
je 0x1401a8ebc
mov rdx, 0xffffffffffe00000
mov rbp, qword [rdi]
mov al, byte [rbp + 9]
test al, 1
je 0x1401a8f2e
add rdi, 8
cmp rdi, r12
jne 0x1401a8d73
jmp 0x1401a8ebc
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rcx
mov r15, qword [rax + rcx*8]
test r15, r15
je 0x1401a8e94
mov rdx, qword [rsp + 0x38]
shl rdx, 0xa
add rdx, qword [rsp + 0x58]
mov r13, rdx
shr r13, 0xc
and r13d, 0x1fffff
lea rax, [r13 + 1]
mov qword [rsp + 0x28], rax
mov rax, rdx
and rax, 0xffffffffffe00000
mov rcx, rdx
shr rcx, 9
and ecx, 0xfe0
lea r14, [rax + rcx]
add r14, 0x1000
mov qword [rsp + 0x40], rdx
movabs rax, 0xfffffffe00000000
and rdx, rax
add rdx, r13
mov qword [rsp + 0x48], rdx
movzx ecx, byte [r14 + 0x1e]
mov rax, rcx
neg rax
shl rcx, 5
neg rcx
cmp byte [r14 + rcx + 0x1d], 0
jne 0x1401a8eae
shl rax, 5
mov rax, qword [r14 + rax + 0x10]
mov ebx, dword [rax + 0x18]
bsf rsi, r15
cmp byte [rsp + 0x27], 0
jne 0x1401a8e51
mov rcx, rsi
shl rcx, 4
or rcx, qword [rsp + 0x40]
xor edx, edx
mov r8, rbx
call fcn.1400cf750
add rbx, 0xfff
shr rbx, 0xc
je 0x1401a8e7f
add rbx, r13
cmp rbx, qword [rsp + 0x28]
ja 0x1401a8e6d
mov rbx, qword [rsp + 0x28]
sub rbx, r13
mov rcx, qword [rsp + 0x48]
mov dl, 1
mov r8, rbx
call fcn.1400cf750
mov rax, 0xfffffffffffffffe
mov ecx, esi
rol rax, cl
and r15, rax
jne 0x1401a8e06
mov rcx, qword [rsp + 0x38]
inc rcx
cmp rcx, 0x800
jne 0x1401a8d8f
jmp 0x1401a8f64
shl rax, 5
mov rbx, qword [r14 + rax + 0x20]
jmp 0x1401a8e30
mov byte [r13 + 0x80], 1
mov rsi, qword [rsp + 0x60]
test rsi, rsi
je 0x1401a8ef9
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400ccfe0
mov rcx, rsi
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.1400089f0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400ccfe0
nop
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rbx
call fcn.1401a9020
mov r12, rax
jmp 0x1401a8d01
mov byte [rbp + 8], 1
mov rax, qword [rbp]
and rax, rdx
xor ecx, ecx
test byte [r13 + 8], 1
sete cl
shl rcx, 0xe
add rax, rcx
add rax, 0x4000
mov qword [rsp + 0x30], rax
and rax, rdx
mov qword [rsp + 0x58], rax
xor ecx, ecx
jmp 0x1401a8d8f
mov byte [rbp + 9], 1
mov r13, qword [rsp + 0x50]
mov rdx, 0xffffffffffe00000
jmp 0x1401a8d81
lea rcx, [rsp + 0x60]
call fcn.14014e7e0
int3