Function at 0x100a7c90
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 [0x101ef014]
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.0x100a7cf2
lea ecx, [eax - 0x104]
cmp ecx, 6
ja case.default.0x100a7ccc
mov dword [ebp - 0x18], edx
jmp dword [ecx*4 + 0x101bb170]
cmp dword [esi + 0x18], 0
mov eax, dword [esi + 0xc]
je 0x100a7ddc
cmp dword [eax + 0x30], 0
je 0x100a7ddc
mov edi, dword [esi + 0x14]
jmp 0x100a7ddf
jmp dword [ecx*4 + 0x101bb154]
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov ecx, esi
push 0
push 2
push dword [eax + 0x122]
jmp 0x100a7d70
cmp eax, 0x81000000
jne case.0x100a7cf2.2113928954
cmp dword [esi + 0x18], 0
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x18], edx
je 0x100a7f13
cmp dword [eax + 0x30], 0
je 0x100a7f13
mov edi, dword [esi + 0x14]
jmp 0x100a7f16
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov ecx, esi
push 0
push 4
push dword [eax + 0x136]
jmp 0x100a7d70
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov ecx, esi
push 0x54
push 8
push dword [eax + 0x14a]
jmp 0x100a7d70
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov ecx, esi
push 0x54
push 0x10
push dword [eax + 0x15e]
call fcn.100a9820
add esp, 0xc
mov ebx, eax
jmp 0x100a7fc9
cmp dword [esi + 0x18], 0
mov eax, dword [esi + 0xc]
je 0x100a7e20
cmp dword [eax + 0x30], 0
je 0x100a7e20
mov edi, dword [esi + 0x14]
jmp 0x100a7e23
cmp dword [esi + 0x18], 0
mov eax, dword [esi + 0xc]
je 0x100a7ea1
cmp dword [eax + 0x30], 0
je 0x100a7ea1
mov edi, dword [esi + 0x14]
jmp 0x100a7ea4
cmp dword [esi + 0x18], 0
mov eax, dword [esi + 0xc]
je 0x100a7eda
cmp dword [eax + 0x30], 0
je 0x100a7eda
mov edi, dword [esi + 0x14]
jmp 0x100a7edd
mov edi, dword [eax + 0x3c]
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x100a80d4
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 0x100a7fa3
mov edi, dword [eax + 0x3c]
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x100a80f1
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], ebx
cmp dword [esi + 0x34], 0
je 0x100a7f87
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 0x100a7f67
mov ebx, eax
cmp dword [esi + 0x18], 0
mov eax, dword [esi + 0xc]
je 0x100a7f58
cmp dword [eax + 0x30], 0
je 0x100a7f58
add esi, 0x14
mov eax, esi
jmp 0x100a7f5b
mov edi, dword [eax + 0x3c]
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x100a810e
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 0x100a7f95
mov edi, dword [eax + 0x3c]
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x100a812b
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 0x100a7f95
mov edi, dword [eax + 0x3c]
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x100a8148
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 0x100a7fa8
add eax, 0x3c
push dword [eax]
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp case.0x100a7cf2.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 0x100a7fbe
cmp dword [eax + 0x30], 0
je 0x100a7fbe
push dword [esi + 0x14]
jmp 0x100a7fc1
push dword [eax + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
test ebx, ebx
je 0x100a7ff8
push ebx
call fcn.100a9930
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.10156ff0
mov eax, edi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [esi + 0x38], 0
je 0x100a8010
push dword [esi + 0x3c]
push dword [esi + 0xc]
call sym.nss3.dll_PK11_DoesMechanism
add esp, 8
test eax, eax
je 0x100a8077
xor edi, edi
cmp dword [esi + 0x18], 0
jne 0x100a7fe4
mov eax, dword [esi + 0xc]
mov ebx, dword [eax + 0x3c]
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x100a80b7
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.100a71c0
add esp, 4
mov dword [esi + 0x20], eax
xor edi, edi
cmp eax, 1
sbb edi, edi
mov ecx, esi
call fcn.100a79b0
cmp dword [esi + 0x18], 0
mov eax, dword [esi + 0xc]
je 0x100a80a0
cmp dword [eax + 0x30], 0
je 0x100a80a0
push dword [esi + 0x14]
jmp 0x100a80a3
cmp dword [esi + 0x3c], 0x4021
jne 0x100a80b0
push 0xce53436c
push dword [esi + 0xc]
call sym.nss3.dll_PK11_DoesMechanism
add esp, 8
test eax, eax
je 0x100a80b0
mov dword [esi + 0x3c], 0xce53436c
jmp 0x100a8010
push dword [eax + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp 0x100a7fe4
push 0x70
jmp 0x100a7fce
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov edi, eax
jmp 0x100a8034
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov ebx, eax
jmp 0x100a7df5
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov ebx, eax
jmp 0x100a7e39
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov ebx, eax
jmp 0x100a7eba
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov ebx, eax
jmp 0x100a7ef3
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov ebx, eax
jmp 0x100a7f2c