Function at 0x10128cd0
Capabilities:
Get thread local storage value
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1a0
mov ebx, dword [ebp + 8]
mov eax, dword [0x101f1014]
xor eax, ebp
mov dword [esp + 0x198], eax
mov eax, dword [ebx + 0x78]
mov ecx, dword [eax + 0xb4]
add eax, 0xb4
cmp ecx, 0xb
je 0x10128d19
cmp ecx, 0xc
jne 0x10128ea3
lea ecx, [esp + 0x38]
push eax
push ecx
call sym.nss3.dll_DER_GeneralizedTimeToTime_Util
jmp 0x10128d24
lea ecx, [esp + 0x38]
push eax
push ecx
call sym.nss3.dll_DER_UTCTimeToTime_Util
add esp, 8
test eax, eax
jne 0x10128eb2
mov edi, dword [ebp + 0xc]
mov eax, dword [esp + 0x3c]
imul ecx, dword [edi], 0xf4240
add ecx, dword [esp + 0x38]
adc eax, 0
lea esi, [esp + 0x10]
push esi
push sym.nss3.dll_PR_GMTParameters
push eax
push ecx
call sym.nss3.dll_PR_ExplodeTime
add esp, 0x10
lea eax, [esp + 0x50]
push esi
push str._a__b__d__H:_M:_S__Y
push 0x100
push eax
call sym.nss3.dll_PR_FormatTime
add esp, 0x10
xorps xmm0, xmm0
lea ecx, [esp + 0x40]
movaps xmmword [ecx], xmm0
mov esi, dword [ebx + 0x78]
mov edx, edi
mov edi, ecx
call fcn.101297e0
xor ebx, ebx
test eax, eax
jne 0x10128e20
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x150]
push edi
push esi
call fcn.10129850
add esp, 8
test eax, eax
je 0x101290b3
cmp dword [0x101f4f80], 0
je 0x10129252
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x101291f4
push 0
push dword [eax + 0x28]
call sym.nss3.dll_PR_SetError
add esp, 8
cmp dword [0x101f4f80], 0
je 0x1012925c
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x1012920f
mov esi, dword [eax + 0x28]
xor ebx, ebx
mov eax, 0x50
push eax
push 2
push dword [ebp + 8]
call fcn.100f4470
add esp, 0xc
push 0
push esi
call sym.nss3.dll_PR_SetError
add esp, 8
push ebx
call sym.nss3.dll_SECKEY_DestroyPublicKey
add esp, 4
xor eax, eax
dec eax
mov dword [esp + 0xc], eax
push edi
call fcn.1010bf00
add esp, 4
mov dword [esp + 0x150], 0
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x78]
mov dword [esp + 0x154], 0x101f3d5c
mov dword [esp + 0x158], 9
mov eax, dword [ebx + 0x114]
mov eax, dword [eax]
test eax, eax
je 0x10128f38
mov edi, 4
lea esi, [esp + 0x150]
push esi
push eax
call sym.nss3.dll_SECITEM_CompareItem_Util
add esp, 8
test eax, eax
je 0x10128f24
mov eax, dword [ebx + 0x114]
mov eax, dword [eax + edi]
add edi, 4
test eax, eax
jne 0x10128e7c
jmp 0x10128f38
push 0
push 0xffffe005
call sym.nss3.dll_PR_SetError
add esp, 8
cmp dword [0x101f4f80], 0
je 0x1012922a
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x10129188
push 0
push dword [eax + 0x28]
call sym.nss3.dll_PR_SetError
add esp, 8
cmp dword [0x101f4f80], 0
je 0x10129234
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x101291a3
mov esi, dword [eax + 0x28]
push 0x50
push 2
push ebx
call fcn.100f4470
add esp, 0xc
push 0
push esi
call sym.nss3.dll_PR_SetError
add esp, 8
xor edi, edi
dec edi
jmp 0x1012909b
cmp dword [ebx + 0x138], 0
je 0x10128f38
xor edi, edi
test byte [ebx + 0x130], 0x80
jne 0x10128f65
xor esi, esi
mov edi, 0xffffd0b8
push esi
push edi
call sym.nss3.dll_PR_SetError
add esp, 8
push 0x2f
push 2
push dword [ebp + 8]
call fcn.100f4470
add esp, 0xc
push esi
push edi
call sym.nss3.dll_PR_SetError
add esp, 8
xor edi, edi
dec edi
or edi, dword [esp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x78]
mov ecx, dword [eax + 0xb4]
add eax, 0xb4
cmp ecx, 0xb
je 0x10128f98
cmp ecx, 0xc
jne 0x10129019
lea ecx, [esp + 0x150]
push eax
push ecx
call sym.nss3.dll_DER_GeneralizedTimeToTime_Util
jmp 0x10128fa6
lea ecx, [esp + 0x150]
push eax
push ecx
call sym.nss3.dll_DER_UTCTimeToTime_Util
add esp, 8
test eax, eax
jne 0x10129028
mov eax, 0xf4240
mov ecx, dword [ebp + 0xc]
mul dword [ecx]
mov esi, edx
mov ecx, ebx
mov ebx, eax
add ebx, dword [esp + 0x150]
adc esi, dword [esp + 0x154]
push ecx
call fcn.10116bd0
add esp, 4
cmp ebx, eax
mov ecx, esi
sbb ecx, edx
jl 0x10129106
test esi, esi
js 0x10129106
sub ebx, eax
sbb esi, edx
xor eax, eax
cmp ebx, 0xd0e3a001
sbb esi, 0x8c
jl 0x10129099
push 0
push 0xffffd0ba
call sym.nss3.dll_PR_SetError
add esp, 8
mov esi, 0xffffd0ba
jmp 0x1012911a
push 0
push 0xffffe005
call sym.nss3.dll_PR_SetError
add esp, 8
cmp dword [0x101f4f80], 0
je 0x1012923e
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x101291be
push 0
push dword [eax + 0x28]
call sym.nss3.dll_PR_SetError
add esp, 8
cmp dword [0x101f4f80], 0
je 0x10129248
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x101291d9
mov esi, dword [eax + 0x28]
mov eax, 0x50
push eax
push 2
push ebx
call fcn.100f4470
add esp, 0xc
push 0
push esi
call sym.nss3.dll_PR_SetError
add esp, 8
xor eax, eax
dec eax
or edi, eax
mov ecx, dword [esp + 0x198]
xor ecx, ebp
call fcn.10157a00
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
add esi, 0xd4
mov ecx, esi
call fcn.1008e690
test eax, eax
je 0x10129127
mov ebx, eax
mov esi, dword [ebp + 0xc]
lea eax, [esi + 0x1c]
push eax
lea eax, [esp + 0x154]
push eax
push dword [esi + 0x18]
push ebx
push dword [ebp + 8]
call fcn.100f4a60
add esp, 0x14
test eax, eax
je 0x10129142
push 0
push 0xffffd0b7
call sym.nss3.dll_PR_SetError
add esp, 8
mov esi, 0xffffd0b7
mov eax, 0x2f
jmp 0x10128e07
push 0
push 0xffffd0b9
call sym.nss3.dll_PR_SetError
add esp, 8
mov esi, 0xffffd0b9
mov eax, 0x2f
mov ebx, dword [ebp + 8]
jmp 0x1012907f
push 0
push 0xffffd043
call sym.nss3.dll_PR_SetError
add esp, 8
xor ebx, ebx
mov esi, 0xffffd043
jmp 0x10128e02
mov eax, dword [esi + 0x14]
cmp dword [eax + 8], 0
je 0x10129172
add eax, 4
push eax
call sym.nss3.dll_SECOID_FindOIDTag
add esp, 4
cmp eax, 0x10
jne 0x10129172
push 0
push 0xffffd080
call sym.nss3.dll_PR_SetError
add esp, 8
mov esi, 0xffffd080
jmp 0x101290fc
push ebx
call sym.nss3.dll_SECKEY_DestroyPublicKey
add esp, 4
mov dword [esp + 0xc], 0
jmp 0x10128e30
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
jmp 0x10128ed3
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
jmp 0x10128f01
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
jmp 0x10129049
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
jmp 0x10129077
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
jmp 0x10128dcf
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
jmp 0x10128dfd
call fcn.1001b2e0
jmp 0x10128ebf
call fcn.1001b2e0
jmp 0x10128eed
call fcn.1001b2e0
jmp 0x10129035
call fcn.1001b2e0
jmp 0x10129063
call fcn.1001b2e0
jmp 0x10128dbb
call fcn.1001b2e0
jmp 0x10128de9