Function at 0x67f43d90
Capabilities:
Get 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
push ecx
sub esp, 0x58
mov eax, dword [ecx]
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [0x67f48140]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x67f43f88
mov eax, dword [ebx]
mov edi, dword [ebx + 4]
mov ecx, 1
test eax, eax
je 0x67f43dea
mov ecx, dword [eax + 4]
mov eax, dword [ebx + 8]
mov dword [ebp - 0x2c], eax
test byte [0x67f48048], 8
jne 0x67f43f20
test esi, esi
jle 0x67f43f72
test byte [ebp - 0x1c], 0x40
jne 0x67f43eb0
mov eax, dword [ebp - 0x20]
xor edx, edx
sub eax, dword [ebp - 0x24]
div esi
mov edx, dword [ebp - 0x1c]
and edx, 0xffffffbf
neg esi
inc eax
mov dword [ebp - 0x30], eax
cmp edx, 1
je 0x67f43ecd
lea eax, [edx - 2]
cmp eax, 1
jbe 0x67f43e48
mov edx, 3
test byte [0x67f48048], 1
jne 0x67f43fa0
mov dword [ebp - 0x1c], edx
mov dword [esp], 0x67f48160
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0x28]
mov edx, dword [ebp - 0x1c]
sub esp, 4
inc eax
mov dword [ebx + 0x2c], edx
mov dword [ebx + 0x28], eax
mov edx, eax
sub edx, dword [edi + 0x10]
test edx, edx
jle 0x67f43e8f
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x20], esi
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 0x24]
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0x30]
mov dword [edi + 0x1c], eax
mov eax, dword [ebp - 0x28]
mov dword [edi + 0x24], eax
mov dword [esp], 0x67f48160
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov eax, dword [ebp - 0x24]
xor edx, edx
sub eax, dword [ebp - 0x20]
div esi
mov edx, dword [ebp - 0x1c]
and edx, 0xffffffbf
inc eax
mov dword [ebp - 0x30], eax
cmp edx, 1
jne 0x67f43e2e
mov eax, dword [ebp - 0x30]
xor edx, edx
div ecx
cmp dword [ebp - 0x2c], edx
jb 0x67f43f98
cmp ecx, dword [ebp - 0x30]
ja 0x67f43f72
imul edx, esi
add dword [ebp - 0x20], edx
mov edx, eax
dec eax
imul eax, esi
mov dword [ebx + 0x2c], 1
imul edx, esi
imul edx, dword [ebp - 0x2c]
add edx, dword [ebp - 0x20]
mov dword [ebx + 0x30], edx
add edx, eax
mov dword [ebx + 0x34], edx
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov eax, dword [ebp - 0x28]
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc], str.__u___u___u___d___u__n
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 8], str._vcomp_for_dynamic_init
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], 0x67f48048
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], 3
mov dword [esp + 0x10], eax
mov dword [ebp - 0x30], ecx
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x30]
test esi, esi
jg 0x67f43e05
mov dword [ebx + 0x2c], 0
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
call sym._vcomp_init_thread_data.part.0
mov ebx, eax
jmp 0x67f43dd9
lea edx, [eax + 1]
jmp 0x67f43eef
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], str.unsupported_flags__u_n
mov dword [esp + 8], str._vcomp_for_dynamic_init
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x67f48048
mov dword [esp], 0
mov dword [ebp - 0x2c], edx
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp - 0x2c]
jmp 0x67f43e48