Function at 0x6fa45430
Capabilities:
Create thread
Set thread local storage value

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, ecx
push ecx
sub esp, 0xd8
mov eax, dword [ecx + 8]
mov esi, dword [ecx]
mov edi, dword [ecx + 4]
mov dword [ebp - 0xac], eax
call sym._vcomp_init_thread_data
mov dword [ebp - 0xbc], eax
test byte [0x6fa48064], 8
jne 0x6fa45980
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x6fa455d0
mov edx, dword [section..bss]
test edx, edx
jne 0x6fa455d0
mov eax, dword [sym.imp.kernel32.dll_InitializeConditionVariable]
lea esi, [ebp - 0xa0]
mov dword [esp], esi
mov dword [ebp - 0xb0], eax
call eax
mov eax, dword [ebp - 0xac]
lea ecx, [ebx + 0xc]
lea edx, [ebp - 0x80]
mov dword [ebp - 0x94], edi
sub esp, 4
movdqu xmm0, xmmword [0x6fa4a7e0]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x70], 0
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x54], edx
xor edx, edx
test eax, eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x58], esi
setne dl
mov dword [ebp - 0xac], eax
mov dword [ebp - 0x4c], edx
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x9c], 1
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x48], 0
mov dword [esp], edx
movups xmmword [ebp - 0x38], xmm0
call eax
sub esp, 4
lea eax, [ebp - 0x58]
mov ebx, dword [sym.imp.kernel32.dll_TlsSetValue]
mov dword [esp + 4], eax
mov eax, dword [0x6fa48058]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x8c]
sub esp, 8
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x90]
mov dword [esp], eax
call sym.__vcomp_fork_call_wrapper
mov edi, dword [ebp - 0xbc]
mov eax, dword [0x6fa48058]
mov dword [esp + 4], edi
mov dword [esp], eax
call ebx
mov dword [edi + 0x10], 0
sub esp, 8
cmp dword [ebp - 0x9c], 1
jg 0x6fa45780
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
test esi, esi
je 0x6fa4548e
mov eax, dword [ebp - 0xbc]
mov ecx, dword [sym.imp.kernel32.dll_InitializeConditionVariable]
lea esi, [ebp - 0xa0]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0xb8], ecx
mov dword [esp], esi
test eax, eax
cmove eax, dword [0x6fa4d008]
mov dword [ebp - 0xb0], eax
call ecx
mov edx, dword [ebp - 0xac]
lea ecx, [ebx + 0xc]
lea eax, [ebp - 0x3c]
movdqu xmm3, xmmword [0x6fa4a7e0]
sub esp, 4
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x90], edx
lea edx, [ebp - 0x80]
mov dword [ebp - 0x54], edx
lea edx, [ebp - 0x44]
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x8c], ecx
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0x9c], 1
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], 0
mov dword [ebp - 0xac], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], edx
mov dword [esp], eax
movups xmmword [ebp - 0x38], xmm3
call ecx
mov edi, dword [ebp - 0xb0]
sub esp, 4
cmp edi, 1
jle 0x6fa45555
mov dword [esp], 0x6fa48040
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov ebx, dword [sym.imp.kernel32.dll_WakeAllConditionVariable]
sub esp, 4
cmp dword [ebp - 0x9c], edi
jge 0x6fa45768
mov edi, dword [ebp - 0xb0]
mov eax, dword [0x6fa4805c]
cmp eax, 0x6fa4805c
je 0x6fa45820
test eax, eax
je 0x6fa45820
movdqu xmm2, xmmword [0x6fa4a7e0]
lea ecx, [ebp - 0x80]
mov dword [eax - 0x14], esi
mov dword [eax - 0x10], ecx
mov edx, dword [ebp - 0x9c]
lea ecx, [edx + 1]
mov dword [ebp - 0x9c], ecx
mov ecx, dword [eax]
mov dword [eax - 0xc], edx
mov edx, dword [ebp - 0x4c]
mov dword [eax - 4], 0
mov dword [eax - 8], edx
mov edx, dword [eax + 4]
movups xmmword [eax + 0xc], xmm2
mov dword [ecx + 4], edx
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [ebp - 0xac]
mov dword [eax], edx
mov edx, dword [ebp - 0x40]
mov dword [eax + 4], edx
mov dword [edx], eax
mov dword [ebp - 0x40], eax
add eax, 8
mov dword [esp], eax
call ebx
sub esp, 4
cmp dword [ebp - 0x9c], edi
jl 0x6fa456e3
lea esi, [esi]
mov dword [esp], 0x6fa48040
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
jmp 0x6fa45555
mov dword [esp], 0x6fa48040
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x98]
sub esp, 4
add eax, 1
mov dword [ebp - 0x98], eax
cmp eax, dword [ebp - 0x9c]
jge 0x6fa457d6
mov ebx, dword [sym.imp.kernel32.dll_SleepConditionVariableCS]
lea esi, [esi]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x6fa48040
mov dword [esp], esi
call ebx
mov eax, dword [ebp - 0x9c]
sub esp, 0xc
cmp dword [ebp - 0x98], eax
jl 0x6fa457b0
mov dword [esp], 0x6fa48040
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0xac]
sub esp, 4
cmp dword [ebp - 0x44], eax
je 0x6fa455bc
mov dword [esp + 8], 0x6a1
mov dword [esp + 4], str._home_builder_build_wine_wine_dlls_vcomp_main.c
mov dword [esp], str.list_empty_thread_data.entry_
call dword [sym.imp.ucrtbase.dll__assert]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov eax, dword [ebp - 0xb0]
cmp dword [ebp - 0x9c], eax
jge 0x6fa45768
mov dword [ebp - 0xb4], esi
mov edi, dword fs:[0x18]
jmp 0x6fa458a7
lea eax, [ebp - 0xa4]
mov dword [esp], 4
mov dword [esp + 8], eax
mov eax, dword [0x6fa4d010]
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_GetModuleHandleExW]
mov ecx, dword [ebp - 0x40]
lea eax, [ebx + 0x14]
mov edx, dword [ebp - 0xac]
sub esp, 0xc
add dword [ebp - 0x9c], 1
mov dword [ebx + 0x14], edx
mov dword [ebx + 0x18], ecx
mov dword [ecx], eax
mov dword [ebp - 0x40], eax
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [ebp - 0xb0]
sub esp, 4
cmp dword [ebp - 0x9c], eax
jge 0x6fa459c0
mov dword [esp + 8], 0x38
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x6fa459c0
mov eax, dword [ebp - 0xb4]
mov dword [ebx + 0x10], 0
movdqu xmm1, xmmword [0x6fa4a7e0]
mov dword [ebx], eax
lea eax, [ebp - 0x80]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x9c]
movups xmmword [ebx + 0x20], xmm1
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebx + 0xc], eax
lea eax, [ebx + 0x1c]
mov dword [esp], eax
mov eax, dword [ebp - 0xb8]
call eax
sub esp, 4
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], sym.__vcomp_fork_worker_4
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateThread]
sub esp, 0x18
mov esi, eax
test eax, eax
jne 0x6fa45848
mov dword [esp + 8], ebx
mov esi, dword [ebp - 0xb4]
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x6fa45768
mov eax, dword [ebp - 0xac]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], str.__d___d___p__...__n
mov dword [esp + 8], str._vcomp_fork
mov dword [esp + 4], 0x6fa48064
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x6fa4546f
mov esi, dword [ebp - 0xb4]
jmp 0x6fa45768