Function at 0x5517c0
Capabilities:
Check for software breakpoints

Disassembly:
mov eax, 0xb8
call fcn.005555e0
sub rsp, rax
mov rax, qword [0x005c3458]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0x90], r12
xor ebx, ebx
bt r9d, 0xa
mov qword [rsp + 0x88], r13
mov qword [rsp + 0x38], rax
lea rax, str.application_pkcs7_
mov qword [rsp + 0x80], r14
lea r12, str.application_x_pkcs7_
lea rsi, [0x005e28d4]
mov qword [rsp + 0x78], r15
mov r15, qword [rsp + 0xf0]
cmovae r12, rax
bt r9d, 0xb
lea rax, reloc.OLEAUT32.dll_VariantCopyInd
mov r13d, r9d
mov r14, r8
cmovae rsi, rax
test r9b, 0x40
mov qword [rsp + 0x30], rdx
mov rbp, rcx
lea rdi, str.smime.p7m
je 0x551a81
test r8, r8
je 0x551a81
lea edx, [rbx + 0x20]
lea rcx, [rsp + 0x40]
call fcn.004c3cc0
movzx eax, byte [rsp + rbx + 0x40]
and al, 0xf
cmp al, 0xa
jge 0x55189f
add al, 0x30
jmp 0x5518a1
add al, 0x37
mov byte [rsp + rbx + 0x40], al
inc rbx
cmp rbx, 0x20
jl 0x551890
lea rdx, [0x005e28e0]
mov r8, rsi
mov rcx, rbp
mov byte [rsp + 0x60], 0
call fcn.0047c340
lea rdx, str.Content_Type:_multipart_signed_
mov rcx, rbp
call fcn.0047c340
lea rdx, str._protocol__ssignature__
mov r8, r12
mov rcx, rbp
call fcn.0047c340
lea rdx, str._micalg_
mov rcx, rbp
call fcn.0046e580
mov rdx, r15
mov rcx, rbp
call fcn.00550110
lea r8, [rsp + 0x40]
lea rdx, str.___boundary______s__s_s
mov r9, rsi
mov rcx, rbp
mov qword [rsp + 0x20], rsi
call fcn.0047c340
lea rdx, str.This_is_an_S_MIME_signed_message_s_s
mov r9, rsi
mov r8, rsi
mov rcx, rbp
call fcn.0047c340
lea r8, [rsp + 0x40]
lea rdx, str._______s_s
mov r9, rsi
mov rcx, rbp
call fcn.0047c340
mov r15, qword [rsp + 0x38]
mov r9d, r13d
mov r13, qword [rsp + 0x30]
mov rdx, r14
mov rcx, rbp
mov r8, r13
mov qword [rsp + 0x20], r15
call fcn.005510d0
test eax, eax
je 0x551bf9
lea r9, [rsp + 0x40]
lea rdx, str._s_______s_s
mov r8, rsi
mov rcx, rbp
mov qword [rsp + 0x20], rsi
call fcn.0047c340
lea rdx, str.Content_Type:__ssignature_
mov r8, r12
mov rcx, rbp
call fcn.0047c340
lea rdx, str._name_smime.p7s__s
mov r8, rsi
mov rcx, rbp
call fcn.0047c340
lea rdx, str.Content_Transfer_Encoding:_base64_s
mov r8, rsi
mov rcx, rbp
call fcn.0047c340
lea rdx, [0x005e2a10]
mov rcx, rbp
call fcn.0047c340
lea rdx, str._filename_smime.p7s__s_s
mov r9, rsi
mov r8, rsi
mov rcx, rbp
call fcn.0047c340
call fcn.0046fe70
mov rcx, rax
call fcn.0046f130
test rax, rax
mov rdi, rax
jne 0x551a1d
lea r9, [0x005e27c8]
lea ecx, [rax + 0xd]
lea r8d, [rax + 0x41]
mov edx, 0xd2
mov dword [rsp + 0x20], 0x9c
call fcn.00475480
jmp 0x551a5b
mov rdx, rbp
mov rcx, rax
call fcn.0046ecf0
mov r8, r13
mov rcx, r15
mov rdx, rax
mov rbx, rax
call fcn.00514bf0
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xb]
mov rcx, rbx
call fcn.0046e920
mov rcx, rbx
call fcn.0046ee00
mov rcx, rdi
call fcn.0046e150
lea r9, [rsp + 0x40]
lea rdx, str._s_______s___s_s
mov r8, rsi
mov rcx, rbp
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call fcn.0047c340
jmp 0x551c0f
mov eax, dword [rsp + 0xe0]
cmp eax, 0x17
jne 0x551a96
lea rbx, str.enveloped_data
jmp 0x551ae4
cmp eax, 0x16
jne 0x551acf
cmp dword [rsp + 0xe8], 0xcc
jne 0x551ab1
lea rbx, str.signed_receipt
jmp 0x551ae4
mov rcx, r15
call fcn.00478140
lea rbx, str.signed_data
lea rcx, str.certs_only
test eax, eax
cmovs rbx, rcx
jmp 0x551ae4
cmp eax, 0x312
jne 0x551ae4
lea rbx, str.compressed_data
lea rdi, str.smime.p7z
lea rdx, str.MIME_Version:_1.0_s
mov r8, rsi
mov rcx, rbp
call fcn.0047c340
lea rdx, str.Content_Disposition:_attachment_
mov rcx, rbp
call fcn.0047c340
lea rdx, str._filename__s__s
mov r9, rsi
mov r8, rdi
mov rcx, rbp
call fcn.0047c340
lea rdx, str.Content_Type:__smime_
mov r8, r12
mov rcx, rbp
call fcn.0047c340
test rbx, rbx
je 0x551b43
lea rdx, str._smime_type_s_
mov r8, rbx
mov rcx, rbp
call fcn.0047c340
lea rdx, str._name__s__s
mov r9, rsi
mov r8, rdi
mov rcx, rbp
call fcn.0047c340
lea rdx, str.Content_Transfer_Encoding:_base64_s_s
mov r9, rsi
mov r8, rsi
mov rcx, rbp
call fcn.0047c340
call fcn.0046fe70
mov rcx, rax
call fcn.0046f130
test rax, rax
mov r12, rax
jne 0x551ba6
lea r9, [0x005e27c8]
lea ecx, [rax + 0xd]
lea r8d, [rax + 0x41]
mov edx, 0xd2
mov dword [rsp + 0x20], 0x9c
call fcn.00475480
xor eax, eax
jmp 0x551c14
mov rdx, rbp
mov rcx, rax
call fcn.0046ecf0
mov r15, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov rcx, rax
mov r9d, r13d
mov r8, r14
mov rdi, rax
mov qword [rsp + 0x20], r15
call fcn.00550e00
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
lea edx, [r9 + 0xb]
mov ebx, eax
call fcn.0046e920
mov rcx, rdi
call fcn.0046ee00
mov rcx, r12
call fcn.0046e150
test ebx, ebx
jne 0x551bfd
xor eax, eax
jmp 0x551c14
lea rdx, [0x005e2b88]
mov r8, rsi
mov rcx, rbp
call fcn.0047c340
mov eax, 1
mov r15, qword [rsp + 0x78]
mov r14, qword [rsp + 0x80]
mov r13, qword [rsp + 0x88]
mov r12, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x98]
mov rsi, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x68]
call fcn.005555b0
add rsp, 0xb8
ret