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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x7c]
mov ebx, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x24], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [esp + 0x4c], eax
xor eax, eax
test ebx, ebx
je 0x6b5484a0
mov eax, dword [ebx + 0x10]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_OBJ_obj2nid
cmp eax, 0x16
je 0x6b5480d8
mov dword [esp + 0x10], 0xdf
xor esi, esi
mov dword [esp + 0xc], str.crypto_pkcs7_pk7_smime.c
mov dword [esp + 8], 0x71
mov dword [esp + 4], 0x75
mov dword [esp], 0x21
call sym.libcrypto_1_1.dll_ERR_put_error
mov eax, dword [esp + 0x4c]
xor eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
jne 0x6b5489ec
add esp, 0x5c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 2
mov dword [esp], ebx
call sym.libcrypto_1_1.dll_PKCS7_ctrl
mov edi, dword [esp + 0x20]
mov edx, eax
test edi, edi
sete al
mov byte [esp + 0x33], al
test edx, edx
je 0x6b548113
test al, al
jne 0x6b548510
test dword [esp + 0x84], 0x10000
je 0x6b548150
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 2
mov dword [esp], ebx
call sym.libcrypto_1_1.dll_PKCS7_ctrl
test eax, eax
jne 0x6b548150
mov ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x6b5484d8
mov dword [esp], ebx
call sym.libcrypto_1_1.dll_PKCS7_get_signer_info
mov dword [esp + 0x2c], eax
test eax, eax
je 0x6b54816c
mov dword [esp], eax
call sym.libcrypto_1_1.dll_OPENSSL_sk_num
test eax, eax
jne 0x6b5481a0
mov dword [esp + 0x10], 0xfa
xor esi, esi
mov dword [esp + 0xc], str.crypto_pkcs7_pk7_smime.c
mov dword [esp + 8], 0x7b
mov dword [esp + 4], 0x75
mov dword [esp], 0x21
call sym.libcrypto_1_1.dll_ERR_put_error
jmp 0x6b5480b7
mov eax, dword [esp + 0x84]
mov dword [esp + 4], esi
xor esi, esi
mov dword [esp], ebx
mov dword [esp + 8], eax
call sym.libcrypto_1_1.dll_PKCS7_get0_signers
mov dword [esp + 0x34], eax
test eax, eax
je 0x6b5480b7
call sym.libcrypto_1_1.dll_X509_STORE_CTX_new
mov dword [esp + 0x38], eax
test eax, eax
je 0x6b5485c8
mov esi, dword [esp + 0x84]
and esi, 0x20
jne 0x6b548340
mov edi, dword [esp + 0x84]
mov eax, dword [esp + 0x84]
and edi, 8
and eax, 0x2000
je 0x6b5486a0
test edi, edi
je 0x6b548610
mov dword [esp + 0x28], esi
xor edi, edi
mov esi, dword [esp + 0x34]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x38]
jmp 0x6b54822b
mov dword [esp], ebx
add edi, 1
call sym.libcrypto_1_1.dll_X509_STORE_CTX_cleanup
mov dword [esp], esi
call sym.libcrypto_1_1.dll_OPENSSL_sk_num
cmp eax, edi
jle 0x6b548337
mov dword [esp + 4], edi
mov dword [esp], esi
call sym.libcrypto_1_1.dll_OPENSSL_sk_value
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], ebp
mov dword [esp], ebx
call sym.libcrypto_1_1.dll_X509_STORE_CTX_init
test eax, eax
je 0x6b5488d0
mov dword [esp], ebx
call sym.libcrypto_1_1.dll_X509_verify_cert
test eax, eax
jg 0x6b548220
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x38]
mov dword [esp], edi
call sym.libcrypto_1_1.dll_X509_STORE_CTX_get_error
mov dword [esp], edi
xor edi, edi
mov ebx, eax
call sym.libcrypto_1_1.dll_X509_STORE_CTX_cleanup
mov dword [esp + 0x10], 0x11c
mov dword [esp + 0xc], str.crypto_pkcs7_pk7_smime.c
mov dword [esp + 8], 0x75
mov dword [esp + 4], 0x75
mov dword [esp], 0x21
call sym.libcrypto_1_1.dll_ERR_put_error
mov dword [esp], ebx
call sym.libcrypto_1_1.dll_X509_verify_cert_error_string
mov dword [esp + 4], 0x6b611e54
mov dword [esp + 8], eax
mov dword [esp], 2
call sym.libcrypto_1_1.dll_ERR_add_error_data
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_X509_STORE_CTX_free
mov eax, dword [esp + 0x28]
mov dword [esp + 8], 0x16a
mov dword [esp + 4], str.crypto_pkcs7_pk7_smime.c
mov dword [esp], eax
call sym.libcrypto_1_1.dll_CRYPTO_free
mov eax, dword [esp + 0x20]
test eax, eax
je 0x6b54831e
cmp byte [esp + 0x33], 0
jne 0x6b548603
mov dword [esp], edi
call sym.libcrypto_1_1.dll_BIO_free_all
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_OPENSSL_sk_free
jmp 0x6b5480b7
mov ebx, dword [esp + 0x3c]
lea esi, [esi]
nop
mov edx, dword [esp + 0x20]
test edx, edx
je 0x6b548548
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_BIO_method_type
cmp eax, 0x401
je 0x6b54878c
mov eax, dword [esp + 0x20]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym.libcrypto_1_1.dll_PKCS7_dataInit
mov edi, eax
test eax, eax
je 0x6b5485d9
mov byte [esp + 0x33], 1
mov esi, dword [esp + 0x84]
and esi, 1
je 0x6b5485b8
call sym.libcrypto_1_1.dll_BIO_s_mem
mov dword [esp], eax
call sym.libcrypto_1_1.dll_BIO_new
mov ebp, eax
test eax, eax
je 0x6b54894d
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x82
mov dword [esp], eax
call sym.libcrypto_1_1.dll_BIO_ctrl
mov dword [esp + 8], 0x145
mov dword [esp + 4], str.crypto_pkcs7_pk7_smime.c
mov dword [esp], 0x1000
call sym.libcrypto_1_1.dll_CRYPTO_malloc
mov dword [esp + 0x28], eax
test eax, eax
jne 0x6b548400
jmp 0x6b54891a
test ebp, ebp
jne 0x6b548598
mov eax, dword [esp + 0x28]
mov dword [esp + 8], 0x1000
mov dword [esp], edi
mov dword [esp + 4], eax
call sym.libcrypto_1_1.dll_BIO_read
test eax, eax
jg 0x6b5483f8
test esi, esi
jne 0x6b548730
mov esi, dword [esp + 0x84]
and esi, 4
jne 0x6b54848d
mov dword [esp + 0x3c], esi
xor ebp, ebp
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x24], ebx
jmp 0x6b548481
mov dword [esp + 4], ebp
mov dword [esp], esi
call sym.libcrypto_1_1.dll_OPENSSL_sk_value
mov dword [esp + 4], ebp
mov ebx, eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_OPENSSL_sk_value
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x24]
mov dword [esp], edi
mov dword [esp + 4], eax
call sym.libcrypto_1_1.dll_PKCS7_signatureVerify
test eax, eax
jle 0x6b548757
add ebp, 1
mov dword [esp], esi
call sym.libcrypto_1_1.dll_OPENSSL_sk_num
cmp ebp, eax
jl 0x6b548440
mov esi, 1
jmp 0x6b5482e3
mov dword [esp + 0x10], 0xda
xor esi, esi
mov dword [esp + 0xc], str.crypto_pkcs7_pk7_smime.c
mov dword [esp + 8], 0x8f
mov dword [esp + 4], 0x75
mov dword [esp], 0x21
call sym.libcrypto_1_1.dll_ERR_put_error
jmp 0x6b5480b7
mov dword [esp + 0x10], 0xf2
xor esi, esi
mov dword [esp + 0xc], str.crypto_pkcs7_pk7_smime.c
mov dword [esp + 8], 0x76
mov dword [esp + 4], 0x75
mov dword [esp], 0x21
call sym.libcrypto_1_1.dll_ERR_put_error
jmp 0x6b5480b7
mov dword [esp + 0x10], 0xe5
xor esi, esi
mov dword [esp + 0xc], str.crypto_pkcs7_pk7_smime.c
mov dword [esp + 8], 0x7a
mov dword [esp + 4], 0x75
mov dword [esp], 0x21
call sym.libcrypto_1_1.dll_ERR_put_error
jmp 0x6b5480b7
mov dword [esp + 4], 0
mov dword [esp], ebx
call sym.libcrypto_1_1.dll_PKCS7_dataInit
mov edi, eax
test eax, eax
jne 0x6b54837d
mov eax, dword [esp + 0x38]
xor esi, esi
mov dword [esp], eax
call sym.libcrypto_1_1.dll_X509_STORE_CTX_free
mov dword [esp + 8], 0x16a
mov dword [esp + 4], str.crypto_pkcs7_pk7_smime.c
mov dword [esp], 0
call sym.libcrypto_1_1.dll_CRYPTO_free
jmp 0x6b54831e
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esp], ebp
mov dword [esp + 4], eax
call sym.libcrypto_1_1.dll_BIO_write
jmp 0x6b548400
mov ebp, dword [esp + 0x24]
jmp 0x6b5483c9
mov dword [esp + 0x28], 0
mov esi, eax
xor edi, edi
jmp 0x6b5482e3
mov eax, dword [esp + 0x38]
xor esi, esi
mov dword [esp], eax
call sym.libcrypto_1_1.dll_X509_STORE_CTX_free
mov dword [esp + 8], 0x16a
mov dword [esp + 4], str.crypto_pkcs7_pk7_smime.c
mov dword [esp], 0
call sym.libcrypto_1_1.dll_CRYPTO_free
mov dword [esp], edi
call sym.libcrypto_1_1.dll_BIO_pop
jmp 0x6b54831e
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x38]
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x34]
jmp 0x6b548633
mov dword [esp], esi
add edi, 1
call sym.libcrypto_1_1.dll_X509_STORE_CTX_cleanup
mov dword [esp], ebp
call sym.libcrypto_1_1.dll_OPENSSL_sk_num
cmp eax, edi
jle 0x6b548340
mov dword [esp + 4], edi
mov dword [esp], ebp
call sym.libcrypto_1_1.dll_OPENSSL_sk_value
mov edx, dword [ebx + 0x14]
mov edx, dword [edx + 8]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esp], esi
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
call sym.libcrypto_1_1.dll_X509_STORE_CTX_init
test eax, eax
je 0x6b5487f8
mov dword [esp + 4], 0x6b611e49
mov dword [esp], esi
call sym.libcrypto_1_1.dll_X509_STORE_CTX_set_default
mov dword [esp], esi
call sym.libcrypto_1_1.dll_X509_verify_cert
test eax, eax
jg 0x6b548628
mov esi, dword [esp + 0x3c]
jmp 0x6b548277
test edi, edi
je 0x6b548837
mov dword [esp + 0x3c], esi
mov edi, dword [esp + 0x38]
mov esi, eax
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x34]
jmp 0x6b5486cb
mov dword [esp], edi
add esi, 1
call sym.libcrypto_1_1.dll_X509_STORE_CTX_cleanup
mov dword [esp], ebp
call sym.libcrypto_1_1.dll_OPENSSL_sk_num
cmp esi, eax
jge 0x6b548340
mov dword [esp + 4], esi
mov dword [esp], ebp
call sym.libcrypto_1_1.dll_OPENSSL_sk_value
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esp], edi
mov dword [esp + 4], eax
call sym.libcrypto_1_1.dll_X509_STORE_CTX_init
test eax, eax
je 0x6b548988
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0xc]
mov dword [esp], edi
mov dword [esp + 4], eax
call sym.libcrypto_1_1.dll_X509_STORE_CTX_set0_crls
mov dword [esp], edi
call sym.libcrypto_1_1.dll_X509_verify_cert
test eax, eax
jg 0x6b5486c0
jmp 0x6b548691
mov eax, dword [esp + 0x24]
mov dword [esp], ebp
mov dword [esp + 4], eax
call sym.libcrypto_1_1.dll_SMIME_text
mov esi, eax
test eax, eax
je 0x6b5488e1
mov dword [esp], ebp
call sym.libcrypto_1_1.dll_BIO_free
jmp 0x6b548424
mov dword [esp + 0x10], 0x161
mov esi, dword [esp + 0x3c]
mov dword [esp + 0xc], str.crypto_pkcs7_pk7_smime.c
mov dword [esp + 8], 0x69
mov dword [esp + 4], 0x75
mov dword [esp], 0x21
call sym.libcrypto_1_1.dll_ERR_put_error
jmp 0x6b5482e3
lea eax, [esp + 0x48]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], 3
mov dword [esp], eax
call sym.libcrypto_1_1.dll_BIO_ctrl
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_BIO_new_mem_buf
mov esi, eax
test eax, eax
je 0x6b548991
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym.libcrypto_1_1.dll_PKCS7_dataInit
cmp dword [esp + 0x20], esi
mov edi, eax
sete byte [esp + 0x33]
test eax, eax
jne 0x6b548382
mov dword [esp + 0x28], 0
xor esi, esi
jmp 0x6b5482e3
mov dword [esp + 0x10], 0x10d
mov esi, dword [esp + 0x3c]
mov dword [esp + 0xc], str.crypto_pkcs7_pk7_smime.c
xor edi, edi
mov dword [esp + 8], 0xb
mov dword [esp + 4], 0x75
mov dword [esp], 0x21
call sym.libcrypto_1_1.dll_ERR_put_error
mov dword [esp + 0x28], 0
jmp 0x6b5482e3
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x38]
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x34]
jmp 0x6b54885b
mov dword [esp], esi
add edi, 1
call sym.libcrypto_1_1.dll_X509_STORE_CTX_cleanup
mov dword [esp], ebp
call sym.libcrypto_1_1.dll_OPENSSL_sk_num
cmp edi, eax
jge 0x6b548340
mov dword [esp + 4], edi
mov dword [esp], ebp
call sym.libcrypto_1_1.dll_OPENSSL_sk_value
mov edx, dword [ebx + 0x14]
mov edx, dword [edx + 8]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esp], esi
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
call sym.libcrypto_1_1.dll_X509_STORE_CTX_init
test eax, eax
je 0x6b5487f8
mov dword [esp + 4], 0x6b611e49
mov dword [esp], esi
call sym.libcrypto_1_1.dll_X509_STORE_CTX_set_default
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0xc]
mov dword [esp], esi
mov dword [esp + 4], eax
call sym.libcrypto_1_1.dll_X509_STORE_CTX_set0_crls
mov dword [esp], esi
call sym.libcrypto_1_1.dll_X509_verify_cert
test eax, eax
jg 0x6b548850
jmp 0x6b548691
mov esi, dword [esp + 0x28]
mov dword [esp + 0x10], 0x112
jmp 0x6b548804
mov dword [esp + 0x10], 0x153
mov dword [esp + 0xc], str.crypto_pkcs7_pk7_smime.c
mov dword [esp + 8], 0x81
mov dword [esp + 4], 0x75
mov dword [esp], 0x21
call sym.libcrypto_1_1.dll_ERR_put_error
mov dword [esp], ebp
call sym.libcrypto_1_1.dll_BIO_free
jmp 0x6b5482e3
mov dword [esp + 0x10], 0x146
xor esi, esi
mov dword [esp + 0xc], str.crypto_pkcs7_pk7_smime.c
mov dword [esp + 8], 0x41
mov dword [esp + 4], 0x75
mov dword [esp], 0x21
call sym.libcrypto_1_1.dll_ERR_put_error
jmp 0x6b5482e3
mov dword [esp + 0x10], 0x13d
xor esi, esi
mov dword [esp + 0xc], str.crypto_pkcs7_pk7_smime.c
mov dword [esp + 8], 0x41
mov dword [esp + 4], 0x75
mov dword [esp], 0x21
call sym.libcrypto_1_1.dll_ERR_put_error
mov dword [esp + 0x28], 0
jmp 0x6b5482e3
mov esi, dword [esp + 0x3c]
jmp 0x6b5488d4
mov dword [esp + 0x10], 0x132
xor edi, edi
mov dword [esp + 0xc], str.crypto_pkcs7_pk7_smime.c
mov dword [esp + 8], 0x41
mov dword [esp + 4], 0x75
mov dword [esp], 0x21
call sym.libcrypto_1_1.dll_ERR_put_error
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_X509_STORE_CTX_free
mov dword [esp + 8], 0x16a
mov dword [esp + 4], str.crypto_pkcs7_pk7_smime.c
mov dword [esp], 0
call sym.libcrypto_1_1.dll_CRYPTO_free
jmp 0x6b54831e
call sym.___stack_chk_fail
lea esi, [esi]
lea esi, [esi]
nop