Function at 0x4645d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x500b1a
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x53f084]
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 0x464631
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 0x46462c
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 0x4649a6
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.004339e0
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
and eax, 0x3ff
dec eax
cmp eax, 0x5f
ja case.0x4646be.2
movzx eax, byte [eax + 0x4649d4]
jmp dword [eax*4 + 0x4649cc]
mov al, 1
jmp 0x4646cb
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 0x4649a6
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.0046a410
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 0x5221f8
call fcn.00405110
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
push 1
xor eax, eax
mov dword [ebp - 0x48], 0
push 0x522274
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.00405110
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.0041eb90
add esp, 0xc
lea ecx, [ebp - 0x58]
call fcn.00405080
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00405080
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 [0x544a88]
test eax, eax
jne 0x46483b
mov ecx, edi
call fcn.00464270
mov dword [0x544a88], 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.0042ce60
mov edx, eax
lea ecx, [ebp - 0xb0]
call fcn.00462de0
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x50]
call fcn.0042ce60
mov ecx, eax
call fcn.0042d0b0
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.004d1720
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.00423de0
mov ecx, dword [edi + 0x90]
mov dword [ebp - 0x94], ecx
mov esi, dword [eax]
test esi, esi
je 0x46490f
mov eax, 1
lock xadd dword [esi], eax
mov edx, dword [ebp - 0x90]
or ecx, 0xffffffff
test edx, edx
je 0x464939
mov eax, ecx
lock xadd dword [edx], eax
sub eax, 1
jne 0x464939
test edx, edx
je 0x464939
push 8
push edx
call fcn.004d1750
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 0x46495b
mov edx, 1
lock xadd dword [esi], edx
mov edx, dword [ebp - 0x94]
mov dword [edi + 8], edx
mov dword [edi + 0xc], 0x464a70
mov dword [edi + 0x10], eax
mov byte [ebp - 4], 0
test esi, esi
je 0x46498a
lock xadd dword [esi], ecx
sub ecx, 1
jne 0x46498a
push 8
push esi
call fcn.004d1750
add esp, 8
call fcn.00414650
push 0
push 0xfa0
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
call fcn.00412d40
lea ecx, [ebp - 0x40]
call fcn.00405080
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.004d170a
mov esp, ebp
pop ebp
ret 4