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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov eax, dword [0x101f1014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ebx, dword [0x101f5038]
test ebx, ebx
je 0x1007fc91
mov edi, edx
mov dword [ebp - 0x60], ecx
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100808e2
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], esi
test edi, edi
je 0x1007fc9a
mov eax, dword [0x101f503c]
test eax, eax
je 0x1007fc9a
mov ebx, dword [ebp + 8]
push edi
push eax
call sym.nss3.dll_PL_HashTableLookup
add esp, 8
test eax, eax
je 0x1007fcda
mov esi, eax
push dword [0x101f5038]
call sym.nss3.dll_PR_Unlock
add esp, 4
test ebx, ebx
je 0x1007fdda
push 0
push 0xffffe001
call sym.nss3.dll_PR_SetError
add esp, 8
xor eax, eax
jmp 0x1007fddd
push 0
push 0xffffe001
jmp 0x1007fcbb
xor esi, esi
mov edi, 0xffffe001
push esi
push edi
call sym.nss3.dll_PR_SetError
add esp, 8
push dword [0x101f5038]
call sym.nss3.dll_PR_Unlock
add esp, 4
push esi
push edi
call sym.nss3.dll_PR_SetError
add esp, 8
xor esi, esi
dec esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10157a00
mov eax, esi
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
push 8
call sym.nss3.dll_PORT_ZAlloc_Util
add esp, 4
test eax, eax
je 0x1007fe60
mov esi, eax
push edi
call sym.nss3.dll_SECITEM_DupItem_Util
add esp, 4
mov dword [esi], eax
cmp dword [ebp + 0x18], 0
je 0x1007fe77
test ebx, ebx
mov ebx, dword [ebp + 0x1c]
jne 0x1007fe89
mov dword [esi + 4], 0
push 0x40
call sym.nss3.dll_PORT_ZAlloc_Util
add esp, 4
test eax, eax
je 0x1007fe89
xor ecx, ecx
push ecx
push ecx
mov dword [ebp - 0x3c], eax
call fcn.100d44a0
mov edx, dword [ebp - 0x3c]
add esp, 8
mov dword [edx], eax
test eax, eax
je 0x100801e3
mov ecx, dword [ebp - 0x60]
test ecx, ecx
je 0x1007fd65
mov eax, dword [ecx + 0x11c]
mov dword [edx + 8], eax
lea eax, [ecx + 0x3c]
push eax
call sym.nss3.dll_SECITEM_DupItem_Util
mov edx, dword [ebp - 0x3c]
add esp, 4
mov dword [edx + 4], eax
push 0
call sym.nss3.dll_SECITEM_DupItem_Util
add esp, 4
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0x10], eax
push edi
call sym.nss3.dll_SECITEM_DupItem_Util
add esp, 4
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0xc], eax
xorps xmm0, xmm0
movups xmmword [ecx + 0x30], xmm0
mov dword [esi + 4], ecx
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
mov dword [ebx], 1
mov eax, dword [eax]
push dword [eax]
call fcn.100d4790
add esp, 4
mov eax, dword [0x101f503c]
test eax, eax
je 0x1008079c
push esi
push dword [esi]
push eax
call sym.nss3.dll_PL_HashTableAdd
add esp, 0xc
mov edi, eax
push dword [0x101f5038]
call sym.nss3.dll_PR_Unlock
add esp, 4
test edi, edi
mov edi, dword [ebp + 0x18]
jne 0x1007fde5
jmp 0x1007fe9a
mov eax, dword [esi + 4]
mov ebx, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x18]
mov dword [edi], eax
cmp dword [ebx], 0
jne 0x1007fdf6
mov eax, dword [edi]
push dword [eax]
call fcn.100d4620
add esp, 4
mov esi, dword [edi]
test esi, esi
je 0x1007fcc3
xor ecx, ecx
cmp dword [esi + 0x24], 1
mov eax, dword [ebx]
mov dword [ebp - 0x54], eax
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x3c], eax
mov edi, dword [esi + 0x30]
mov edx, 0
mov dword [ebp - 0x50], esi
je 0x1007ff5f
xor ecx, ecx
mov al, 1
mov dword [ebp - 0x58], eax
test byte [esi + 0x20], 2
jne 0x1007fe73
call sym.nss3.dll_PR_Now
mov ecx, eax
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1007fec7
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], ecx
mov ecx, dword [esi + 0x18]
xor edx, edx
mov esi, dword [ecx + edx*4]
test esi, esi
je 0x1007fe59
cmp dword [esi + 4], 0
je 0x1007feb7
inc edx
cmp eax, edx
jne 0x1007fe4c
jmp 0x1007febe
push dword [0x101f5038]
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp 0x1007fcc3
xor edx, edx
jmp 0x1007fec7
push 0
push 0xffffe001
call sym.nss3.dll_PR_SetError
add esp, 8
mov ebx, dword [ebp + 0x1c]
push dword [0x101f5038]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov edi, dword [ebp + 0x18]
cmp dword [ebx], 1
jne 0x1007feab
mov eax, dword [edi]
push dword [eax]
call fcn.100d4880
add esp, 4
mov ecx, esi
call fcn.1007f970
jmp 0x1007fcc3
mov dword [ebp - 0x58], 0
mov esi, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov eax, edi
or eax, dword [ebp - 0x3c]
je 0x1007ff5f
test byte [esi + 0x20], 2
jne 0x1007ff5f
mov ebx, edx
mov edx, dword [esi + 0x30]
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x48], eax
mov eax, ecx
mov dword [ebp - 0x4c], edx
sub eax, edx
mov dword [ebp - 0x5c], eax
mov eax, ebx
sbb eax, dword [ebp - 0x48]
cmp byte [ebp - 0x58], 0
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ebx
je 0x1007ff30
cmp ecx, dword [ebp - 0x4c]
sbb ebx, dword [ebp - 0x48]
jl 0x1007ff59
xor ebx, ebx
xor edx, edx
mov esi, 0x3938700
cmp esi, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x50]
sbb edx, eax
mov dword [ebp - 0x4c], 0
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
jge 0x100802cd
jmp 0x1007ff5f
cmp ecx, dword [ebp - 0x4c]
sbb ebx, dword [ebp - 0x48]
jl 0x1007ff59
xor ebx, ebx
cmp dword [ebp - 0x5c], 0x23c34601
sbb eax, 0
mov dword [ebp - 0x4c], 0
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
jl 0x100802cd
jmp 0x1007ff5f
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], ecx
cmp dword [ebp - 0x54], 0
jne 0x1007ff75
push dword [esi]
call fcn.100d4700
add esp, 4
push dword [esi]
call fcn.100d4790
add esp, 4
mov eax, dword [ebp - 0x3c]
xor eax, dword [esi + 0x34]
xor edi, dword [esi + 0x30]
xor ebx, ebx
or edi, eax
mov dword [ebp - 0x4c], 0
jne 0x100802ad
xor eax, eax
lea edi, [ebp - 0x38]
mov dword [edi + 8], eax
mov dword [edi + 4], eax
mov dword [edi + 0xc], eax
push 0x800
call sym.nss3.dll_PORT_NewArena_Util
add esp, 4
mov dword [edi], eax
push dword [ebp + 0x14]
push dword [esi + 0xc]
push edi
call fcn.100bc430
add esp, 0xc
movzx ecx, word [esi + 0x20]
cmp eax, 0xffffffff
je 0x100801f6
and ecx, 0xfffd
mov word [esi + 0x20], cx
mov dword [ebp - 0x4c], eax
test eax, eax
jne 0x10080203
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x4c], 0
test eax, eax
je 0x10080203
mov edi, dword [eax + 8]
test edi, edi
je 0x100801ce
mov dword [ebp - 0x5c], eax
push 0x1c
call sym.nss3.dll_PORT_ZAlloc_Util
add esp, 4
test eax, eax
je 0x100801f2
mov ebx, eax
lock inc dword [edi + 0x70]
mov dword [eax], edi
mov dword [eax + 4], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x10080148
xor edi, edi
mov dword [ebp - 0x58], ebx
mov eax, dword [esi + 0x18]
test eax, eax
je 0x100801c4
mov eax, dword [eax + edi*4]
test eax, eax
je 0x100801c4
mov dword [ebp - 0x3c], ecx
mov ecx, dword [eax]
test ecx, ecx
je 0x10080192
mov edx, dword [ebx]
test edx, edx
je 0x10080192
mov dword [ebp - 0x48], 0xffffe099
cmp eax, ebx
je 0x100801b4
mov esi, dword [ebx + 4]
cmp esi, dword [eax + 4]
jne 0x1008011e
cmp esi, 1
je 0x10080135
test esi, esi
jne 0x1008011e
mov eax, dword [edx + 0xb0]
cmp eax, dword [ecx + 0xb0]
mov esi, dword [ebp - 0x50]
jne 0x10080121
mov eax, dword [edx + 0xb4]
cmp eax, dword [ecx + 0xb4]
jne 0x10080121
push dword [ecx + 0xac]
push dword [edx + 0xac]
call sym.nss3.dll_SECITEM_CompareItem_Util
add esp, 8
test eax, eax
je 0x100801b4
mov eax, dword [esi + 0x18]
test eax, eax
je 0x10080192
mov edx, dword [esi + 0x14]
cmp edx, edi
jbe 0x10080192
mov ecx, dword [eax + edi*4]
test ecx, ecx
je 0x10080192
mov edx, dword [eax + edx*4 - 4]
mov dword [eax + edi*4], edx
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
mov dword [edx + eax*4 - 4], 0
dec dword [esi + 0x14]
cmp dword [esi + 0x1c], ecx
jne 0x10080111
mov dword [esi + 0x1c], 0
call fcn.10080b10
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x3c], eax
jmp 0x10080121
mov esi, dword [ebp - 0x50]
inc edi
mov ecx, dword [ebp - 0x3c]
cmp edi, ecx
mov ebx, dword [ebp - 0x58]
jb 0x10080038
jmp 0x100801d5
mov eax, dword [edx + 0xac]
cmp eax, dword [ecx + 0xac]
mov esi, dword [ebp - 0x50]
jne 0x10080121
jmp 0x100801b4
mov ecx, 4
push ecx
push dword [esi + 0x18]
call dword [sym.imp.mozglue.dll_realloc]
add esp, 8
test eax, eax
je 0x100801aa
mov ecx, dword [esi + 0x14]
lea edx, [ecx + 1]
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], edx
mov dword [eax + ecx*4], ebx
mov eax, dword [ebp + 0xc]
or eax, dword [ebp + 0x10]
mov eax, dword [ebp - 0x5c]
je 0x100801ce
mov ecx, esi
mov edx, ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.10080bc0
mov eax, dword [ebp - 0x5c]
add esp, 0xc
jmp 0x100801ce
push 0
push 0xffffe001
call sym.nss3.dll_PR_SetError
add esp, 8
mov dword [ebp - 0x48], 0xffffe001
jmp 0x100801b4
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x48], 0xffffe013
push 0
push dword [ebp - 0x48]
call sym.nss3.dll_PR_SetError
add esp, 8
mov ebx, dword [ebp - 0x58]
mov ecx, ebx
call fcn.10080b10
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
jmp 0x1007fff1
shl ecx, 2
add ecx, 4
jns 0x1008014d
jmp 0x100801ad
push edx
call dword [sym.imp.mozglue.dll_free]
add esp, 4
jmp 0x1007fe89
movzx ecx, word [esi + 0x20]
or ecx, 2
mov word [esi + 0x20], cx
xor eax, eax
dec eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x10080292
mov edi, dword [ebp - 0x30]
test edi, edi
je 0x10080287
xor ecx, ecx
dec ecx
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x1008027e
mov eax, ecx
lock xadd dword [ebx + 0x70], eax
dec eax
test eax, eax
jg 0x1008027e
mov eax, dword [ebx + 0xb0]
test eax, eax
je 0x10080247
lock dec dword [eax + 0x48]
jne 0x10080247
push eax
call fcn.100cb320
xor ecx, ecx
dec ecx
add esp, 4
mov eax, dword [ebx + 0xb8]
test eax, eax
je 0x1008026a
cmp dword [eax + 0x14], 1
jne 0x1008026a
push 1
push dword [ebx + 0xac]
call sym.nss3.dll_SECITEM_FreeItem_Util
xor ecx, ecx
dec ecx
add esp, 8
mov eax, dword [ebx]
test eax, eax
je 0x1008027e
push 0
push eax
call sym.nss3.dll_PORT_FreeArena_Util
xor ecx, ecx
dec ecx
add esp, 8
mov edi, dword [edi]
test edi, edi
jne 0x10080218
mov eax, dword [ebp - 0x38]
push 0
push eax
call sym.nss3.dll_PORT_FreeArena_Util
add esp, 8
cmp dword [esi + 0x24], 1
jne 0x1008029f
mov dword [esi + 0x24], 0
call sym.nss3.dll_PR_Now
mov dword [esi + 0x34], edx
mov dword [esi + 0x30], eax
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x54], 0
jne 0x100802bd
push dword [esi]
call fcn.100d4620
add esp, 4
push dword [esi]
call fcn.100d4880
add esp, 4
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
test ebx, ebx
jne 0x100802e0
mov eax, ecx
or eax, edx
jne 0x100802e0
call sym.nss3.dll_PR_Now
mov ecx, eax
jmp 0x100802f2
test ebx, ebx
je 0x100802f2
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x58], eax
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x48], eax
jmp 0x1008031a
mov eax, dword [esi + 0x38]
mov edi, dword [esi + 0x3c]
mov dword [ebp - 0x58], eax
sub ecx, eax
mov dword [ebp - 0x48], edi
sbb edx, edi
jl 0x1008031a
mov dword [ebp - 0x3c], 0
cmp ecx, 0x3938701
sbb edx, 0
jl 0x100804fd
cmp dword [esi + 0x14], 0
je 0x100804fa
mov eax, ebx
xor ebx, ebx
mov dword [ebp - 0x3c], eax
xor edx, edx
mov eax, dword [esi + 0x18]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x100804c4
cmp dword [eax + 4], 0
jne 0x100804c4
mov edi, dword [eax]
test edi, edi
je 0x10080439
mov eax, dword [edi + 0xb0]
test eax, eax
je 0x10080439
mov ecx, dword [edi + 0xb4]
mov dword [ebp - 0x38], ecx
test ecx, ecx
je 0x10080439
push eax
mov dword [ebp - 0x44], edx
call fcn.100cd0c0
mov edx, dword [ebp - 0x44]
add esp, 4
mov dword [ebp - 0x34], eax
test eax, eax
je 0x10080439
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], 0
call fcn.10094aa0
call fcn.100941c0
test eax, eax
je 0x1008042b
mov ecx, eax
xor edx, edx
push edx
push edx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
push edx
push ecx
mov dword [ebp - 0x40], 0
push edx
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x5c], ecx
call fcn.10096160
add esp, 0x20
test eax, eax
jne 0x10080406
add edi, 0x2c
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 0x24]
push eax
push edi
call sym.nss3.dll_SECITEM_CompareItem_Util
add esp, 8
mov ecx, dword [ebp - 0x28]
mov edx, 0xce534351
xor ecx, edx
xor edx, edx
or ecx, eax
sete dl
mov dword [ebp - 0x40], edx
push dword [ebp - 0x5c]
call fcn.10094400
add esp, 4
push dword [ebp - 0x34]
call fcn.10096ae0
add esp, 4
cmp dword [ebp - 0x40], 0
mov edx, dword [ebp - 0x44]
jne 0x100804c4
jmp 0x10080439
push dword [ebp - 0x40]
call fcn.10096ae0
add esp, 4
mov edx, dword [ebp - 0x44]
cmp edx, 1
je 0x10080458
cmp dword [ebp - 0x54], 0
jne 0x1008044e
push dword [esi]
call fcn.100d4700
add esp, 4
push dword [esi]
call fcn.100d4790
add esp, 4
mov eax, dword [esi + 0x38]
xor eax, dword [ebp - 0x58]
mov ecx, dword [esi + 0x3c]
xor ecx, dword [ebp - 0x48]
or ecx, eax
mov edx, 1
jne 0x100804c4
mov eax, dword [esi + 0x18]
test eax, eax
je 0x100804ad
mov edx, dword [esi + 0x14]
cmp edx, ebx
jbe 0x100804ad
mov ecx, dword [eax + ebx*4]
test ecx, ecx
je 0x100804ad
mov edx, dword [eax + edx*4 - 4]
mov dword [eax + ebx*4], edx
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
mov dword [edx + eax*4 - 4], 0
dec dword [esi + 0x14]
cmp dword [esi + 0x1c], ecx
jne 0x100804a6
mov dword [esi + 0x1c], 0
call fcn.10080b10
jmp 0x100804bc
push 0
push 0xffffe001
call sym.nss3.dll_PR_SetError
add esp, 8
xor eax, eax
inc eax
mov dword [ebp - 0x3c], eax
mov edx, eax
inc ebx
cmp ebx, dword [esi + 0x14]
jb 0x1008032d
cmp edx, 1
jne 0x100804fd
call sym.nss3.dll_PR_Now
mov dword [esi + 0x3c], edx
mov dword [esi + 0x38], eax
cmp dword [ebp - 0x54], 0
jne 0x100804ee
push dword [esi]
call fcn.100d4620
add esp, 4
push dword [esi]
call fcn.100d4880
add esp, 4
jmp 0x100804fd
mov dword [ebp - 0x3c], ebx
cmp dword [ebp - 0x60], 0
je 0x10080575
cmp dword [esi + 4], 0
jne 0x10080575
push 2
push dword [ebp - 0x60]
call sym.nss3.dll_CERT_CheckCertUsage
add esp, 8
test eax, eax
jne 0x10080575
cmp dword [ebp - 0x54], 0
jne 0x1008052a
push dword [esi]
call fcn.100d4700
add esp, 4
push dword [esi]
call fcn.100d4790
add esp, 4
cmp dword [esi + 4], 0
jne 0x1008055b
mov ecx, dword [ebp - 0x60]
mov eax, dword [ecx + 0x11c]
mov dword [esi + 8], eax
add ecx, 0x3c
push ecx
call sym.nss3.dll_SECITEM_DupItem_Util
add esp, 4
mov dword [esi + 4], eax
xor eax, eax
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x54], 0
jne 0x1008056b
push dword [esi]
call fcn.100d4620
add esp, 4
push dword [esi]
call fcn.100d4880
add esp, 4
xor eax, eax
mov ecx, dword [ebp + 0xc]
or ecx, dword [ebp + 0x10]
je 0x10080642
cmp dword [esi + 4], 0
je 0x10080642
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x10080642
xor edi, edi
xor eax, eax
mov edx, dword [esi + 0x18]
mov ebx, dword [edx + edi*4]
test ebx, ebx
je 0x10080617
cmp dword [ebx + 0x10], 1
je 0x100805ea
test eax, eax
jne 0x100805cd
cmp dword [ebp - 0x54], 0
jne 0x100805c0
push dword [esi]
call fcn.100d4700
add esp, 4
push dword [esi]
call fcn.100d4790
add esp, 4
mov ecx, dword [esi + 0x14]
xor eax, eax
inc eax
cmp edi, ecx
jae 0x100805ea
mov ecx, dword [esi + 0x18]
xor eax, eax
inc eax
cmp ebx, dword [ecx + edi*4]
jne 0x100805ea
cmp dword [ebx + 0x10], 1
mov eax, 1
jne 0x10080625
test eax, eax
je 0x10080617
cmp dword [ebp - 0x3c], 0
jne 0x10080617
cmp dword [ebp - 0x54], 0
jne 0x10080604
push dword [esi]
call fcn.100d4620
add esp, 4
push dword [esi]
call fcn.100d4880
add esp, 4
mov dword [ebp - 0x3c], 0
xor eax, eax
inc edi
mov ecx, dword [esi + 0x14]
cmp edi, ecx
jb 0x1008059c
jmp 0x10080642
mov ecx, esi
mov edx, ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.10080bc0
add esp, 0xc
xor eax, eax
inc eax
mov dword [ebp - 0x3c], eax
jmp 0x10080617
cmp dword [ebp - 0x3c], 0
jne 0x10080652
cmp dword [esi + 0x28], 0
je 0x1008078f
test eax, eax
jne 0x10080670
cmp dword [ebp - 0x54], 0
jne 0x10080666
push dword [esi]
call fcn.100d4700
add esp, 4
push dword [esi]
call fcn.100d4790
add esp, 4
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1008073e
mov ecx, dword [esi + 0x18]
xor edx, edx
mov edi, dword [ecx + edx*4]
test edi, edi
je 0x10080738
cmp dword [edi + 0x10], 0
je 0x10080738
cmp dword [edi + 0x14], 0
je 0x10080738
inc edx
cmp eax, edx
jne 0x10080680
and word [esi + 0x20], 0xfffe
jne 0x10080745
push 0x10080dc0
push 4
push eax
push ecx
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
add esp, 0x10
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
mov ebx, dword [ecx + eax*4 - 4]
test ebx, ebx
je 0x100807b0
mov eax, dword [ebx]
test eax, eax
je 0x100807da
mov edi, dword [eax + 0xb8]
test edi, edi
je 0x100807da
cmp dword [edi + 4], 1
je 0x100807da
cmp dword [edi], 0
je 0x100807e3
cmp dword [edi + 8], 1
je 0x100807da
lea ecx, [eax + 0x78]
lea edx, [eax + 4]
push ecx
push 0x101bb04c
mov dword [ebp - 0x3c], edx
push edx
push dword [eax]
call sym.nss3.dll_SEC_QuickDERDecodeItem_Util
add esp, 0x10
test eax, eax
je 0x100807c1
xor eax, eax
inc eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
jmp 0x100807c7
or byte [esi + 0x20], 1
jmp 0x10080745
and word [esi + 0x20], 0xfffe
je 0x10080795
cmp dword [esi + 0x1c], 0
je 0x10080752
mov dword [esi + 0x1c], 0
push 0x10080c70
push 4
push eax
push dword [esi + 0x18]
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
add esp, 0x10
mov dword [esi + 0x28], 0
cmp dword [ebp - 0x54], 0
jne 0x1008077d
push dword [esi]
call fcn.100d4620
add esp, 4
push dword [esi]
call fcn.100d4880
add esp, 4
mov esi, dword [ebp - 0x4c]
jmp 0x1007fcc6
test eax, eax
jne 0x1008076d
jmp 0x10080787
xor ebx, ebx
mov dword [esi + 0x1c], ebx
jmp 0x10080766
push 0
push 0xffffe001
call sym.nss3.dll_PR_SetError
add esp, 8
jmp 0x1007fe89
push 0
push 0xffffe001
call sym.nss3.dll_PR_SetError
add esp, 8
jmp 0x10080766
mov dword [edi], 0
mov ecx, dword [ebp - 0x3c]
call fcn.1007efd0
test eax, eax
je 0x100807e3
mov dword [edi + 0x10], 1
mov dword [ebx + 0x18], 1
jmp 0x10080766
cmp dword [ebx + 8], 0
je 0x100807ef
cmp dword [ebx + 0xc], 0
jne 0x10080797
mov eax, dword [ebx]
mov eax, dword [eax + 0x58]
xor edi, edi
test eax, eax
je 0x1008080f
cmp dword [eax], 0
je 0x1008080f
add eax, 4
xor edi, edi
add edi, 0x10
cmp dword [eax], 0
lea eax, [eax + 4]
jne 0x10080804
push 0x800
call sym.nss3.dll_PORT_NewArena_Util
add esp, 4
test eax, eax
je 0x100808d6
push 0x14
mov dword [ebp - 0x3c], eax
push eax
call sym.nss3.dll_PORT_ArenaAlloc_Util
add esp, 8
test eax, eax
je 0x100808c9
mov ecx, eax
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov eax, dword [ebp - 0x3c]
mov dword [ecx + 0xc], eax
test edi, edi
je 0x1008086c
mov dword [ecx], edi
push edi
push dword [ebp - 0x3c]
mov edi, ecx
call sym.nss3.dll_PORT_ArenaAlloc_Util
mov ecx, edi
add esp, 8
mov dword [edi + 4], eax
test eax, eax
je 0x100808c9
mov dword [ebx + 0xc], ecx
push ecx
push 0x101f3584
push sym.nss3.dll_PL_CompareValues
push sym.nss3.dll_SECITEM_HashCompare
push fcn.100dbd50
push 0
call sym.nss3.dll_PL_NewHashTable
add esp, 0x18
mov dword [ebx + 8], eax
test eax, eax
je 0x10080766
mov eax, dword [ebx]
mov edi, dword [eax + 0x58]
test edi, edi
je 0x100808c1
mov eax, dword [edi]
test eax, eax
je 0x100808c1
add edi, 4
push eax
push eax
push dword [ebx + 8]
call sym.nss3.dll_PL_HashTableAdd
add esp, 0xc
mov eax, dword [edi]
add edi, 4
test eax, eax
jne 0x100808ab
mov esi, dword [ebp - 0x50]
jmp 0x10080797
push 1
push dword [ebp - 0x3c]
call sym.nss3.dll_PORT_FreeArena_Util
add esp, 8
mov dword [ebx + 0xc], 0
jmp 0x10080766
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov esi, eax
jmp 0x1007fc38