Function at 0x1012d10
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x113b24c
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x11a16ec]
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 [0x11ab26c]
xor ebx, ebx
cmp eax, 0xffffffff
je 0x1012d74
mov ecx, dword [0x11ab26c]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, ebx
je 0x1012d74
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 0x1012dc9
lea ecx, [ecx]
mov eax, dword [ecx + 0x28]
mov dword [eax + 4], ebx
cmp byte [ecx + 0x2d], bl
jne 0x1012dc4
mov eax, dword [ecx + 8]
cmp byte [eax + 0x2d], bl
jne 0x1012dab
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x2d], bl
jne 0x1012dc4
lea esp, [esp]
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x2d], bl
je 0x1012da0
jmp 0x1012dc4
mov eax, dword [ecx + 4]
cmp byte [eax + 0x2d], bl
jne 0x1012dc2
cmp ecx, dword [eax + 8]
jne 0x1012dc2
mov ecx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x2d], bl
je 0x1012db3
mov ecx, eax
cmp ecx, dword [ebp + 8]
jne 0x1012d80
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
cmp ecx, eax
je 0x1012e19
mov edx, dword [ecx + 0x28]
mov dword [edx + 4], ebx
cmp byte [ecx + 0x2d], bl
jne 0x1012e14
mov eax, dword [ecx + 8]
cmp byte [eax + 0x2d], bl
jne 0x1012dfb
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x2d], bl
jne 0x1012e14
mov edi, edi
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x2d], bl
je 0x1012df0
jmp 0x1012e14
mov eax, dword [ecx + 4]
cmp byte [eax + 0x2d], bl
jne 0x1012e12
cmp ecx, dword [eax + 8]
jne 0x1012e12
mov ecx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x2d], bl
je 0x1012e03
mov ecx, eax
cmp ecx, dword [ebp + 0x18]
jne 0x1012dd2
mov edi, ebp
call fcn.010134d0
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.00ffc8a0
mov byte [esp + 0x30], 3
mov esi, dword [esi + 4]
push esi
call fcn.010c8a36
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.00ffc8a0
mov byte [esp + 0x30], 2
mov esi, dword [esi + 4]
push esi
call fcn.010c8a36
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.00ffc8a0
mov byte [esp + 0x30], 1
mov esi, dword [esi + 4]
push esi
call fcn.010c8a36
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.00ffc8a0
mov byte [esp + 0x30], bl
mov eax, dword [esi + 4]
push eax
call fcn.010c8a36
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