Function at 0x100f6fa0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov esi, dword [ebp + 8]
mov eax, dword [0x101db014]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor edi, edi
dec edi
test esi, esi
je 0x100f7305
mov ebx, dword [esi + 0x5c]
test ebx, ebx
je 0x100f7019
lea ecx, [ebx + 0xd4]
call fcn.10094ac0
mov dword [ebp - 0x28], eax
test eax, eax
je 0x100f7023
lea eax, [esi + 0x14]
push eax
call sym.nss3.dll_SECOID_FindOID_Util
add esp, 4
xor ecx, ecx
test eax, eax
je case.0x100f7012.197
mov ecx, dword [eax + 0xc]
cmp ecx, 0xc1
jle 0x100f702d
cmp ecx, 0x115
jg 0x100f7043
lea eax, [ecx - 0xc2]
cmp eax, 7
ja case.0x100f7012.197
jmp dword [eax*4 + 0x101afdfc]
mov ebx, 4
jmp 0x100f72f3
mov ebx, 9
jmp 0x100f72f3
cmp ecx, 0x13
jg 0x100f7062
cmp ecx, 0x11
je 0x100f7081
cmp ecx, 0x13
jne case.0x100f7012.197
mov eax, 3
jmp 0x100f7084
cmp ecx, 0x116
je case.0x100f7012.194
cmp ecx, 0x117
je case.0x100f7012.195
cmp ecx, 0x118
jne case.0x100f7012.197
mov eax, 0xc1
jmp 0x100f7084
cmp ecx, 0x14
je case.0x100f7012.201
cmp ecx, 0x7d
jne case.0x100f7012.197
mov eax, 4
jmp 0x100f7084
mov eax, 0xc0
jmp 0x100f7084
mov eax, 0xbf
jmp 0x100f7084
xor eax, eax
inc eax
cmp eax, ecx
je case.0x100f7012.197
push eax
call sym.nss3.dll_SECOID_FindOIDByTag_Util
add esp, 4
mov ecx, 0
test eax, eax
je case.0x100f7012.197
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x2c], ecx
add ebx, 0xd8
push ebx
call sym.nss3.dll_SECOID_GetAlgorithmTag_Util
add esp, 4
mov esi, eax
mov eax, dword [ebp + 8]
add eax, 0x30
mov dword [ebp - 0x30], eax
push eax
call sym.nss3.dll_SECOID_GetAlgorithmTag_Util
mov edx, dword [ebp - 0x2c]
add esp, 4
mov ebx, 6
test edx, edx
je 0x100f72e5
test esi, esi
je 0x100f72e5
mov ecx, eax
test eax, eax
je 0x100f72e5
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x100f7213
cmp dword [eax], 0
je 0x100f7213
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, 0x2c
mov dword [ebp - 0x24], ecx
test edx, edx
mov dword [ebp - 0x34], esi
je 0x100f714b
mov esi, edx
push 1
push 0x21
push eax
call fcn.100f2c80
add esp, 0xc
mov ebx, 8
test eax, eax
je 0x100f72e5
push esi
push eax
call fcn.100f2c30
add esp, 8
test eax, eax
je 0x100f72e5
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov ebx, dword [ebp + 0xc]
push 1
push 0x22
push eax
call fcn.100f2c80
add esp, 0xc
test eax, eax
je 0x100f72e0
mov ecx, ebx
mov ebx, 3
test ecx, ecx
je 0x100f72e5
push ecx
push eax
call fcn.100f2c30
add esp, 8
test eax, eax
je 0x100f72e5
push 0x400
call sym.nss3.dll_PORT_NewArena_Util
add esp, 4
mov ebx, 9
test eax, eax
je 0x100f72e5
xor edx, edx
lea ecx, [ebp - 0x1c]
mov dword [ecx + 4], edx
mov dword [ecx + 8], edx
push 0x101afc64
push dword [ebp - 0x24]
push ecx
mov dword [ebp - 0x24], eax
push eax
call sym.nss3.dll_SEC_ASN1EncodeItem_Util
add esp, 0x10
test eax, eax
je 0x100f7319
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100f7319
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x100f7319
mov edi, dword [ebp + 8]
lea edx, [edi + 0x48]
mov edi, dword [edi + 0x58]
mov edi, dword [edi + 0x58]
mov esi, dword [ebp - 0x34]
cmp dword [ebp - 0x38], esi
jne 0x100f7328
push edi
push 0
push dword [ebp - 0x2c]
push esi
push edx
push dword [ebp - 0x28]
push ecx
push eax
call fcn.10098280
add esp, 0x20
test eax, eax
jne 0x100f737e
jmp 0x100f734a
mov eax, dword [ebp + 8]
cmp dword [eax + 0x50], 0
je 0x100f7244
add eax, 0x48
cmp ecx, esi
jne 0x100f724b
test ebx, ebx
je 0x100f7271
mov ecx, dword [ebp + 8]
mov edi, dword [ecx + 0x58]
mov ecx, ebx
mov ebx, edx
mov edx, dword [ebp - 0x28]
push dword [edi + 0x58]
push ebx
push esi
push eax
call fcn.10098080
add esp, 0x10
jmp 0x100f7269
xor ebx, ebx
jmp 0x100f72e5
test ebx, ebx
je 0x100f7271
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x58]
push dword [ecx + 0x58]
push edx
push dword [ebp - 0x30]
push eax
push dword [ebp - 0x28]
push ebx
call fcn.100981f0
add esp, 0x18
test eax, eax
je 0x100f7357
cmp dword [0x101de200], 0
je 0x100f73ab
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100f7390
mov eax, dword [eax + 0x28]
xor edi, edi
dec edi
cmp eax, 0xffffe006
je 0x100f72ca
cmp eax, 0xffffe02e
je 0x100f72ca
mov esi, 2
cmp eax, 0xffffe00a
jne 0x100f735c
push 0
push 0xffffe02f
call sym.nss3.dll_PR_SetError
add esp, 8
jmp 0x100f735c
push 0
push 0xffffe02f
call sym.nss3.dll_PR_SetError
add esp, 8
mov esi, 7
jmp 0x100f735c
mov ebx, 8
push dword [ebp - 0x28]
call sym.nss3.dll_SECKEY_DestroyPublicKey
add esp, 4
mov esi, dword [ebp + 8]
mov dword [esi + 0x70], ebx
push 0
push 0xffffe02f
call sym.nss3.dll_PR_SetError
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014dc80
mov eax, edi
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
push 0
push dword [ebp - 0x24]
call sym.nss3.dll_PORT_FreeArena_Util
add esp, 8
jmp 0x100f72e5
lea ebx, [ebp - 0x20]
push edi
push ebx
push dword [ebp - 0x30]
push edx
push dword [ebp - 0x28]
push ecx
push eax
call sym.nss3.dll_VFY_VerifyDataWithAlgorithmID
add esp, 0x1c
test eax, eax
jne 0x100f737e
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x20], eax
jne 0x100f736f
push 0
push dword [ebp - 0x24]
call sym.nss3.dll_PORT_FreeArena_Util
add esp, 8
xor esi, esi
inc esi
xor edi, edi
push dword [ebp - 0x28]
call sym.nss3.dll_SECKEY_DestroyPublicKey
add esp, 4
mov eax, dword [ebp + 8]
mov dword [eax + 0x70], esi
jmp 0x100f7305
push 0
push 0xffffe00a
call sym.nss3.dll_PR_SetError
add esp, 8
push 0
push dword [ebp - 0x24]
call sym.nss3.dll_PORT_FreeArena_Util
add esp, 8
jmp 0x100f7271
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
jmp 0x100f7292
call fcn.100745e0
jmp 0x100f727e