Function at 0x10112170
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 [0x101f3f98]
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym.nss3.dll_PR_GetIdentitiesLayer
test eax, eax
je 0x101121f2
mov ebx, dword [eax + 4]
mov dword [ebx], eax
test esi, esi
je 0x10112233
mov eax, dword [ebx + 0x1c]
bt eax, 0xa
jb 0x101121bc
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 0x101121d3
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.0x101121e4.4
xor esi, esi
xor edx, edx
jmp dword [edi*4 + 0x101c70ec]
mov edx, dword [ecx]
jmp 0x10112398
cmp dword [0x101f2f50], 0
je 0x10112451
mov eax, dword [0x101f25a4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x10112415
mov dword [eax + 0x28], 0xffffe891
xor ecx, ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
test esi, esi
je 0x10112233
mov dword [esi], 0
jmp 0x10112268
cmp dword [0x101f2f50], 0
je 0x1011245b
mov eax, dword [0x101f25a4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x1011242a
mov dword [eax + 0x28], 0xffffe005
xor ecx, ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
xor esi, esi
dec esi
jmp 0x101123d5
movzx edx, word [ebx + 0x14]
jmp case.0x101121e4.2
mov edx, dword [ebx + 0x20]
jmp 0x1011231e
mov edx, dword [ecx]
shr edx, 0x16
jmp 0x10112398
mov edx, dword [ebx + 0x20]
jmp 0x10112398
mov edx, dword [ecx]
shr edx, 0x1e
jmp 0x10112398
mov edx, dword [ecx]
shr edx, 0x15
jmp 0x10112398
mov edx, dword [ecx]
shr edx, 0xf
jmp 0x10112398
mov edx, dword [ecx]
shr edx, 0xa
jmp 0x10112398
mov edx, dword [ecx]
shr edx, 0x1b
jmp 0x10112398
mov edx, dword [ecx]
shr edx, 0xc
jmp 0x10112398
mov edx, dword [ecx]
shr edx, 0x10
jmp 0x10112398
mov edx, dword [ecx]
shr edx, 0x14
jmp 0x10112398
mov edx, dword [ecx]
shr edx, 0x17
jmp 0x10112398
mov edx, dword [ecx]
shr edx, 6
jmp 0x10112398
mov edx, dword [ecx]
shr edx, 0x12
jmp 0x10112398
mov edx, dword [ecx]
shr edx, 8
jmp 0x10112398
mov edx, dword [ecx]
shr edx, 0x18
jmp 0x10112398
mov edx, dword [ecx]
shr edx, 0x1a
jmp 0x10112398
mov edx, dword [ecx]
shr edx, 2
jmp 0x10112398
movzx eax, word [ebx + 0x24]
xor edx, edx
cmp eax, 0x300
sete dl
jmp case.0x101121e4.2
mov edx, dword [ecx]
shr edx, 0x11
jmp 0x10112398
mov edx, dword [ecx]
shr edx, 5
jmp 0x10112398
mov edx, dword [ecx]
shr edx, 0xd
jmp 0x1011234d
mov edx, dword [ecx]
shr edx, 3
and edx, 3
jmp case.0x101121e4.2
mov edx, dword [ecx]
shr edx, 0x1f
jmp case.0x101121e4.2
mov edx, dword [ecx]
shr edx, 0x13
jmp 0x10112398
mov edx, dword [ecx]
shr edx, 0x19
jmp 0x10112398
mov edx, dword [ecx]
shr edx, 7
jmp 0x10112398
mov edx, dword [ecx]
shr edx, 0x1c
jmp 0x10112398
movzx eax, word [ebx + 0x26]
xor edx, edx
cmp eax, 0x301
setae dl
jmp case.0x101121e4.2
mov edx, dword [ecx]
shr edx, 9
jmp 0x10112398
mov edx, dword [ecx]
shr edx, 0xb
jmp 0x10112398
mov edx, dword [ecx]
shr edx, 0x1d
and edx, 1
mov eax, dword [ecx]
bt eax, 0xa
jb 0x101123b8
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 0x101123d0
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 [0x101f2f50], 0
je 0x10112465
mov eax, dword [0x101f25a4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x1011243f
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.0x101121e4.2
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
jmp 0x10112218
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
jmp 0x10112259
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
jmp 0x101123ff
call fcn.100029d0
jmp 0x101121ff
call fcn.100029d0
jmp 0x10112240
call fcn.100029d0
jmp 0x101123ea