Function at 0x1400cc460
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 [0x1400ff028]
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 0x1400cc74e
sar rcx, 4
call fcn.1400ccbd0
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 0x1400ccb04
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 0x1400cc75a
mov rdx, r15
mov al, byte [rdx + 9]
test al, 1
jne 0x1400cc67d
mov al, byte [rdx + 8]
test al, 1
jne 0x1400cc650
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 0x1400cc62e
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 0x1400cc645
shl rax, 5
mov rax, qword [r12 + rax + 0x10]
mov edi, dword [rax + 0x18]
bsf rsi, rbp
cmp byte [rsp + 0x27], 0
jne 0x1400cc5f5
mov rcx, rsi
shl rcx, 4
or rcx, r15
xor edx, edx
mov r8, rdi
call fcn.14006c1b0
add rdi, 0xfff
shr rdi, 0xc
je 0x1400cc61d
add rdi, r13
cmp rdi, r14
ja 0x1400cc60d
mov rdi, r14
sub rdi, r13
mov rcx, rbx
mov dl, 1
mov r8, rdi
call fcn.14006c1b0
mov rax, 0xfffffffffffffffe
mov ecx, esi
rol rax, cl
and rbp, rax
jne 0x1400cc5af
mov rcx, qword [rsp + 0x28]
inc rcx
cmp rcx, 0x800
jne 0x1400cc544
jmp 0x1400cc66a
shl rax, 5
mov rdi, qword [r12 + rax + 0x20]
jmp 0x1400cc5d6
mov rbx, qword [rsp + 0x68]
cmp rbx, qword [rsp + 0x70]
je 0x1400cc690
mov qword [rbx], rdx
add rbx, 8
mov qword [rsp + 0x68], rbx
jmp 0x1400cc67d
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 0x1400cc4f2
jmp 0x1400cc756
sub rbx, qword [rsp + 0x60]
mov rbp, rbx
sar rbp, 3
lea rax, [rbp + 1]
movabs rcx, 0x1fffffffffffffff
cmp rax, rcx
ja 0x1400ccbb9
sar rbx, 2
cmp rbx, rax
cmovb rbx, rax
movabs rax, 0xfffffffffffffff
cmp rbp, rax
cmovae rbx, rcx
test rbx, rbx
jne 0x1400cc73b
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 0x1400cc704
mov rcx, rdi
mov rsi, rdx
mov rdx, r14
call fcn.14006bb00
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 0x1400cc67d
mov rcx, r14
mov rsi, rdx
call fcn.1400013b0
mov rdx, rsi
jmp 0x1400cc67d
mov rcx, rbx
mov rsi, rdx
call fcn.1400ccc60
mov rdx, rsi
mov r12, rax
jmp 0x1400cc6d7
xor r15d, r15d
jmp 0x1400cc4b0
mov rsi, qword [r13 + 0x68]
cmp rsi, r15
je 0x1400cc999
mov al, byte [rsi + 9]
test al, 1
jne 0x1400cc8ed
mov al, byte [rsi + 8]
test al, 1
jne 0x1400cc8c0
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 0x1400cc89e
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 0x1400cc8b5
shl rax, 5
mov rax, qword [r12 + rax + 0x10]
mov edi, dword [rax + 0x18]
bsf rsi, r13
cmp byte [rsp + 0x27], 0
jne 0x1400cc865
mov rcx, rsi
shl rcx, 4
or rcx, r15
xor edx, edx
mov r8, rdi
call fcn.14006c1b0
add rdi, 0xfff
shr rdi, 0xc
je 0x1400cc88d
add rdi, rbp
cmp rdi, rbx
ja 0x1400cc87d
mov rdi, rbx
sub rdi, rbp
mov rcx, r14
mov dl, 1
mov r8, rdi
call fcn.14006c1b0
mov rax, 0xfffffffffffffffe
mov ecx, esi
rol rax, cl
and r13, rax
jne 0x1400cc81f
mov rcx, qword [rsp + 0x28]
inc rcx
cmp rcx, 0x800
jne 0x1400cc7b5
jmp 0x1400cc8da
shl rax, 5
mov rdi, qword [r12 + rax + 0x20]
jmp 0x1400cc846
mov rbx, qword [rsp + 0x68]
cmp rbx, qword [rsp + 0x70]
je 0x1400cc8f6
mov qword [rbx], rsi
add rbx, 8
mov qword [rsp + 0x68], rbx
jmp 0x1400cc8ed
mov rsi, qword [rsp + 0x30]
mov byte [rsi + 9], 1
mov r13, qword [rsp + 0x50]
mov r15, qword [rsp + 0x38]
add rsi, 0x10
jmp 0x1400cc75a
sub rbx, qword [rsp + 0x60]
mov rbp, rbx
sar rbp, 3
lea rax, [rbp + 1]
movabs rcx, 0x1fffffffffffffff
cmp rax, rcx
ja 0x1400ccbb9
sar rbx, 2
cmp rbx, rax
cmovb rbx, rax
movabs rax, 0xfffffffffffffff
cmp rbp, rax
cmovae rbx, rcx
test rbx, rbx
jne 0x1400ccb5e
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 0x1400cc968
mov rcx, rdi
mov rdx, r14
call fcn.14006bb00
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 0x1400cc8ed
mov rcx, r14
call fcn.1400013b0
jmp 0x1400cc8ed
mov rdi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
cmp rdi, r12
je 0x1400ccafc
mov rdx, 0xffffffffffe00000
mov rbp, qword [rdi]
mov al, byte [rbp + 9]
test al, 1
je 0x1400ccb6e
add rdi, 8
cmp rdi, r12
jne 0x1400cc9b3
jmp 0x1400ccafc
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rcx
mov r15, qword [rax + rcx*8]
test r15, r15
je 0x1400ccad4
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 0x1400ccaee
shl rax, 5
mov rax, qword [r14 + rax + 0x10]
mov ebx, dword [rax + 0x18]
bsf rsi, r15
cmp byte [rsp + 0x27], 0
jne 0x1400cca91
mov rcx, rsi
shl rcx, 4
or rcx, qword [rsp + 0x40]
xor edx, edx
mov r8, rbx
call fcn.14006c1b0
add rbx, 0xfff
shr rbx, 0xc
je 0x1400ccabf
add rbx, r13
cmp rbx, qword [rsp + 0x28]
ja 0x1400ccaad
mov rbx, qword [rsp + 0x28]
sub rbx, r13
mov rcx, qword [rsp + 0x48]
mov dl, 1
mov r8, rbx
call fcn.14006c1b0
mov rax, 0xfffffffffffffffe
mov ecx, esi
rol rax, cl
and r15, rax
jne 0x1400cca46
mov rcx, qword [rsp + 0x38]
inc rcx
cmp rcx, 0x800
jne 0x1400cc9cf
jmp 0x1400ccba4
shl rax, 5
mov rbx, qword [r14 + rax + 0x20]
jmp 0x1400cca70
mov byte [r13 + 0x80], 1
mov rsi, qword [rsp + 0x60]
test rsi, rsi
je 0x1400ccb39
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140069b80
mov rcx, rsi
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.1400013b0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140069b80
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.1400ccc60
mov r12, rax
jmp 0x1400cc941
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 0x1400cc9cf
mov byte [rbp + 9], 1
mov r13, qword [rsp + 0x50]
mov rdx, 0xffffffffffe00000
jmp 0x1400cc9c1
lea rcx, [rsp + 0x60]
call fcn.1400a85b4
int3