Function at 0x100ebcb0
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 [0x101d2014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ebx, dword [0x101d57a0]
test ebx, ebx
je 0x100ebd41
mov edi, edx
mov dword [ebp - 0x5c], ecx
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100ec94f
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
test edi, edi
mov dword [ebx + 8], esi
je 0x100ebd4a
mov eax, dword [0x101d57a4]
test eax, eax
je 0x100ebd4a
mov ebx, dword [ebp + 8]
push edi
push eax
call sym.nss3.dll_PL_HashTableLookup
add esp, 8
test eax, eax
je 0x100ebd8a
mov esi, eax
push dword [0x101d57a0]
call sym.nss3.dll_PR_Unlock
add esp, 4
test ebx, ebx
je 0x100ebdce
push 0
push 0xffffe001
call sym.nss3.dll_PR_SetError
add esp, 8
xor eax, eax
jmp 0x100ebdd1
push 0
push 0xffffe001
jmp 0x100ebd6b
xor esi, esi
mov edi, 0xffffe001
push esi
push edi
call sym.nss3.dll_PR_SetError
add esp, 8
push dword [0x101d57a0]
call sym.nss3.dll_PR_Unlock
add esp, 4
push esi
push edi
call sym.nss3.dll_PR_SetError
add esp, 8
xor ebx, ebx
dec ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10192ef0
mov eax, ebx
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 0x100ebe50
mov esi, eax
push edi
call sym.nss3.dll_SECITEM_DupItem_Util
add esp, 4
cmp dword [ebp + 0x18], 0
mov dword [ebp - 0x48], esi
mov dword [esi], eax
je 0x100ebe67
test ebx, ebx
mov esi, 0xffffffff
je 0x100ebe89
mov edi, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x18]
jmp 0x100ec7c7
mov eax, dword [esi + 4]
mov ebx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x1c]
mov dword [ebx], eax
cmp dword [edi], 0
jne 0x100ebdea
mov eax, dword [ebx]
push dword [eax]
call fcn.1013e010
add esp, 4
mov esi, dword [ebx]
test esi, esi
je 0x100ebd73
mov eax, dword [edi]
mov ecx, dword [esi + 0x34]
mov ebx, dword [esi + 0x30]
mov edx, 0
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], eax
xor eax, eax
cmp dword [esi + 0x24], 1
mov dword [ebp - 0x3c], ecx
je 0x100ebff3
xor eax, eax
test byte [esi + 0x20], 2
mov cl, 1
mov dword [ebp - 0x54], ecx
jne 0x100ebe60
call sym.nss3.dll_PR_Now
mov edi, dword [esi + 0x14]
test edi, edi
je 0x100ebf5d
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x4c], edx
mov edx, dword [ecx]
test edx, edx
je 0x100ebe45
cmp dword [edx + 4], 0
je 0x100ebf53
add ecx, 4
dec edi
jne 0x100ebe35
jmp 0x100ebf5a
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x48], 0
jmp 0x100ebe7b
xor edx, edx
jmp 0x100ebf5d
push 0
push 0xffffe001
call sym.nss3.dll_PR_SetError
add esp, 8
mov al, 1
mov dword [ebp - 0x3c], eax
mov edi, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x18]
xor esi, esi
dec esi
jmp 0x100ec7cc
mov eax, dword [ebp - 0x48]
mov dword [eax + 4], 0
push 0x40
call sym.nss3.dll_PORT_ZAlloc_Util
add esp, 4
mov ebx, dword [ebp + 0x18]
test eax, eax
je 0x100ec798
xor ecx, ecx
push ecx
push ecx
mov dword [ebp - 0x3c], eax
call fcn.1013de80
mov edx, dword [ebp - 0x3c]
add esp, 8
test eax, eax
mov dword [edx], eax
je 0x100ec78e
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
je 0x100ebee6
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
xor eax, eax
push eax
mov esi, edx
call sym.nss3.dll_SECITEM_DupItem_Util
add esp, 4
mov dword [esi + 0x10], eax
push edi
call sym.nss3.dll_SECITEM_DupItem_Util
add esp, 4
mov dword [esi + 0xc], eax
xor eax, eax
mov edi, dword [ebp + 0x1c]
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 0x48]
mov dword [eax + 4], esi
mov dword [ebx], esi
mov dword [edi], 1
mov eax, dword [ebx]
push dword [eax]
call fcn.1013e140
add esp, 4
mov eax, dword [0x101d57a4]
test eax, eax
je 0x100ec7b1
mov ecx, dword [ebp - 0x48]
push ecx
push dword [ecx]
push eax
call sym.nss3.dll_PL_HashTableAdd
add esp, 0xc
cmp eax, 1
sbb eax, eax
jmp 0x100ec7c3
mov dword [ebp - 0x54], 0
mov edx, dword [ebp - 0x4c]
mov ecx, ebx
or ecx, dword [ebp - 0x3c]
je 0x100ebff3
test byte [esi + 0x20], 2
jne 0x100ebff3
mov edi, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
mov esi, eax
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], esi
sub eax, edi
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x58], eax
mov eax, edx
sbb eax, ecx
cmp byte [ebp - 0x54], 0
je 0x100ebfbf
cmp esi, edi
sbb edx, dword [ebp - 0x40]
jl 0x100ebfea
mov esi, 0x3938700
xor edi, edi
xor edx, edx
mov dword [ebp - 0x40], 0
cmp esi, dword [ebp - 0x58]
mov esi, dword [ebp - 0x44]
sbb edx, eax
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
jge 0x100ec14f
jmp 0x100ebff3
cmp esi, edi
sbb edx, dword [ebp - 0x40]
jl 0x100ebfea
xor edi, edi
cmp dword [ebp - 0x58], 0x23c34601
mov esi, dword [ebp - 0x44]
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x40], 0
sbb eax, 0
mov eax, dword [ebp - 0x50]
jl 0x100ec14f
jmp 0x100ebff3
mov esi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
cmp dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], eax
jne 0x100ec009
push dword [esi]
call fcn.1013e0d0
add esp, 4
push dword [esi]
call fcn.1013e140
add esp, 4
mov eax, dword [ebp - 0x3c]
xor ebx, dword [esi + 0x30]
xor edi, edi
xor eax, dword [esi + 0x34]
or ebx, eax
mov ebx, 0
jne 0x100ec12c
lea esi, [ebp - 0x38]
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], eax
push 0x800
call sym.nss3.dll_PORT_NewArena_Util
add esp, 4
mov dword [esi], eax
push dword [ebp + 0x14]
mov eax, dword [ebp - 0x44]
push dword [eax + 0xc]
push esi
mov esi, dword [ebp - 0x44]
call fcn.101269c0
add esp, 0xc
mov ecx, dword [esi + 0x20]
mov ebx, eax
xor eax, eax
cmp ebx, 0xffffffff
sete al
and ecx, 0xfffffffd
test ebx, ebx
lea eax, [ecx + eax*2]
mov word [esi + 0x20], ax
je 0x100ec5ac
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x100ec111
mov edi, dword [ebp - 0x30]
test edi, edi
je 0x100ec106
xor ecx, ecx
mov dword [ebp - 0x40], ebx
dec ecx
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x100ec0fa
mov eax, ecx
lock xadd dword [ebx + 0x70], eax
dec eax
test eax, eax
jg 0x100ec0fa
mov eax, dword [ebx + 0xb0]
test eax, eax
je 0x100ec0c3
lock dec dword [eax + 0x48]
jne 0x100ec0c3
push eax
call fcn.10135de0
xor ecx, ecx
dec ecx
add esp, 4
mov eax, dword [ebx + 0xb8]
test eax, eax
je 0x100ec0e6
cmp dword [eax + 0x14], 1
jne 0x100ec0e6
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 0x100ec0fa
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 0x100ec094
mov eax, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x40]
push 0
push eax
call sym.nss3.dll_PORT_FreeArena_Util
add esp, 8
cmp dword [esi + 0x24], 1
jne 0x100ec11e
mov dword [esi + 0x24], 0
call sym.nss3.dll_PR_Now
xor edi, edi
mov dword [esi + 0x34], edx
mov dword [esi + 0x30], eax
inc edi
cmp dword [ebp - 0x48], 0
mov dword [ebp - 0x40], ebx
jne 0x100ec13f
push dword [esi]
call fcn.1013e010
add esp, 4
push dword [esi]
call fcn.1013e210
add esp, 4
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
mov ecx, eax
or ecx, edx
jne 0x100ec15e
test edi, edi
jne 0x100ec15e
call sym.nss3.dll_PR_Now
mov ecx, dword [esi + 0x38]
mov ebx, dword [esi + 0x3c]
test edi, edi
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x54], ebx
je 0x100ec2ed
cmp dword [esi + 0x14], 0
je 0x100ec30f
xor ebx, ebx
xor edx, edx
mov dword [ebp - 0x3c], edi
mov eax, dword [esi + 0x18]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x100ec2b7
cmp dword [eax + 4], 0
jne 0x100ec2b7
mov edi, dword [eax]
xor ecx, ecx
test edi, edi
je 0x100ec26e
mov eax, dword [edi + 0xb0]
test eax, eax
je 0x100ec26e
mov ecx, dword [edi + 0xb4]
test ecx, ecx
mov dword [ebp - 0x38], ecx
je 0x100ec26c
mov eax, dword [eax + 0x13c]
test eax, eax
mov dword [ebp - 0x34], eax
je 0x100ec26c
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x50], edx
call fcn.100ffab0
call fcn.100ff230
mov edx, dword [ebp - 0x50]
test eax, eax
mov ecx, 0
je 0x100ec26e
xor ecx, ecx
push ecx
push ecx
mov edx, eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
push ecx
mov dword [ebp - 0x60], edx
push edx
mov dword [ebp - 0x58], 0
push ecx
lea eax, [ebp - 0x38]
push eax
call fcn.10101080
add esp, 0x20
test eax, eax
jne 0x100ec259
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
add edi, 0x2c
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x1c], ecx
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 - 0x58], edx
push dword [ebp - 0x60]
call fcn.100ff470
add esp, 4
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x58]
jmp 0x100ec26e
xor ecx, ecx
test ecx, ecx
jne 0x100ec2b7
cmp edx, 1
je 0x100ec291
cmp dword [ebp - 0x48], 0
jne 0x100ec287
push dword [esi]
call fcn.1013e0d0
add esp, 4
push dword [esi]
call fcn.1013e140
add esp, 4
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
mov edx, 1
xor eax, dword [ebp - 0x4c]
xor ecx, dword [ebp - 0x54]
or ecx, eax
jne 0x100ec2b7
mov ecx, esi
mov edx, ebx
call fcn.100ecc70
xor eax, eax
inc eax
mov edx, eax
mov dword [ebp - 0x3c], eax
inc ebx
cmp ebx, dword [esi + 0x14]
jb 0x100ec183
cmp edx, 1
jne 0x100ec312
call sym.nss3.dll_PR_Now
cmp dword [ebp - 0x48], 0
mov dword [esi + 0x3c], edx
mov dword [esi + 0x38], eax
jne 0x100ec2e1
push dword [esi]
call fcn.1013e010
add esp, 4
push dword [esi]
call fcn.1013e210
add esp, 4
jmp 0x100ec312
sub eax, dword [ebp - 0x4c]
sbb edx, dword [ebp - 0x54]
jl 0x100ec172
cmp eax, 0x3938701
mov dword [ebp - 0x3c], 0
sbb edx, 0
jl 0x100ec312
jmp 0x100ec172
mov dword [ebp - 0x3c], edi
cmp dword [ebp - 0x5c], 0
je 0x100ec38a
cmp dword [esi + 4], 0
jne 0x100ec38a
push 2
push dword [ebp - 0x5c]
call sym.nss3.dll_CERT_CheckCertUsage
add esp, 8
test eax, eax
jne 0x100ec38a
cmp dword [ebp - 0x48], 0
jne 0x100ec33f
push dword [esi]
call fcn.1013e0d0
add esp, 4
push dword [esi]
call fcn.1013e140
add esp, 4
cmp dword [esi + 4], 0
jne 0x100ec370
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx + 0x11c]
add ecx, 0x3c
mov dword [esi + 8], eax
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 - 0x48], 0
jne 0x100ec380
push dword [esi]
call fcn.1013e010
add esp, 4
push dword [esi]
call fcn.1013e210
add esp, 4
mov ecx, dword [ebp + 0xc]
xor eax, eax
or ecx, dword [ebp + 0x10]
je 0x100ec45b
cmp dword [esi + 4], 0
je 0x100ec45b
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x100ec45b
xor ebx, ebx
xor eax, eax
mov edx, dword [esi + 0x18]
mov edi, dword [edx + ebx*4]
test edi, edi
je 0x100ec430
cmp dword [edi + 0x10], 1
je 0x100ec403
test eax, eax
jne 0x100ec3e2
cmp dword [ebp - 0x48], 0
jne 0x100ec3d5
push dword [esi]
call fcn.1013e0d0
add esp, 4
push dword [esi]
call fcn.1013e140
add esp, 4
mov ecx, dword [esi + 0x14]
cmp ebx, ecx
mov eax, 1
jae 0x100ec403
mov eax, dword [esi + 0x18]
cmp edi, dword [eax + ebx*4]
mov eax, 1
jne 0x100ec403
cmp dword [edi + 0x10], 1
mov eax, 1
jne 0x100ec43e
cmp dword [ebp - 0x3c], 0
jne 0x100ec430
test eax, eax
je 0x100ec430
cmp dword [ebp - 0x48], 0
jne 0x100ec41d
push dword [esi]
call fcn.1013e010
add esp, 4
push dword [esi]
call fcn.1013e210
add esp, 4
xor eax, eax
mov dword [ebp - 0x3c], 0
mov ecx, dword [esi + 0x14]
inc ebx
cmp ebx, ecx
jb 0x100ec3b1
jmp 0x100ec45b
mov ecx, esi
mov edx, edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.100ecce0
add esp, 0xc
xor eax, eax
inc eax
mov dword [ebp - 0x3c], eax
jmp 0x100ec430
cmp dword [ebp - 0x3c], 0
jne 0x100ec46b
cmp dword [esi + 0x28], 0
je 0x100ec761
mov ebx, dword [ebp - 0x40]
test eax, eax
jne 0x100ec48c
cmp dword [ebp - 0x48], 0
jne 0x100ec482
push dword [esi]
call fcn.1013e0d0
add esp, 4
push dword [esi]
call fcn.1013e140
add esp, 4
mov eax, dword [esi + 0x14]
test eax, eax
je 0x100ec55a
mov ecx, dword [esi + 0x18]
xor edx, edx
mov edi, dword [ecx + edx*4]
test edi, edi
je 0x100ec554
cmp dword [edi + 0x10], 0
je 0x100ec554
cmp dword [edi + 0x14], 0
je 0x100ec554
inc edx
cmp eax, edx
jne 0x100ec49c
and word [esi + 0x20], 0xfffe
jne 0x100ec565
push 0x100eceb0
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 edi, dword [ecx + eax*4 - 4]
test edi, edi
je 0x100ec79d
mov eax, dword [edi]
test eax, eax
je 0x100ec823
mov ebx, dword [eax + 0xb8]
test ebx, ebx
je 0x100ec823
cmp dword [ebx + 4], 1
je 0x100ec823
cmp dword [ebx], 0
je 0x100ec832
cmp dword [ebx + 8], 1
je 0x100ec823
lea ecx, [eax + 0x78]
lea edx, [eax + 4]
push ecx
push 0x1019d4d4
mov dword [ebp - 0x3c], edx
push edx
push dword [eax]
call sym.nss3.dll_SEC_QuickDERDecodeItem_Util
add esp, 0x10
test eax, eax
je 0x100ec80a
xor eax, eax
inc eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
jmp 0x100ec810
or byte [esi + 0x20], 1
jmp 0x100ec565
and word [esi + 0x20], 0xfffe
je 0x100ec771
cmp dword [esi + 0x1c], 0
je 0x100ec572
mov dword [esi + 0x1c], 0
push 0x100ecda0
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 - 0x48], 0
jne 0x100ec59d
push dword [esi]
call fcn.1013e010
add esp, 4
push dword [esi]
call fcn.1013e210
add esp, 4
jmp 0x100ebd76
mov eax, dword [ebp - 0x30]
mov ebx, 0
test eax, eax
je 0x100ec07c
mov edi, dword [eax + 8]
test edi, edi
je 0x100ec74c
mov dword [ebp - 0x54], eax
push 0x1c
call sym.nss3.dll_PORT_ZAlloc_Util
add esp, 4
test eax, eax
je 0x100ec782
lock inc dword [edi + 0x70]
mov dword [eax], edi
mov dword [eax + 4], 0
mov dword [ebp - 0x3c], eax
mov ebx, dword [esi + 0x14]
test ebx, ebx
je 0x100ec6bd
xor edi, edi
mov eax, dword [esi + 0x18]
test eax, eax
je 0x100ec73c
mov eax, dword [eax + edi*4]
test eax, eax
je 0x100ec73c
mov ecx, dword [eax]
mov esi, dword [ebp - 0x3c]
test ecx, ecx
je 0x100ec705
mov edx, dword [esi]
test edx, edx
je 0x100ec705
cmp eax, esi
mov esi, dword [ebp - 0x44]
je 0x100ec6b4
mov esi, dword [ebp - 0x3c]
mov esi, dword [esi + 4]
cmp esi, dword [eax + 4]
jne 0x100ec692
cmp esi, 1
je 0x100ec6a3
test esi, esi
jne 0x100ec692
mov eax, dword [edx + 0xb0]
mov esi, dword [ebp - 0x44]
cmp eax, dword [ecx + 0xb0]
jne 0x100ec695
mov eax, dword [edx + 0xb4]
cmp eax, dword [ecx + 0xb4]
jne 0x100ec695
push dword [ecx + 0xac]
push dword [edx + 0xac]
call sym.nss3.dll_SECITEM_CompareItem_Util
add esp, 8
test eax, eax
je 0x100ec6b4
mov ecx, esi
mov edx, edi
call fcn.100ecc70
test eax, eax
jne 0x100ec758
mov ebx, dword [esi + 0x14]
jmp 0x100ec695
mov esi, dword [ebp - 0x44]
inc edi
cmp edi, ebx
jb 0x100ec5f9
jmp 0x100ec725
mov eax, dword [edx + 0xac]
mov esi, dword [ebp - 0x44]
cmp eax, dword [ecx + 0xac]
jne 0x100ec695
push 0
push 0xffffe099
jmp 0x100ec734
mov ebx, 4
push ebx
push dword [esi + 0x18]
call dword [sym.imp.mozglue.dll_realloc]
add esp, 8
test eax, eax
je 0x100ec72d
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
lea edx, [ecx + 1]
mov dword [esi + 0x14], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + ecx*4], edx
mov eax, dword [ebp + 0xc]
or eax, dword [ebp + 0x10]
mov eax, dword [ebp - 0x54]
je 0x100ec74c
mov ecx, esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.100ecce0
add esp, 0xc
jmp 0x100ec744
xor esi, esi
push esi
mov edi, 0xffffe001
push edi
call sym.nss3.dll_PR_SetError
add esp, 8
push esi
push edi
call sym.nss3.dll_PR_SetError
add esp, 8
mov esi, dword [ebp - 0x44]
jmp 0x100ec73c
shl ebx, 2
add ebx, 4
jns 0x100ec6c2
push 0
push 0xffffe013
call sym.nss3.dll_PR_SetError
add esp, 8
mov ecx, dword [ebp - 0x3c]
call fcn.100ecba0
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x54]
je 0x100ec786
mov eax, dword [eax]
test eax, eax
jne 0x100ec5bc
jmp 0x100ec77b
push 0
push 0xffffe001
jmp 0x100ec734
mov ebx, dword [ebp - 0x40]
test eax, eax
jne 0x100ec58d
jmp 0x100ebd76
xor edi, edi
mov dword [esi + 0x1c], edi
jmp 0x100ec586
xor ebx, ebx
jmp 0x100ec07c
or byte [esi + 0x20], 2
xor ebx, ebx
dec ebx
jmp 0x100ec07c
push edx
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov edi, dword [ebp + 0x1c]
jmp 0x100ec7c7
push 0
push 0xffffe001
call sym.nss3.dll_PR_SetError
add esp, 8
jmp 0x100ec586
push 0
push 0xffffe001
call sym.nss3.dll_PR_SetError
add esp, 8
xor eax, eax
dec eax
neg eax
sbb esi, esi
mov al, 1
mov dword [ebp - 0x3c], eax
push dword [0x101d57a0]
call sym.nss3.dll_PR_Unlock
add esp, 4
cmp byte [ebp - 0x3c], 0
je 0x100ec7fd
test esi, esi
je 0x100ec7fd
cmp dword [edi], 1
jne 0x100ec7f5
mov eax, dword [ebx]
push dword [eax]
call fcn.1013e210
add esp, 4
mov ecx, dword [ebp - 0x48]
call fcn.100eb9f0
test esi, esi
jne 0x100ebd73
jmp 0x100ebdd9
mov dword [ebx], 0
mov ecx, dword [ebp - 0x3c]
call fcn.100eb0c0
test eax, eax
je 0x100ec832
mov dword [ebx + 0x10], 1
mov ebx, dword [ebp - 0x40]
mov dword [edi + 0x18], 1
jmp 0x100ec586
cmp dword [edi + 8], 0
je 0x100ec842
cmp dword [edi + 0xc], 0
jne 0x100ec92d
mov eax, dword [edi]
xor ebx, ebx
mov eax, dword [eax + 0x58]
test eax, eax
je 0x100ec862
cmp dword [eax], 0
je 0x100ec862
add eax, 4
xor ebx, ebx
add ebx, 0x10
cmp dword [eax], 0
lea eax, [eax + 4]
jne 0x100ec857
push 0x800
call sym.nss3.dll_PORT_NewArena_Util
add esp, 4
test eax, eax
je 0x100ec940
push 0x14
push eax
mov dword [ebp - 0x3c], eax
call sym.nss3.dll_PORT_ArenaAlloc_Util
mov ecx, dword [ebp - 0x3c]
add esp, 8
test eax, eax
je 0x100ec935
mov edx, eax
xor eax, eax
test ebx, ebx
mov dword [edx + 4], eax
mov dword [edx], eax
mov dword [edx + 8], eax
mov dword [edx + 0x10], eax
mov dword [edx + 0xc], ecx
je 0x100ec8c0
mov dword [edx], ebx
push ebx
push ecx
mov ebx, edx
call sym.nss3.dll_PORT_ArenaAlloc_Util
mov ecx, dword [ebp - 0x3c]
mov edx, ebx
add esp, 8
test eax, eax
mov dword [ebx + 4], eax
je 0x100ec935
mov dword [edi + 0xc], edx
push edx
push 0x101d3b5c
push sym.nss3.dll_PL_CompareValues
push sym.nss3.dll_SECITEM_HashCompare
push fcn.10145660
push 0
call sym.nss3.dll_PL_NewHashTable
add esp, 0x18
mov ebx, dword [ebp - 0x40]
test eax, eax
mov dword [edi + 8], eax
je 0x100ec586
mov ecx, dword [edi]
mov ebx, dword [ecx + 0x58]
test ebx, ebx
je 0x100ec92a
mov ecx, dword [ebx]
test ecx, ecx
je 0x100ec92a
push ecx
push ecx
push eax
call sym.nss3.dll_PL_HashTableAdd
add esp, 0xc
mov eax, dword [ebx + 4]
test eax, eax
je 0x100ec92a
add ebx, 8
push eax
push eax
push dword [edi + 8]
call sym.nss3.dll_PL_HashTableAdd
add esp, 0xc
mov eax, dword [ebx]
add ebx, 4
test eax, eax
jne 0x100ec914
mov esi, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x40]
jmp 0x100ec773
push 1
push ecx
call sym.nss3.dll_PORT_FreeArena_Util
add esp, 8
mov ebx, dword [ebp - 0x40]
mov dword [edi + 0xc], 0
jmp 0x100ec586
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov esi, eax
jmp 0x100ebce8