Function at 0x67542d00
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, 0x248
mov eax, dword [ecx]
mov ebx, dword [ecx + 8]
mov esi, dword [sym.imp.kernel32.dll_TlsGetValue]
mov dword [ebp - 0x220], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x228], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x238], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x234], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x224], eax
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x23c], eax
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x230], eax
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x21c], eax
mov eax, dword [0x67548058]
mov dword [esp], eax
call esi
sub esp, 4
test eax, eax
je 0x675430e0
mov edi, dword [eax]
test byte [0x67548064], 8
jne 0x67543058
mov dword [ebp - 0x22c], 1
test edi, edi
je 0x67542da2
mov eax, dword [edi + 4]
mov dword [ebp - 0x22c], eax
mov eax, dword [0x67548058]
mov dword [esp], eax
call esi
sub esp, 4
test eax, eax
je 0x675430d0
cmp dword [ebp - 0x230], 2
mov edi, dword [eax + 8]
je 0x67542dec
mov esi, dword [ebp - 0x230]
lea eax, [ebp - 0x210]
mov dword [esp], eax
lea edx, [esi*4 - 8]
mov esi, dword [ebp - 0x21c]
mov dword [esp + 8], edx
mov dword [esp + 4], esi
call sym._memcpy
mov edx, dword [ebp - 0x238]
xor eax, eax
test edx, edx
sete al
mov dword [ebp - 0x21c], eax
test ebx, ebx
jle 0x67542f98
mov eax, dword [ebp - 0x234]
test eax, eax
jne 0x67542e70
mov eax, dword [ebp - 0x228]
sub eax, dword [ebp - 0x220]
add eax, ebx
sub eax, dword [ebp - 0x21c]
xor edx, edx
div ebx
cmp edi, eax
jb 0x67542fdf
mov esi, dword [ebp - 0x238]
lea edx, [ebx + 1]
and edx, 0xfffffffd
or esi, edx
jne 0x67542f26
xor edx, edx
mov ecx, dword [ebp - 0x220]
mov esi, 0xffffffff
div dword [ebp - 0x22c]
cmp edi, edx
jae 0x67543007
mov ecx, eax
jmp 0x67542ff1
mov dword [ebp - 0x234], 1
mov eax, dword [ebp - 0x224]
mov edx, dword [ebp - 0x238]
mov ecx, dword [eax]
xor eax, eax
test edx, edx
setne al
mov esi, eax
mov eax, dword [ebp - 0x228]
imul esi, ebx
add esi, eax
add eax, ebx
mov dword [ebp - 0x240], eax
sub eax, dword [ebp - 0x21c]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x220], esi
cmp ecx, dword [ebp - 0x220]
je 0x67542f26
test ebx, ebx
js 0x67542f38
mov eax, dword [ebp - 0x238]
xor edx, edx
sub eax, ecx
div ebx
mov edx, dword [ebp - 0x22c]
mov esi, dword [ebp - 0x228]
mov edi, edx
lea eax, [eax + edx - 1]
xor edx, edx
div edi
imul eax, ebx
lea edx, [eax + ecx]
mov eax, dword [ebp - 0x21c]
lea edi, [eax + edx]
mov eax, edi
sub edi, ebx
sub eax, esi
imul eax, dword [ebp - 0x234]
test eax, eax
cmovg edx, dword [ebp - 0x220]
mov eax, ecx
cmovg edi, esi
mov esi, dword [ebp - 0x224]
lock cmpxchg dword [esi], edx
cmp ecx, eax
je 0x67542f58
mov ecx, eax
cmp ecx, dword [ebp - 0x220]
jne 0x67542ebe
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov eax, dword [ebp - 0x21c]
mov edi, ebx
sub eax, dword [ebp - 0x240]
xor edx, edx
add eax, ecx
neg edi
div edi
jmp 0x67542ece
lea eax, [ebp - 0x218]
mov dword [ebp - 0x218], ecx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x214], edi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x23c]
mov dword [esp], eax
call sym.__vcomp_fork_call_wrapper
mov eax, dword [ebp - 0x224]
mov ecx, dword [eax]
jmp 0x67542eb6
mov ecx, dword [ebp - 0x21c]
mov esi, dword [ebp - 0x234]
neg ecx
test esi, esi
jne 0x675430f0
mov eax, dword [ebp - 0x228]
sub eax, dword [ebp - 0x220]
lea edx, [eax + ebx]
test ebx, ebx
je 0x6754312f
mov eax, ecx
mov esi, ebx
mov dword [ebp - 0x21c], ecx
sub eax, edx
neg esi
xor edx, edx
div esi
cmp edi, eax
jae 0x67542e31
xor edx, edx
div dword [ebp - 0x22c]
mov ecx, eax
cmp edi, edx
jae 0x67543108
lea eax, [ecx + 1]
imul edi, eax
lea esi, [eax + edi - 1]
mov eax, dword [ebp - 0x220]
imul edi, ebx
lea ecx, [edi + eax]
imul esi, ebx
lea eax, [ebp - 0x218]
mov ebx, dword [ebp - 0x220]
add ebx, dword [ebp - 0x21c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x218], ecx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x23c]
add esi, ebx
mov dword [ebp - 0x214], esi
mov dword [esp], eax
call sym.__vcomp_fork_call_wrapper
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [esp + 0xc], 0x6754a088
mov dword [esp + 8], str.omp_get_num_threads
mov dword [esp + 4], 0x67548064
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
movzx eax, byte [0x67548064]
and eax, 8
test edi, edi
je 0x67543120
mov edi, dword [edi + 4]
mov dword [ebp - 0x22c], edi
test al, al
je 0x67542da2
mov dword [esp + 0xc], 0x6754a088
mov dword [esp + 8], str._vcomp_get_thread_num
mov dword [esp + 4], 0x67548064
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x67542da2
call sym._vcomp_init_thread_data.part.0
jmp 0x67542db7
call sym._vcomp_init_thread_data.part.0
jmp 0x67542d7c
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x234], 0xffffffff
jmp 0x67542e7a
imul edi, eax
lea ecx, [edi + edx]
lea esi, [ecx + eax - 1]
imul ecx, ebx
add ecx, dword [ebp - 0x220]
jmp 0x67543007
mov dword [ebp - 0x22c], 1
jmp 0x67543097
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x21c], ecx
add eax, edx
jmp 0x67542e25