Function at 0x10103400
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10213476
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x10282800]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 0x10]
mov eax, edi
mov dword [esi + 0x20], edi
sub eax, 1
jne 0x10103461
mov eax, dword [esi + 8]
test eax, eax
jne 0x10103448
cmp dword [esi + 0x14], eax
je 0x1010345d
cmp eax, dword [esi + 0x14]
jne 0x101034f9
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 0x1c]
jne 0x101034f9
test edi, edi
jne 0x101034b7
mov eax, dword [esi + 8]
test eax, eax
jne 0x1010346d
cmp dword [esi + 0x14], eax
jmp 0x10103478
cmp eax, dword [esi + 0x14]
jne 0x1010347a
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 0x1c]
je 0x101034a2
mov eax, dword [esi + 4]
cmp dword [eax + 4], 0xffffffff
je 0x10103493
cmp dword [ebp + 8], 0
je 0x101034a2
lea ecx, [esi + 8]
call fcn.10102f90
jmp 0x1010343c
call fcn.100e0d20
mov dword [ebp + 8], 0x3e3
mov dword [ebp + 0xc], eax
lea eax, [esi + 8]
push eax
lea eax, [ebp + 8]
push eax
lea ecx, [esi + 0x28]
call fcn.100e6400
jmp 0x101036c0
call fcn.100e0cc0
push esi
lea ecx, [ebp - 0xb4]
mov dword [ebp + 8], 3
mov dword [ebp + 0xc], eax
call fcn.100fb080
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
lea eax, [ebp - 0xb4]
mov dword [ebp - 4], 3
push 0
push eax
mov eax, dword [esi + 4]
add eax, 0x44
jmp 0x101035c3
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.1010eda0
imul eax, dword [esi + 0x10], 0x4c
mov ecx, dword [esi + 8]
mov edi, dword [esi + 4]
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0x10282038
add eax, dword [ecx]
lea ecx, [edi + 4]
mov dword [ebp - 0xc4], ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x14], eax
cmp dword [ecx], 0xffffffff
jne 0x101035dc
mov edx, 2
mov eax, 0x17
cmp word [ebp - 0x2c], dx
cmove eax, edx
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xc0]
push eax
push ecx
mov ecx, dword [edi]
lea eax, [ebp - 0xcc]
push eax
call fcn.10126b40
cmp dword [ebp - 0xbc], 0
je 0x101035dc
push esi
lea ecx, [ebp - 0xb4]
call fcn.100fb080
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], eax
push 0
lea ecx, [ebp - 0xb4]
mov dword [ebp - 4], 0
lea eax, [edi + 0x44]
push ecx
push eax
call fcn.100f6b80
add esp, 0xc
lea ecx, [ebp - 0xb4]
call fcn.100ffdb0
jmp 0x101036c0
mov eax, dword [edi]
push dword [0x1028dd78]
mov dword [ebp - 0xb8], eax
lea eax, [edi + 0x44]
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xd0], esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10103608
mov eax, dword [eax + 4]
jmp 0x1010360a
xor eax, eax
push 8
push 0xe0
push eax
push dword [ebp - 0xb8]
call fcn.100ed620
mov edi, eax
add esp, 0x10
mov dword [ebp - 0xcc], edi
mov eax, dword [ebp - 0xc4]
mov ecx, edi
push 0x10112950
mov dword [ebp - 4], 1
push dword [eax]
call fcn.100fe580
lea ecx, [edi + 0x40]
push esi
call fcn.100fb080
push dword [ebp - 0xc0]
lea ecx, [edi + 0xc0]
push 0
push 0
call fcn.100faf20
mov ecx, dword [ebp - 0xb8]
mov edx, 0x10
push edi
add ecx, 0x14
mov dword [ebp - 0xc8], edi
cmp word [ebp - 0x2c], 2
mov eax, 0x1c
push edi
cmove eax, edx
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0xc4]
push 1
push dword [eax + 0x1c]
push eax
call fcn.10133b30
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xcc], 0
lea ecx, [ebp - 0xd0]
mov dword [ebp - 4], 2
call fcn.1012ebc0
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.101e3b75
mov esp, ebp
pop ebp
ret 0xc