Function at 0x14008c910
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x108
mov rdi, rdx
mov rbx, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x14008c949
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14008c95e
mov r14, rax
cmp qword [rax + 8], 0
je 0x14008c95e
add r14, 0x10
jmp 0x14008cbdf
mov rcx, rbx
call sym.std::sys::windows::thread_local_key::StaticKey::init::h7afa5cacbabe961a
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x14008c936
mov ecx, dword [rbx + 0x18]
test ecx, ecx
je 0x14008cbc3
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14008cbdc
mov rsi, rax
test rax, rax
jne 0x14008c9c7
mov rax, qword [0x1401a3298]
movzx eax, byte [rax]
mov ecx, 0x88
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x14008cbfe
mov rsi, rax
mov qword [rax], rbx
mov qword [rax + 8], 0
mov ecx, dword [rbx + 0x18]
test ecx, ecx
je 0x14008cbef
dec ecx
mov rdx, rsi
call fcn.140165224
lea rbx, [rsi + 8]
test rdi, rdi
je 0x14008caae
movups xmm0, xmmword [rdi + 0x70]
movaps xmmword [rsp + 0xb0], xmm0
movups xmm0, xmmword [rdi + 0x60]
movaps xmmword [rsp + 0xa0], xmm0
movups xmm0, xmmword [rdi + 0x50]
movaps xmmword [rsp + 0x90], xmm0
movups xmm0, xmmword [rdi + 0x40]
movaps xmmword [rsp + 0x80], xmm0
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmm2, xmmword [rdi + 0x20]
movups xmm3, xmmword [rdi + 0x30]
movaps xmmword [rsp + 0x70], xmm3
movaps xmmword [rsp + 0x60], xmm2
movaps xmmword [rsp + 0x50], xmm1
movaps xmmword [rsp + 0x40], xmm0
mov qword [rdi], 0
cmp qword [rsp + 0x40], 0
je 0x14008caa4
mov rcx, qword [rsp + 0x48]
movaps xmm0, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0xe0], xmm0
movaps xmm0, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0xf0], xmm0
mov rdx, qword [rsp + 0x70]
movups xmm0, xmmword [rsp + 0x78]
movaps xmmword [rsp + 0x20], xmm0
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x90]
movups xmm0, xmmword [rsp + 0x98]
movaps xmmword [rsp + 0xc0], xmm0
movups xmm0, xmmword [rsp + 0xa8]
movaps xmmword [rsp + 0xd0], xmm0
movq xmm0, qword [rsp + 0xb8]
jmp 0x14008cb02
lea rcx, [rsp + 0x40]
call sym._ZN4core3ptr112drop_in_place_LT_core..option..Option_LT_core..cell..RefCell_LT_proc_macro..bridge..symbol..Interner_GT__GT__GT
movups xmm0, xmmword [0x140183180]
movaps xmmword [rsp + 0xf0], xmm0
movups xmm0, xmmword [0x140183170]
movaps xmmword [rsp + 0xe0], xmm0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], 0
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xd0], xmm0
mov eax, 1
movd xmm0, eax
mov eax, 8
xor ecx, ecx
mov edx, 8
movups xmm1, xmmword [rbx + 0x70]
movaps xmmword [rsp + 0xb0], xmm1
movups xmm1, xmmword [rbx + 0x60]
movaps xmmword [rsp + 0xa0], xmm1
movups xmm1, xmmword [rbx + 0x50]
movaps xmmword [rsp + 0x90], xmm1
movups xmm1, xmmword [rbx + 0x40]
movaps xmmword [rsp + 0x80], xmm1
movups xmm1, xmmword [rbx]
movups xmm2, xmmword [rbx + 0x10]
movups xmm3, xmmword [rbx + 0x20]
movups xmm4, xmmword [rbx + 0x30]
movaps xmmword [rsp + 0x70], xmm4
movaps xmmword [rsp + 0x60], xmm3
movaps xmmword [rsp + 0x50], xmm2
movaps xmmword [rsp + 0x40], xmm1
mov qword [rsi + 8], 1
lea r14, [rsi + 0x10]
mov qword [rsi + 0x10], rcx
movaps xmm1, xmmword [rsp + 0xe0]
movaps xmm2, xmmword [rsp + 0xf0]
movups xmmword [rsi + 0x18], xmm1
movups xmmword [rsi + 0x28], xmm2
mov qword [rsi + 0x38], rdx
movaps xmm1, xmmword [rsp + 0x20]
movups xmmword [rsi + 0x40], xmm1
mov rcx, qword [rsp + 0x30]
mov qword [rsi + 0x50], rcx
mov qword [rsi + 0x58], rax
movaps xmm1, xmmword [rsp + 0xc0]
movaps xmm2, xmmword [rsp + 0xd0]
movups xmmword [rsi + 0x60], xmm1
movups xmmword [rsi + 0x70], xmm2
movq qword [rsi + 0x80], xmm0
lea rcx, [rsp + 0x40]
call sym._ZN4core3ptr112drop_in_place_LT_core..option..Option_LT_core..cell..RefCell_LT_proc_macro..bridge..symbol..Interner_GT__GT__GT
jmp 0x14008cbdf
mov rcx, rbx
call sym.std::sys::windows::thread_local_key::StaticKey::init::h7afa5cacbabe961a
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x14008c97a
xor r14d, r14d
mov rax, r14
add rsp, 0x108
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, rbx
call sym.std::sys::windows::thread_local_key::StaticKey::init::h7afa5cacbabe961a
mov ecx, eax
jmp 0x14008c9bf
mov ecx, 8
mov edx, 0x88
call sym.alloc::alloc::handle_alloc_error::h8e8b408db101c68d
ud2