Function at 0x10113730
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [0x101f5fc8]
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym.nss3.dll_PR_GetIdentitiesLayer
test eax, eax
je 0x101137b2
mov ebx, dword [eax + 4]
mov dword [ebx], eax
test esi, esi
je 0x101137f3
mov eax, dword [ebx + 0x1c]
bt eax, 0xa
jb 0x1011377c
mov eax, dword [ebx + 0x16c]
mov dword [esp], eax
call sym.nss3.dll_PR_EnterMonitor
mov eax, dword [ebx + 0x1c]
mov edi, dword [ebp + 0xc]
bt eax, 0xa
jb 0x10113793
mov eax, dword [ebx + 0x170]
mov dword [esp], eax
call sym.nss3.dll_PR_EnterMonitor
lea ecx, [ebx + 0x1c]
dec edi
cmp edi, 0x28
ja case.0x101137a4.4
xor esi, esi
xor edx, edx
jmp dword [edi*4 + 0x101c92cc]
mov edx, dword [ecx]
jmp 0x10113958
cmp dword [0x101f4f80], 0
je 0x10113a11
mov eax, dword [0x101f45d4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x101139d5
mov dword [eax + 0x28], 0xffffe891
xor ecx, ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
test esi, esi
je 0x101137f3
mov dword [esi], 0
jmp 0x10113828
cmp dword [0x101f4f80], 0
je 0x10113a1b
mov eax, dword [0x101f45d4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x101139ea
mov dword [eax + 0x28], 0xffffe005
xor ecx, ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
xor esi, esi
dec esi
jmp 0x10113995
movzx edx, word [ebx + 0x14]
jmp case.0x101137a4.2
mov edx, dword [ebx + 0x20]
jmp 0x101138de
mov edx, dword [ecx]
shr edx, 0x16
jmp 0x10113958
mov edx, dword [ebx + 0x20]
jmp 0x10113958
mov edx, dword [ecx]
shr edx, 0x1e
jmp 0x10113958
mov edx, dword [ecx]
shr edx, 0x15
jmp 0x10113958
mov edx, dword [ecx]
shr edx, 0xf
jmp 0x10113958
mov edx, dword [ecx]
shr edx, 0xa
jmp 0x10113958
mov edx, dword [ecx]
shr edx, 0x1b
jmp 0x10113958
mov edx, dword [ecx]
shr edx, 0xc
jmp 0x10113958
mov edx, dword [ecx]
shr edx, 0x10
jmp 0x10113958
mov edx, dword [ecx]
shr edx, 0x14
jmp 0x10113958
mov edx, dword [ecx]
shr edx, 0x17
jmp 0x10113958
mov edx, dword [ecx]
shr edx, 6
jmp 0x10113958
mov edx, dword [ecx]
shr edx, 0x12
jmp 0x10113958
mov edx, dword [ecx]
shr edx, 8
jmp 0x10113958
mov edx, dword [ecx]
shr edx, 0x18
jmp 0x10113958
mov edx, dword [ecx]
shr edx, 0x1a
jmp 0x10113958
mov edx, dword [ecx]
shr edx, 2
jmp 0x10113958
movzx eax, word [ebx + 0x24]
xor edx, edx
cmp eax, 0x300
sete dl
jmp case.0x101137a4.2
mov edx, dword [ecx]
shr edx, 0x11
jmp 0x10113958
mov edx, dword [ecx]
shr edx, 5
jmp 0x10113958
mov edx, dword [ecx]
shr edx, 0xd
jmp 0x1011390d
mov edx, dword [ecx]
shr edx, 3
and edx, 3
jmp case.0x101137a4.2
mov edx, dword [ecx]
shr edx, 0x1f
jmp case.0x101137a4.2
mov edx, dword [ecx]
shr edx, 0x13
jmp 0x10113958
mov edx, dword [ecx]
shr edx, 0x19
jmp 0x10113958
mov edx, dword [ecx]
shr edx, 7
jmp 0x10113958
mov edx, dword [ecx]
shr edx, 0x1c
jmp 0x10113958
movzx eax, word [ebx + 0x26]
xor edx, edx
cmp eax, 0x301
setae dl
jmp case.0x101137a4.2
mov edx, dword [ecx]
shr edx, 9
jmp 0x10113958
mov edx, dword [ecx]
shr edx, 0xb
jmp 0x10113958
mov edx, dword [ecx]
shr edx, 0x1d
and edx, 1
mov eax, dword [ecx]
bt eax, 0xa
jb 0x10113978
mov eax, dword [ebx + 0x170]
mov dword [esp], eax
mov edi, edx
call sym.nss3.dll_PR_ExitMonitor
mov edx, edi
mov eax, dword [ebx + 0x1c]
bt eax, 0xa
jb 0x10113990
mov eax, dword [ebx + 0x16c]
mov dword [esp], eax
mov edi, edx
call sym.nss3.dll_PR_ExitMonitor
mov edx, edi
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, ecx
cmp dword [0x101f4f80], 0
je 0x10113a25
mov eax, dword [0x101f45d4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x101139ff
mov dword [eax + 0x28], 0xffffe005
xor edx, edx
mov dword [eax + 0x2c], edx
mov dword [eax + 0x30], edx
xor esi, esi
dec esi
mov ecx, edi
jmp case.0x101137a4.2
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
jmp 0x101137d8
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
jmp 0x10113819
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
jmp 0x101139bf
call fcn.1001b2e0
jmp 0x101137bf
call fcn.1001b2e0
jmp 0x10113800
call fcn.1001b2e0
jmp 0x101139aa