Function at 0x101a3db0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa28
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x1025acd4], 0
push esi
mov esi, ecx
je 0x101a404c
cmp dword [0x1025b434], 0
je 0x101a404c
mov eax, dword [esi]
push ebx
push edi
call dword [eax + 0x78]
mov edi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov byte [eax], 0
mov eax, dword [0x1025b450]
cmp eax, 0xffffffff
je 0x101a3e43
cmp dword [0x1025b454], 0xffffffff
je 0x101a3e43
push eax
mov dword [ebp - 0xa10], 0
call ebx
test eax, eax
jne 0x101a3e43
mov eax, dword [0x1025b458]
test eax, eax
je 0x101a3e43
lea ecx, [ebp - 0xa10]
push ecx
call eax
push eax
push dword [0x1025b450]
call edi
push dword [ebp - 0xa10]
push dword [0x1025b454]
call edi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.msvcrt.dll_memset
mov edi, dword [0x1025acd8]
lea eax, [ebp - 0x20c]
push eax
push 0xb
mov dword [esi + 0xe4], 6
call fcn.100099b0
add esp, 0x14
test eax, eax
je 0x101a3e8c
mov eax, dword [esi]
lea ecx, [ebp - 0x20c]
push 0
push edi
push ecx
mov ecx, esi
call dword [eax + 0x54]
lea eax, [ebp - 0x20c]
push eax
push 0x16
call fcn.100099b0
add esp, 8
test eax, eax
je 0x101a3eb2
mov eax, dword [esi]
lea ecx, [ebp - 0x20c]
push 0
push edi
push ecx
mov ecx, esi
call dword [eax + 0x54]
mov eax, dword [esi]
mov ecx, esi
mov dword [esi + 0xe4], 0
call dword [eax + 0x7c]
lea ecx, [ebp - 0xa18]
mov dword [ebp - 0xa28], 0
mov dword [ebp - 0xa24], 0
mov dword [ebp - 0xa20], 0xffffffff
mov dword [ebp - 0xa18], 0
mov dword [ebp - 0xa14], 0
call fcn.10027330
lea ecx, [ebp - 0xa28]
mov dword [ebp - 0xa18], eax
call fcn.10008220
push 0
push str.SoftwareClientsStartMenuInternet_
lea eax, [ebp - 0xa28]
push reloc.OLEAUT32.dll_SysReAllocString
push eax
mov ecx, eax
call fcn.1000a260
test eax, eax
jne 0x101a3f9f
xor edi, edi
mov dword [ebp - 0xa10], 0x400
push edi
lea eax, [ebp - 0xa10]
push eax
lea eax, [ebp - 0xa0c]
push eax
push edi
lea ecx, [ebp - 0xa28]
call fcn.101a33a0
test eax, eax
jne 0x101a3f9f
lea ebx, [ebx]
push dword [esi + 0xe0]
lea eax, [ebp - 0xa0c]
mov ecx, esi
push eax
call fcn.101a4060
push 0
lea eax, [ebp - 0xa10]
mov dword [ebp - 0xa10], 0x400
push eax
lea eax, [ebp - 0xa0c]
inc edi
push eax
push edi
lea ecx, [ebp - 0xa28]
call fcn.101a33a0
test eax, eax
je 0x101a3f60
mov eax, dword [0x1025b450]
cmp eax, 0xffffffff
je 0x101a3fe3
cmp dword [0x1025b454], 0xffffffff
je 0x101a3fe3
push eax
call ebx
test eax, eax
je 0x101a3fe3
cmp dword [0x1025b45c], 0
je 0x101a3fe3
push dword [0x1025b454]
call ebx
push eax
call dword [0x1025b45c]
neg eax
sbb eax, eax
inc eax
push eax
push dword [0x1025b450]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov esi, dword [ebp - 0xa18]
lea ecx, [ebp - 0xa18]
push dword [esi + 4]
call fcn.10029430
mov eax, dword [ebp - 0xa18]
push 0x14
mov dword [eax + 4], esi
mov eax, dword [ebp - 0xa18]
mov dword [eax], esi
mov eax, dword [ebp - 0xa18]
mov dword [eax + 8], esi
push dword [ebp - 0xa18]
mov dword [ebp - 0xa14], 0
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
lea ecx, [ebp - 0xa28]
call fcn.10008220
pop edi
pop ebx
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101f99c6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.101f99c6
mov esp, ebp
pop ebp
ret