Function at 0x100e6c70
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 [0x101f1014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, 0xffffffff
test ebx, ebx
je 0x100e73f7
cmp dword [ebp + 0xc], 0
je 0x100e73f7
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x100e73f7
mov edx, dword [eax]
test edx, edx
je 0x100e73f7
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 0x100e6cd0
test ecx, ecx
je 0x100e73f7
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 0x100e6e11
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 0x100e6e25
cmp dword [ebx + 0xc], 0
je 0x100e6d88
cmp dword [ebx + 0x10], 0
je 0x100e6e45
call fcn.100e9030
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0xc0], eax
cmp dword [ebx + 0xc], 0
je 0x100e6ea1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0
call fcn.100e78f0
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 0x100e6f1a
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 0x100e6f3a
push 0
push 0xffffe013
call sym.nss3.dll_PR_SetError
add esp, 8
jmp 0x100e6e36
push 0
push 0xffffe013
call sym.nss3.dll_PR_SetError
add esp, 8
jmp 0x100e73f7
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 0x100e73c0
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 0x100e6f2e
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 0x100e73c0
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 0x100e73bb
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 0x100e7410
push 0x101c4364
push dword [ebp - 0x3c]
call fcn.100dab40
mov esi, dword [ebp - 0x2c]
add esp, 0x10
mov dword [esi + 8], eax
test eax, eax
je 0x100e7044
mov dword [eax + 0xc], 1
mov eax, dword [esi + 8]
mov dword [eax + 0x14], 0x100e7440
mov dword [eax + 0x18], esi
push 0
push 0
push dword [esi + 8]
call fcn.100da130
add esp, 0xc
mov edi, 0xffffffff
test eax, eax
je 0x100e7065
mov ecx, esi
jmp 0x100e705b
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 0x100e73c0
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 0x100e703c
lea eax, [ebp - 0x28]
push 1
push 1
push 1
push dword [ebx + 0x14]
push eax
push 0
call fcn.100e79f0
add esp, 0x18
test eax, eax
je 0x100e703c
push 0x927c0
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.100c4c80
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.100e7870
add esp, 4
xor esi, esi
cmp eax, 0xffffffff
je 0x100e703c
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.100c4d60
add esp, 4
cmp dword [ebp - 0x38], 0
je 0x100e703c
push dword [ebx + 0x18]
call fcn.100e77f0
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 0x100e7394
push eax
call sym.nss3.dll_PK11_DigestBegin
add esp, 4
test eax, eax
je 0x100e73a8
mov ecx, dword [ebp - 0x2c]
jmp 0x100e73c0
push 0
push 0xffffe013
call sym.nss3.dll_PR_SetError
mov ecx, dword [ebp - 0x2c]
add esp, 8
mov edi, 0xffffffff
call fcn.100e76c0
jmp 0x100e73f7
push 0
push dword [esi + 8]
push 0x100e7480
push dword [esi + 0xc0]
call fcn.100eac10
add esp, 0x10
mov dword [esi + 0xc4], eax
test eax, eax
mov ecx, esi
je 0x100e705b
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 0x100e70d4
cmp dword [eax + 0x10], 0
je 0x100e70d4
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 0x100e74a0
push 0x101c440c
push eax
call fcn.100dab40
mov ecx, dword [ebp - 0x2c]
add esp, 0x10
mov dword [ecx + 0xc8], eax
test eax, eax
je 0x100e705b
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 0x100e7234
push dword [ecx + 0xc8]
call fcn.100daec0
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.100da130
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 0x100e71aa
mov esi, ecx
add esi, 0xe4
mov ecx, dword [ecx + 0xd4]
xor edx, edx
push 0
push eax
push esi
call fcn.100eb0e0
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.100eb380
mov ecx, dword [ebp - 0x2c]
add esp, 0xc
mov edi, eax
mov dword [ecx + 0xc4], 0
test eax, eax
jne 0x100e705b
push dword [ecx + 8]
call fcn.100daec0
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.100e75a0
mov ecx, dword [ebp - 0x2c]
mov edi, eax
test eax, eax
jne 0x100e705b
push 0
push 0
push dword [ecx + 8]
call fcn.100da130
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 0x100e705b
lea esi, [ecx + 0x20e4]
mov dword [ebp - 0x30], esi
add ecx, 0x20f4
mov dword [ebp - 0x3c], ecx
jmp 0x100e728a
mov eax, dword [ecx + 4]
push dword [eax + 0x28]
push dword [eax + 0x24]
push dword [ebp - 0x34]
call fcn.100eb380
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 0x100e7122
cmp edx, dword [eax + 0x3c]
jae 0x100e725c
mov eax, dword [eax + 0x2c]
mov edi, dword [eax + edx*4]
cmp dword [edi + 0x18], 0
je 0x100e726e
mov esi, dword [edi + 0x1c]
mov dword [ebp - 0x34], 0
push esi
call fcn.100e8650
add esp, 4
cmp eax, 0x19
je 0x100e72d2
cmp eax, 0x1b
je 0x100e72d2
cmp eax, 0x1e
jne 0x100e726e
mov ecx, dword [edi + 0x14]
lea eax, [edi + 4]
push 0
push eax
mov dword [ebp - 0x34], ecx
push ecx
call fcn.100c6ac0
add esp, 0xc
push dword [ebp - 0x34]
mov eax, dword [ebp - 0x2c]
push dword [eax + 0xc8]
push 0x100e7480
push esi
call fcn.100eac10
add esp, 0x10
test eax, eax
je 0x100e725c
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 0x100e74a0
push 0x101c4470
push dword [edi + 0x20]
call fcn.100dab40
mov ecx, esi
add esp, 0x10
test eax, eax
je 0x100e7248
mov edi, eax
push 0
push 0
push eax
call fcn.100da130
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 0x100e7248
mov ecx, dword [ecx + 0x20e4]
xor edx, edx
push 0
push eax
push dword [ebp - 0x3c]
call fcn.100eb0e0
mov ecx, dword [ebp - 0x2c]
add esp, 0xc
mov dword [ecx + 0x20ec], 0
jmp 0x100e7248
push 0
push 0xffffe013
call sym.nss3.dll_PR_SetError
add esp, 8
mov ecx, dword [ebp - 0x2c]
jmp 0x100e73c0
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
cmp dword [ecx + 0xc0], 0
jne 0x100e6eb0
mov dword [ebp - 0x30], edx
xor esi, esi
call fcn.100e76c0
mov ecx, dword [ebx]
test ecx, ecx
je 0x100e73d8
mov edx, dword [ebp - 0x34]
push 0
call fcn.100dd3f0
add esp, 4
test esi, esi
je 0x100e73e7
push 1
push esi
call sym.nss3.dll_SECITEM_FreeItem_Util
add esp, 8
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x100e73f7
push eax
call fcn.100c4d60
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10157a00
mov eax, edi
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret