Function at 0x100ed1d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov ebx, dword [ebp + 8]
mov eax, dword [0x101db014]
xor eax, ebp
mov dword [esp + 0x38], eax
mov edi, 0xffffffff
test ebx, ebx
je 0x100ed642
cmp dword [ebp + 0xc], 0
je 0x100ed642
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], 0
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x100ed642
mov edx, dword [eax]
test edx, edx
je 0x100ed642
add eax, 4
xor ecx, ecx
nop word cs:[eax + eax]
nop dword [eax]
cmp dword [edx + 0x18], 1
sbb ecx, 0xffffffff
mov edx, dword [eax]
add eax, 4
test edx, edx
jne 0x100ed240
test ecx, ecx
je 0x100ed642
mov eax, dword [ebx + 0x38]
mov dword [eax + ecx*4], 0
push dword [ebx]
call sym.nss3.dll_PORT_ArenaMark_Util
add esp, 4
mov esi, eax
push 0x40f4
push dword [ebx]
call sym.nss3.dll_PORT_ArenaAlloc_Util
add esp, 8
test eax, eax
je 0x100ed389
mov dword [esp + 0xc], esi
push 0x40f4
push 0
push eax
mov esi, eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebx]
mov dword [esi], eax
mov dword [esi + 4], ebx
lea eax, [esi + 0x18]
xorps xmm0, xmm0
movups xmmword [esi + 0x68], xmm0
movups xmmword [esi + 0x58], xmm0
movups xmmword [esi + 0x48], xmm0
movups xmmword [esi + 0x38], xmm0
movups xmmword [esi + 0x28], xmm0
movups xmmword [esi + 0x18], xmm0
mov dword [esi + 0x78], 0
mov dword [esp + 4], esi
mov dword [esi + 0x7c], 0
push 3
mov dword [esp + 0x18], eax
push eax
push dword [ebx]
call sym.nss3.dll_SEC_ASN1EncodeInteger_Util
add esp, 0xc
test eax, eax
je 0x100ed39d
cmp dword [ebx + 0xc], 0
je 0x100ed2fb
cmp dword [ebx + 0x10], 0
je 0x100ed438
call fcn.100ef5f0
mov ecx, dword [esp + 4]
mov dword [ecx + 0xc0], eax
cmp dword [ebx + 0xc], 0
je 0x100ed3bf
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0
call fcn.100edef0
mov ecx, dword [esp + 4]
xorps xmm0, xmm0
movups xmmword [ecx + 0x80], xmm0
movups xmmword [ecx + 0x90], xmm0
movups xmmword [ecx + 0xa0], xmm0
movups xmmword [ecx + 0xb0], xmm0
test eax, eax
je 0x100ed4af
lea edx, [ecx + 0xa8]
mov esi, eax
push eax
push edx
push dword [ebx]
call sym.nss3.dll_SECITEM_CopyItem_Util
add esp, 0xc
test eax, eax
je 0x100ed4d1
push 0
push 0xffffe013
call sym.nss3.dll_PR_SetError
add esp, 8
jmp 0x100ed3ae
push 0
push 0xffffe013
call sym.nss3.dll_PR_SetError
add esp, 8
jmp 0x100ed642
push 0
push 0xffffe013
call sym.nss3.dll_PR_SetError
add esp, 8
xor esi, esi
mov dword [esp + 8], 0
mov ecx, dword [esp + 4]
jmp 0x100ed5ea
xor esi, esi
test eax, eax
je 0x100ed4a4
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
push eax
push 0x100ed9f0
push 0x101aec40
push dword [esp + 0x20]
call fcn.100e0fb0
mov esi, dword [esp + 0x14]
add esp, 0x10
mov dword [esi + 8], eax
test eax, eax
je 0x100ed625
mov dword [eax + 0xc], 1
mov eax, dword [esi + 8]
mov dword [eax + 0x14], 0x100eda20
mov dword [eax + 0x18], esi
push 0
push 0
push dword [esi + 8]
call fcn.100e05b0
add esp, 0xc
mov edi, 0xffffffff
test eax, eax
je 0x100ed657
mov ecx, esi
jmp 0x100ed63d
push dword [ebx + 0x28]
push dword [ebx + 0x24]
push 0
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push 4
push dword [ebx + 0x14]
call sym.nss3.dll_SEC_PKCS7CreateSignedData
add esp, 0x1c
mov ecx, dword [esp + 4]
mov dword [ecx + 0xc0], eax
xor esi, esi
test eax, eax
je 0x100ed4c4
push 0
push eax
call sym.nss3.dll_SEC_PKCS7IncludeCertChain
mov ecx, dword [esp + 0xc]
add esp, 8
mov dword [esp + 8], 0
test eax, eax
jne 0x100ed5ea
lea esi, [ecx + 0xc0]
push dword [esi]
call sym.nss3.dll_SEC_PKCS7AddSigningTime
mov eax, esi
mov ecx, dword [esp + 8]
add esp, 4
xor esi, esi
mov eax, dword [eax]
test eax, eax
jne 0x100ed3c9
mov dword [esp + 8], esi
xor esi, esi
jmp 0x100ed5ea
push 0
push 0xffffe013
call sym.nss3.dll_PR_SetError
mov ecx, dword [esp + 0xc]
add esp, 8
xor esi, esi
mov dword [esp + 8], 0
jmp 0x100ed5ea
mov eax, dword [esp + 4]
add eax, 0xb4
push 0x927c0
push eax
push dword [ebx]
call sym.nss3.dll_SEC_ASN1EncodeInteger_Util
add esp, 0xc
mov dword [esp + 8], 0
test eax, eax
je 0x100ed5e6
lea eax, [esp + 0x18]
push 1
push 1
push 1
push dword [ebx + 0x14]
push eax
push 0
call fcn.100edff0
add esp, 0x18
test eax, eax
je 0x100ed5e6
push 0x927c0
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.100cb790
add esp, 0xc
mov dword [esp + 8], eax
push 1
push esi
call sym.nss3.dll_SECITEM_FreeItem_Util
add esp, 8
push 0
lea eax, [esp + 0x1c]
push eax
call sym.nss3.dll_SECITEM_FreeItem_Util
add esp, 8
push dword [ebx + 0x18]
call fcn.100ede70
add esp, 4
xor esi, esi
cmp eax, 0xffffffff
je 0x100ed5e6
push 0
push 0x14
push dword [esp + 0x10]
push eax
push 0
call sym.nss3.dll_PK11_KeyGen
add esp, 0x14
mov dword [esp + 0x10], eax
push dword [esp + 8]
call fcn.100cb870
add esp, 4
cmp dword [esp + 0x10], 0
je 0x100ed5e6
push dword [ebx + 0x18]
call fcn.100eddf0
add esp, 4
lea ecx, [esp + 0x28]
push ecx
push dword [esp + 0x14]
push 0x108
push eax
call sym.nss3.dll_PK11_CreateContextBySymKey
add esp, 0x10
mov ecx, dword [esp + 4]
mov dword [ecx + 0xd0], eax
push dword [esp + 0x10]
call sym.nss3.dll_PK11_FreeSymKey
add esp, 4
mov eax, dword [esp + 4]
mov eax, dword [eax + 0xd0]
test eax, eax
je 0x100ed9c3
push eax
call sym.nss3.dll_PK11_DigestBegin
add esp, 4
test eax, eax
je 0x100ed9db
mov ecx, dword [esp + 4]
call fcn.100edcc0
mov ecx, dword [ebx]
test ecx, ecx
je 0x100ed603
mov edx, dword [esp + 0xc]
push 0
call fcn.100e37d0
add esp, 4
test esi, esi
je 0x100ed612
push 1
push esi
call sym.nss3.dll_SECITEM_FreeItem_Util
add esp, 8
mov eax, dword [esp + 8]
test eax, eax
je 0x100ed642
push eax
call fcn.100cb870
add esp, 4
jmp 0x100ed642
push 0
push 0xffffe013
call sym.nss3.dll_PR_SetError
mov ecx, dword [esp + 0xc]
add esp, 8
mov edi, 0xffffffff
call fcn.100edcc0
mov ecx, dword [esp + 0x38]
xor ecx, ebp
call fcn.1014dc80
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0
push dword [esi + 8]
push 0x100eda60
push dword [esi + 0xc0]
call fcn.100f1030
add esp, 0x10
mov dword [esi + 0xc4], eax
test eax, eax
mov ecx, esi
je 0x100ed63d
lea esi, [ecx + 0xd4]
mov dword [ecx + 0xd4], eax
mov dword [ecx + 0xd8], 0
mov dword [ecx + 0xdc], 0
mov dword [ecx + 0xe0], 0x2000
mov eax, dword [ecx + 4]
cmp dword [eax + 0xc], 0
je 0x100ed6c8
cmp dword [eax + 0x10], 0
je 0x100ed6c8
mov ecx, dword [esp + 4]
mov edx, dword [ecx + 0xd0]
mov ecx, dword [esp + 4]
mov dword [ecx + 0xd8], edx
add eax, 0x34
push esi
push 0x100eda80
push 0x101aece8
push eax
call fcn.100e0fb0
mov ecx, dword [esp + 0x14]
add esp, 0x10
mov dword [ecx + 0xc8], eax
test eax, eax
je 0x100ed63d
mov dword [eax + 0xc], 1
mov eax, dword [ecx + 0xc8]
mov dword [eax + 0x10], 1
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 0xcc]
cmp edx, dword [eax + 0x30]
jne 0x100ed834
push dword [ecx + 0xc8]
call fcn.100e1310
add esp, 4
mov eax, dword [esp + 4]
mov eax, dword [eax + 0xc8]
mov dword [eax + 0xc], 0
push 0
push 0
mov eax, dword [esp + 0xc]
push dword [eax + 0xc8]
call fcn.100e05b0
add esp, 0xc
mov eax, dword [esp + 4]
mov eax, dword [eax + 0xc8]
push 0
push dword [eax]
call sym.nss3.dll_PORT_FreeArena_Util
mov ecx, dword [esp + 0xc]
add esp, 8
mov dword [ecx + 0xc8], 0
mov eax, dword [ecx + 0xdc]
test eax, eax
je 0x100ed7a4
mov esi, ecx
add esi, 0xe4
mov ecx, dword [ecx + 0xd4]
xor edx, edx
push 0
push eax
push esi
call fcn.100f14b0
mov ecx, dword [esp + 0x10]
add esp, 0xc
mov dword [ecx + 0xdc], 0
push dword [ebx + 0x28]
push dword [ebx + 0x24]
push dword [ecx + 0xc4]
call fcn.100f1730
mov ecx, dword [esp + 0x10]
add esp, 0xc
mov edi, eax
mov dword [ecx + 0xc4], 0
test eax, eax
jne 0x100ed63d
push dword [ecx + 8]
call fcn.100e1310
add esp, 4
mov eax, dword [esp + 4]
mov eax, dword [eax + 8]
mov dword [eax + 0xc], 0
mov ecx, dword [esp + 4]
call fcn.100edb80
mov ecx, dword [esp + 4]
mov edi, eax
test eax, eax
jne 0x100ed63d
push 0
push 0
push dword [ecx + 8]
call fcn.100e05b0
add esp, 0xc
mov edi, eax
mov eax, dword [esp + 4]
mov eax, dword [eax + 8]
push 0
push dword [eax]
call sym.nss3.dll_PORT_FreeArena_Util
mov ecx, dword [esp + 0xc]
add esp, 8
mov dword [ecx + 8], 0
jmp 0x100ed63d
lea esi, [ecx + 0x20e4]
add ecx, 0x20f4
mov dword [esp + 0x10], ecx
mov dword [esp + 8], esi
jmp 0x100ed892
mov eax, dword [esi + 4]
push dword [eax + 0x28]
push dword [eax + 0x24]
push dword [esp + 0x14]
call fcn.100f1730
add esp, 0xc
mov esi, dword [esp + 8]
push 0x2010
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 0xcc]
add edx, 1
mov dword [ecx + 0xcc], edx
cmp edx, dword [eax + 0x30]
je 0x100ed717
cmp edx, dword [eax + 0x3c]
jae 0x100ed863
mov eax, dword [eax + 0x2c]
mov edi, dword [eax + edx*4]
cmp dword [edi + 0x18], 0
je 0x100ed873
mov eax, dword [edi + 0x1c]
xor esi, esi
mov dword [esp + 0xc], eax
push eax
call fcn.100eec30
add esp, 4
cmp eax, 0x19
je 0x100ed8dc
cmp eax, 0x1b
je 0x100ed8dc
cmp eax, 0x1e
mov esi, dword [esp + 8]
jne 0x100ed873
mov ecx, dword [edi + 0x14]
lea eax, [edi + 4]
push 0
push eax
mov esi, ecx
push ecx
call fcn.100cd570
add esp, 0xc
push esi
mov esi, dword [esp + 8]
push dword [esi + 0xc8]
push 0x100eda60
push dword [esp + 0x18]
call fcn.100f1030
add esp, 0x10
test eax, eax
je 0x100ed9b3
mov dword [esp + 0xc], eax
mov dword [esi + 0x20e4], eax
mov dword [esi + 0x20e8], 0
mov dword [esi + 0x20ec], 0
mov dword [esi + 0x20f0], 0x2000
push dword [esp + 8]
push 0x100eda80
push 0x101aed4c
push dword [edi + 0x20]
call fcn.100e0fb0
add esp, 0x10
test eax, eax
je 0x100ed99e
mov edi, eax
push 0
push 0
push eax
call fcn.100e05b0
add esp, 0xc
mov dword [esp + 0x14], eax
push 0
push dword [edi]
call sym.nss3.dll_PORT_FreeArena_Util
add esp, 8
mov eax, dword [esi + 0x20ec]
test eax, eax
je 0x100ed993
mov ecx, dword [esi + 0x20e4]
xor edx, edx
push 0
push eax
push dword [esp + 0x18]
call fcn.100f14b0
mov esi, dword [esp + 0x10]
add esp, 0xc
mov dword [esi + 0x20ec], 0
cmp dword [esp + 0x14], 0
je 0x100ed84a
mov eax, dword [esi + 4]
push dword [eax + 0x28]
push dword [eax + 0x24]
push dword [esp + 0x14]
call fcn.100f1730
add esp, 0xc
push 0x2010
push 0
mov esi, dword [esp + 0x10]
jmp 0x100ed86a
push 0
push 0xffffe013
call sym.nss3.dll_PR_SetError
add esp, 8
mov ecx, dword [esp + 4]
jmp 0x100ed5ea
mov ecx, dword [esp + 4]
lea eax, [ecx + 0xc0]
mov esi, dword [esp + 8]
jmp 0x100ed49a