Function at 0x6f214819
Capabilities:
Set thread local storage value

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ecx
sub esp, 0x24
mov eax, ecx
mov dword [ebp - 0x14], 0
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
call fcn.6f20c708
mov dword [esp], 0x6f232078
call sym.hal.dll_pthread_mutex_lock
mov eax, dword [ebp - 0xc]
add eax, 0x1c
mov dword [esp], eax
call sym.hal.dll_pthread_mutex_lock
mov dword [esp + 4], sym.hal.dll_pthread_tls_init
mov dword [esp], 0x6f24e0f8
call fcn.6f212fc4
mov eax, dword [0x6f232070]
mov edx, dword [ebp - 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsSetValue]
call eax
sub esp, 8
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call eax
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 0xc]
add eax, 0x1c
mov dword [esp], eax
call sym.hal.dll_pthread_mutex_unlock
mov eax, dword [ebp - 0xc]
add eax, 0x70
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.api_ms_win_crt_private_l1_1_0.dll__setjmp3
test eax, eax
jne 0x6f214912
mov dword [ebp - 0x10], pe_nt_image_headers32
mov dword [esp], 0x6f232078
call sym.hal.dll_pthread_mutex_unlock
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
test eax, eax
je 0x6f2148ea
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 4]
mov dword [esp], edx
call eax
mov dword [ebp - 0x10], eax
mov dword [esp], 0x6f232078
call sym.hal.dll_pthread_mutex_lock
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xb4]
mov dword [esp], eax
call sym.hal.dll__pthread_cleanup_dest
jmp 0x6f21491e
mov dword [esp], 0x6f232078
call sym.hal.dll_pthread_mutex_lock
mov eax, dword [ebp - 0xc]
add eax, 0x1c
mov dword [esp], eax
call sym.hal.dll_pthread_mutex_lock
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x6f214952
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x18], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x6f2149b8
mov eax, dword [ebp - 0xc]
mov dword [eax], 0xdeadbeef
mov eax, dword [ebp - 0xc]
add eax, 0x1c
mov dword [esp], eax
call sym.hal.dll_pthread_mutex_unlock
mov eax, dword [ebp - 0xc]
add eax, 0x1c
mov dword [esp], eax
call sym.hal.dll_pthread_mutex_destroy
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call fcn.6f212766
mov dword [ebp - 0xc], 0
mov eax, dword [0x6f232070]
mov edx, dword [ebp - 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsSetValue]
call eax
sub esp, 8
jmp 0x6f2149fb
mov eax, dword [ebp - 0xc]
add eax, 0x1c
mov dword [esp], eax
call sym.hal.dll_pthread_mutex_unlock
mov eax, dword [ebp - 0xc]
add eax, 0x1c
mov dword [esp], eax
call sym.hal.dll_pthread_mutex_destroy
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x1c], 0xffffffff
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x68], 1
jmp 0x6f2149fb
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov dword [esp], 0x6f232078
call sym.hal.dll_pthread_mutex_unlock
test eax, eax
je 0x6f2149ea
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthreadex]
call eax