Function at 0x1007dba0
Capabilities:
Check for software breakpoints

Disassembly:
mov eax, 0x3c
call fcn.100d6420
mov eax, dword [0x10151618]
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
test eax, 0x400
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_
jne 0x1007dbff
mov dword [esp + 0x18], str.application_pkcs7_
test eax, 0x800
mov esi, 0x10116c94
jne 0x1007dc10
mov esi, 0x100f852c
test al, 0x40
je 0x1007dd82
test ecx, ecx
je 0x1007dd82
lea ecx, [esp + 0x24]
push 0x20
push ecx
call sym.LIBEAY32.dll_RAND_bytes
add esp, 8
test eax, eax
jg 0x1007dc48
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.100d6528
add esp, 0x3c
ret
xor ecx, ecx
lea ebx, [ebx]
mov al, byte [esp + ecx + 0x24]
and al, 0xf
cmp al, 0xa
jge 0x1007dc5e
add al, 0x30
jmp 0x1007dc60
add al, 0x37
mov byte [esp + ecx + 0x24], al
add ecx, 1
cmp ecx, 0x20
jl 0x1007dc50
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.1007cd90
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.1007d7c0
add esp, 0x2c
test eax, eax
je 0x1007dc33
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.1007d6f0
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 0x1007de6c
mov eax, dword [esp + 0x60]
cmp eax, 0x17
jne 0x1007dd92
mov ebx, str.enveloped_data
jmp 0x1007ddd4
cmp eax, 0x16
jne 0x1007ddc3
cmp dword [esp + 0x64], 0xcc
jne 0x1007dda8
mov ebx, str.signed_receipt
jmp 0x1007ddd4
push edx
call sym.LIBEAY32.dll_sk_num
add esp, 4
test eax, eax
jl 0x1007ddbc
mov ebx, str.signed_data
jmp 0x1007ddd4
mov ebx, str.certs_only
jmp 0x1007ddd4
cmp eax, 0x312
jne 0x1007ddd4
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 0x1007de1e
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.1007d6f0
add esp, 0x34
test eax, eax
je 0x1007dc33
push esi
push 0x100f9534
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.100d6528
add esp, 0x3c
ret