Function at 0x10115a30
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, dword [ebp + 8]
test byte [esi + 0x180], 1
jne 0x10115a59
mov ebx, dword [ebp + 0x14]
test ebx, 0xfffffffd
je 0x10115a75
push 0
push 0xffffe89d
jmp 0x10115a60
push 0
push 0xffffe8d7
call sym.nss3.dll_PR_SetError
add esp, 8
xor edi, edi
dec edi
mov eax, edi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov edi, dword [ebp + 0xc]
push esi
call fcn.1011c180
add esp, 4
test eax, eax
jne 0x10115b3d
mov eax, dword [esi + 0x1c]
bt eax, 8
jb 0x10115b3d
bt eax, 0xa
jb 0x10115ab0
push dword [esi + 0x168]
call sym.nss3.dll_PR_EnterMonitor
add esp, 4
mov eax, dword [esi + 0x1fc]
test eax, eax
je 0x10115b29
push 0
push eax
push dword [esi + 0x1f8]
push esi
call fcn.10111050
add esp, 0x10
test eax, eax
js 0x10115afb
mov ecx, dword [esi + 0x1fc]
sub ecx, eax
mov dword [esi + 0x1fc], ecx
test eax, eax
je 0x10115b29
test ecx, ecx
je 0x10115b29
mov edx, dword [esi + 0x1f8]
add eax, edx
push ecx
push eax
push edx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
jmp 0x10115b29
cmp dword [0x101de200], 0
je 0x10115de2
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x10115da2
cmp dword [eax + 0x28], 0xffffe892
jne 0x10115d39
test byte [esi + 0x1d], 4
jne 0x10115b3d
push dword [esi + 0x168]
call sym.nss3.dll_PR_ExitMonitor
add esp, 4
lea eax, [esi + 0x60c]
cmp dword [esi + 0x60c], eax
je 0x10115b57
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.10126130
cmp dword [esi + 0x38], 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
je 0x10115b79
xor edx, edx
inc edx
mov ecx, esi
call fcn.10115e00
test eax, eax
je 0x10115bd3
xor edi, edi
dec edi
jmp 0x10115cbd
test byte [esi + 0x1d], 4
jne 0x10115b8d
push dword [esi + 0x16c]
call sym.nss3.dll_PR_EnterMonitor
add esp, 4
mov ecx, dword [esi + 0xcc]
test ecx, ecx
je 0x10115bb5
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov edi, eax
test eax, eax
jne 0x10115bb7
mov ecx, dword [esi + 0xcc]
test ecx, ecx
jne 0x10115b97
jmp 0x10115bb7
xor edi, edi
test byte [esi + 0x1d], 4
jne 0x10115bcb
push dword [esi + 0x16c]
call sym.nss3.dll_PR_ExitMonitor
add esp, 4
test edi, edi
js 0x10115cbd
cmp dword [ebp - 0x10], 0
je 0x10115d0a
mov eax, dword [esi + 0x1c]
bt eax, 0xa
jb 0x10115bf7
push dword [esi + 0x16c]
call sym.nss3.dll_PR_EnterMonitor
add esp, 4
mov eax, dword [esi + 0x1c]
bt eax, 0xa
jb 0x10115c0b
push dword [esi + 0x164]
call sym.nss3.dll_PR_EnterMonitor
add esp, 4
mov eax, dword [esi + 0x1a4]
mov edi, dword [esi + 0x1a8]
sub edi, eax
je 0x10115c59
cmp edi, dword [ebp - 0x10]
jle 0x10115d11
cmp dword [esi + 0x9f8], 1
jne 0x10115d11
add edi, eax
mov dword [esi + 0x1a4], edi
push 0
push 0xffffd085
call sym.nss3.dll_PR_SetError
add esp, 8
xor edi, edi
dec edi
jmp 0x10115d50
cmp dword [esi + 0x190], 0
jne 0x10115ca0
push 0
push esi
call fcn.1010ed00
add esp, 8
test eax, eax
jg 0x10115c50
mov edi, eax
test eax, eax
je 0x10115d4e
cmp dword [0x101de200], 0
je 0x10115dec
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x10115dbd
cmp dword [eax + 0x28], 0xffffe892
jne 0x10115d50
mov eax, dword [esi + 0x1a4]
mov edi, dword [esi + 0x1a8]
sub edi, eax
jne 0x10115c1b
push 0
push 0xffffe892
jmp 0x10115c40
cmp dword [0x101de200], 0
je 0x10115dd8
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x10115d87
cmp dword [eax + 0x28], 0xffffe892
jne 0x10115a6b
mov eax, dword [ebp - 0x18]
cmp dword [eax], eax
je 0x10115a6b
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push esi
call fcn.10126130
add esp, 0x18
jmp 0x10115a70
xor edi, edi
jmp 0x10115a6b
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
cmovg edi, ecx
add eax, dword [esi + 0x18c]
push edi
push eax
push dword [ebp - 0x14]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
test bl, 2
jne 0x10115d50
add dword [esi + 0x1a4], edi
jmp 0x10115d50
xor edi, edi
dec edi
test byte [esi + 0x1d], 4
jne 0x10115a6b
push dword [esi + 0x168]
jmp 0x10115d7a
xor edi, edi
mov eax, dword [esi + 0x1c]
bt eax, 0xa
jb 0x10115d6a
push dword [esi + 0x164]
call sym.nss3.dll_PR_ExitMonitor
add esp, 4
mov eax, dword [esi + 0x1c]
bt eax, 0xa
jb 0x10115a6b
push dword [esi + 0x16c]
call sym.nss3.dll_PR_ExitMonitor
add esp, 4
jmp 0x10115a6b
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
jmp 0x10115cde
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
jmp 0x10115b1c
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
jmp 0x10115c93
call fcn.100745e0
jmp 0x10115cca
call fcn.100745e0
jmp 0x10115b08
call fcn.100745e0
jmp 0x10115c7f