Function at 0x523490
Capabilities:
Check for software breakpoints

Disassembly:
mov eax, 0xb8
call fcn.0055e9c0
sub rsp, rax
mov rax, qword [0x005ca070]
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, [0x005e9354]
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 0x523751
test r8, r8
je 0x523751
lea edx, [rbx + 0x20]
lea rcx, [rsp + 0x40]
call fcn.004817f0
movzx eax, byte [rsp + rbx + 0x40]
and al, 0xf
cmp al, 0xa
jge 0x52356f
add al, 0x30
jmp 0x523571
add al, 0x37
mov byte [rsp + rbx + 0x40], al
inc rbx
cmp rbx, 0x20
jl 0x523560
lea rdx, [0x005e9360]
mov r8, rsi
mov rcx, rbp
mov byte [rsp + 0x60], 0
call fcn.00491950
lea rdx, str.Content_Type:_multipart_signed_
mov rcx, rbp
call fcn.00491950
lea rdx, str._protocol__ssignature__
mov r8, r12
mov rcx, rbp
call fcn.00491950
lea rdx, str._micalg_
mov rcx, rbp
call fcn.00478800
mov rdx, r15
mov rcx, rbp
call fcn.00521de0
lea r8, [rsp + 0x40]
lea rdx, str.___boundary______s__s_s
mov r9, rsi
mov rcx, rbp
mov qword [rsp + 0x20], rsi
call fcn.00491950
lea rdx, str.This_is_an_S_MIME_signed_message_s_s
mov r9, rsi
mov r8, rsi
mov rcx, rbp
call fcn.00491950
lea r8, [rsp + 0x40]
lea rdx, str._______s_s
mov r9, rsi
mov rcx, rbp
call fcn.00491950
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.00522da0
test eax, eax
je 0x5238c9
lea r9, [rsp + 0x40]
lea rdx, str._s_______s_s
mov r8, rsi
mov rcx, rbp
mov qword [rsp + 0x20], rsi
call fcn.00491950
lea rdx, str.Content_Type:__ssignature_
mov r8, r12
mov rcx, rbp
call fcn.00491950
lea rdx, str._name_smime.p7s__s
mov r8, rsi
mov rcx, rbp
call fcn.00491950
lea rdx, str.Content_Transfer_Encoding:_base64_s
mov r8, rsi
mov rcx, rbp
call fcn.00491950
lea rdx, [0x005e9490]
mov rcx, rbp
call fcn.00491950
lea rdx, str._filename_smime.p7s__s_s
mov r9, rsi
mov r8, rsi
mov rcx, rbp
call fcn.00491950
call fcn.00481f50
mov rcx, rax
call fcn.004793b0
test rax, rax
mov rdi, rax
jne 0x5236ed
lea r9, [0x005e9248]
lea ecx, [rax + 0xd]
lea r8d, [rax + 0x41]
mov edx, 0xd2
mov dword [rsp + 0x20], 0x9c
call fcn.0047c130
jmp 0x52372b
mov rdx, rbp
mov rcx, rax
call fcn.00478f70
mov r8, r13
mov rcx, r15
mov rdx, rax
mov rbx, rax
call fcn.004e68c0
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xb]
mov rcx, rbx
call fcn.00478ba0
mov rcx, rbx
call fcn.00479080
mov rcx, rdi
call fcn.004783d0
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.00491950
jmp 0x5238df
mov eax, dword [rsp + 0xe0]
cmp eax, 0x17
jne 0x523766
lea rbx, str.enveloped_data
jmp 0x5237b4
cmp eax, 0x16
jne 0x52379f
cmp dword [rsp + 0xe8], 0xcc
jne 0x523781
lea rbx, str.signed_receipt
jmp 0x5237b4
mov rcx, r15
call fcn.004a9820
lea rbx, str.signed_data
lea rcx, str.certs_only
test eax, eax
cmovs rbx, rcx
jmp 0x5237b4
cmp eax, 0x312
jne 0x5237b4
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.00491950
lea rdx, str.Content_Disposition:_attachment_
mov rcx, rbp
call fcn.00491950
lea rdx, str._filename__s__s
mov r9, rsi
mov r8, rdi
mov rcx, rbp
call fcn.00491950
lea rdx, str.Content_Type:__smime_
mov r8, r12
mov rcx, rbp
call fcn.00491950
test rbx, rbx
je 0x523813
lea rdx, str._smime_type_s_
mov r8, rbx
mov rcx, rbp
call fcn.00491950
lea rdx, str._name__s__s
mov r9, rsi
mov r8, rdi
mov rcx, rbp
call fcn.00491950
lea rdx, str.Content_Transfer_Encoding:_base64_s_s
mov r9, rsi
mov r8, rsi
mov rcx, rbp
call fcn.00491950
call fcn.00481f50
mov rcx, rax
call fcn.004793b0
test rax, rax
mov r12, rax
jne 0x523876
lea r9, [0x005e9248]
lea ecx, [rax + 0xd]
lea r8d, [rax + 0x41]
mov edx, 0xd2
mov dword [rsp + 0x20], 0x9c
call fcn.0047c130
xor eax, eax
jmp 0x5238e4
mov rdx, rbp
mov rcx, rax
call fcn.00478f70
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.00522ad0
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
lea edx, [r9 + 0xb]
mov ebx, eax
call fcn.00478ba0
mov rcx, rdi
call fcn.00479080
mov rcx, r12
call fcn.004783d0
test ebx, ebx
jne 0x5238cd
xor eax, eax
jmp 0x5238e4
lea rdx, [0x005e9608]
mov r8, rsi
mov rcx, rbp
call fcn.00491950
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.0055e990
add rsp, 0xb8
ret