Function at 0x10127710
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 [0x101ef014]
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 0x10127759
cmp ecx, 0xc
jne 0x101278e3
lea ecx, [esp + 0x38]
push eax
push ecx
call sym.nss3.dll_DER_GeneralizedTimeToTime_Util
jmp 0x10127764
lea ecx, [esp + 0x38]
push eax
push ecx
call sym.nss3.dll_DER_UTCTimeToTime_Util
add esp, 8
test eax, eax
jne 0x101278f2
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.10128220
xor ebx, ebx
test eax, eax
jne 0x10127860
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x150]
push edi
push esi
call fcn.10128290
add esp, 8
test eax, eax
je 0x10127af3
cmp dword [0x101f2f50], 0
je 0x10127c92
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x10127c34
push 0
push dword [eax + 0x28]
call sym.nss3.dll_PR_SetError
add esp, 8
cmp dword [0x101f2f50], 0
je 0x10127c9c
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x10127c4f
mov esi, dword [eax + 0x28]
xor ebx, ebx
mov eax, 0x50
push eax
push 2
push dword [ebp + 8]
call fcn.100f2eb0
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.1010a940
add esp, 4
mov dword [esp + 0x150], 0
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x78]
mov dword [esp + 0x154], 0x101f1d34
mov dword [esp + 0x158], 9
mov eax, dword [ebx + 0x114]
mov eax, dword [eax]
test eax, eax
je 0x10127978
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 0x10127964
mov eax, dword [ebx + 0x114]
mov eax, dword [eax + edi]
add edi, 4
test eax, eax
jne 0x101278bc
jmp 0x10127978
push 0
push 0xffffe005
call sym.nss3.dll_PR_SetError
add esp, 8
cmp dword [0x101f2f50], 0
je 0x10127c6a
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x10127bc8
push 0
push dword [eax + 0x28]
call sym.nss3.dll_PR_SetError
add esp, 8
cmp dword [0x101f2f50], 0
je 0x10127c74
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x10127be3
mov esi, dword [eax + 0x28]
push 0x50
push 2
push ebx
call fcn.100f2eb0
add esp, 0xc
push 0
push esi
call sym.nss3.dll_PR_SetError
add esp, 8
xor edi, edi
dec edi
jmp 0x10127adb
cmp dword [ebx + 0x138], 0
je 0x10127978
xor edi, edi
test byte [ebx + 0x130], 0x80
jne 0x101279a5
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.100f2eb0
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 0x101279d8
cmp ecx, 0xc
jne 0x10127a59
lea ecx, [esp + 0x150]
push eax
push ecx
call sym.nss3.dll_DER_GeneralizedTimeToTime_Util
jmp 0x101279e6
lea ecx, [esp + 0x150]
push eax
push ecx
call sym.nss3.dll_DER_UTCTimeToTime_Util
add esp, 8
test eax, eax
jne 0x10127a68
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.10115610
add esp, 4
cmp ebx, eax
mov ecx, esi
sbb ecx, edx
jl 0x10127b46
test esi, esi
js 0x10127b46
sub ebx, eax
sbb esi, edx
xor eax, eax
cmp ebx, 0xd0e3a001
sbb esi, 0x8c
jl 0x10127ad9
push 0
push 0xffffd0ba
call sym.nss3.dll_PR_SetError
add esp, 8
mov esi, 0xffffd0ba
jmp 0x10127b5a
push 0
push 0xffffe005
call sym.nss3.dll_PR_SetError
add esp, 8
cmp dword [0x101f2f50], 0
je 0x10127c7e
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x10127bfe
push 0
push dword [eax + 0x28]
call sym.nss3.dll_PR_SetError
add esp, 8
cmp dword [0x101f2f50], 0
je 0x10127c88
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x10127c19
mov esi, dword [eax + 0x28]
mov eax, 0x50
push eax
push 2
push ebx
call fcn.100f2eb0
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.10156ff0
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
add esi, 0xd4
mov ecx, esi
call fcn.1008d0f0
test eax, eax
je 0x10127b67
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.100f34a0
add esp, 0x14
test eax, eax
je 0x10127b82
push 0
push 0xffffd0b7
call sym.nss3.dll_PR_SetError
add esp, 8
mov esi, 0xffffd0b7
mov eax, 0x2f
jmp 0x10127847
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 0x10127abf
push 0
push 0xffffd043
call sym.nss3.dll_PR_SetError
add esp, 8
xor ebx, ebx
mov esi, 0xffffd043
jmp 0x10127842
mov eax, dword [esi + 0x14]
cmp dword [eax + 8], 0
je 0x10127bb2
add eax, 4
push eax
call sym.nss3.dll_SECOID_FindOIDTag
add esp, 4
cmp eax, 0x10
jne 0x10127bb2
push 0
push 0xffffd080
call sym.nss3.dll_PR_SetError
add esp, 8
mov esi, 0xffffd080
jmp 0x10127b3c
push ebx
call sym.nss3.dll_SECKEY_DestroyPublicKey
add esp, 4
mov dword [esp + 0xc], 0
jmp 0x10127870
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
jmp 0x10127913
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
jmp 0x10127941
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
jmp 0x10127a89
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
jmp 0x10127ab7
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
jmp 0x1012780f
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
jmp 0x1012783d
call fcn.100029d0
jmp 0x101278ff
call fcn.100029d0
jmp 0x1012792d
call fcn.100029d0
jmp 0x10127a75
call fcn.100029d0
jmp 0x10127aa3
call fcn.100029d0
jmp 0x101277fb
call fcn.100029d0
jmp 0x10127829