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

Disassembly:
mov eax, 0x7c
call fcn.1011d0a0
mov eax, dword [0x101a7890]
xor eax, esp
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x84]
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x8c]
xor ebp, ebp
push edi
mov dword [esp + 0x30], eax
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x34], esi
xor edi, edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], eax
test esi, esi
jne 0x100e2615
push 0xce
push str.cryptopkcs7pk7_doit.c
push 0x8f
push 0x69
push 0x21
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.1011d087
add esp, 0x7c
ret
cmp dword [esi + 0x14], eax
jne 0x100e2647
push 0xdc
push str.cryptopkcs7pk7_doit.c
push 0x7a
push 0x69
push 0x21
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.1011d087
add esp, 0x7c
ret
push dword [esi + 0x10]
call sym.libcrypto_1_1.dll_OBJ_obj2nid
add eax, 0xffffffeb
mov dword [esi + 8], ebx
add esp, 4
cmp eax, 4
ja case.default.0x100e2661
jmp dword [eax*4 + 0x100e2af8]
mov eax, dword [esi + 0x14]
mov edi, dword [eax + 4]
push dword [eax + 0x14]
jmp 0x100e26db
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0x18]
mov edi, dword [eax + 4]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x20], ecx
mov ebx, dword [eax + 0xc]
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], ecx
test ebx, ebx
jne case.0x100e2661.21
push 0xee
push str.cryptopkcs7pk7_doit.c
push 0x74
jmp 0x100e2ac1
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x20], ecx
mov ebx, dword [eax + 0xc]
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], ecx
test ebx, ebx
jne case.0x100e2661.21
push 0xf7
push str.cryptopkcs7pk7_doit.c
push 0x74
jmp 0x100e2ac1
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 4]
push dword [eax + 8]
mov dword [esp + 0x20], ecx
call fcn.100e2dd0
mov dword [esp + 0x28], eax
add esp, 4
push edi
xor esi, esi
call sym.libcrypto_1_1.dll_OPENSSL_sk_num
add esp, 4
test eax, eax
jle 0x100e2721
push esi
push edi
call sym.libcrypto_1_1.dll_OPENSSL_sk_value
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.100e1970
add esp, 0x10
test eax, eax
je 0x100e276e
push edi
inc esi
call sym.libcrypto_1_1.dll_OPENSSL_sk_num
add esp, 4
cmp esi, eax
jl 0x100e26f6
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x100e273f
push eax
lea eax, [esp + 0x14]
push eax
call fcn.100e1970
add esp, 8
test eax, eax
je 0x100e276e
mov ebp, dword [esp + 0x10]
test ebx, ebx
je 0x100e29e0
call sym.libcrypto_1_1.dll_BIO_f_cipher
push eax
call sym.libcrypto_1_1.dll_BIO_new
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
jne 0x100e2777
push 0x114
push str.cryptopkcs7pk7_doit.c
push 0x20
jmp 0x100e2ac1
mov ebp, dword [esp + 0x10]
jmp 0x100e2acd
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x81
push eax
call sym.libcrypto_1_1.dll_BIO_ctrl
push ebx
call sym.libcrypto_1_1.dll_ASN1_PCTX_get_cert_flags
push ebx
mov dword [esp + 0x34], eax
call sym.libcrypto_1_1.dll_ASN1_PCTX_get_oid_flags
push ebx
mov esi, eax
call sym.libcrypto_1_1.dll_EVP_CIPHER_type
push eax
call sym.libcrypto_1_1.dll_OBJ_nid2obj
mov edi, dword [esp + 0x34]
add esp, 0x20
mov dword [edi], eax
test esi, esi
jle 0x100e27ca
lea eax, [esp + 0x38]
push esi
push eax
call sym.libcrypto_1_1.dll_RAND_bytes
add esp, 8
test eax, eax
jle 0x100e2acd
push 1
push 0
push 0
push 0
push ebx
push dword [esp + 0x24]
call sym.libcrypto_1_1.dll_EVP_CipherInit_ex
add esp, 0x18
test eax, eax
jle 0x100e2acd
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x14]
call sym.libcrypto_1_1.dll_EVP_CIPHER_CTX_rand_key
add esp, 8
test eax, eax
jle 0x100e2acd
push 1
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x50]
push eax
push 0
push 0
push dword [esp + 0x24]
call sym.libcrypto_1_1.dll_EVP_CipherInit_ex
add esp, 0x18
test eax, eax
jle 0x100e2acd
test esi, esi
jle 0x100e2854
mov eax, dword [edi + 4]
test eax, eax
jne 0x100e283f
call sym.libcrypto_1_1.dll_ASN1_TYPE_new
mov dword [edi + 4], eax
test eax, eax
je 0x100e2acd
push eax
push dword [esp + 0x14]
call sym.libcrypto_1_1.dll_EVP_CIPHER_param_to_asn1
add esp, 8
test eax, eax
js 0x100e2acd
mov esi, dword [esp + 0x20]
xor ebx, ebx
push esi
call sym.libcrypto_1_1.dll_OPENSSL_sk_num
add esp, 4
test eax, eax
jle 0x100e29b8
nop dword [eax + eax]
push ebx
push esi
call sym.libcrypto_1_1.dll_OPENSSL_sk_value
xor edi, edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edi
push dword [eax + 0x10]
call sym.libcrypto_1_1.dll_X509_get0_pubkey
add esp, 0xc
test eax, eax
je 0x100e2acd
push edi
push eax
call sym.libcrypto_1_1.dll_EVP_PKEY_CTX_new
mov esi, eax
add esp, 8
test esi, esi
je 0x100e2acd
push esi
call sym.libcrypto_1_1.dll_EVP_PKEY_encrypt_init
add esp, 4
test eax, eax
jle 0x100e297e
push dword [esp + 0x28]
push edi
push 3
push 0x100
push 0xffffffffffffffff
push esi
call sym.libcrypto_1_1.dll_EVP_PKEY_CTX_ctrl
add esp, 0x18
test eax, eax
jg 0x100e28f4
push 0x6e
push str.cryptopkcs7pk7_doit.c
push 0x98
push 0x84
push 0x21
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
jmp 0x100e297e
push dword [esp + 0x1c]
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push esi
call sym.libcrypto_1_1.dll_EVP_PKEY_encrypt
add esp, 0x14
test eax, eax
jle 0x100e297e
push 0x75
push str.cryptopkcs7pk7_doit.c
push dword [esp + 0x1c]
call sym.libcrypto_1_1.dll_CRYPTO_malloc
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x100e2944
push 0x78
push str.cryptopkcs7pk7_doit.c
push 0x41
push 0x84
push 0x21
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
jmp 0x100e297e
push dword [esp + 0x1c]
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x1c]
push eax
push edi
push esi
call sym.libcrypto_1_1.dll_EVP_PKEY_encrypt
add esp, 0x14
test eax, eax
jle 0x100e297e
push dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
push edi
push dword [eax + 0xc]
call sym.libcrypto_1_1.dll_ASN1_STRING_set0
add esp, 0xc
mov dword [esp + 0x2c], 1
xor edi, edi
push esi
call sym.libcrypto_1_1.dll_EVP_PKEY_CTX_free
push 0x86
push str.cryptopkcs7pk7_doit.c
push edi
call sym.libcrypto_1_1.dll_CRYPTO_free
add esp, 0x10
cmp dword [esp + 0x2c], 0
jbe 0x100e2acd
mov esi, dword [esp + 0x20]
inc ebx
push esi
call sym.libcrypto_1_1.dll_OPENSSL_sk_num
add esp, 4
cmp ebx, eax
jl 0x100e2870
push dword [esp + 0x1c]
lea eax, [esp + 0x4c]
push eax
call sym.libcrypto_1_1.dll_OPENSSL_cleanse
add esp, 8
test ebp, ebp
jne 0x100e29d3
mov ebp, dword [esp + 0x18]
jmp 0x100e29e0
push dword [esp + 0x18]
push ebp
call sym.libcrypto_1_1.dll_BIO_push
add esp, 8
mov ebx, dword [esp + 0x30]
test ebx, ebx
jne 0x100e2a7b
mov esi, dword [esp + 0x34]
push dword [esi + 0x10]
call sym.libcrypto_1_1.dll_OBJ_obj2nid
add esp, 4
cmp eax, 0x16
jne 0x100e2a23
push ebx
push ebx
push 2
push esi
call sym.libcrypto_1_1.dll_PKCS7_ctrl
add esp, 0x10
test eax, eax
je 0x100e2a23
call sym.libcrypto_1_1.dll_BIO_s_null
push eax
call sym.libcrypto_1_1.dll_BIO_new
add esp, 4
mov ebx, eax
jmp 0x100e2a6f
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x100e2a41
mov eax, dword [ecx]
test eax, eax
jle 0x100e2a41
push eax
push dword [ecx + 8]
call sym.libcrypto_1_1.dll_BIO_new_mem_buf
add esp, 8
mov ebx, eax
jmp 0x100e2a6f
call sym.libcrypto_1_1.dll_BIO_s_mem
push eax
call sym.libcrypto_1_1.dll_BIO_new
mov ebx, eax
mov dword [esp + 0x1c], 0
add esp, 4
test ebx, ebx
je 0x100e2acd
push 0
push 0
push 0x82
push ebx
call sym.libcrypto_1_1.dll_BIO_ctrl
add esp, 0x10
mov dword [esp + 0x18], 0
test ebx, ebx
je 0x100e2acd
test ebp, ebp
je 0x100e2a9e
push ebx
push ebp
call sym.libcrypto_1_1.dll_BIO_push
add esp, 8
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.1011d087
add esp, 0x7c
ret
pop edi
mov ebp, ebx
pop esi
mov eax, ebp
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.1011d087
add esp, 0x7c
ret
push 0x102
push str.cryptopkcs7pk7_doit.c
push 0x70
push 0x69
push 0x21
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
push ebp
call sym.libcrypto_1_1.dll_BIO_free_all
push dword [esp + 0x1c]
call sym.libcrypto_1_1.dll_BIO_free_all
mov ecx, dword [esp + 0x90]
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1011d087
add esp, 0x7c
ret