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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x120
mov rbx, rdx
mov rsi, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x140009375
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x14000936a
je 0x140009368
test rbx, rbx
je 0x14000914a
mov rdi, qword [rbx]
mov qword [rbx], 0
test rdi, rdi
jne 0x1400092d5
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x2f]
lea rdi, [rsp + 0x30]
mov r8d, 0x20
mov rdx, rdi
call sym.__rand_core::os::OsRng_as_rand_core::RngCore_::try_fill_bytes::hcabab31ecb388f81
test rax, rax
jne 0x1400093cd
movaps xmm0, xmmword [rsp + 0x30]
movaps xmm1, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0xa0], xmm1
movaps xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x60]
lea r8, [0x1400a6d28]
lea rdx, [rsp + 0x90]
mov r9d, 8
call sym.rand_chacha::guts::init_chacha::h8adcc670e0d608f6
movaps xmm0, xmmword [rsp + 0x60]
movaps xmm1, xmmword [rsp + 0x70]
movaps xmm2, xmmword [rsp + 0x80]
movups xmmword [rsp + 0xc0], xmm0
movups xmmword [rsp + 0xd0], xmm1
movups xmmword [rsp + 0xe0], xmm2
mov rax, qword [0x1400cdb48]
movzx eax, byte [rax]
mov ecx, 0x170
mov edx, 0x10
call sym.__rust_alloc
test rax, rax
je 0x140009435
mov rdi, rax
mov qword [rax], 1
mov qword [rax + 8], 1
xorps xmm0, xmm0
movaps xmmword [rax + 0x10], xmm0
movaps xmmword [rax + 0x20], xmm0
movaps xmmword [rax + 0x30], xmm0
movaps xmmword [rax + 0x40], xmm0
movaps xmmword [rax + 0x50], xmm0
movaps xmmword [rax + 0x60], xmm0
movaps xmmword [rax + 0x70], xmm0
movaps xmmword [rax + 0x80], xmm0
movaps xmmword [rax + 0x90], xmm0
movaps xmmword [rax + 0xa0], xmm0
movaps xmmword [rax + 0xb0], xmm0
movaps xmmword [rax + 0xc0], xmm0
movaps xmmword [rax + 0xd0], xmm0
movaps xmmword [rax + 0xe0], xmm0
movaps xmmword [rax + 0xf0], xmm0
movaps xmmword [rax + 0x100], xmm0
mov qword [rax + 0x110], 0x40
mov rax, qword [rsp + 0xe8]
mov qword [rdi + 0x148], rax
movups xmm0, xmmword [rsp + 0xb8]
movups xmm1, xmmword [rsp + 0xc8]
movups xmm2, xmmword [rsp + 0xd8]
movups xmmword [rdi + 0x138], xmm2
movups xmmword [rdi + 0x128], xmm1
movups xmmword [rdi + 0x118], xmm0
mov qword [rdi + 0x150], 0x10000
mov qword [rdi + 0x158], 0x10000
mov qword [rdi + 0x160], 0
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rsi
mov rax, qword [0x1400cdb48]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x1400093bc
mov qword [rax], rdi
mov rdi, rax
mov qword [rax + 8], rsi
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x140009390
dec ecx
call sub.kernel32.dll_TlsGetValue
mov rbx, rax
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x14000939f
dec ecx
mov rdx, rdi
call fcn.1400a2ab4
test rbx, rbx
je 0x140009363
mov rcx, qword [rbx]
dec qword [rcx]
jne 0x140009350
dec qword [rcx + 8]
jne 0x140009350
mov edx, 0x170
mov r8d, 0x10
call sym.__rust_dealloc
mov edx, 0x10
mov r8d, 8
mov rcx, rbx
call sym.__rust_dealloc
mov rax, rdi
jmp 0x14000936a
xor eax, eax
add rsp, 0x120
pop rbx
pop rdi
pop rsi
ret
mov rcx, rsi
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h070178b97b9ab656
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x14000912c
jmp 0x14000936a
mov rcx, rsi
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h070178b97b9ab656
mov ecx, eax
jmp 0x140009314
mov rcx, rsi
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h070178b97b9ab656
mov ecx, eax
mov rdx, rdi
call fcn.1400a2ab4
test rbx, rbx
jne 0x140009332
jmp 0x140009363
mov ecx, 8
mov edx, 0x10
call sym.alloc::alloc::handle_alloc_error::hc1ad400b257a9133
jmp 0x140009433
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x90], rdi
lea rax, [sym.__rand_core::error::Error_as_core::fmt::Display_::fmt::h2e041defa5515c05]
mov qword [rsp + 0x98], rax
lea rax, str.Ho_n_
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
mov qword [rsp + 0x70], 0
lea rax, [rsp + 0x90]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 1
lea rdx, str._home_kobyyy_.cargo_registry_src_index.crates.io_6f17d22bba15001f_rand_0.8.5_src_rngs_thread.rs
lea rcx, [rsp + 0x50]
call sym.core::panicking::panic_fmt::hea0842badfe2c6e8
ud2
mov ecx, 0x10
mov edx, 0x170
call sym.alloc::alloc::handle_alloc_error::hc1ad400b257a9133
mov rsi, rax
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
test rax, rax
je 0x14000945e
mov rcx, rdi
call rax
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x140009473
mov r8, qword [rbx + 0x10]
mov rcx, rdi
call sym.__rust_dealloc
mov rcx, rsi
call sym._Unwind_Resume
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x140009490
mov r8, qword [rbx + 0x10]
mov rcx, rdi
call sym.__rust_dealloc
call sym.core::panicking::panic_in_cleanup::hf229482d574c6881
mov rsi, rax
lea rcx, [rsp + 0x50]
call sym.__alloc::rc::Rc_T_A__as_core::ops::drop::Drop_::drop::h9ffd4868ac5e1f3f
mov rcx, rsi
call sym._Unwind_Resume
int3