Function at 0x14008157e
Capabilities:
Set thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov rdi, rcx
call sym._ZN3std3sys3pal7windows16thread_local_key9StaticKey3get17hdb37153f22a3cf6fE.6492
cmp rax, 2
jb 0x1400815ab
mov rsi, rax
cmp qword [rax + 8], 0
je 0x1400815ab
add rsi, 8
jmp 0x14008172a
call sym._ZN3std3sys3pal7windows16thread_local_key9StaticKey3get17hdb37153f22a3cf6fE.6492
cmp rax, 1
je 0x140081728
mov rsi, rax
test rax, rax
jne 0x140081607
mov al, byte [0x1402e61a8]
mov edx, 0x10
xor ecx, ecx
call dbg.process_heap_alloc
test rax, rax
je 0x1400817b3
mov rsi, rax
lea rax, sym.std::sys::pal::common::thread_local::os_local::destroy_value::h9d28477f22dd7d07
mov qword [rsi], rax
and qword [rsi + 8], 0
mov ecx, dword [0x1401ea2c8]
test ecx, ecx
je 0x14008173a
dec ecx
mov rdx, rsi
call fcn.14017ee1c
test rdi, rdi
je 0x140081623
mov rbx, qword [rdi]
and qword [rdi], 0
test rbx, rbx
jne 0x140081717
xor ecx, ecx
call sym._ZN4core3ptr208drop_in_place_LT_core..option..Option_LT_alloc..rc..Rc_LT_core..cell..UnsafeCell_LT_rand..rngs..adapter..reseed
xorps xmm0, xmm0
lea rdi, [rsp + 0x20]
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
mov edx, 0x20
mov rcx, rdi
call sym.__rand_core::os::OsRng_as_rand_core::RngCore_::try_fill_bytes::h2229e0169f62631f
test rax, rax
jne 0x14008174d
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
lea rdi, [rsp + 0x40]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
lea rbx, [rsp + 0x70]
mov rcx, rbx
mov rdx, rdi
call sym.__rand_chacha::chacha::ChaCha12Core_as_rand_core::SeedableRng_::from_seed::h56b5de7b449595d1
mov r14, qword [rbx]
mov rax, qword [rbx + 0x28]
mov qword [rdi + 0x20], rax
movups xmm0, xmmword [rbx + 0x18]
movaps xmmword [rdi + 0x10], xmm0
movups xmm0, xmmword [rbx + 8]
movaps xmmword [rdi], xmm0
mov al, byte [0x1402e61a8]
mov edx, 0x170
xor ecx, ecx
call dbg.process_heap_alloc
test rax, rax
je 0x1400817a4
mov rbx, rax
mov eax, 1
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov rcx, rbx
add rcx, 0x10
mov r8d, 0x100
xor edx, edx
call sub.msvcrt.dll_memset
mov qword [rbx + 0x110], 0x40
mov qword [rbx + 0x120], r14
movaps xmm0, xmmword [rsp + 0x40]
movaps xmm1, xmmword [rsp + 0x50]
movups xmmword [rbx + 0x128], xmm0
movups xmmword [rbx + 0x138], xmm1
mov rax, qword [rsp + 0x60]
mov qword [rbx + 0x148], rax
mov eax, 0x10000
mov qword [rbx + 0x150], rax
mov qword [rbx + 0x158], rax
and qword [rbx + 0x160], 0
add rsi, 8
mov rcx, qword [rsi]
mov qword [rsi], rbx
call sym._ZN4core3ptr208drop_in_place_LT_core..option..Option_LT_alloc..rc..Rc_LT_core..cell..UnsafeCell_LT_rand..rngs..adapter..reseed
jmp 0x14008172a
xor esi, esi
mov rax, rsi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, sym.std::sys::pal::common::thread_local::os_local::destroy_value::h9d28477f22dd7d07
call dbg.init
mov ecx, eax
jmp 0x1400815ff
mov qword [rsp + 0x20], rax
lea rax, sym._ZN4core3ptr104drop_in_place_LT_hyper..client..connect..ExtraEnvelope_LT_hyper..client..connect..http..HttpInfo_GT__GT_17h5eb4
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rax], rdi
lea rdx, [0x140247000]
lea rcx, [rsp + 0x70]
mov qword [rcx], rdx
mov edx, 1
mov qword [rcx + 8], rdx
and qword [rcx + 0x20], 0
lea r8, [sym.__rand_core::error::Error_as_core::fmt::Display_::fmt::hda7d12046d592975]
mov qword [rax + 8], r8
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rdx
lea rdx, str.xo__
call dbg.panic_fmt
ud2
mov ecx, 0x10
mov edx, 0x170
call dbg.handle_alloc_error
mov ecx, 8
mov edx, 0x10
call dbg.handle_alloc_error
mov rsi, rax
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
call fcn.14008815e
mov rcx, rsi
call sym._Unwind_Resume
call dbg.panic_in_cleanup
int3