Function at 0x6ae4c0
Capabilities:
Check for software breakpoints

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xc8
movups xmmword [rsp + 0xb0], xmm6
lea rdi, str.application_x_pkcs7_
lea rbx, [0x009885fa]
mov eax, dword [rsp + 0x130]
test r9d, 0x400
mov r14, rdx
mov r12, rcx
mov r13, r8
lea rdx, str.application_pkcs7_
mov esi, r9d
cmove rdi, rdx
test r9d, 0x800
lea rdx, [0x00988717]
cmove rbx, rdx
test r9b, 0x40
je 0x6ae52f
test r8, r8
jne 0x6ae628
cmp eax, 0x17
je 0x6ae7f0
cmp eax, 0x16
je 0x6aeb10
cmp eax, 0x312
je 0x6aeb58
mov r8, rbx
lea rdx, str.MIME_Version:_1.0_s
mov rcx, r12
call sym.BIO_printf
lea rdx, str.Content_Disposition:_attachment_
mov rcx, r12
lea rbp, str.smime.p7m
call sym.BIO_printf
mov r9, rbx
lea r8, str.smime.p7m
mov rcx, r12
lea rdx, str._filename__s__s
call sym.BIO_printf
mov r8, rdi
lea rdx, str.Content_Type:__smime_
mov rcx, r12
call sym.BIO_printf
mov r9, rbx
mov r8, rbp
lea rdx, str._name__s__s
mov rcx, r12
call sym.BIO_printf
mov r9, rbx
mov r8, rbx
mov rcx, r12
lea rdx, str.Content_Transfer_Encoding:_base64_s_s
call sym.BIO_printf
mov r9d, esi
mov r8, r13
mov rdx, r14
mov rax, qword [rsp + 0x148]
mov rcx, r12
mov qword [rsp + 0x20], rax
call sym.B64_write_ASN1
test eax, eax
je 0x6ae9c8
mov r8, rbx
lea rdx, [0x00988966]
mov rcx, r12
call sym.BIO_printf
mov eax, 1
movups xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rax, [rsp + 0x80]
mov edx, 0x20
mov rcx, rax
mov qword [rsp + 0x38], rax
call sym.RAND_bytes
test eax, eax
jle 0x6ae9c8
movdqu xmm0, xmmword [0x009889b0]
mov r8, rbx
mov rcx, r12
xor ebp, ebp
movdqu xmm1, xmmword [rsp + 0x80]
movdqu xmm5, xmmword [str._t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t00000000000000007777777777777777crypto_asn1_bio_ndef.c]
lea rdx, str.MIME_Version:_1.0_s
mov byte [rsp + 0xa0], 0
movdqu xmm3, xmmword [0x009889d0]
movdqu xmm2, xmmword [0x009889e0]
pand xmm1, xmm0
pand xmm0, xmmword [rsp + 0x90]
movdqu xmm6, xmm1
movdqu xmm4, xmm1
paddb xmm6, xmm3
pcmpgtb xmm1, xmm5
paddb xmm3, xmm0
paddb xmm4, xmm2
paddb xmm2, xmm0
pcmpgtb xmm0, xmm5
pand xmm4, xmm1
pandn xmm1, xmm6
pand xmm2, xmm0
pandn xmm0, xmm3
por xmm1, xmm4
por xmm0, xmm2
movups xmmword [rsp + 0x80], xmm1
movups xmmword [rsp + 0x90], xmm0
call sym.BIO_printf
lea rdx, str.Content_Type:_multipart_signed_
mov rcx, r12
call sym.BIO_printf
mov r8, rdi
lea rdx, str._protocol__ssignature__
mov rcx, r12
call sym.BIO_printf
lea rdx, str._micalg_
mov rcx, r12
call sym.BIO_puts
lea rax, [rsp + 0x60]
mov dword [rsp + 0x48], 0
xor edx, edx
mov qword [rsp + 0x40], rax
mov r15d, edx
mov rcx, qword [rsp + 0x140]
call sym.OPENSSL_sk_num
cmp ebp, eax
jge 0x6ae889
test r15d, r15d
jne 0x6aeaf0
mov rcx, qword [rsp + 0x140]
mov edx, ebp
call sym.OPENSSL_sk_value
mov rcx, qword [rax]
call sym.OBJ_obj2nid
mov ecx, eax
mov r15d, eax
call sym.OBJ_nid2sn
mov rcx, rax
call sym.EVP_get_digestbyname
test rax, rax
je 0x6ae7a2
mov rax, qword [rax + 0x40]
test rax, rax
je 0x6ae7a2
xor r8d, r8d
xor ecx, ecx
mov r9, qword [rsp + 0x40]
mov edx, 2
call rax
test eax, eax
jg 0x6aeb70
cmp eax, 0xfffffffe
jne 0x6ae889
cmp r15d, 0x2a2
je 0x6aec03
jg 0x6ae860
cmp r15d, 0x2a0
je 0x6aebb8
cmp r15d, 0x2a1
jne 0x6aeac0
lea rdx, str.sha_384
mov rcx, r12
mov r15d, 1
call sym.BIO_puts
nop dword [rax]
add ebp, 1
jmp 0x6ae72b
lea r15, str.enveloped_data
lea rbp, str.smime.p7m
mov r8, rbx
mov rcx, r12
lea rdx, str.MIME_Version:_1.0_s
call sym.BIO_printf
mov rcx, r12
lea rdx, str.Content_Disposition:_attachment_
call sym.BIO_printf
mov r9, rbx
mov r8, rbp
mov rcx, r12
lea rdx, str._filename__s__s
call sym.BIO_printf
mov r8, rdi
mov rcx, r12
lea rdx, str.Content_Type:__smime_
call sym.BIO_printf
mov r8, r15
lea rdx, str._smime_type_s_
mov rcx, r12
call sym.BIO_printf
jmp 0x6ae59f
cmp r15d, 0x3d6
je 0x6aeba0
cmp r15d, 0x3d7
jne 0x6aea9d
lea rdx, str.gostr3411_2012_512
mov rcx, r12
call sym.BIO_puts
mov r15, qword [rsp + 0x38]
mov qword [rsp + 0x20], rbx
mov r9, rbx
mov rcx, r12
lea rdx, str.___boundary______s__s_s
mov r8, r15
call sym.BIO_printf
mov r9, rbx
mov r8, rbx
mov rcx, r12
lea rdx, str.This_is_an_S_MIME_signed_message_s_s
call sym.BIO_printf
mov r9, rbx
mov r8, r15
mov rcx, r12
lea rdx, str._______s_s
call sym.BIO_printf
mov eax, esi
mov qword [rsp + 0x58], r14
and eax, 0x8040
cmp eax, 0x40
jne 0x6ae9cf
mov rax, qword [rsp + 0x148]
mov rbp, qword [rax + 0x18]
test rbp, rbp
je 0x6aec3a
mov rax, qword [rbp + 0x18]
test rax, rax
je 0x6aec3a
lea r10, [rsp + 0x58]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x60], r12
mov r8, qword [rsp + 0x148]
mov qword [rsp + 0x48], r9
mov rdx, r10
mov ecx, 0xc
mov qword [rsp + 0x40], r10
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
call rax
mov r10, qword [rsp + 0x40]
mov r9, qword [rsp + 0x48]
test eax, eax
jle 0x6ae9c8
mov rdx, qword [rsp + 0x68]
mov r8d, esi
mov rcx, r13
mov qword [rsp + 0x48], r10
mov qword [rsp + 0x40], r9
call sym.SMIME_crlf_copy
mov r10, qword [rsp + 0x48]
mov r9, qword [rsp + 0x40]
mov ecx, 0xd
mov r8, qword [rsp + 0x148]
mov rdx, r10
call qword [rbp + 0x18]
mov r13, qword [rsp + 0x68]
mov esi, eax
cmp r12, r13
je 0x6ae9bf
nop word [rax + rax]
mov rcx, r13
call sym.BIO_pop
mov rcx, qword [rsp + 0x68]
mov r13, rax
call sym.BIO_free
mov qword [rsp + 0x68], r13
cmp r12, r13
jne 0x6ae9a0
test esi, esi
jg 0x6ae9dd
nop dword [rax + rax]
xor eax, eax
jmp 0x6ae606
mov r8d, esi
mov rdx, r12
mov rcx, r13
call sym.SMIME_crlf_copy
mov rsi, qword [rsp + 0x38]
mov qword [rsp + 0x20], rbx
mov r8, rbx
mov rcx, r12
lea rdx, str._s_______s_s
mov r9, rsi
call sym.BIO_printf
mov r8, rdi
lea rdx, str.Content_Type:__ssignature_
mov rcx, r12
call sym.BIO_printf
mov r8, rbx
lea rdx, str._name_smime.p7s__s
mov rcx, r12
call sym.BIO_printf
mov r8, rbx
lea rdx, str.Content_Transfer_Encoding:_base64_s
mov rcx, r12
call sym.BIO_printf
lea rdx, str.Content_Disposition:_attachment_
mov rcx, r12
call sym.BIO_printf
mov r9, rbx
mov r8, rbx
mov rcx, r12
lea rdx, str._filename_smime.p7s__s_s
call sym.BIO_printf
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
mov rax, qword [rsp + 0x148]
mov rcx, r12
mov qword [rsp + 0x20], rax
call sym.B64_write_ASN1
mov qword [rsp + 0x28], rbx
mov r9, rsi
mov r8, rbx
mov qword [rsp + 0x20], rbx
lea rdx, str._s_______s___s_s
mov rcx, r12
call sym.BIO_printf
mov eax, 1
jmp 0x6ae606
cmp r15d, 0x329
jne 0x6aebd2
lea rdx, str.gostr3411_94
mov rcx, r12
call sym.BIO_puts
jmp 0x6ae889
cmp r15d, 4
je 0x6aec20
cmp r15d, 0x40
jne 0x6aebd2
lea rdx, str.sha1
mov rcx, r12
mov r15d, 1
call sym.BIO_puts
jmp 0x6ae7e8
mov r8d, 1
lea rdx, [0x009887cb]
mov rcx, r12
call sym.BIO_write
jmp 0x6ae749
lea r15, str.signed_receipt
lea rbp, str.smime.p7m
cmp dword [rsp + 0x138], 0xcc
je 0x6ae7fe
mov rcx, qword [rsp + 0x140]
lea r15, str.signed_data
call sym.OPENSSL_sk_num
test eax, eax
lea rax, str.certs_only
cmovs r15, rax
jmp 0x6ae7fe
lea r15, str.compressed_data
lea rbp, str.smime.p7z
jmp 0x6ae7fe
mov rdx, qword [rsp + 0x60]
mov rcx, r12
mov r15d, 1
call sym.BIO_puts
mov rcx, qword [rsp + 0x60]
mov r8d, 0xaa
lea rdx, str.crypto_asn1_asn_mime.c
call sym.CRYPTO_free
jmp 0x6ae7e8
lea rdx, str.gostr3411_2012_256
mov rcx, r12
call sym.BIO_puts
jmp 0x6ae889
lea rdx, str.sha_256
mov rcx, r12
mov r15d, 1
call sym.BIO_puts
jmp 0x6ae7e8
mov eax, dword [rsp + 0x48]
xor r15d, r15d
test eax, eax
jne 0x6ae7e8
lea rdx, str.unknown
mov rcx, r12
mov r15d, 1
call sym.BIO_puts
mov dword [rsp + 0x48], 1
jmp 0x6ae7e8
lea rdx, str.sha_512
mov rcx, r12
mov r15d, 1
call sym.BIO_puts
jmp 0x6ae7e8
lea rdx, [0x009887d2]
mov rcx, r12
mov r15d, 1
call sym.BIO_puts
jmp 0x6ae7e8
mov r8d, 0xca
mov edx, 0xd6
mov ecx, 0xd
mov dword [rsp + 0x20], 0x154
lea r9, str.crypto_asn1_asn_mime.c
call sym.ERR_put_error
xor eax, eax
jmp 0x6ae606