Function at 0x10006df0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ead9d
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
push edi
mov eax, dword [0x1015f6c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x48]
lea eax, [ecx - 0xe0]
mov esi, ecx
mov dword [ebp - 4], 2
neg esi
sbb esi, esi
or edi, 0xffffffff
and esi, eax
cmp ebx, dword [ecx + 0xc]
jne 0x10006fe6
mov eax, dword [esi + 0xe0]
mov ecx, dword [esi + 0xe4]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov ecx, ebx
push eax
call fcn.10024d70
mov eax, dword [ebp + 8]
mov dword [ebp - 0x70], esi
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x60], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x6c], ecx
lea ecx, [ebp - 0x5c]
push eax
mov dword [ebp + 0xc], 0
mov dword [ebp + 0x10], 0
call fcn.10013a40
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x4c]
mov dword [ebp - 0x24], eax
mov dword [ebp + 0x48], 0
mov dword [ebp + 0x4c], 0
mov eax, dword [ebx]
push dword [0x10164654]
mov dword [ebp - 0x10], eax
lea eax, [ebx + 0x28]
mov dword [ebp + 8], eax
add ebx, 8
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 3
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10006ed7
mov eax, dword [eax + 4]
jmp 0x10006ed9
xor eax, eax
push 4
push 0x98
push eax
push dword [ebp + 8]
call fcn.10007de0
mov esi, eax
add esp, 0x10
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 4
lea ecx, [esi + 0x2c]
mov dword [esi + 0x14], 0
push eax
mov dword [esi + 0x18], 0x10023b90
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0x1015f018
mov dword [esi + 0x28], 0
call fcn.10013240
push dword [ebp + 8]
lea ecx, [esi + 0x7c]
push 0
push 0
call fcn.10013ca0
mov ecx, dword [ebp - 0x10]
lea eax, [ebx + 0xc]
push esi
push eax
push ebx
lea eax, [ecx + 0x14]
mov byte [ebx + 8], 1
mov ecx, dword [ecx + 0x2c]
push eax
mov dword [ebp - 0x18], esi
call fcn.10012ac0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.10026c90
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x10006fb8
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10006fb8
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x10006fb8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x5c]
call fcn.10016cb0
mov esi, dword [ebp - 0x60]
test esi, esi
je 0x10006fe6
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10006fe6
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x10006fe6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x1000700c
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000700c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1000700c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp + 0x14]
call fcn.10016cb0
mov esi, dword [ebp + 0x4c]
test esi, esi
je 0x10007039
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10007039
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10007039
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x48