Function at 0x5028a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aaada
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x60f074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x40], 0
mov esi, dword [ebp + 8]
je 0x502901
push 0
push 0
push 0x41c
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [edi + 0x64], 8
lea eax, [edi + 0x50]
mov dword [eax + 0x10], 0
jb 0x5028fc
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov eax, dword [esi]
push ecx
lea ecx, [ebp - 0x98]
push ecx
mov eax, dword [eax + 0xc8]
mov ecx, esi
call eax
test al, al
je 0x502c76
movups xmm0, xmmword [esi + 0x24]
lea edx, [ebp - 0x98]
mov dword [ebp - 0x98], 0
mov ecx, esi
mov dword [ebp - 0x94], 0
movups xmmword [ebp - 0xb0], xmm0
call fcn.004dd8b0
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
and eax, 0x3ff
dec eax
cmp eax, 0x5f
ja case.0x50298e.2
movzx eax, byte [eax + 0x502ca4]
jmp dword [eax*4 + 0x502c9c]
mov al, 1
jmp 0x50299b
xor al, al
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
movzx eax, al
push 0
shl eax, 0x16
push str.tooltips_class32
or eax, 0x20
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0x88], eax
test eax, eax
je 0x502c76
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x7fff
push 0
push 0x418
push eax
call esi
push dword [ebp - 0x94]
lea eax, [ebp - 0x90]
push dword [ebp - 0x98]
lea edx, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x40]
call fcn.0052ab20
add esp, 0xc
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
lea ecx, [ebp - 0x28]
mov word [ebp - 0x28], ax
push 2
push 0x5dadd0
call fcn.00405c70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
push 1
xor eax, eax
mov dword [ebp - 0x48], 0
push 0x5dadcc
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.00405c70
push ecx
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x40]
call fcn.00488f70
add esp, 0xc
lea ecx, [ebp - 0x58]
call fcn.00405c10
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00405c10
mov eax, dword [edi + 0x44]
xorps xmm0, xmm0
movlpd qword [ebp - 0x7c], xmm0
movlpd qword [ebp - 0x74], xmm0
movlpd qword [ebp - 0x6c], xmm0
movlpd qword [ebp - 0x60], xmm0
mov dword [ebp - 0x88], 0x30
mov ecx, dword [eax + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x88]
push eax
push 0
push 0x432
push dword [edi + 0x88]
mov dword [ebp - 0x84], 0x121
call esi
lea eax, [ebp - 0x88]
push eax
push 1
push 0x411
push dword [edi + 0x88]
call esi
mov eax, dword [0x61f244]
test eax, eax
jne 0x502b0b
mov ecx, edi
call fcn.00502540
mov dword [0x61f244], eax
imul eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x94]
add ecx, dword [ebp - 0xa4]
add eax, dword [ebp - 0xa4]
add eax, dword [ebp - 0x94]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x8c]
add ecx, dword [ebp - 0x98]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0xa0]
push eax
call fcn.004d64c0
mov edx, eax
lea ecx, [ebp - 0xb0]
call fcn.00514ba0
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x50]
call fcn.004d64c0
mov ecx, eax
call fcn.004d6740
push 0x15
push 0
push 0
push dword [eax + 4]
push dword [eax]
push 0
push dword [edi + 0x88]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x14
call fcn.00550175
add esp, 4
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 3
push eax
lea ecx, [edi + 0x8c]
call fcn.0046b290
mov ecx, dword [edi + 0x90]
mov dword [ebp - 0x94], ecx
mov esi, dword [eax]
test esi, esi
je 0x502bdf
mov eax, 1
lock xadd dword [esi], eax
mov edx, dword [ebp - 0x90]
or ecx, 0xffffffff
test edx, edx
je 0x502c09
mov eax, ecx
lock xadd dword [edx], eax
sub eax, 1
jne 0x502c09
test edx, edx
je 0x502c09
push 8
push edx
call fcn.0055053d
add esp, 8
or ecx, 0xffffffff
mov eax, dword [edi + 0x88]
mov edi, dword [ebp - 0x8c]
mov dword [edi], vtable.._AV__RunnableMethod_P8TooltipManagerWin_view__AEXPAUHWND_____ZU__Tuple1_PAUHWND_________ScopedRunnableMethodFactory_VTooltipManagerWin_view____.0
mov dword [edi + 4], esi
test esi, esi
je 0x502c2b
mov edx, 1
lock xadd dword [esi], edx
mov edx, dword [ebp - 0x94]
mov dword [edi + 8], edx
mov dword [edi + 0xc], 0x502d40
mov dword [edi + 0x10], eax
mov byte [ebp - 4], 0
test esi, esi
je 0x502c5a
lock xadd dword [esi], ecx
sub ecx, 1
jne 0x502c5a
push 8
push esi
call fcn.0055053d
add esp, 8
call fcn.0046fec0
push 0
push 0xfa0
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
call fcn.0046e2e0
lea ecx, [ebp - 0x40]
call fcn.00405c10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00550156
mov esp, ebp
pop ebp
ret 4