Function at 0x5951f0
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 rbp, str.application_x_pkcs7_
lea rbx, [0x006153da]
mov eax, dword [rsp + 0x130]
mov r14, qword [rsp + 0x140]
test r9d, 0x400
mov r12, rcx
mov r13, r8
mov esi, r9d
mov qword [rsp + 0x118], rdx
lea rdx, str.application_pkcs7_
cmove rbp, rdx
test r9d, 0x800
lea rdx, [0x006154f7]
cmove rbx, rdx
test r9b, 0x40
je 0x59526c
test r8, r8
jne 0x595368
cmp eax, 0x17
je 0x595730
cmp eax, 0x16
je 0x5957f8
cmp eax, 0x312
je 0x595908
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 rdi, 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, rbp
lea rdx, str.Content_Type:__smime_
mov rcx, r12
call sym.BIO_printf
mov r9, rbx
mov r8, rdi
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 rcx, r12
mov rax, qword [rsp + 0x148]
mov rdx, qword [rsp + 0x118]
mov qword [rsp + 0x20], rax
call sym.B64_write_ASN1
test eax, eax
je 0x5957a0
mov r8, rbx
lea rdx, [0x0061571e]
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 + 0x40], rax
call sym.RAND_bytes
test eax, eax
jle 0x5957a0
movdqu xmm0, xmmword [0x00615770]
mov r8, rbx
mov rcx, r12
xor edi, edi
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_asn_moid.c]
lea rdx, str.MIME_Version:_1.0_s
mov byte [rsp + 0xa0], 0
movdqu xmm3, xmmword [0x00615790]
movdqu xmm2, xmmword [0x006157a0]
xor r15d, r15d
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, rbp
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 + 0x4c], 0
mov qword [rsp + 0x38], rax
jmp 0x5954a3
cmp r15d, 0x40
je 0x595890
cmp r15d, 0x2a0
jne 0x5957b0
lea rdx, str.sha_256
mov rcx, r12
mov r15d, 1
call sym.BIO_puts
nop dword [rax]
add edi, 1
mov rcx, r14
call sym.OPENSSL_sk_num
cmp edi, eax
jge 0x595548
test r15d, r15d
jne 0x5957d8
mov edx, edi
mov rcx, r14
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 0x59550c
mov rax, qword [rax + 0x40]
test rax, rax
je 0x59550c
xor r8d, r8d
xor ecx, ecx
mov r9, qword [rsp + 0x38]
mov edx, 2
call rax
test eax, eax
jg 0x595840
cmp eax, 0xfffffffe
jne 0x595548
cmp r15d, 0x2a1
je 0x5958b0
jle 0x595470
cmp r15d, 0x2a2
je 0x595870
cmp r15d, 0x329
jne 0x5958d0
lea rdx, str.gostr3411_94
mov rcx, r12
call sym.BIO_puts
mov rdi, qword [rsp + 0x40]
mov qword [rsp + 0x20], rbx
mov r9, rbx
mov rcx, r12
lea rdx, str.___boundary______s__s_s
mov r8, rdi
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, rdi
mov rcx, r12
lea rdx, str._______s_s
call sym.BIO_printf
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x58], rax
mov eax, esi
and eax, 0x8040
cmp eax, 0x40
jne 0x595920
mov rax, qword [rsp + 0x148]
mov rdi, qword [rax + 0x18]
test rdi, rdi
je 0x595933
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x595933
lea r15, [rsp + 0x60]
lea r14, [rsp + 0x58]
mov qword [rsp + 0x60], r12
mov r8, qword [rsp + 0x148]
mov qword [rsp + 0x68], 0
mov r9, r15
mov rdx, r14
mov ecx, 0xc
mov qword [rsp + 0x70], 0
call rax
test eax, eax
jle 0x5957a0
mov rdx, qword [rsp + 0x68]
mov r8d, esi
mov rcx, r13
call sym.SMIME_crlf_copy
mov r9, r15
mov rdx, r14
mov ecx, 0xd
mov r8, qword [rsp + 0x148]
call qword [rdi + 0x18]
mov r13, qword [rsp + 0x68]
mov esi, eax
cmp r12, r13
je 0x59565f
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 0x595640
test esi, esi
jle 0x5957a0
mov rsi, qword [rsp + 0x40]
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, rbp
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 rcx, r12
mov rax, qword [rsp + 0x148]
mov rdx, qword [rsp + 0x118]
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 0x595348
lea r15, str.enveloped_data
lea rdi, 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, rdi
mov rcx, r12
lea rdx, str._filename__s__s
call sym.BIO_printf
mov r8, rbp
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 0x5952dc
xor eax, eax
jmp 0x595348
cmp r15d, 4
jne 0x5958d0
lea rdx, [0x006155b2]
mov rcx, r12
mov r15d, 1
call sym.BIO_puts
jmp 0x5954a0
mov r8d, 1
lea rdx, [0x006155ab]
mov rcx, r12
call sym.BIO_write
jmp 0x5954bc
lea r15, str.signed_receipt
lea rdi, str.smime.p7m
cmp dword [rsp + 0x138], 0xcc
je 0x59573e
mov rcx, r14
lea r15, str.signed_data
call sym.OPENSSL_sk_num
test eax, eax
lea rax, str.certs_only
cmovs r15, rax
jmp 0x59573e
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 0x5954a0
lea rdx, str.sha_512
mov rcx, r12
mov r15d, 1
call sym.BIO_puts
jmp 0x5954a0
lea rdx, str.sha1
mov rcx, r12
mov r15d, 1
call sym.BIO_puts
jmp 0x5954a0
lea rdx, str.sha_384
mov rcx, r12
mov r15d, 1
call sym.BIO_puts
jmp 0x5954a0
mov eax, dword [rsp + 0x4c]
xor r15d, r15d
test eax, eax
jne 0x5954a0
lea rdx, str.unknown
mov rcx, r12
mov r15d, 1
call sym.BIO_puts
mov dword [rsp + 0x4c], 1
jmp 0x5954a0
lea r15, str.compressed_data
lea rdi, str.smime.p7z
jmp 0x59573e
mov r8d, esi
mov rdx, r12
mov rcx, r13
call sym.SMIME_crlf_copy
jmp 0x595667
mov r8d, 0xca
mov edx, 0xd6
mov ecx, 0xd
mov dword [rsp + 0x20], 0x14c
lea r9, str.crypto_asn1_asn_mime.c
call sym.ERR_put_error
xor eax, eax
jmp 0x595348