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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov qword [rsp + 0x80], r9
mov qword [rsp + 0x78], r8
mov byte [rsp + 0x23], dl
mov rsi, rcx
mov rax, qword [rcx]
lea r12, [rsp + 0x5a]
lea r15, [0x140034080]
xor ebp, ebp
lea r13, [0x1400853a8]
jmp 0x14000fc1e
cmp byte [rsp + 0x23], 0
je 0x14001002e
mov rax, rdi
mov ecx, 2
lock cmpxchg qword [rsi], rcx
je 0x14000fef8
mov rdi, rax
test rax, rax
je 0x14000fc0b
cmp rdi, 1
je 0x14000fc00
cmp rdi, 3
je 0x14000ff2c
mov eax, edi
and eax, 3
cmp eax, 2
je 0x14000fc5e
jmp 0x140010069
mov eax, edi
and eax, 3
cmp eax, 2
jne 0x14000fef0
mov ecx, dword [0x140034098]
test ecx, ecx
je 0x14000fda7
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14000fc90
mov rbx, rax
cmp qword [rax + 8], 0
je 0x14000fc90
add rbx, 0x10
jmp 0x14000fd30
mov ecx, dword [0x140034098]
test ecx, ecx
je 0x14000fdb6
dec ecx
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x14000fcc0
mov r14, rax
cmp rax, 1
jne 0x14000fd00
jmp 0x14000ff9d
movzx eax, byte [0x14008a030]
mov ecx, 0x18
call fcn.14002e0c0
test rax, rax
je 0x14000ffb5
mov r14, rax
mov qword [rax], r15
mov qword [rax + 8], 0
mov ecx, dword [0x140034098]
test ecx, ecx
je 0x14000fdc5
dec ecx
mov rdx, r14
call sub.KERNEL32.dll_TlsSetValue
lea rbx, [r14 + 0x10]
mov rcx, qword [r14 + 0x10]
cmp qword [r14 + 8], 0
mov qword [r14 + 8], 1
mov qword [r14 + 0x10], 0
je 0x14000fd30
test rcx, rcx
je 0x14000fd30
lock dec qword [rcx]
jne 0x14000fd30
call fcn.1400102a0
nop
mov r14, qword [rbx]
test r14, r14
jne 0x14000fd4f
xor ecx, ecx
call fcn.14000f9d0
mov r14, rax
cmp qword [rbx], 0
jne 0x14000ff5e
mov qword [rbx], r14
lock inc qword [r14]
jle 0x1400100c9
mov rax, rdi
add rax, 0xfffffffffffffffe
mov qword [rsp + 0x58], r14
mov byte [rsp + 0x68], 0
mov qword [rsp + 0x60], rax
mov rax, rdi
lock cmpxchg qword [rsi], r12
je 0x14000fec0
mov rdi, rax
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x14000fc50
lock dec qword [rax]
jne 0x14000fc50
mov rcx, qword [rsp + 0x58]
call fcn.1400102a0
jmp 0x14000fc50
mov rcx, r15
call fcn.1400102f0
mov ecx, eax
jmp 0x14000fc6e
mov rcx, r15
call fcn.1400102f0
mov ecx, eax
jmp 0x14000fca0
mov rcx, r15
call fcn.1400102f0
mov ecx, eax
jmp 0x14000fcf8
call fcn.140010460
mov rbx, rax
test rax, rax
je 0x14000ff41
lock dec byte [rbx + 0x28]
je 0x14000fe2e
mov rdi, rbx
add rdi, 0x28
mov r14, qword [0x14008a0e8]
test r14, r14
je 0x14000fe45
nop word [rax + rax]
mov r8d, 1
mov rcx, rdi
mov rdx, r13
mov r9d, 0xffffffff
call r14
mov al, 1
lock cmpxchg byte [rdi], bpl
jne 0x14000fe10
lock dec qword [rbx]
jne 0x14000fec0
mov rcx, rbx
call fcn.1400102a0
jmp 0x14000fec0
mov rcx, qword [0x140034008]
cmp rcx, 0xffffffffffffffff
jne 0x14000fe9e
mov qword [rsp + 0x70], 0xffffffffffffffff
mov rax, qword [0x140034018]
lea rcx, [rsp + 0x70]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rax
test eax, eax
jne 0x14000ffc4
mov rcx, qword [rsp + 0x70]
mov rax, 0xffffffffffffffff
lock cmpxchg qword [0x140034008], rcx
je 0x14000fe9e
mov r14, rax
call sub.KERNEL32.dll_CloseHandle
mov rcx, r14
mov rax, qword [0x140034028]
mov rdx, rdi
xor r8d, r8d
xor r9d, r9d
call rax
xor eax, eax
xchg byte [rdi], al
lock dec qword [rbx]
je 0x14000fe38
nop
movzx eax, byte [rsp + 0x68]
test al, al
je 0x14000fde0
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x14000fef0
lock dec qword [rax]
jne 0x14000fef0
mov rcx, qword [rsp + 0x58]
call fcn.1400102a0
nop word [rax + rax]
mov rax, qword [rsi]
jmp 0x14000fc1e
cmp rdi, 1
mov qword [rsp + 0x28], 3
sete byte [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x80]
call qword [rax + 0x20]
mov rdx, qword [rsp + 0x28]
mov rcx, rsi
call fcn.1400100e0
nop
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x140084290]
lea r8, [0x1400842f0]
mov edx, 0x5e
call fcn.140004560
jmp 0x1400100c9
lea rax, str.h8_b_
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 1
lea rax, str._rustc_7cf61ebde7b22796c69757901dd346d0fe70bd97library_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
lea rdx, str._rustc_7cf61ebde7b22796c69757901dd346d0fe70bd97librarycore_srccellonce.rs
lea rcx, [rsp + 0x28]
call fcn.1400025a0
jmp 0x1400100c9
lea rcx, [0x140084290]
lea r8, [0x1400842f0]
mov edx, 0x5e
call fcn.140004560
mov ecx, 8
mov edx, 0x18
call fcn.1400021e0
mov dword [rsp + 0x24], eax
lea rax, [rsp + 0x24]
mov qword [rsp + 0x88], rax
lea rax, [0x140006480]
mov qword [rsp + 0x90], rax
lea rax, str.Unable_to_create_keyed_event_handle:_error
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x48], 0
lea rax, [rsp + 0x88]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 1
lea rdx, str.library_std_src_syspalwindows_thread_parking.rs
lea rcx, [rsp + 0x28]
call fcn.1400025a0
jmp 0x1400100c9
lea rax, str.0W_b_
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 1
lea rax, str._rustc_7cf61ebde7b22796c69757901dd346d0fe70bd97library_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x28]
mov rdx, qword [rsp + 0x100]
call fcn.1400025a0
lea rcx, str.assertion_failed:_state_and_queue.addr____STATE_MASK__RUNNINGlibrary_std_src_sys_commononcequeue.rs
mov edx, 0x40
mov r8, qword [rsp + 0x100]
call fcn.1400033f0
mov rdi, rax
mov edx, 1
mov rcx, rsi
call fcn.1400100e0
jmp 0x1400100ba
mov rcx, rdi
call fcn.1400324e0
jmp 0x1400100c4
call fcn.140010500
ud2