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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov ebx, dword [ebp + 8]
mov eax, dword [0x101ef014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, 0xffffffff
test ebx, ebx
je 0x100e5e37
cmp dword [ebp + 0xc], 0
je 0x100e5e37
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x100e5e37
mov edx, dword [eax]
test edx, edx
je 0x100e5e37
add eax, 4
xor ecx, ecx
nop dword [eax]
cmp dword [edx + 0x18], 1
sbb ecx, 0xffffffff
mov edx, dword [eax]
add eax, 4
test edx, edx
jne 0x100e5710
test ecx, ecx
je 0x100e5e37
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 0x100e5851
mov dword [ebp - 0x34], 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 [ebp - 0x2c], esi
mov dword [esi + 0x7c], 0
push 3
mov dword [ebp - 0x3c], eax
push eax
push dword [ebx]
call sym.nss3.dll_SEC_ASN1EncodeInteger_Util
add esp, 0xc
test eax, eax
je 0x100e5865
cmp dword [ebx + 0xc], 0
je 0x100e57c8
cmp dword [ebx + 0x10], 0
je 0x100e5885
call fcn.100e7a70
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0xc0], eax
cmp dword [ebx + 0xc], 0
je 0x100e58e1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0
call fcn.100e6330
mov ecx, dword [ebp - 0x2c]
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 0x100e595a
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 0x100e597a
push 0
push 0xffffe013
call sym.nss3.dll_PR_SetError
add esp, 8
jmp 0x100e5876
push 0
push 0xffffe013
call sym.nss3.dll_PR_SetError
add esp, 8
jmp 0x100e5e37
push 0
push 0xffffe013
call sym.nss3.dll_PR_SetError
add esp, 8
xor esi, esi
mov dword [ebp - 0x30], 0
mov ecx, dword [ebp - 0x2c]
jmp 0x100e5e00
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 [ebp - 0x2c]
mov dword [ecx + 0xc0], eax
xor esi, esi
test eax, eax
je 0x100e596e
push 0
push eax
call sym.nss3.dll_SEC_PKCS7IncludeCertChain
mov ecx, dword [ebp - 0x2c]
add esp, 8
mov dword [ebp - 0x30], 0
test eax, eax
jne 0x100e5e00
push dword [ecx + 0xc0]
call sym.nss3.dll_SEC_PKCS7AddSigningTime
mov ecx, dword [ebp - 0x2c]
add esp, 4
xor edx, edx
cmp dword [ecx + 0xc0], 0
je 0x100e5dfb
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push 0x100e5e50
push 0x101c2184
push dword [ebp - 0x3c]
call fcn.100d9580
mov esi, dword [ebp - 0x2c]
add esp, 0x10
mov dword [esi + 8], eax
test eax, eax
je 0x100e5a84
mov dword [eax + 0xc], 1
mov eax, dword [esi + 8]
mov dword [eax + 0x14], 0x100e5e80
mov dword [eax + 0x18], esi
push 0
push 0
push dword [esi + 8]
call fcn.100d8b70
add esp, 0xc
mov edi, 0xffffffff
test eax, eax
je 0x100e5aa5
mov ecx, esi
jmp 0x100e5a9b
push 0
push 0xffffe013
call sym.nss3.dll_PR_SetError
mov ecx, dword [ebp - 0x2c]
add esp, 8
xor esi, esi
mov dword [ebp - 0x30], 0
jmp 0x100e5e00
mov eax, dword [ebp - 0x2c]
add eax, 0xb4
push 0x927c0
push eax
push dword [ebx]
call sym.nss3.dll_SEC_ASN1EncodeInteger_Util
add esp, 0xc
mov dword [ebp - 0x30], 0
test eax, eax
je 0x100e5a7c
lea eax, [ebp - 0x28]
push 1
push 1
push 1
push dword [ebx + 0x14]
push eax
push 0
call fcn.100e6430
add esp, 0x18
test eax, eax
je 0x100e5a7c
push 0x927c0
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.100c36d0
add esp, 0xc
mov dword [ebp - 0x30], eax
push 1
push esi
call sym.nss3.dll_SECITEM_FreeItem_Util
add esp, 8
push 0
lea eax, [ebp - 0x28]
push eax
call sym.nss3.dll_SECITEM_FreeItem_Util
add esp, 8
push dword [ebx + 0x18]
call fcn.100e62b0
add esp, 4
xor esi, esi
cmp eax, 0xffffffff
je 0x100e5a7c
push 0
push 0x14
push dword [ebp - 0x30]
push eax
push 0
call sym.nss3.dll_PK11_KeyGen
add esp, 0x14
mov dword [ebp - 0x38], eax
push dword [ebp - 0x30]
call fcn.100c37b0
add esp, 4
cmp dword [ebp - 0x38], 0
je 0x100e5a7c
push dword [ebx + 0x18]
call fcn.100e6230
add esp, 4
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 0x38]
push 0x108
push eax
call sym.nss3.dll_PK11_CreateContextBySymKey
add esp, 0x10
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0xd0], eax
push dword [ebp - 0x38]
call sym.nss3.dll_PK11_FreeSymKey
add esp, 4
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0xd0]
test eax, eax
je 0x100e5dd4
push eax
call sym.nss3.dll_PK11_DigestBegin
add esp, 4
test eax, eax
je 0x100e5de8
mov ecx, dword [ebp - 0x2c]
jmp 0x100e5e00
push 0
push 0xffffe013
call sym.nss3.dll_PR_SetError
mov ecx, dword [ebp - 0x2c]
add esp, 8
mov edi, 0xffffffff
call fcn.100e6100
jmp 0x100e5e37
push 0
push dword [esi + 8]
push 0x100e5ec0
push dword [esi + 0xc0]
call fcn.100e9650
add esp, 0x10
mov dword [esi + 0xc4], eax
test eax, eax
mov ecx, esi
je 0x100e5a9b
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 0x100e5b14
cmp dword [eax + 0x10], 0
je 0x100e5b14
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0xd0]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0xd8], edx
add eax, 0x34
push esi
push 0x100e5ee0
push 0x101c222c
push eax
call fcn.100d9580
mov ecx, dword [ebp - 0x2c]
add esp, 0x10
mov dword [ecx + 0xc8], eax
test eax, eax
je 0x100e5a9b
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 0x100e5c74
push dword [ecx + 0xc8]
call fcn.100d9900
add esp, 4
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0xc8]
mov dword [eax + 0xc], 0
push 0
push 0
mov eax, dword [ebp - 0x2c]
push dword [eax + 0xc8]
call fcn.100d8b70
add esp, 0xc
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0xc8]
push 0
push dword [eax]
call sym.nss3.dll_PORT_FreeArena_Util
mov ecx, dword [ebp - 0x2c]
add esp, 8
mov dword [ecx + 0xc8], 0
mov eax, dword [ecx + 0xdc]
test eax, eax
je 0x100e5bea
mov esi, ecx
add esi, 0xe4
mov ecx, dword [ecx + 0xd4]
xor edx, edx
push 0
push eax
push esi
call fcn.100e9b20
mov ecx, dword [ebp - 0x2c]
add esp, 0xc
mov dword [ecx + 0xdc], 0
push dword [ebx + 0x28]
push dword [ebx + 0x24]
push dword [ecx + 0xc4]
call fcn.100e9dc0
mov ecx, dword [ebp - 0x2c]
add esp, 0xc
mov edi, eax
mov dword [ecx + 0xc4], 0
test eax, eax
jne 0x100e5a9b
push dword [ecx + 8]
call fcn.100d9900
add esp, 4
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 8]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x2c]
call fcn.100e5fe0
mov ecx, dword [ebp - 0x2c]
mov edi, eax
test eax, eax
jne 0x100e5a9b
push 0
push 0
push dword [ecx + 8]
call fcn.100d8b70
add esp, 0xc
mov edi, eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 8]
push 0
push dword [eax]
call sym.nss3.dll_PORT_FreeArena_Util
mov ecx, dword [ebp - 0x2c]
add esp, 8
mov dword [ecx + 8], 0
jmp 0x100e5a9b
lea esi, [ecx + 0x20e4]
mov dword [ebp - 0x30], esi
add ecx, 0x20f4
mov dword [ebp - 0x3c], ecx
jmp 0x100e5cca
mov eax, dword [ecx + 4]
push dword [eax + 0x28]
push dword [eax + 0x24]
push dword [ebp - 0x34]
call fcn.100e9dc0
add esp, 0xc
push 0x2010
push 0
push dword [ebp - 0x30]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 0xcc]
inc edx
mov dword [ecx + 0xcc], edx
cmp edx, dword [eax + 0x30]
je 0x100e5b62
cmp edx, dword [eax + 0x3c]
jae 0x100e5c9c
mov eax, dword [eax + 0x2c]
mov edi, dword [eax + edx*4]
cmp dword [edi + 0x18], 0
je 0x100e5cae
mov esi, dword [edi + 0x1c]
mov dword [ebp - 0x34], 0
push esi
call fcn.100e7090
add esp, 4
cmp eax, 0x19
je 0x100e5d12
cmp eax, 0x1b
je 0x100e5d12
cmp eax, 0x1e
jne 0x100e5cae
mov ecx, dword [edi + 0x14]
lea eax, [edi + 4]
push 0
push eax
mov dword [ebp - 0x34], ecx
push ecx
call fcn.100c5510
add esp, 0xc
push dword [ebp - 0x34]
mov eax, dword [ebp - 0x2c]
push dword [eax + 0xc8]
push 0x100e5ec0
push esi
call fcn.100e9650
add esp, 0x10
test eax, eax
je 0x100e5c9c
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov dword [esi + 0x20e4], eax
mov dword [esi + 0x20e8], 0
mov dword [esi + 0x20ec], 0
mov dword [esi + 0x20f0], 0x2000
push dword [ebp - 0x30]
push 0x100e5ee0
push 0x101c2290
push dword [edi + 0x20]
call fcn.100d9580
mov ecx, esi
add esp, 0x10
test eax, eax
je 0x100e5c88
mov edi, eax
push 0
push 0
push eax
call fcn.100d8b70
add esp, 0xc
push 0
push dword [edi]
call sym.nss3.dll_PORT_FreeArena_Util
mov ecx, dword [ebp - 0x2c]
add esp, 8
mov eax, dword [ecx + 0x20ec]
test eax, eax
je 0x100e5c88
mov ecx, dword [ecx + 0x20e4]
xor edx, edx
push 0
push eax
push dword [ebp - 0x3c]
call fcn.100e9b20
mov ecx, dword [ebp - 0x2c]
add esp, 0xc
mov dword [ecx + 0x20ec], 0
jmp 0x100e5c88
push 0
push 0xffffe013
call sym.nss3.dll_PR_SetError
add esp, 8
mov ecx, dword [ebp - 0x2c]
jmp 0x100e5e00
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
cmp dword [ecx + 0xc0], 0
jne 0x100e58f0
mov dword [ebp - 0x30], edx
xor esi, esi
call fcn.100e6100
mov ecx, dword [ebx]
test ecx, ecx
je 0x100e5e18
mov edx, dword [ebp - 0x34]
push 0
call fcn.100dbe30
add esp, 4
test esi, esi
je 0x100e5e27
push 1
push esi
call sym.nss3.dll_SECITEM_FreeItem_Util
add esp, 8
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x100e5e37
push eax
call fcn.100c37b0
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10156ff0
mov eax, edi
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret