Function at 0x41a96c
Capabilities:
Create thread
Resume thread
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 sym.__fpreset
mov dword [esp], 0x422284
call sym._pthread_mutex_lock
mov eax, dword [ebp - 0xc]
add eax, 0x1c
mov dword [esp], eax
call sym._pthread_mutex_lock
mov dword [esp + 4], sym._pthread_tls_init
mov dword [esp], 0x42db60
call sym.__pthread_once_raw
mov eax, dword [0x42227c]
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._pthread_mutex_unlock
mov eax, dword [ebp - 0xc]
add eax, 0x70
mov dword [esp + 4], 0
mov dword [esp], eax
call sym.__setjmp3
test eax, eax
jne 0x41aa65
mov dword [ebp - 0x10], pe_nt_image_headers32
mov dword [esp], 0x422284
call sym._pthread_mutex_unlock
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
test eax, eax
je 0x41aa3d
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], 0x422284
call sym._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.__pthread_cleanup_dest
jmp 0x41aa71
mov dword [esp], 0x422284
call sym._pthread_mutex_lock
mov eax, dword [ebp - 0xc]
add eax, 0x1c
mov dword [esp], eax
call sym._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 0x41aaa5
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 0x41ab0b
mov eax, dword [ebp - 0xc]
mov dword [eax], 0xdeadbeef
mov eax, dword [ebp - 0xc]
add eax, 0x1c
mov dword [esp], eax
call sym._pthread_mutex_unlock
mov eax, dword [ebp - 0xc]
add eax, 0x1c
mov dword [esp], eax
call sym._pthread_mutex_destroy
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._push_pthread_mem
mov dword [ebp - 0xc], 0
mov eax, dword [0x42227c]
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 0x41ab4e
mov eax, dword [ebp - 0xc]
add eax, 0x1c
mov dword [esp], eax
call sym._pthread_mutex_unlock
mov eax, dword [ebp - 0xc]
add eax, 0x1c
mov dword [esp], eax
call sym._pthread_mutex_destroy
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x1c], 0xffffffff
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x68], 1
jmp 0x41ab4e
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov dword [esp], 0x422284
call sym._pthread_mutex_unlock
test eax, eax
je 0x41ab3d
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
mov eax, dword [sym.imp.msvcrt.dll__endthreadex]
call eax