Function at 0x1eabc43b0
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push rbp
mov rbp, rsp
push r12
push rdi
push rsi
push rbx
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
call sym._fpreset
lea rcx, [0x1eabe9088]
call sym.test.dll_pthread_mutex_lock
mov rax, qword [rbp + 0x10]
lea rbx, [rax + 0x38]
mov rcx, rbx
call sym.test.dll_pthread_mutex_lock
cmp dword [0x1eabf31a0], 1
je 0x1eabc447d
lea rcx, [0x1eabe9080]
xor edi, edi
call sym.test.dll_pthread_spin_lock
mov rsi, qword [0x1eabf3150]
lea rax, [0x1eabf31a0]
test rsi, rsi
je 0x1eabc45c4
cmp qword [rsi], rax
je 0x1eabc4422
mov rdi, rsi
mov rsi, qword [rsi + 0x18]
jmp 0x1eabc440b
add dword [rsi + 0x10], 1
lea rcx, [0x1eabe9080]
lea rdi, [rsi + 8]
call sym.test.dll_pthread_spin_unlock
mov rcx, rdi
call sym.test.dll_pthread_mutex_lock
mov r12d, dword [0x1eabf31a0]
test r12d, r12d
jne 0x1eabc4591
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1eabe9098], eax
add eax, 1
je sym.pthread_create_wrapper.cold
mov dword [0x1eabf31a0], 1
mov rcx, rdi
call sym.test.dll_pthread_mutex_unlock
mov rcx, rsi
call sym.leaveOnceObject.part.0
mov rdx, qword [rbp + 0x10]
mov ecx, dword [0x1eabe9098]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rdx, qword [rbp + 0x10]
mov rcx, rbx
mov dword [rdx + 0x70], eax
call sym.test.dll_pthread_mutex_unlock
mov rax, qword [rbp + 0x10]
mov rdx, rbp
lea rcx, [rax + 0xd0]
call sym._setjmp
test eax, eax
jne 0x1eabc4609
lea rcx, [0x1eabe9088]
call sym.test.dll_pthread_mutex_unlock
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0x10]
test rax, rax
je 0x1eabc461a
mov rdx, qword [rbp + 0x10]
mov rcx, qword [rdx + 8]
call rax
mov rbx, rax
nop
nop
lea rcx, [0x1eabe9088]
call sym.test.dll_pthread_mutex_lock
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 0x1d8]
mov qword [rax + 8], rbx
test rcx, rcx
je 0x1eabc450e
call sym._pthread_cleanup_dest.part.0
mov rax, qword [rbp + 0x10]
lea rbx, [rax + 0x38]
mov rcx, rbx
call sym.test.dll_pthread_mutex_lock
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 0x30]
mov rsi, qword [rax + 8]
test rcx, rcx
je 0x1eabc4535
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp + 0x10]
xor edx, edx
cmp qword [rax + 0x28], 0
mov qword [rax + 0x30], rdx
je 0x1eabc462c
mov rcx, rbx
call sym.test.dll_pthread_mutex_unlock
mov rcx, rbx
call sym.test.dll_pthread_mutex_destroy
mov rax, qword [rbp + 0x10]
mov qword [rax + 0x38], 0xffffffffffffffff
mov dword [rax + 0xbc], 1
lea rbx, [0x1eabe9088]
mov rcx, rbx
call sym.test.dll_pthread_mutex_unlock
test eax, eax
jne 0x1eabc4624
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1eabc4577
cmp r12d, 1
je 0x1eabc446d
mov ecx, 2
call qword [dbg.__acrt_iob_func]
mov r9d, r12d
lea r8, [0x1eabf31a0]
lea rdx, str._once__p_is__d_n
mov rcx, rax
call sym.fprintf
jmp 0x1eabc446d
mov edx, 0x20
mov ecx, 1
call sym.calloc
mov rsi, rax
lea rax, [0x1eabf31a0]
mov qword [rsi], rax
mov dword [rsi + 0x10], 1
test rdi, rdi
je 0x1eabc4600
mov qword [rdi + 0x18], rsi
lea rcx, [rsi + 8]
xor edx, edx
call sym.test.dll_pthread_mutex_init
jmp 0x1eabc4426
mov qword [0x1eabf3150], rsi
jmp 0x1eabc45f0
lea rcx, [0x1eabe9088]
call sym.test.dll_pthread_mutex_lock
jmp 0x1eabc450e
mov ebx, pe_nt_image_headers64
jmp 0x1eabc44e7
mov ecx, esi
call qword [sym.imp.msvcrt.dll__endthreadex]
mov rax, qword [rbp + 0x10]
mov rcx, rbx
mov dword [rax], 0xdeadbeef
call sym.test.dll_pthread_mutex_unlock
mov rcx, rbx
call sym.test.dll_pthread_mutex_destroy
cmp qword [rbp + 0x10], 0
je 0x1eabc465b
mov rax, qword [rbp + 0x10]
cmp qword [rax + 0x1d0], 0
je 0x1eabc466e
mov ecx, dword [0x1eabe9098]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x1eabc4570
mov rcx, rax
call sym.push_pthread_mem.part.0
jmp 0x1eabc465b