Function at 0x100a9250
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, ecx
mov eax, dword [0x101f1014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ecx + 0x38], 0
mov eax, dword [ecx]
mov ebx, 0x91
lea ecx, [eax + 0x7dfffefc]
cmp ecx, 6
jbe switch.0x100a92b2
lea ecx, [eax - 0x104]
cmp ecx, 6
ja case.default.0x100a928c
mov dword [ebp - 0x18], edx
jmp dword [ecx*4 + 0x101bd350]
cmp dword [esi + 0x18], 0
mov eax, dword [esi + 0xc]
je 0x100a939c
cmp dword [eax + 0x30], 0
je 0x100a939c
mov edi, dword [esi + 0x14]
jmp 0x100a939f
jmp dword [ecx*4 + 0x101bd334]
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov ecx, esi
push 0
push 2
push dword [eax + 0x122]
jmp 0x100a9330
cmp eax, 0x81000000
jne case.0x100a92b2.2113928954
cmp dword [esi + 0x18], 0
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x18], edx
je 0x100a94d3
cmp dword [eax + 0x30], 0
je 0x100a94d3
mov edi, dword [esi + 0x14]
jmp 0x100a94d6
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov ecx, esi
push 0
push 4
push dword [eax + 0x136]
jmp 0x100a9330
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov ecx, esi
push 0x54
push 8
push dword [eax + 0x14a]
jmp 0x100a9330
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov ecx, esi
push 0x54
push 0x10
push dword [eax + 0x15e]
call fcn.100aade0
add esp, 0xc
mov ebx, eax
jmp 0x100a9589
cmp dword [esi + 0x18], 0
mov eax, dword [esi + 0xc]
je 0x100a93e0
cmp dword [eax + 0x30], 0
je 0x100a93e0
mov edi, dword [esi + 0x14]
jmp 0x100a93e3
cmp dword [esi + 0x18], 0
mov eax, dword [esi + 0xc]
je 0x100a9461
cmp dword [eax + 0x30], 0
je 0x100a9461
mov edi, dword [esi + 0x14]
jmp 0x100a9464
cmp dword [esi + 0x18], 0
mov eax, dword [esi + 0xc]
je 0x100a949a
cmp dword [eax + 0x30], 0
je 0x100a949a
mov edi, dword [esi + 0x14]
jmp 0x100a949d
mov edi, dword [eax + 0x3c]
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x100a9694
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], ebx
mov ebx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov ecx, dword [eax + 0x76]
mov edi, dword [esi + 0x10]
call dword [section..00cfg]
push ebx
push dword [ebp - 0x18]
push edi
jmp 0x100a9563
mov edi, dword [eax + 0x3c]
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x100a96b1
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], ebx
cmp dword [esi + 0x34], 0
je 0x100a9547
mov dword [ebp - 0x14], 0
mov edi, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov ecx, dword [eax + 0x76]
mov ebx, dword [esi + 0x10]
call dword [section..00cfg]
push edi
mov eax, dword [ebp - 0x18]
push eax
push ebx
call ecx
add esp, 0xc
test eax, eax
je 0x100a9527
mov ebx, eax
cmp dword [esi + 0x18], 0
mov eax, dword [esi + 0xc]
je 0x100a9518
cmp dword [eax + 0x30], 0
je 0x100a9518
add esi, 0x14
mov eax, esi
jmp 0x100a951b
mov edi, dword [eax + 0x3c]
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x100a96ce
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], ebx
mov edi, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov ecx, dword [eax + 0xaa]
jmp 0x100a9555
mov edi, dword [eax + 0x3c]
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x100a96eb
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], ebx
mov edi, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov ecx, dword [eax + 0xc2]
jmp 0x100a9555
mov edi, dword [eax + 0x3c]
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x100a9708
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], ebx
mov eax, dword [esi + 0xc]
mov edi, dword [esi + 0x10]
mov eax, dword [eax]
mov ecx, dword [eax + 0x96]
call dword [section..00cfg]
push dword [ebp - 0x18]
push edi
call ecx
add esp, 8
jmp 0x100a9568
add eax, 0x3c
push dword [eax]
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp case.0x100a92b2.2113928954
mov eax, dword [esi + 0xc]
mov edi, dword [esi + 0x10]
mov eax, dword [eax]
mov ecx, dword [eax + 0x82]
call dword [section..00cfg]
lea eax, [ebp - 0x14]
push eax
push 0
push edi
call ecx
add esp, 0xc
mov edi, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov ecx, dword [eax + 0x86]
mov ebx, dword [esi + 0x10]
call dword [section..00cfg]
push edi
push dword [ebp - 0x18]
push ebx
call ecx
add esp, 0xc
mov ebx, eax
cmp dword [esi + 0x18], 0
mov eax, dword [esi + 0xc]
je 0x100a957e
cmp dword [eax + 0x30], 0
je 0x100a957e
push dword [esi + 0x14]
jmp 0x100a9581
push dword [eax + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
test ebx, ebx
je 0x100a95b8
push ebx
call fcn.100aaef0
add esp, 4
push 0
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
xor edi, edi
dec edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10157a00
mov eax, edi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [esi + 0x38], 0
je 0x100a95d0
push dword [esi + 0x3c]
push dword [esi + 0xc]
call sym.nss3.dll_PK11_DoesMechanism
add esp, 8
test eax, eax
je 0x100a9637
xor edi, edi
cmp dword [esi + 0x18], 0
jne 0x100a95a4
mov eax, dword [esi + 0xc]
mov ebx, dword [eax + 0x3c]
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x100a9677
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], edi
lea eax, [esi + 0x24]
mov edx, dword [esi + 0x20]
mov ecx, esi
push eax
call fcn.100a8780
add esp, 4
mov dword [esi + 0x20], eax
xor edi, edi
cmp eax, 1
sbb edi, edi
mov ecx, esi
call fcn.100a8f70
cmp dword [esi + 0x18], 0
mov eax, dword [esi + 0xc]
je 0x100a9660
cmp dword [eax + 0x30], 0
je 0x100a9660
push dword [esi + 0x14]
jmp 0x100a9663
cmp dword [esi + 0x3c], 0x4021
jne 0x100a9670
push 0xce53436c
push dword [esi + 0xc]
call sym.nss3.dll_PK11_DoesMechanism
add esp, 8
test eax, eax
je 0x100a9670
mov dword [esi + 0x3c], 0xce53436c
jmp 0x100a95d0
push dword [eax + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp 0x100a95a4
push 0x70
jmp 0x100a958e
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov edi, eax
jmp 0x100a95f4
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov ebx, eax
jmp 0x100a93b5
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov ebx, eax
jmp 0x100a93f9
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov ebx, eax
jmp 0x100a947a
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov ebx, eax
jmp 0x100a94b3
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov ebx, eax
jmp 0x100a94ec