Function at 0x1007fb80
Capabilities:
Check for software breakpoints

Disassembly:
mov eax, 0x3c
call fcn.100bff40
mov eax, dword [0x10116c70]
xor eax, esp
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x58]
push ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
push ebp
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x54]
push esi
xor ebx, ebx
push edi
mov edi, dword [esp + 0x50]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov ebp, str.smime.p7m
mov dword [esp + 0x18], str.application_x_pkcs7_
test eax, 0x400
jne 0x1007fbdf
mov dword [esp + 0x18], str.application_pkcs7_
mov esi, 0x100e6cac
test eax, 0x800
jne 0x1007fbf0
mov esi, 0x100ca654
test al, 0x40
je 0x1007fd52
test ecx, ecx
je 0x1007fd52
lea ecx, [esp + 0x24]
push 0x20
push ecx
call sym.LIBEAY32.dll_RAND_pseudo_bytes
add esp, 8
xor ecx, ecx
mov al, byte [esp + ecx + 0x24]
and al, 0xf
cmp al, 0xa
jge 0x1007fc1f
add al, 0x30
jmp 0x1007fc21
add al, 0x37
mov byte [esp + ecx + 0x24], al
inc ecx
cmp ecx, 0x20
jl 0x1007fc11
push esi
push str.MIME_Version:_1.0_s
push edi
mov byte [esp + 0x50], bl
call sym.LIBEAY32.dll_BIO_printf
push str.Content_Type:_multipart_signed_
push edi
call sym.LIBEAY32.dll_BIO_printf
mov ebp, dword [esp + 0x2c]
push ebp
push str._protocol__ssignature__
push edi
call sym.LIBEAY32.dll_BIO_printf
push str._micalg_
push edi
call sym.LIBEAY32.dll_BIO_puts
mov edx, dword [esp + 0x48]
push edx
call fcn.1007ed80
push esi
push esi
lea eax, [esp + 0x58]
push eax
push str.___boundary______s__s_s
push edi
call sym.LIBEAY32.dll_BIO_printf
add esp, 0x40
push esi
push esi
push str.This_is_an_S_MIME_signed_message_s_s
push edi
call sym.LIBEAY32.dll_BIO_printf
push esi
lea ecx, [esp + 0x38]
push ecx
push str._______s_s
push edi
call sym.LIBEAY32.dll_BIO_printf
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x7c]
push edx
push eax
push edi
call fcn.1007f7b0
add esp, 0x2c
test eax, eax
jne 0x1007fcd2
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.100bff70
add esp, 0x3c
ret
push esi
lea ecx, [esp + 0x28]
push ecx
push esi
push str._s_______s_s
push edi
call sym.LIBEAY32.dll_BIO_printf
push ebp
push str.Content_Type:__ssignature_
push edi
call sym.LIBEAY32.dll_BIO_printf
push esi
push str._name_smime.p7s__s
push edi
call sym.LIBEAY32.dll_BIO_printf
push esi
push str.Content_Transfer_Encoding:_base64_s
push edi
call sym.LIBEAY32.dll_BIO_printf
push str.Content_Disposition:_attachment_
push edi
call sym.LIBEAY32.dll_BIO_printf
add esp, 0x40
push esi
push esi
push str._filename_smime.p7s__s_s
push edi
call sym.LIBEAY32.dll_BIO_printf
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push edx
push 0
push 0
push eax
push edi
call fcn.1007f6e0
push esi
push esi
lea ecx, [esp + 0x50]
push ecx
push esi
push str._s_______s___s_s
push edi
call sym.LIBEAY32.dll_BIO_printf
add esp, 0x3c
jmp 0x1007fe3c
mov eax, dword [esp + 0x60]
cmp eax, 0x17
jne 0x1007fd62
mov ebx, str.enveloped_data
jmp 0x1007fda4
cmp eax, 0x16
jne 0x1007fd93
cmp dword [esp + 0x64], 0xcc
jne 0x1007fd78
mov ebx, str.signed_receipt
jmp 0x1007fda4
push edx
call sym.LIBEAY32.dll_sk_num
add esp, 4
test eax, eax
jl 0x1007fd8c
mov ebx, str.signed_data
jmp 0x1007fda4
mov ebx, str.certs_only
jmp 0x1007fda4
cmp eax, 0x312
jne 0x1007fda4
mov ebx, str.compressed_data
mov ebp, str.smime.p7z
push esi
push str.MIME_Version:_1.0_s
push edi
call sym.LIBEAY32.dll_BIO_printf
push str.Content_Disposition:_attachment_
push edi
call sym.LIBEAY32.dll_BIO_printf
push esi
push ebp
push str._filename__s__s
push edi
call sym.LIBEAY32.dll_BIO_printf
mov edx, dword [esp + 0x3c]
push edx
push str.Content_Type:__smime_
push edi
call sym.LIBEAY32.dll_BIO_printf
add esp, 0x30
test ebx, ebx
je 0x1007fdee
push ebx
push str._smime_type_s_
push edi
call sym.LIBEAY32.dll_BIO_printf
add esp, 0xc
push esi
push ebp
push str._name__s__s
push edi
call sym.LIBEAY32.dll_BIO_printf
push esi
push esi
push str.Content_Transfer_Encoding:_base64_s_s
push edi
call sym.LIBEAY32.dll_BIO_printf
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
push edi
call fcn.1007f6e0
add esp, 0x34
test eax, eax
je 0x1007fcbd
push esi
push 0x100cb5ec
push edi
call sym.LIBEAY32.dll_BIO_printf
add esp, 0xc
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.100bff70
add esp, 0x3c
ret