Function at 0x3013ce1c
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
push esi
xor esi, esi
cmp dword [ebp + 8], eax
push edi
setne byte [ebp - 1]
cmp byte [ebp - 1], bl
mov edi, ecx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], 3
mov byte [ebp - 2], bl
je 0x3013ce78
cmp eax, ebx
je 0x3013ce78
test byte [eax + 0x7d], 0x80
jne 0x3013ce5e
mov dword [ebp - 0x14], ebx
jmp 0x3013ce68
mov eax, ecx
mov ecx, dword [eax + 4]
cmp ecx, ebx
jne 0x3013ce5c
mov dword [ebp - 0x14], eax
call sym.OFFDIAG.exe_public:_static_class_NetUI::Element____stdcall_NetUI::HWNDElement::GetKeyFocusedElement_void_
push eax
mov ecx, edi
call sym.OFFDIAG.exe_public:_bool___thiscall_NetUI::Node::IsDescendent_class_NetUI::Node__const
mov byte [ebp - 2], al
cmp dword [ebp + 8], ebx
je 0x3013cf2e
cmp byte [ebp - 1], bl
je 0x3013cec7
push dword [sym.OFFDIAG.exe_unsigned_long_int_NetUI::g_dwElSlot]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, dword [eax + 8]
push 1
push ebx
push edi
lea ecx, [esi + 0x64]
call fcn.3013a1b9
push 1
push ebx
push edi
lea ecx, [esi + 0x58]
call fcn.3013a1b9
mov eax, dword [ebp + 8]
test byte [eax + 0x7d], 0x80
jne 0x3013cebd
mov dword [ebp - 8], ebx
jmp 0x3013cec7
mov eax, ecx
mov ecx, dword [eax + 4]
cmp ecx, ebx
jne 0x3013cebb
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x3c]
cmp esi, ebx
je 0x3013cf2e
cmp dword [edi + 0xc], ebx
je 0x3013cf2e
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x3013cee2
cmp dword [eax + 0xc], ebx
jne 0x3013cee4
xor eax, eax
cmp eax, ebx
je 0x3013cf27
test byte [eax + 0x32], 2
jne 0x3013cf00
mov eax, dword [eax + 0x10]
cmp eax, ebx
je 0x3013cefa
cmp dword [eax + 0xc], ebx
jne 0x3013cefc
xor eax, eax
cmp eax, ebx
jne 0x3013cee8
cmp eax, ebx
je 0x3013cf27
mov eax, dword [eax + 0x3c]
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x3013cf2e
push ebx
push eax
call fcn.301611cd
cmp eax, esi
je 0x3013cf1e
mov dword [ebp - 0xc], ebx
jmp 0x3013cf2e
mov dword [ebp - 0x10], 1
jmp 0x3013cf2e
mov dword [ebp - 0x10], 4
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push esi
push dword [edi + 0x3c]
call fcn.30161073
cmp byte [ebp - 2], bl
je 0x3013cf53
mov ecx, dword [ebp + 0xc]
cmp ecx, ebx
je 0x3013cf53
push 1
push 0xb
push ebx
call sym.OFFDIAG.exe_protected:_bool___thiscall_NetUI::Element::MoveFocusSomewhere_enum_NetUI::ESCR__int__unsigned_int_
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 8]
je 0x3013cf7f
cmp eax, ebx
je 0x3013cf6b
mov edx, dword [edi]
push ebx
push eax
mov ecx, edi
call dword [edx + 0xc4]
cmp dword [ebp - 8], ebx
je 0x3013cf7f
mov eax, dword [edi]
push 1
push dword [ebp - 8]
mov ecx, edi
call dword [eax + 0xc4]
mov edi, dword [ebp + 8]
cmp edi, ebx
mov esi, 0x1000
je 0x3013cfb2
test byte [edi + 0x7d], 0x80
je 0x3013cfb2
mov ecx, edi
call sym.OFFDIAG.exe_public:_bool___thiscall_NetUI::Element::GetIsAccessible_void_
test al, al
je 0x3013cfa0
mov eax, edi
jmp 0x3013cfa6
push edi
call fcn.30167668
cmp eax, ebx
je 0x3013cfb2
push esi
mov ecx, eax
call sym.OFFDIAG.exe_public:_void___thiscall_NetUI::Node::AddGroupChangedNotification_int_
mov edi, dword [ebp + 0xc]
cmp edi, ebx
je 0x3013cfe5
cmp byte [ebp - 1], bl
je 0x3013cfe5
test byte [edi + 0x7d], 0x80
je 0x3013cfe5
mov ecx, edi
call sym.OFFDIAG.exe_public:_bool___thiscall_NetUI::Element::GetIsAccessible_void_
test al, al
je 0x3013cfd3
mov eax, edi
jmp 0x3013cfd9
push edi
call fcn.30167668
cmp eax, ebx
je 0x3013cfe5
push esi
mov ecx, eax
call sym.OFFDIAG.exe_public:_void___thiscall_NetUI::Node::AddGroupChangedNotification_int_
pop edi
pop esi
pop ebx
leave
ret 8