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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xe0
mov rbx, rdx
mov esi, dword [rcx + 0x18]
test esi, esi
je 0x1401e3d85
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x1401e3d7a
je 0x1401e3d78
test rbx, rbx
je 0x1401e3b79
mov rdi, qword [rbx]
mov qword [rbx], 0
test rdi, rdi
jne 0x1401e3cf2
xorps xmm0, xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x2f]
lea rdi, [rsp + 0x70]
mov r8d, 0x20
mov rdx, rdi
call sym.__rand_core::os::OsRng_as_rand_core::RngCore_::try_fill_bytes::hf7d18ee0a30a4ad3
test rax, rax
jne 0x1401e3db0
movaps xmm0, xmmword [rsp + 0x70]
movaps xmm1, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0xa0], xmm1
movaps xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x40]
lea r8, [0x1403bdf78]
lea rdx, [rsp + 0x90]
mov r9d, 8
call sym.rand_chacha::guts::init_chacha::h49bd2942290d7b8c
movaps xmm0, xmmword [rsp + 0x40]
movaps xmm1, xmmword [rsp + 0x50]
movaps xmm2, xmmword [rsp + 0x60]
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm1
movups xmmword [rsp + 0x58], xmm2
mov rax, qword [str.1_F_]
movzx eax, byte [rax]
mov ecx, 0x170
mov edx, 0x10
call sym.__rust_alloc
test rax, rax
je 0x1401e3e18
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 + 0x60]
mov qword [rdi + 0x148], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movups xmm2, xmmword [rsp + 0x50]
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 + 0x30], rdi
mov dword [rsp + 0x38], esi
mov rax, qword [str.1_F_]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x1401e3d9f
mov qword [rax], rdi
mov dword [rax + 8], esi
mov ecx, esi
mov rbx, rax
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call fcn.1402fb86c
test rdi, rdi
je 0x1401e3d73
mov rcx, qword [rdi]
dec qword [rcx]
jne 0x1401e3d60
dec qword [rcx + 8]
jne 0x1401e3d60
mov edx, 0x170
mov r8d, 0x10
call sym.__rust_dealloc
mov edx, 0x10
mov r8d, 8
mov rcx, rdi
call sym.__rust_dealloc
mov rax, rsi
jmp 0x1401e3d7a
xor eax, eax
add rsp, 0xe0
pop rbx
pop rdi
pop rsi
ret
call sym.std::sys::thread_local::key::windows::LazyKey::init::h597144e332ffcf99
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x1401e3b5b
jmp 0x1401e3d7a
mov ecx, 8
mov edx, 0x10
call sym.alloc::alloc::handle_alloc_error::h526f0ddc898dc940
jmp 0x1401e3e16
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x90], rdi
lea rax, [sym.__rand_core::error::Error_as_core::fmt::Display_::fmt::hcf9470635ec5a605]
mov qword [rsp + 0x98], rax
lea rax, str.could_not_initialize_thread_rng:
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 1
lea rdx, str._home_kali_.cargo_registry_src_index.crates.io_6f17d22bba15001f_rand_0.8.5_src_rngs_thread.rs
lea rcx, [rsp + 0x30]
call sym.core::panicking::panic_fmt::h50bba86df16ca19f
ud2
mov ecx, 0x10
mov edx, 0x170
call sym.alloc::alloc::handle_alloc_error::h526f0ddc898dc940
mov rsi, rax
mov rdi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
mov rax, qword [rbx]
test rax, rax
je 0x1401e3e41
mov rcx, rdi
call rax
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x1401e3e56
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 0x1401e3e73
mov r8, qword [rbx + 0x10]
mov rcx, rdi
call sym.__rust_dealloc
call sym.core::panicking::panic_in_cleanup::h928977ae0110d4f9
mov rsi, rax
lea rcx, [rsp + 0x30]
call sym.__alloc::rc::Rc_T_A__as_core::ops::drop::Drop_::drop::hd7713dbd4063d748
mov rcx, rsi
call sym._Unwind_Resume
int3