Function at 0x10119770
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x10
call fcn.10112990
mov esi, eax
test eax, eax
jne case.0x1011979e.15
mov edi, dword [ebp + 8]
call fcn.101195f0
dec edi
cmp edi, 0x28
ja case.0x1011979e.4
mov edx, dword [ebp + 0xc]
xor esi, esi
jmp dword [edi*4 + 0x101b3d6c]
mov eax, dword [0x101dd8b4]
and edx, 1
and eax, 0xfffffffe
jmp 0x10119a78
and edx, 1
shl edx, 0x1b
mov eax, 0xf7ffffff
jmp 0x10119a72
and edx, 1
shl edx, 0x16
mov eax, 0xffbfffff
jmp 0x10119a72
shl edx, 0x1f
mov eax, bind
jmp 0x10119a72
mov eax, dword [0x101dd8b8]
and edx, 1
and eax, 0xfffffffb
lea eax, [eax + edx*4]
jmp 0x101199f5
and edx, 1
shl edx, 0x15
mov eax, 0xffdfffff
jmp 0x10119a72
shl edx, 0xf
movzx eax, dx
mov ecx, 0xffff7fff
jmp 0x10119a0a
mov eax, dword [0x101dd8b4]
test edx, edx
je 0x1011982c
mov ecx, eax
and ecx, 0x100
jne case.0x1011979e.4
mov ecx, edx
and ecx, 1
shl ecx, 0xa
xor esi, esi
cmp byte [0x101dfbd4], 0
mov edi, ecx
cmovne edi, esi
test edx, edx
cmove edi, ecx
and eax, 0xfffffbff
or eax, edi
mov dword [0x101dd8b4], eax
xor eax, eax
jmp 0x10119a81
and edx, 1
shl edx, 0x1c
mov eax, 0xefffffff
jmp 0x10119a72
and edx, 1
shl edx, 0xc
mov eax, 0xffffefff
jmp 0x10119a72
and edx, 1
shl edx, 0x10
mov eax, 0xfffeffff
jmp 0x10119a72
and edx, 1
shl edx, 0x14
mov eax, 0xffefffff
jmp 0x10119a72
mov eax, dword [0x101dd8b4]
test edx, edx
je 0x101198ae
mov ecx, eax
and ecx, 0x20
jne case.0x1011979e.4
shl edx, 6
and edx, 0x40
and eax, 0xffffffbf
jmp 0x10119a78
and edx, 1
shl edx, 0x12
mov eax, 0xfffbffff
jmp 0x10119a72
and edx, 1
shl edx, 0x17
mov eax, 0xff7fffff
jmp 0x10119a72
mov eax, dword [0x101dd8b4]
test edx, edx
je 0x101198f3
mov ecx, eax
and ecx, 0x400
jne case.0x1011979e.4
and edx, 1
shl edx, 8
and eax, 0xfffffeff
jmp 0x10119a78
and edx, 1
shl edx, 0x18
mov eax, 0xfeffffff
jmp 0x10119a72
lea eax, [edx - 0x40]
cmp eax, 0x3fc2
jae case.0x1011979e.4
mov word [0x101dd8ac], dx
jmp case.0x1011979e.15
mov eax, dword [0x101dd8b4]
and edx, 1
and eax, 0xfffffffb
lea eax, [eax + edx*4]
jmp 0x10119a7a
mov ecx, 0x101dd898
call fcn.10118ea0
jmp case.0x1011979e.15
and edx, 1
shl edx, 0x11
mov eax, 0xfffdffff
jmp 0x10119a72
mov eax, dword [0x101dd8b4]
test edx, edx
je 0x1011996b
mov ecx, eax
and ecx, 0x40
jne case.0x1011979e.4
shl edx, 5
and edx, 0x20
and eax, 0xffffffdf
jmp 0x10119a78
and byte [0x101dd8b4], 0xfd
test edx, edx
je case.0x1011979e.15
cmp dword [0x101de200], 0
je 0x10119a9d
mov eax, dword [0x101de1f0]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x10119a88
mov dword [eax + 0x28], 0xffffe005
xor ecx, ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
xor esi, esi
dec esi
jmp case.0x1011979e.15
and edx, 3
shl edx, 0xd
mov eax, 0xffff9fff
jmp 0x10119a72
mov eax, dword [0x101dd8b4]
and edx, 3
and eax, 0xffffffe7
lea eax, [eax + edx*8]
jmp 0x10119a7a
mov eax, dword [0x101dd8b8]
and edx, 1
and eax, 0xfffffffe
or eax, edx
mov dword [0x101dd8b8], eax
jmp case.0x1011979e.15
shl edx, 7
movzx eax, dl
mov ecx, 0xffffff7f
and ecx, dword [0x101dd8b4]
or ecx, eax
mov dword [0x101dd8b4], ecx
jmp case.0x1011979e.15
and edx, 1
shl edx, 0x13
mov eax, 0xfff7ffff
jmp 0x10119a72
and edx, 1
shl edx, 0x1a
mov eax, 0xfbffffff
jmp 0x10119a72
and edx, 1
shl edx, 0x1d
mov eax, 0xdfffffff
jmp 0x10119a72
mov ecx, 0x101dd898
call fcn.10118d70
jmp case.0x1011979e.15
and edx, 1
shl edx, 9
mov eax, 0xfffffdff
jmp 0x10119a72
and edx, 1
shl edx, 0xb
mov eax, 0xfffff7ff
jmp 0x10119a72
and edx, 1
shl edx, 0x1e
mov eax, 0xbfffffff
and eax, dword [0x101dd8b4]
or eax, edx
mov dword [0x101dd8b4], eax
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebp
ret
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
jmp 0x101199ae
call fcn.100745e0
jmp 0x10119995