Function at 0x67f44490
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, 0xb8
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 0x1c]
mov dword [ebp - 0x40], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x3c], edx
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x44], edx
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x58], eax
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x60], eax
mov eax, dword [ecx + 0x24]
mov dword [ebp - 0x50], eax
mov eax, dword [ecx + 0x28]
mov dword [ebp - 0x64], eax
mov eax, dword [ecx + 0x2c]
mov dword [ebp - 0x68], eax
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x5c], eax
mov eax, dword [0x67f48140]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x67f44920
mov edx, dword [eax]
test edx, edx
je 0x67f44908
mov edx, dword [edx + 4]
mov dword [ebp - 0x70], edx
cmp edx, 1
sete byte [ebp - 0x78]
mov eax, dword [eax + 8]
mov dword [ebp - 0x6c], eax
test byte [0x67f48048], 8
jne 0x67f447f8
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x67f448f3
mov eax, dword [ebp - 0x58]
xor eax, 1
or eax, ebx
je 0x67f445a0
cmp byte [ebp - 0x78], 0
je 0x67f445a0
mov eax, dword [ebp - 0x60]
mov dword [eax], 1
mov dword [eax + 4], 0
mov edi, dword [ebp - 0x50]
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x64]
mov dword [edi], eax
mov esi, dword [ebp - 0x48]
mov dword [edi + 4], edx
mov edi, dword [ebp - 0x44]
mov dword [ebx], esi
mov esi, dword [ebp - 0x68]
mov dword [ebx + 4], edi
mov edi, dword [ebp - 0x5c]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [edi], eax
mov dword [edi + 4], edx
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov edx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x48]
xor edx, edi
xor eax, esi
or edx, eax
je 0x67f44a28
mov esi, dword [ebp - 0x38]
xor eax, eax
mov edi, dword [ebp - 0x34]
cmp eax, esi
sbb eax, edi
jge 0x67f449f0
mov edx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x40], eax
sbb esi, edx
jl 0x67f44930
mov esi, dword [ebp - 0x38]
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x48]
sbb edx, dword [ebp - 0x44]
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov dword [esp], eax
mov dword [esp + 4], edx
call sym.___divdi3
add eax, 1
adc edx, 0
neg esi
adc edi, 0
mov dword [ebp - 0x38], esi
neg edi
mov dword [ebp - 0x34], edi
mov edi, dword [ebp - 0x58]
xor ecx, ecx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], edi
mov esi, dword [ebp - 0x48]
mov edi, dword [ebp - 0x44]
cmp ecx, esi
sbb ecx, edi
jl 0x67f4463c
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x44]
lea esi, [ebp - 0x30]
mov dword [esp], eax
mov dword [esp + 0x10], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 4], edx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x80], ebx
call sym.___udivmoddi4
mov ecx, dword [ebp - 0x2c]
or ecx, dword [ebp - 0x30]
mov ebx, edx
mov ecx, eax
jne 0x67f44a10
add ecx, 0xffffffff
adc ebx, 0xffffffff
mov dword [ebp - 0x78], ecx
mov ecx, eax
mov dword [ebp - 0x74], ebx
mov ebx, edx
lea eax, [ebp - 0x30]
mov dword [esp + 4], ebx
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x70]
mov dword [esp], ecx
mov dword [esp + 8], eax
sar eax, 0x1f
mov dword [esp + 0xc], eax
call sym.___udivmoddi4
mov edi, dword [ebp - 0x6c]
mov dword [ebp - 0x54], edx
xor edx, edx
mov ebx, edi
mov dword [ebp - 0x58], eax
mov eax, 1
sar ebx, 0x1f
cmp edi, dword [ebp - 0x30]
mov edi, ebx
sbb edi, dword [ebp - 0x2c]
jb 0x67f446c7
xor eax, eax
xor edx, edx
mov ecx, dword [ebp - 0x6c]
mov edi, dword [ebp - 0x60]
add eax, dword [ebp - 0x58]
adc edx, dword [ebp - 0x54]
mov dword [edi], eax
mov eax, ecx
mov dword [edi + 4], edx
cdq
mov eax, dword [ebp - 0x48]
mov ebx, edx
mov edx, dword [ebp - 0x44]
imul ebx, eax
mov eax, ecx
mov edi, edx
mul dword [ebp - 0x48]
imul edi, ecx
mov esi, eax
mov eax, dword [ebp - 0x38]
add ebx, edi
mov edi, edx
mov edx, dword [ebp - 0x34]
add edi, ebx
mov ebx, edi
imul edx, esi
mov edi, dword [ebp - 0x50]
imul ebx, eax
mov eax, esi
mov esi, dword [ebp - 0x64]
add ebx, edx
mul dword [ebp - 0x38]
add edx, ebx
mov ecx, eax
mov eax, dword [ebp - 0x48]
add ecx, dword [ebp - 0x40]
mov ebx, edx
mov edx, dword [ebp - 0x44]
adc ebx, dword [ebp - 0x3c]
mov dword [edi], ecx
add eax, 0xffffffff
mov dword [edi + 4], ebx
adc edx, 0xffffffff
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x38]
mov edi, edx
mov dword [ebp - 0x4c], edx
mov edx, dword [ebp - 0x34]
imul edi, eax
mov eax, dword [ebp - 0x50]
imul edx, dword [ebp - 0x50]
add edx, edi
mov edi, edx
mul dword [ebp - 0x38]
add edx, edi
add eax, ecx
adc edx, ebx
mov ebx, dword [ebp - 0x70]
mov dword [esi], eax
mov dword [esi + 4], edx
mov esi, dword [ebp - 0x48]
mov edi, dword [ebp - 0x44]
mov ecx, ebx
sar ecx, 0x1f
mov eax, edi
imul ecx, esi
imul eax, ebx
add ecx, eax
mov eax, ebx
mov ebx, dword [ebp - 0x7c]
mul esi
mov edi, edx
mov esi, eax
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
add edi, ecx
mov ecx, edi
imul edx, esi
mov edi, dword [ebp - 0x68]
imul ecx, eax
mov eax, esi
mov esi, dword [ebp - 0x38]
add ecx, edx
mul dword [ebp - 0x38]
add edx, ecx
mov dword [edi], eax
mov eax, dword [ebp - 0x80]
mov ecx, ebx
mov dword [edi + 4], edx
mov edi, dword [ebp - 0x34]
imul eax, esi
imul ecx, edi
mov edi, dword [ebp - 0x74]
add ecx, eax
mov eax, ebx
mul esi
mov esi, dword [ebp - 0x78]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
add dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x34]
imul edx, edi
mov eax, dword [ebp - 0x38]
imul ecx, esi
add ecx, edx
mul esi
mov esi, dword [ebp - 0x5c]
add edx, ecx
add eax, dword [ebp - 0x40]
adc edx, dword [ebp - 0x3c]
mov dword [esi], eax
mov dword [esi + 4], edx
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov eax, dword [ebp - 0x58]
test ebx, ebx
jne 0x67f44960
mov dword [esp + 4], eax
mov dword [esp], 0x67f4a0e4
call sym._wine_dbg_sprintf
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x84], eax
test edi, edi
je 0x67f44988
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], str._lx_08lx
call sym._wine_dbg_sprintf
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x80], eax
test ecx, ecx
je 0x67f449ac
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], str._lx_08lx
call sym._wine_dbg_sprintf
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x7c], eax
test ecx, ecx
je 0x67f449d0
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], str._lx_08lx
call sym._wine_dbg_sprintf
mov esi, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x68]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__s___s___s___s___p___p___p___p___p__n
mov dword [esp + 0x30], esi
mov esi, dword [ebp - 0x64]
mov dword [esp + 0x2c], edi
mov edi, dword [ebp - 0x50]
mov dword [esp + 0x28], esi
mov esi, dword [ebp - 0x60]
mov dword [esp + 0x24], edi
mov edi, dword [ebp - 0x84]
mov dword [esp + 0x20], esi
mov esi, dword [ebp - 0x80]
mov dword [esp + 0x1c], edi
mov edi, dword [ebp - 0x7c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edi
mov dword [esp + 8], str._vcomp_for_static_init_i8
mov dword [esp + 4], 0x67f48048
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x50]
test ecx, ecx
jne 0x67f4453f
lea eax, [ebp - 0x20]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x50], eax
jmp 0x67f4453f
mov byte [ebp - 0x78], 1
mov dword [ebp - 0x70], 1
jmp 0x67f44521
call sym._vcomp_init_thread_data.part.0
jmp 0x67f4450a
mov esi, dword [ebp - 0x38]
mov edi, dword [ebp - 0x34]
sub eax, dword [ebp - 0x40]
sbb edx, dword [ebp - 0x3c]
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov dword [esp], eax
mov dword [esp + 4], edx
call sym.___divdi3
add eax, 1
adc edx, 0
jmp 0x67f44617
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], str._lx_08lx
call sym._wine_dbg_sprintf
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x84], eax
test edi, edi
jne 0x67f44827
mov eax, dword [ebp - 0x38]
mov dword [esp], 0x67f4a0e4
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x80], eax
test ecx, ecx
jne 0x67f4484c
mov eax, dword [ebp - 0x48]
mov dword [esp], 0x67f4a0e4
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x7c], eax
test ecx, ecx
jne 0x67f44871
mov eax, dword [ebp - 0x40]
mov dword [esp], 0x67f4a0e4
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf
jmp 0x67f44885
mov eax, dword [ebp - 0x60]
mov dword [eax], 0
mov dword [eax + 4], 0
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
add ecx, 1
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
adc ebx, 0
jmp 0x67f44683
mov edx, dword [ebp - 0x6c]
mov edi, dword [ebp - 0x60]
xor eax, eax
test edx, edx
mov dword [edi + 4], 0
sete al
mov dword [edi], eax
jne 0x67f44593
jmp 0x67f4455f