Function at 0x451060
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fef6c
mov eax, dword fs:[0]
push eax
sub esp, 0x120
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
mov eax, dword [ebp + 8]
lea esi, [edi + 0x1c]
mov dword [ebp - 0x2c], 0
mov ecx, esi
cmp byte [edi + 0xc0], 0
mov dword [ebp - 0x24], eax
mov eax, dword [esi]
je 0x4510eb
mov eax, dword [eax + 0xc4]
call eax
test al, al
mov edx, 0xa0
mov eax, dword [ebp - 0x24]
mov ecx, 0x60
cmovne ecx, edx
mov edx, dword [eax + 0x18]
test ecx, edx
jne 0x4512f3
test dl, 0x14
je 0x4512f3
or edx, 0xb
and edx, 0xffffff3f
mov dword [eax + 0x18], edx
jmp 0x4512f3
mov eax, dword [eax + 0x28]
call eax
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x4512f0
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
mov eax, dword [esi]
mov ecx, esi
movups xmmword [ebp - 0x5c], xmm0
movups xmmword [ebp - 0x3c], xmm0
mov eax, dword [eax + 0x28]
call eax
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x4512f0
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x5c]
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x20]
call fcn.0044c760
add esp, 8
test al, al
je 0x4512f0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4512d4
cmp eax, dword [edi + 0xcc]
jne 0x4512d4
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xf0]
call eax
test al, al
jne 0x4511b2
lea eax, [edi + 0xd0]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0042cec0
test al, al
je 0x4512d1
mov eax, dword [ebp - 0x3c]
cmp eax, dword [edi + 0xe0]
jne 0x4511b2
mov eax, dword [ebp - 0x38]
cmp eax, dword [edi + 0xe4]
jne 0x4511b2
mov eax, dword [ebp - 0x34]
cmp eax, dword [edi + 0xe8]
jne 0x4511b2
mov eax, dword [ebp - 0x30]
cmp eax, dword [edi + 0xec]
je 0x4512d1
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xf0]
call eax
test al, al
je 0x4511c8
movups xmm0, xmmword [ebp - 0x5c]
jmp 0x45120f
mov ecx, edi
call fcn.0044b760
test eax, eax
je 0x4511f1
movups xmm0, xmmword [ebp - 0x3c]
push 0x20
movups xmmword [ebp - 0x4c], xmm0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
neg eax
lea ecx, [ebp - 0x4c]
push eax
push eax
call fcn.0042f8d0
jmp 0x451213
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x7c]
call fcn.0042ce60
mov ecx, eax
call fcn.0042d0b0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x4c], xmm0
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x4c]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x48]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x44]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x40]
mov dword [ecx + 0x14], eax
mov eax, dword [ecx + 0x18]
and eax, 0xfffffff4
or eax, 0x100
cmp dword [0x543fdc], 1
mov dword [ecx + 0x18], eax
mov byte [edi + 0xc0], 1
jne 0x45128d
mov eax, dword [edi + 0xc4]
test eax, eax
je 0x45128d
cmp dword [eax], 1
je 0x45128d
push 3
push 0x982
push str.f:my_lab_tabexplorerextab_masterlibrary_viewwidget_native_widget_win.cpp
lea ecx, [ebp - 0x12c]
call fcn.0040eda0
mov dword [ebp - 4], 0
lea ecx, [eax + 8]
mov edx, str.Check_failed:_ignore_pos_changes_factory_.empty__.
mov dword [ebp - 0x2c], 1
call fcn.00405a30
mov dword [ebp - 4], 0xffffffff
test byte [ebp - 0x2c], 1
je 0x4512a5
lea ecx, [ebp - 0x12c]
call fcn.0040f1c0
call fcn.00414650
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0
push 0x44c4a0
lea ecx, [edi + 0xc4]
mov esi, eax
call fcn.00452740
push eax
mov ecx, esi
call fcn.00412b10
lea esi, [edi + 0x1c]
mov eax, dword [ebp - 0x28]
movups xmm0, xmmword [ebp - 0x5c]
mov dword [edi + 0xcc], eax
movups xmmword [edi + 0xd0], xmm0
movups xmm0, xmmword [ebp - 0x3c]
movups xmmword [edi + 0xe0], xmm0
mov eax, dword [ebp - 0x24]
cmp dword [edi + 0xac], 0
je 0x451300
and dword [eax + 0x18], 0xffffffbf
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x28]
call eax
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x451349
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x2c], ecx
cmp ecx, 6
jge 0x451349
push eax
mov eax, dword [esi]
mov ecx, esi
push 0
push 0x46
mov eax, dword [eax + 0x28]
call eax
push eax
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 0x14], ecx
mov dword [edi + 0x20], 1
jmp 0x451350
mov dword [edi + 0x20], 0
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