Function at 0x1400cd030
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 [0x140100028]
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 0x1400cd31e
sar rcx, 4
call fcn.1400cd7a0
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 0x1400cd6d4
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 0x1400cd32a
mov rdx, r15
mov al, byte [rdx + 9]
test al, 1
jne 0x1400cd24d
mov al, byte [rdx + 8]
test al, 1
jne 0x1400cd220
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 0x1400cd1fe
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 0x1400cd215
shl rax, 5
mov rax, qword [r12 + rax + 0x10]
mov edi, dword [rax + 0x18]
bsf rsi, rbp
cmp byte [rsp + 0x27], 0
jne 0x1400cd1c5
mov rcx, rsi
shl rcx, 4
or rcx, r15
xor edx, edx
mov r8, rdi
call fcn.14006bec0
add rdi, 0xfff
shr rdi, 0xc
je 0x1400cd1ed
add rdi, r13
cmp rdi, r14
ja 0x1400cd1dd
mov rdi, r14
sub rdi, r13
mov rcx, rbx
mov dl, 1
mov r8, rdi
call fcn.14006bec0
mov rax, 0xfffffffffffffffe
mov ecx, esi
rol rax, cl
and rbp, rax
jne 0x1400cd17f
mov rcx, qword [rsp + 0x28]
inc rcx
cmp rcx, 0x800
jne 0x1400cd114
jmp 0x1400cd23a
shl rax, 5
mov rdi, qword [r12 + rax + 0x20]
jmp 0x1400cd1a6
mov rbx, qword [rsp + 0x68]
cmp rbx, qword [rsp + 0x70]
je 0x1400cd260
mov qword [rbx], rdx
add rbx, 8
mov qword [rsp + 0x68], rbx
jmp 0x1400cd24d
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 0x1400cd0c2
jmp 0x1400cd326
sub rbx, qword [rsp + 0x60]
mov rbp, rbx
sar rbp, 3
lea rax, [rbp + 1]
movabs rcx, 0x1fffffffffffffff
cmp rax, rcx
ja 0x1400cd789
sar rbx, 2
cmp rbx, rax
cmovb rbx, rax
movabs rax, 0xfffffffffffffff
cmp rbp, rax
cmovae rbx, rcx
test rbx, rbx
jne 0x1400cd30b
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 0x1400cd2d4
mov rcx, rdi
mov rsi, rdx
mov rdx, r14
call fcn.14006b810
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 0x1400cd24d
mov rcx, r14
mov rsi, rdx
call fcn.1400013b0
mov rdx, rsi
jmp 0x1400cd24d
mov rcx, rbx
mov rsi, rdx
call fcn.1400cd830
mov rdx, rsi
mov r12, rax
jmp 0x1400cd2a7
xor r15d, r15d
jmp 0x1400cd080
mov rsi, qword [r13 + 0x68]
cmp rsi, r15
je 0x1400cd569
mov al, byte [rsi + 9]
test al, 1
jne 0x1400cd4bd
mov al, byte [rsi + 8]
test al, 1
jne 0x1400cd490
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 0x1400cd46e
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 0x1400cd485
shl rax, 5
mov rax, qword [r12 + rax + 0x10]
mov edi, dword [rax + 0x18]
bsf rsi, r13
cmp byte [rsp + 0x27], 0
jne 0x1400cd435
mov rcx, rsi
shl rcx, 4
or rcx, r15
xor edx, edx
mov r8, rdi
call fcn.14006bec0
add rdi, 0xfff
shr rdi, 0xc
je 0x1400cd45d
add rdi, rbp
cmp rdi, rbx
ja 0x1400cd44d
mov rdi, rbx
sub rdi, rbp
mov rcx, r14
mov dl, 1
mov r8, rdi
call fcn.14006bec0
mov rax, 0xfffffffffffffffe
mov ecx, esi
rol rax, cl
and r13, rax
jne 0x1400cd3ef
mov rcx, qword [rsp + 0x28]
inc rcx
cmp rcx, 0x800
jne 0x1400cd385
jmp 0x1400cd4aa
shl rax, 5
mov rdi, qword [r12 + rax + 0x20]
jmp 0x1400cd416
mov rbx, qword [rsp + 0x68]
cmp rbx, qword [rsp + 0x70]
je 0x1400cd4c6
mov qword [rbx], rsi
add rbx, 8
mov qword [rsp + 0x68], rbx
jmp 0x1400cd4bd
mov rsi, qword [rsp + 0x30]
mov byte [rsi + 9], 1
mov r13, qword [rsp + 0x50]
mov r15, qword [rsp + 0x38]
add rsi, 0x10
jmp 0x1400cd32a
sub rbx, qword [rsp + 0x60]
mov rbp, rbx
sar rbp, 3
lea rax, [rbp + 1]
movabs rcx, 0x1fffffffffffffff
cmp rax, rcx
ja 0x1400cd789
sar rbx, 2
cmp rbx, rax
cmovb rbx, rax
movabs rax, 0xfffffffffffffff
cmp rbp, rax
cmovae rbx, rcx
test rbx, rbx
jne 0x1400cd72e
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 0x1400cd538
mov rcx, rdi
mov rdx, r14
call fcn.14006b810
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 0x1400cd4bd
mov rcx, r14
call fcn.1400013b0
jmp 0x1400cd4bd
mov rdi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
cmp rdi, r12
je 0x1400cd6cc
mov rdx, 0xffffffffffe00000
mov rbp, qword [rdi]
mov al, byte [rbp + 9]
test al, 1
je 0x1400cd73e
add rdi, 8
cmp rdi, r12
jne 0x1400cd583
jmp 0x1400cd6cc
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rcx
mov r15, qword [rax + rcx*8]
test r15, r15
je 0x1400cd6a4
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 0x1400cd6be
shl rax, 5
mov rax, qword [r14 + rax + 0x10]
mov ebx, dword [rax + 0x18]
bsf rsi, r15
cmp byte [rsp + 0x27], 0
jne 0x1400cd661
mov rcx, rsi
shl rcx, 4
or rcx, qword [rsp + 0x40]
xor edx, edx
mov r8, rbx
call fcn.14006bec0
add rbx, 0xfff
shr rbx, 0xc
je 0x1400cd68f
add rbx, r13
cmp rbx, qword [rsp + 0x28]
ja 0x1400cd67d
mov rbx, qword [rsp + 0x28]
sub rbx, r13
mov rcx, qword [rsp + 0x48]
mov dl, 1
mov r8, rbx
call fcn.14006bec0
mov rax, 0xfffffffffffffffe
mov ecx, esi
rol rax, cl
and r15, rax
jne 0x1400cd616
mov rcx, qword [rsp + 0x38]
inc rcx
cmp rcx, 0x800
jne 0x1400cd59f
jmp 0x1400cd774
shl rax, 5
mov rbx, qword [r14 + rax + 0x20]
jmp 0x1400cd640
mov byte [r13 + 0x80], 1
mov rsi, qword [rsp + 0x60]
test rsi, rsi
je 0x1400cd709
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140069890
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.140069890
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.1400cd830
mov r12, rax
jmp 0x1400cd511
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 0x1400cd59f
mov byte [rbp + 9], 1
mov r13, qword [rsp + 0x50]
mov rdx, 0xffffffffffe00000
jmp 0x1400cd591
lea rcx, [rsp + 0x60]
call fcn.1400a86c4
int3