Function at 0x1001c950
Capabilities:
Get thread local storage value

Disassembly:
push 0x94
mov eax, 0x10032343
call fcn.10030db7
mov esi, ecx
mov dword [ebp - 0x58], esi
cmp byte [0x100604ac], 0
push dword [0x100604a8]
je 0x1001c97b
call dword [sym.imp.kernel32.dll_FlsGetValue]
jmp 0x1001c981
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
je 0x1001cb56
push ecx
push 0x10060498
lea ecx, [ebp - 0xa0]
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
and dword [ebp - 4], 0
mov ecx, esi
push dword [ebx + 0x10]
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
cmp dword [ebx + 0x10], 0
je 0x1001cafe
lea eax, [esi + 4]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebx]
test eax, eax
je 0x1001c9c2
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [ebx + 0xc]
mov esi, dword [eax + ecx*4]
lea ecx, [ebp - 0x54]
push esi
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
lea eax, [esi + 8]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x4c]
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
add esi, 0x20
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 4]
dec ecx
and ecx, dword [ebx + 0xc]
mov ecx, dword [eax + ecx*4]
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
sub dword [ebx + 0x10], 1
jne 0x1001ca0f
and dword [ebx + 0xc], 0
jmp 0x1001ca12
inc dword [ebx + 0xc]
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x64]
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x60]
test ecx, ecx
je 0x1001ca2e
call fcn.1001b56a
mov byte [ebp - 4], 2
cmp dword [ebp - 0x64], 0
jne 0x1001ca79
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x28]
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
mov ecx, dword [ebp - 0x5c]
lea esi, [ebp - 0x34]
mov byte [ebp - 4], 4
lea edi, [ebp - 0x94]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x94]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call fcn.1001a50f
lea ecx, [ebp - 0x28]
call fcn.1000ccca
jmp 0x1001cad5
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x6c]
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x28]
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
mov ecx, dword [ebp - 0x5c]
lea esi, [ebp - 0x34]
mov byte [ebp - 4], 6
lea edi, [ebp - 0x7c]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x6c]
cmovae eax, dword [ebp - 0x28]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x7c]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1001a5ae
lea ecx, [ebp - 0x28]
call fcn.1000ccca
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x68]
test ecx, ecx
je 0x1001cad5
call fcn.1001b56a
lea ecx, [ebp - 0x4c]
call fcn.1000ccca
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x1001caed
call fcn.1001b56a
mov byte [ebp - 4], 0
cmp dword [ebx + 0x10], 0
jne 0x1001c9ba
mov esi, dword [ebp - 0x58]
mov ecx, dword [0x10060d04]
mov eax, dword fs:[0x2c]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 4]
test eax, eax
je 0x1001cb46
and dword [ebp - 0x7c], 0
lea edx, [ebp - 0x88]
mov dword [ebp - 0x80], eax
lea ecx, [ebp - 0x58]
xor eax, eax
mov dword [ebp - 0x88], 0x10038434
mov dword [ebp - 0x84], str.cTracesDiscarded
mov word [ebp - 0x78], ax
mov dword [ebp - 0x58], esi
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
call fcn.1001cbcb
lea ecx, [ebp - 0xa0]
call fcn.1001a2c9
call fcn.10030d76
ret