Function at 0x1400c2640
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 [0x1400f9028]
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 0x1400c292e
sar rcx, 4
call fcn.1400c2db0
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 0x1400c2ce4
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 0x1400c293a
mov rdx, r15
mov al, byte [rdx + 9]
test al, 1
jne 0x1400c285d
mov al, byte [rdx + 8]
test al, 1
jne 0x1400c2830
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 0x1400c280e
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 0x1400c2825
shl rax, 5
mov rax, qword [r12 + rax + 0x10]
mov edi, dword [rax + 0x18]
bsf rsi, rbp
cmp byte [rsp + 0x27], 0
jne 0x1400c27d5
mov rcx, rsi
shl rcx, 4
or rcx, r15
xor edx, edx
mov r8, rdi
call fcn.140067750
add rdi, 0xfff
shr rdi, 0xc
je 0x1400c27fd
add rdi, r13
cmp rdi, r14
ja 0x1400c27ed
mov rdi, r14
sub rdi, r13
mov rcx, rbx
mov dl, 1
mov r8, rdi
call fcn.140067750
mov rax, 0xfffffffffffffffe
mov ecx, esi
rol rax, cl
and rbp, rax
jne 0x1400c278f
mov rcx, qword [rsp + 0x28]
inc rcx
cmp rcx, 0x800
jne 0x1400c2724
jmp 0x1400c284a
shl rax, 5
mov rdi, qword [r12 + rax + 0x20]
jmp 0x1400c27b6
mov rbx, qword [rsp + 0x68]
cmp rbx, qword [rsp + 0x70]
je 0x1400c2870
mov qword [rbx], rdx
add rbx, 8
mov qword [rsp + 0x68], rbx
jmp 0x1400c285d
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 0x1400c26d2
jmp 0x1400c2936
sub rbx, qword [rsp + 0x60]
mov rbp, rbx
sar rbp, 3
lea rax, [rbp + 1]
movabs rcx, 0x1fffffffffffffff
cmp rax, rcx
ja 0x1400c2d99
sar rbx, 2
cmp rbx, rax
cmovb rbx, rax
movabs rax, 0xfffffffffffffff
cmp rbp, rax
cmovae rbx, rcx
test rbx, rbx
jne 0x1400c291b
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 0x1400c28e4
mov rcx, rdi
mov rsi, rdx
mov rdx, r14
call fcn.1400670a0
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 0x1400c285d
mov rcx, r14
mov rsi, rdx
call fcn.1400013b0
mov rdx, rsi
jmp 0x1400c285d
mov rcx, rbx
mov rsi, rdx
call fcn.1400c2e40
mov rdx, rsi
mov r12, rax
jmp 0x1400c28b7
xor r15d, r15d
jmp 0x1400c2690
mov rsi, qword [r13 + 0x68]
cmp rsi, r15
je 0x1400c2b79
mov al, byte [rsi + 9]
test al, 1
jne 0x1400c2acd
mov al, byte [rsi + 8]
test al, 1
jne 0x1400c2aa0
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 0x1400c2a7e
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 0x1400c2a95
shl rax, 5
mov rax, qword [r12 + rax + 0x10]
mov edi, dword [rax + 0x18]
bsf rsi, r13
cmp byte [rsp + 0x27], 0
jne 0x1400c2a45
mov rcx, rsi
shl rcx, 4
or rcx, r15
xor edx, edx
mov r8, rdi
call fcn.140067750
add rdi, 0xfff
shr rdi, 0xc
je 0x1400c2a6d
add rdi, rbp
cmp rdi, rbx
ja 0x1400c2a5d
mov rdi, rbx
sub rdi, rbp
mov rcx, r14
mov dl, 1
mov r8, rdi
call fcn.140067750
mov rax, 0xfffffffffffffffe
mov ecx, esi
rol rax, cl
and r13, rax
jne 0x1400c29ff
mov rcx, qword [rsp + 0x28]
inc rcx
cmp rcx, 0x800
jne 0x1400c2995
jmp 0x1400c2aba
shl rax, 5
mov rdi, qword [r12 + rax + 0x20]
jmp 0x1400c2a26
mov rbx, qword [rsp + 0x68]
cmp rbx, qword [rsp + 0x70]
je 0x1400c2ad6
mov qword [rbx], rsi
add rbx, 8
mov qword [rsp + 0x68], rbx
jmp 0x1400c2acd
mov rsi, qword [rsp + 0x30]
mov byte [rsi + 9], 1
mov r13, qword [rsp + 0x50]
mov r15, qword [rsp + 0x38]
add rsi, 0x10
jmp 0x1400c293a
sub rbx, qword [rsp + 0x60]
mov rbp, rbx
sar rbp, 3
lea rax, [rbp + 1]
movabs rcx, 0x1fffffffffffffff
cmp rax, rcx
ja 0x1400c2d99
sar rbx, 2
cmp rbx, rax
cmovb rbx, rax
movabs rax, 0xfffffffffffffff
cmp rbp, rax
cmovae rbx, rcx
test rbx, rbx
jne 0x1400c2d3e
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 0x1400c2b48
mov rcx, rdi
mov rdx, r14
call fcn.1400670a0
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 0x1400c2acd
mov rcx, r14
call fcn.1400013b0
jmp 0x1400c2acd
mov rdi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
cmp rdi, r12
je 0x1400c2cdc
mov rdx, 0xffffffffffe00000
mov rbp, qword [rdi]
mov al, byte [rbp + 9]
test al, 1
je 0x1400c2d4e
add rdi, 8
cmp rdi, r12
jne 0x1400c2b93
jmp 0x1400c2cdc
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rcx
mov r15, qword [rax + rcx*8]
test r15, r15
je 0x1400c2cb4
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 0x1400c2cce
shl rax, 5
mov rax, qword [r14 + rax + 0x10]
mov ebx, dword [rax + 0x18]
bsf rsi, r15
cmp byte [rsp + 0x27], 0
jne 0x1400c2c71
mov rcx, rsi
shl rcx, 4
or rcx, qword [rsp + 0x40]
xor edx, edx
mov r8, rbx
call fcn.140067750
add rbx, 0xfff
shr rbx, 0xc
je 0x1400c2c9f
add rbx, r13
cmp rbx, qword [rsp + 0x28]
ja 0x1400c2c8d
mov rbx, qword [rsp + 0x28]
sub rbx, r13
mov rcx, qword [rsp + 0x48]
mov dl, 1
mov r8, rbx
call fcn.140067750
mov rax, 0xfffffffffffffffe
mov ecx, esi
rol rax, cl
and r15, rax
jne 0x1400c2c26
mov rcx, qword [rsp + 0x38]
inc rcx
cmp rcx, 0x800
jne 0x1400c2baf
jmp 0x1400c2d84
shl rax, 5
mov rbx, qword [r14 + rax + 0x20]
jmp 0x1400c2c50
mov byte [r13 + 0x80], 1
mov rsi, qword [rsp + 0x60]
test rsi, rsi
je 0x1400c2d19
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140065120
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.140065120
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.1400c2e40
mov r12, rax
jmp 0x1400c2b21
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 0x1400c2baf
mov byte [rbp + 9], 1
mov r13, qword [rsp + 0x50]
mov rdx, 0xffffffffffe00000
jmp 0x1400c2ba1
lea rcx, [rsp + 0x60]
call fcn.1400a2af4
int3