Function at 0x100f0bb0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov esi, dword [ebp + 8]
mov eax, dword [0x101f1014]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor edi, edi
dec edi
test esi, esi
je 0x100f0f29
mov ebx, dword [esi + 0x5c]
test ebx, ebx
je 0x100f0c2e
lea ecx, [ebx + 0xd4]
call fcn.1008e690
mov dword [ebp - 0x28], eax
test eax, eax
je 0x100f0c38
lea eax, [esi + 0x14]
push eax
call sym.nss3.dll_SECOID_FindOID_Util
add esp, 4
xor ecx, ecx
mov esi, 0
test eax, eax
je case.0x100f0c27.197
mov esi, dword [eax + 0xc]
cmp esi, 0xc1
jle 0x100f0c42
cmp esi, 0x115
jg 0x100f0c58
lea eax, [esi - 0xc2]
cmp eax, 7
ja case.0x100f0c27.197
jmp dword [eax*4 + 0x101c5510]
mov ebx, 4
jmp 0x100f0f17
mov ebx, 9
jmp 0x100f0f17
cmp esi, 0x13
jg 0x100f0c77
cmp esi, 0x11
je 0x100f0c96
cmp esi, 0x13
jne case.0x100f0c27.197
mov eax, 3
jmp 0x100f0c99
cmp esi, 0x116
je case.0x100f0c27.194
cmp esi, 0x117
je case.0x100f0c27.195
cmp esi, 0x118
jne case.0x100f0c27.197
mov eax, 0xc1
jmp 0x100f0c99
cmp esi, 0x14
je case.0x100f0c27.201
cmp esi, 0x7d
jne case.0x100f0c27.197
mov eax, 4
jmp 0x100f0c99
mov eax, 0xc0
jmp 0x100f0c99
mov eax, 0xbf
jmp 0x100f0c99
xor eax, eax
inc eax
cmp eax, esi
je case.0x100f0c27.197
push eax
call sym.nss3.dll_SECOID_FindOIDByTag_Util
xor ecx, ecx
add esp, 4
mov esi, 0
test eax, eax
je case.0x100f0c27.197
mov esi, dword [eax + 0xc]
cmp dword [ebx + 0xdc], 0
je 0x100f0cce
add ebx, 0xd8
push ebx
call sym.nss3.dll_SECOID_FindOIDTag
add esp, 4
mov ecx, eax
mov ebx, 6
mov eax, dword [ebp + 8]
cmp dword [eax + 0x34], 0
je 0x100f0f09
add eax, 0x30
mov dword [ebp - 0x2c], eax
push eax
mov dword [ebp - 0x30], ecx
call sym.nss3.dll_SECOID_FindOIDTag
mov edx, dword [ebp - 0x30]
add esp, 4
test edx, edx
je 0x100f0f09
test esi, esi
je 0x100f0f09
mov ecx, eax
test eax, eax
je 0x100f0f09
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x100f0e37
cmp dword [eax], 0
je 0x100f0e37
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp + 8]
add ecx, 0x2c
mov dword [ebp - 0x24], ecx
cmp dword [ebp + 0x10], 0
je 0x100f0d71
push 1
push 0x21
push eax
call fcn.100ec8b0
add esp, 0xc
mov ebx, 8
test eax, eax
je 0x100f0f09
push dword [ebp + 0x10]
push eax
call fcn.100ec860
add esp, 8
test eax, eax
je 0x100f0f09
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov ebx, dword [ebp + 0xc]
push 1
push 0x22
push eax
call fcn.100ec8b0
add esp, 0xc
test eax, eax
je 0x100f0f04
mov ecx, ebx
mov ebx, 3
test ecx, ecx
je 0x100f0f09
push ecx
push eax
call fcn.100ec860
add esp, 8
test eax, eax
je 0x100f0f09
push 0x400
call sym.nss3.dll_PORT_NewArena_Util
add esp, 4
mov ebx, 9
test eax, eax
je 0x100f0f09
xor edx, edx
lea ecx, [ebp - 0x1c]
mov dword [ecx + 4], edx
mov dword [ecx + 8], edx
push 0x101c5378
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 0x100f0f3d
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x100f0f3d
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x100f0f3d
mov edi, dword [ebp + 8]
lea eax, [edi + 0x48]
mov edi, dword [edi + 0x58]
mov edi, dword [edi + 0x58]
mov ebx, dword [ebp - 0x30]
cmp dword [ebp - 0x34], ebx
jne 0x100f0f4c
push edi
xor edi, edi
push edi
push edi
push esi
push ebx
push eax
push dword [ebp - 0x28]
call fcn.10092230
add esp, 0x1c
test eax, eax
jne 0x100f0f9f
jmp 0x100f0f6b
mov eax, dword [ebp + 8]
cmp dword [eax + 0x50], 0
je 0x100f0e68
add eax, 0x48
cmp ecx, edx
jne 0x100f0e6f
test ebx, ebx
je 0x100f0e95
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 esi
push ebx
push eax
call fcn.10091fc0
add esp, 0x10
jmp 0x100f0e8d
xor ebx, ebx
jmp 0x100f0f09
test ebx, ebx
je 0x100f0e95
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x58]
push dword [ecx + 0x58]
push esi
push dword [ebp - 0x2c]
push eax
push dword [ebp - 0x28]
push ebx
call fcn.10092180
add esp, 0x18
test eax, eax
je 0x100f0f78
cmp dword [0x101f4f80], 0
je 0x100f0fcc
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100f0fb1
mov eax, dword [eax + 0x28]
xor edi, edi
dec edi
cmp eax, 0xffffe006
je 0x100f0eee
cmp eax, 0xffffe02e
je 0x100f0eee
mov esi, 2
cmp eax, 0xffffe00a
jne 0x100f0f7d
push 0
push 0xffffe02f
call sym.nss3.dll_PR_SetError
add esp, 8
jmp 0x100f0f7d
push 0
push 0xffffe02f
call sym.nss3.dll_PR_SetError
add esp, 8
mov esi, 7
jmp 0x100f0f7d
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.10157a00
mov eax, edi
add esp, 0x28
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 0x100f0f09
lea ebx, [ebp - 0x20]
push edi
push ebx
push dword [ebp - 0x2c]
push eax
push dword [ebp - 0x28]
push edx
push ecx
call sym.nss3.dll_VFY_VerifyDataWithAlgorithmID
add esp, 0x1c
test eax, eax
jne 0x100f0f9f
cmp dword [ebp - 0x20], esi
jne 0x100f0f90
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 0x100f0f29
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 0x100f0e95
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
jmp 0x100f0eb6
call fcn.1001b2e0
jmp 0x100f0ea2