Function at 0x68784510
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, 0x88
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov esi, dword [ecx + 8]
mov edi, dword [ecx + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 0x14]
mov ebx, dword [ecx + 0x10]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x38], eax
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x50], eax
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x44], eax
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x48], eax
mov eax, dword [0x68788058]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x68784850
mov edx, dword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x54], eax
movzx eax, byte [0x68788064]
and eax, 8
test edx, edx
je 0x687847d0
mov edx, dword [edx + 4]
mov dword [ebp - 0x40], edx
test al, al
jne 0x68784717
cmp dword [ebp - 0x40], 1
je 0x687847d8
xor eax, eax
cmp eax, ebx
sbb eax, dword [ebp - 0x38]
jge 0x68784860
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x687846e0
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
sub eax, esi
mov esi, dword [ebp - 0x28]
sbb edx, edi
mov edi, dword [ebp - 0x24]
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov dword [esp + 4], edx
call sym.___udivdi3
add eax, 1
adc edx, 0
neg esi
mov ecx, eax
adc edi, 0
mov dword [ebp - 0x28], esi
mov ebx, edx
neg edi
mov dword [ebp - 0x24], edi
mov esi, dword [ebp - 0x40]
lea eax, [ebp - 0x20]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov edi, esi
mov dword [esp + 8], esi
sar edi, 0x1f
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x64], edi
call sym.___udivmoddi4
mov esi, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], edx
mov ebx, esi
mov edx, dword [ebp - 0x1c]
sar ebx, 0x1f
cmp esi, eax
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], ebx
sbb ebx, edx
mov ebx, dword [ebp - 0x4c]
jae 0x68784800
mov ecx, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x34]
add ecx, 1
adc ebx, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x5c]
mov eax, ebx
mov ebx, dword [ebp - 0x3c]
imul eax, edi
imul esi, ecx
mov ecx, dword [ebp - 0x40]
add esi, eax
mov eax, edi
mov edi, dword [ebp - 0x44]
mul dword [ebp - 0x28]
add edx, esi
imul ebx, eax
mov esi, dword [ebp - 0x2c]
imul edx, ecx
add ebx, edx
mul dword [ebp - 0x40]
add edx, ebx
mov ebx, dword [ebp - 0x30]
add ebx, eax
mov eax, dword [ebp - 0x28]
adc esi, edx
mov ecx, ebx
mov edx, dword [ebp - 0x24]
mov ebx, esi
mov dword [edi + 4], esi
mov esi, dword [ebp - 0x34]
mov dword [edi], ecx
imul esi, eax
mov eax, dword [ebp - 0x38]
imul eax, edx
add esi, eax
mov eax, dword [ebp - 0x38]
mul dword [ebp - 0x28]
add edx, esi
add eax, ecx
adc edx, ebx
mov edi, dword [ebp - 0x48]
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 eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
sub esi, dword [ebp - 0x30]
sbb edi, dword [ebp - 0x2c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp], esi
mov dword [esp + 4], edi
call sym.___udivdi3
add eax, 1
adc edx, 0
mov ecx, eax
mov ebx, edx
jmp 0x687845fa
mov dword [ebp - 0x40], 1
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x68784898
mov dword [esp + 4], ebx
mov dword [esp], 0x6878a0e4
call sym._wine_dbg_sprintf
mov dword [ebp - 0x60], eax
test edi, edi
je 0x687848b7
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 - 0x2c]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
test ecx, ecx
je 0x687848d8
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], str._lx_08lx
call sym._wine_dbg_sprintf
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x28]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__s___s___s___x___p___p__n
mov dword [esp + 0x24], edx
mov edx, dword [ebp - 0x44]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], edx
mov edx, dword [ebp - 0x50]
mov dword [esp + 8], str._vcomp_for_static_simple_init_i8
mov dword [esp + 0x1c], edx
mov edx, dword [ebp - 0x60]
mov dword [esp + 4], 0x68788064
mov dword [esp + 0x18], edx
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x68784594
test al, al
jne 0x68784710
mov ebx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov dword [ebx], eax
mov eax, dword [ebp - 0x48]
mov dword [ebx + 4], edx
mov dword [eax], esi
mov dword [eax + 4], edi
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
cmp ecx, dword [ebp - 0x40]
mov edi, ebx
sbb edi, dword [ebp - 0x64]
jb 0x687848f0
mov ebx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
imul edx, ebx
mov ecx, edx
mov edx, esi
imul edx, eax
add ecx, edx
mul ebx
add edx, ecx
add dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x38]
adc dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
add eax, 0xffffffff
mov dword [ebp - 0x3c], edx
adc edx, 0xffffffff
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
jmp 0x68784665
call sym._vcomp_init_thread_data.part.0
jmp 0x6878456c
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x50]
mov edx, 0xffffffff
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, 0xffffffff
test ecx, ecx
jne 0x687846cb
mov eax, 1
xor edx, edx
jmp 0x687846cb
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], str._lx_08lx
call sym._wine_dbg_sprintf
mov dword [ebp - 0x60], eax
test edi, edi
jne 0x6878473d
mov dword [esp + 4], esi
mov dword [esp], 0x6878a0e4
call sym._wine_dbg_sprintf
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
test ecx, ecx
jne 0x68784762
mov eax, dword [ebp - 0x30]
mov dword [esp], 0x6878a0e4
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf
jmp 0x68784776
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x44]
mov edx, dword [ebp - 0x2c]
mov dword [edi], eax
mov ecx, eax
mov eax, dword [ebp - 0x48]
sub ecx, dword [ebp - 0x28]
mov ebx, edx
sbb ebx, dword [ebp - 0x24]
mov dword [edi + 4], edx
mov dword [eax], ecx
mov dword [eax + 4], ebx
jmp 0x687846d3