Function at 0x10128810
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x10
mov esi, dword [ebp + 8]
cmp esi, 0x2733
jne 0x1012885a
mov edi, 0xffffe892
cmp dword [0x101f2f50], 0
je 0x10128892
mov eax, dword [0x101f25a4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x10128880
mov dword [eax + 0x28], edi
mov dword [eax + 0x2c], esi
mov dword [eax + 0x30], 0
add esp, 0x10
pop esi
pop edi
pop ebp
ret
mov edi, 0xffffe8b2
cmp esi, 0x717
jle 0x10128899
lea eax, [esi - 0x2719]
cmp eax, 0x38
ja case.default.0x10128872
jmp dword [eax*4 + 0x101b7ab0]
mov edi, 0xffffe8a6
jmp case.0x10128b4c.5
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
jmp 0x10128846
call fcn.100029d0
jmp 0x10128831
cmp esi, 0x1e6
jg 0x10128945
cmp esi, 0x6f
jg 0x101289a1
cmp esi, 0x4f
jg 0x10128a00
cmp esi, 0x26
jg 0x10128a85
lea eax, [esi - 2]
cmp eax, 0x13
jbe switch.0x10128b4c
cmp esi, 0x20
jne case.0x10128b4c.7
mov edi, 0xffffe8d0
jmp case.0x10128b4c.5
cmp esi, 0x718
jne 0x1012898b
mov edi, 0xffffe890
jmp case.0x10128b4c.5
mov edi, 0xffffe8ad
jmp case.0x10128b4c.5
mov edi, 0xffffe8af
jmp case.0x10128b4c.5
mov edi, 0xffffe8b6
jmp case.0x10128b4c.5
mov edi, 0xffffe8b4
jmp case.0x10128b4c.5
mov edi, 0xffffe8b3
jmp case.0x10128b4c.5
mov edi, 0xffffe8a2
jmp case.0x10128b4c.5
mov edi, 0xffffe8a0
jmp case.0x10128b4c.5
mov edi, 0xffffe8d7
jmp case.0x10128b4c.5
cmp esi, 0x4c8
jg 0x101289d2
cmp esi, 0x3ed
jg 0x10128a1c
cmp esi, 0x3e5
jg 0x10128a98
cmp esi, 0x1e7
je case.0x10128872.10014
cmp esi, 0x3e3
jne case.0x10128b4c.7
mov edi, 0xffffe8d1
jmp case.0x10128b4c.5
cmp esi, 0x961
jne case.0x10128b4c.7
mov edi, 0xffffe899
jmp case.0x10128b4c.5
cmp esi, 0x93
jg 0x10128a3e
cmp esi, 0x7a
jg 0x10128ab6
cmp esi, 0x70
je 0x10128a8e
cmp esi, 0x78
jne case.0x10128b4c.7
mov edi, 0xffffe898
jmp case.0x10128b4c.5
cmp esi, 0x4d8
jg 0x10128a63
cmp esi, 0x4cf
jg 0x10128ac9
cmp esi, 0x4c9
jne 0x10128b5d
mov edi, 0xffffe8a3
jmp case.0x10128b4c.5
cmp esi, 0x6b
jg 0x10128adf
cmp esi, 0x50
jne 0x10128b73
mov edi, 0xffffe8c9
jmp case.0x10128b4c.5
cmp esi, 0x4bd
jg 0x10128af2
cmp esi, 0x3ee
jne 0x10128b7e
mov edi, 0xffffe891
jmp case.0x10128b4c.5
cmp esi, 0xcd
jg 0x10128b08
cmp esi, 0x94
je case.0x10128b4c.21
cmp esi, 0xb7
je 0x10128a12
jmp case.0x10128b4c.7
cmp esi, 0x56f
jg 0x10128b1e
cmp esi, 0x4d9
jne 0x10128b8c
mov edi, 0xffffe89f
jmp case.0x10128b4c.5
cmp esi, 0x27
jne 0x10128b9e
mov edi, 0xffffe8bc
jmp case.0x10128b4c.5
cmp esi, 0x3e6
je case.0x10128872.10014
cmp esi, 0x3e9
jne case.0x10128b4c.7
mov edi, 0xffffe893
jmp case.0x10128b4c.5
cmp esi, 0x7b
jne 0x10128bad
mov edi, 0xffffe89d
jmp case.0x10128b4c.5
cmp esi, 0x4d0
jne 0x10128bbb
mov edi, 0xffffe8d9
jmp case.0x10128b4c.5
cmp esi, 0x6c
jne 0x10128bcd
mov edi, 0xffffe8ba
jmp case.0x10128b4c.5
cmp esi, 0x4be
jne 0x10128bd8
mov edi, 0xffffe89e
jmp case.0x10128b4c.5
cmp esi, 0xce
jne 0x10128bea
mov edi, 0xffffe8c1
jmp case.0x10128b4c.5
cmp esi, 0x570
je case.0x10128b4c.21
cmp esi, 0x571
je case.0x10128b4c.21
cmp esi, 0x6f8
jne case.0x10128b4c.7
mov edi, 0xffffe8aa
jmp case.0x10128b4c.5
jmp dword [eax*4 + 0x101b7a60]
mov edi, 0xffffe8c2
jmp case.0x10128b4c.5
cmp esi, 0x4cf
jne case.0x10128b4c.7
mov edi, 0xffffe8a4
jmp case.0x10128b4c.5
cmp esi, 0x57
je case.0x10128872.10022
jmp case.0x10128b4c.7
cmp esi, 0x467
je case.0x10128b4c.21
jmp case.0x10128b4c.7
cmp esi, 0x4df
jne case.0x10128b4c.7
mov edi, 0xffffe8d3
jmp case.0x10128b4c.5
cmp esi, 0x40
jne case.0x10128b4c.7
mov edi, 0xffffe8b7
jmp case.0x10128b4c.5
cmp esi, 0x84
je case.0x10128b4c.21
jmp case.0x10128b4c.7
cmp esi, 0x4d4
jne case.0x10128b4c.7
mov edi, 0xffffe8d8
jmp case.0x10128b4c.5
cmp esi, 0x6e
je case.0x10128b4c.21
jmp case.0x10128b4c.7
cmp esi, 0x4c6
jne case.0x10128b4c.7
mov edi, 0xffffe8d6
jmp case.0x10128b4c.5
cmp esi, 0xd4
je 0x10128ae8
mov edi, 0xffffe896
jmp case.0x10128b4c.5
mov edi, 0xffffe8ae
jmp case.0x10128b4c.5
mov edi, 0xffffe8cd
jmp case.0x10128b4c.5