Function at 0x10096d90
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x64
mov esi, edx
mov ebx, ecx
mov eax, dword [0x101f1014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 0x14]
mov eax, dword [eax + 0x3c]
test edx, edx
jne 0x10096db8
mov esi, dword [ebx + 0x24]
test esi, esi
je 0x10096ddb
cmp dword [esi + 4], 0
je 0x10096ddb
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x10]
test eax, eax
mov ecx, 0x10
cmovne ecx, eax
cmp ecx, 0x11
mov dword [ebp - 0x58], ecx
jae 0x10096e08
lea edi, [ebp - 0x50]
jmp 0x10096e24
mov esi, 0xb3
mov ebx, dword [ebp + 0x14]
push esi
call fcn.10094a30
add esp, 4
push 0x26
call fcn.10094a30
add esp, 4
xor edi, edi
test ebx, ebx
je 0x10096ed6
xor eax, eax
dec eax
jmp 0x10096ed4
lea eax, [ecx*4]
push eax
push 0
call fcn.10094240
add esp, 8
mov edi, eax
test eax, eax
je 0x10096fc0
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x5c], esi
mov esi, dword [esi]
test esi, esi
je 0x10096e53
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x100970bc
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [esi + 8], ebx
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x6a]
mov ebx, dword [ebp - 0x5c]
mov esi, dword [ebx + 4]
call dword [section..00cfg]
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call ecx
add esp, 0xc
test eax, eax
je 0x10096eea
mov esi, eax
mov eax, dword [ebx]
test eax, eax
je 0x10096e86
push eax
call sym.nss3.dll_PR_Unlock
add esp, 4
mov ebx, dword [ebp + 0x14]
lea eax, [ebp - 0x50]
cmp edi, eax
je 0x10096e99
push edi
call fcn.10094350
add esp, 4
lea eax, [esi - 0x12]
cmp eax, 0xf
ja 0x10096eab
mov ecx, 0xc003
bt ecx, eax
jb 0x10096ebf
lea eax, [esi - 0xd0]
cmp eax, 2
jb 0x10096ebf
cmp esi, 0x54
jne 0x10096de3
push 0x1b
call fcn.10094a30
add esp, 4
xor eax, eax
mov edi, 0
test ebx, ebx
je 0x10096ed6
mov dword [ebx], eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10157a00
mov eax, edi
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
mov esi, dword [ebp - 0x58]
mov edx, edi
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x6e]
mov edi, esi
sub esi, ebx
mov dword [ebp - 0x58], edx
lea eax, [edx + ebx*4]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x64], eax
call dword [section..00cfg]
lea eax, [ebp - 0x54]
push eax
push esi
push dword [ebp - 0x68]
push dword [ebp - 0x64]
call ecx
add esp, 0x10
test eax, eax
jne 0x10096fca
mov ecx, dword [ebp - 0x54]
lea eax, [ecx + ebx]
cmp dword [ebp + 0x10], 0
jne 0x10096fe9
mov esi, edi
cmp eax, edi
jb 0x10096fe9
mov ebx, eax
lea eax, [esi*8]
mov ecx, dword [ebp - 0x58]
lea edx, [ebp - 0x50]
cmp ecx, edx
je 0x10096f66
push eax
push ecx
call fcn.10094750
add esp, 8
mov edx, eax
jmp 0x10096f96
push eax
push 0
call fcn.10094240
add esp, 8
test eax, eax
je 0x10096fa0
mov edx, eax
movups xmm0, xmmword [ebp - 0x20]
movups xmmword [eax + 0x30], xmm0
movups xmm0, xmmword [ebp - 0x30]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x50]
movups xmm1, xmmword [ebp - 0x40]
movups xmmword [eax + 0x10], xmm1
movups xmmword [eax], xmm0
add esi, esi
test edx, edx
jne 0x10096ef1
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
mov esi, 2
test eax, eax
je 0x10096de0
push eax
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp 0x10096de0
mov esi, 2
jmp 0x10096de0
mov esi, eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
test eax, eax
je 0x10096fde
push eax
call sym.nss3.dll_PR_Unlock
add esp, 4
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp - 0x58]
jmp 0x10096e89
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], ebx
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x72]
mov edi, dword [ebp - 0x5c]
mov esi, dword [edi + 4]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov esi, eax
mov eax, dword [edi]
test eax, eax
mov edi, dword [ebp - 0x58]
je 0x1009701e
push eax
call sym.nss3.dll_PR_Unlock
add esp, 4
test esi, esi
jne 0x10096e86
mov esi, dword [ebp - 0x68]
test esi, esi
je 0x10097073
lea eax, [esi*4 + 4]
push eax
push 0
call fcn.10094240
add esp, 8
test eax, eax
je 0x1009709d
mov edi, eax
test esi, esi
jle 0x1009709f
mov ebx, dword [ebp - 0x6c]
add ebx, dword [ebp - 0x64]
xor esi, esi
mov eax, dword [ebp - 0x58]
push dword [eax + esi*4]
push dword [ebp - 0x5c]
push dword [ebp - 0x70]
call fcn.10098770
add esp, 0xc
mov dword [edi + esi*4], eax
test eax, eax
je 0x1009707c
inc esi
cmp ebx, esi
jne 0x10097051
jmp 0x1009709f
push 0x1b
call fcn.10094a30
jmp 0x1009709a
cmp esi, 2
jb 0x10097094
inc esi
push dword [edi + esi*4 - 8]
call fcn.10098840
add esp, 4
dec esi
cmp esi, 2
jg 0x10097082
push edi
call fcn.10094350
add esp, 4
xor edi, edi
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x50]
cmp eax, ecx
je 0x100970b5
push eax
call fcn.10094350
add esp, 4
xor eax, eax
jmp 0x10096ed0
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov ebx, eax
jmp 0x10096e46