Function at 0x62ad4819
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.62acc708
mov dword [esp], 0x62af2078
call sym.hi.dll_pthread_mutex_lock
mov eax, dword [ebp - 0xc]
add eax, 0x1c
mov dword [esp], eax
call sym.hi.dll_pthread_mutex_lock
mov dword [esp + 4], sym.hi.dll_pthread_tls_init
mov dword [esp], 0x62b0e0f8
call fcn.62ad2fc4
mov eax, dword [0x62af2070]
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.hi.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 0x62ad4912
mov dword [ebp - 0x10], pe_nt_image_headers32
mov dword [esp], 0x62af2078
call sym.hi.dll_pthread_mutex_unlock
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
test eax, eax
je 0x62ad48ea
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], 0x62af2078
call sym.hi.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.hi.dll__pthread_cleanup_dest
jmp 0x62ad491e
mov dword [esp], 0x62af2078
call sym.hi.dll_pthread_mutex_lock
mov eax, dword [ebp - 0xc]
add eax, 0x1c
mov dword [esp], eax
call sym.hi.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 0x62ad4952
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 0x62ad49b8
mov eax, dword [ebp - 0xc]
mov dword [eax], 0xdeadbeef
mov eax, dword [ebp - 0xc]
add eax, 0x1c
mov dword [esp], eax
call sym.hi.dll_pthread_mutex_unlock
mov eax, dword [ebp - 0xc]
add eax, 0x1c
mov dword [esp], eax
call sym.hi.dll_pthread_mutex_destroy
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call fcn.62ad2766
mov dword [ebp - 0xc], 0
mov eax, dword [0x62af2070]
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 0x62ad49fb
mov eax, dword [ebp - 0xc]
add eax, 0x1c
mov dword [esp], eax
call sym.hi.dll_pthread_mutex_unlock
mov eax, dword [ebp - 0xc]
add eax, 0x1c
mov dword [esp], eax
call sym.hi.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 0x62ad49fb
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov dword [esp], 0x62af2078
call sym.hi.dll_pthread_mutex_unlock
test eax, eax
je 0x62ad49ea
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