Function at 0x382d10
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x4ab24c
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5116ec]
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 [0x51b26c]
xor ebx, ebx
cmp eax, 0xffffffff
je 0x382d74
mov ecx, dword [0x51b26c]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, ebx
je 0x382d74
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 0x382dc9
lea ecx, [ecx]
mov eax, dword [ecx + 0x28]
mov dword [eax + 4], ebx
cmp byte [ecx + 0x2d], bl
jne 0x382dc4
mov eax, dword [ecx + 8]
cmp byte [eax + 0x2d], bl
jne 0x382dab
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x2d], bl
jne 0x382dc4
lea esp, [esp]
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x2d], bl
je 0x382da0
jmp 0x382dc4
mov eax, dword [ecx + 4]
cmp byte [eax + 0x2d], bl
jne 0x382dc2
cmp ecx, dword [eax + 8]
jne 0x382dc2
mov ecx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x2d], bl
je 0x382db3
mov ecx, eax
cmp ecx, dword [ebp + 8]
jne 0x382d80
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
cmp ecx, eax
je 0x382e19
mov edx, dword [ecx + 0x28]
mov dword [edx + 4], ebx
cmp byte [ecx + 0x2d], bl
jne 0x382e14
mov eax, dword [ecx + 8]
cmp byte [eax + 0x2d], bl
jne 0x382dfb
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x2d], bl
jne 0x382e14
mov edi, edi
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x2d], bl
je 0x382df0
jmp 0x382e14
mov eax, dword [ecx + 4]
cmp byte [eax + 0x2d], bl
jne 0x382e12
cmp ecx, dword [eax + 8]
jne 0x382e12
mov ecx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x2d], bl
je 0x382e03
mov ecx, eax
cmp ecx, dword [ebp + 0x18]
jne 0x382dd2
mov edi, ebp
call fcn.003834d0
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.0036c8a0
mov byte [esp + 0x30], 3
mov esi, dword [esi + 4]
push esi
call fcn.00438a36
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.0036c8a0
mov byte [esp + 0x30], 2
mov esi, dword [esi + 4]
push esi
call fcn.00438a36
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.0036c8a0
mov byte [esp + 0x30], 1
mov esi, dword [esi + 4]
push esi
call fcn.00438a36
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.0036c8a0
mov byte [esp + 0x30], bl
mov eax, dword [esi + 4]
push eax
call fcn.00438a36
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