Function at 0x142d10
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x26b24c
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x2d16ec]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x38]
mov dword [ebp], vtable.ggadget::ImageCache::Impl.0
mov dword [esp + 0x30], 4
mov eax, dword [0x2db26c]
xor ebx, ebx
cmp eax, 0xffffffff
je 0x142d74
mov ecx, dword [0x2db26c]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, ebx
je 0x142d74
mov ecx, dword [ebp + 0x48]
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push ecx
mov ecx, eax
call edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
cmp ecx, eax
je 0x142dc9
lea ecx, [ecx]
mov eax, dword [ecx + 0x28]
mov dword [eax + 4], ebx
cmp byte [ecx + 0x2d], bl
jne 0x142dc4
mov eax, dword [ecx + 8]
cmp byte [eax + 0x2d], bl
jne 0x142dab
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x2d], bl
jne 0x142dc4
lea esp, [esp]
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x2d], bl
je 0x142da0
jmp 0x142dc4
mov eax, dword [ecx + 4]
cmp byte [eax + 0x2d], bl
jne 0x142dc2
cmp ecx, dword [eax + 8]
jne 0x142dc2
mov ecx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x2d], bl
je 0x142db3
mov ecx, eax
cmp ecx, dword [ebp + 8]
jne 0x142d80
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
cmp ecx, eax
je 0x142e19
mov edx, dword [ecx + 0x28]
mov dword [edx + 4], ebx
cmp byte [ecx + 0x2d], bl
jne 0x142e14
mov eax, dword [ecx + 8]
cmp byte [eax + 0x2d], bl
jne 0x142dfb
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x2d], bl
jne 0x142e14
mov edi, edi
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x2d], bl
je 0x142df0
jmp 0x142e14
mov eax, dword [ecx + 4]
cmp byte [eax + 0x2d], bl
jne 0x142e12
cmp ecx, dword [eax + 8]
jne 0x142e12
mov ecx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x2d], bl
je 0x142e03
mov ecx, eax
cmp ecx, dword [ebp + 0x18]
jne 0x142dd2
mov edi, ebp
call fcn.001434d0
lea esi, [ebp + 0x34]
mov dword [esp + 0x14], esi
mov byte [esp + 0x30], 5
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x20]
call fcn.0012c8a0
mov byte [esp + 0x30], 3
mov esi, dword [esi + 4]
push esi
call fcn.001f8a36
lea esi, [ebp + 0x24]
add esp, 4
mov dword [esp + 0x18], esi
mov byte [esp + 0x30], 6
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x24]
call fcn.0012c8a0
mov byte [esp + 0x30], 2
mov esi, dword [esi + 4]
push esi
call fcn.001f8a36
lea esi, [ebp + 0x14]
add esp, 4
mov dword [esp + 0x1c], esi
mov byte [esp + 0x30], 7
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x28]
call fcn.0012c8a0
mov byte [esp + 0x30], 1
mov esi, dword [esi + 4]
push esi
call fcn.001f8a36
lea esi, [ebp + 4]
add esp, 4
mov dword [esp + 0x20], esi
mov byte [esp + 0x30], 8
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x2c]
call fcn.0012c8a0
mov byte [esp + 0x30], bl
mov eax, dword [esi + 4]
push eax
call fcn.001f8a36
add esp, 4
mov dword [ebp], vtable.ggadget::WatchCallbackInterface.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4