Function at 0x408140
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47f895
mov eax, dword fs:[0]
push eax
sub esp, 0x1f0
mov eax, dword [0x4a7ea0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1f4], ebx
lea ecx, [ebp - 0x60]
call fcn.00425a20
push str.set_theSubject_to__
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0
call fcn.004266e0
push dword [ebx + 0xe7]
lea ecx, [ebp - 0x60]
call fcn.004266e0
push 0x484db8
lea ecx, [ebp - 0x60]
call fcn.004266e0
push str.set_theBody_to__
lea ecx, [ebp - 0x60]
call fcn.004266e0
push dword [ebx + 0xeb]
lea ecx, [ebp - 0x60]
call fcn.004266e0
push 0x484db8
lea ecx, [ebp - 0x60]
call fcn.004266e0
push str.set_theSender_to__Xetex__n_r
lea ecx, [ebp - 0x60]
call fcn.004266e0
push str.set_path__to__path_to_me__n_r
lea ecx, [ebp - 0x60]
call fcn.004266e0
push str.tell_application__Finder__n_r
lea ecx, [ebp - 0x60]
call fcn.004266e0
push 0x484e24
lea ecx, [ebp - 0x60]
call fcn.004266e0
push str.set_theFolder_to__container_of_item_path___n_r
lea ecx, [ebp - 0x60]
call fcn.004266e0
push str.end_tell_n_r
lea ecx, [ebp - 0x60]
call fcn.004266e0
push str.set_fileLoc_to___POSIX_path_of__theFolder_as_alias___as_string__n_r
lea ecx, [ebp - 0x60]
call fcn.004266e0
push 0x484eac
lea ecx, [ebp - 0x60]
call fcn.004266e0
push str.tell_application__Mail__n_r
lea ecx, [ebp - 0x60]
call fcn.004266e0
push 0x484e24
lea ecx, [ebp - 0x60]
call fcn.004266e0
push str.set_newMessage_to_make_new_outgoing_message_with_properties_subject:theSubject_content:theBody__return__return_n_r
lea ecx, [ebp - 0x60]
call fcn.004266e0
push 0x484e24
lea ecx, [ebp - 0x60]
call fcn.004266e0
push str.tell_newMessage_n_r
lea ecx, [ebp - 0x60]
call fcn.004266e0
push 0x484e24
lea ecx, [ebp - 0x60]
call fcn.004266e0
push 0x484e24
lea ecx, [ebp - 0x60]
call fcn.004266e0
push str.set_visible_to_true_n_r
lea ecx, [ebp - 0x60]
call fcn.004266e0
push 0x484e24
lea ecx, [ebp - 0x60]
call fcn.004266e0
push 0x484e24
lea ecx, [ebp - 0x60]
call fcn.004266e0
push str.set_sender_to_theSender_n_r
lea ecx, [ebp - 0x60]
call fcn.004266e0
lea esi, [ebx + 0xef]
mov ecx, esi
call fcn.0041d560
test eax, eax
je 0x40841d
push str.NAME
mov ecx, esi
call fcn.0041d3c0
push str.EMAIL
mov ecx, esi
mov dword [ebp - 0x1fc], eax
call fcn.0041d3c0
push 0x484c58
mov ecx, esi
mov dword [ebp - 0x1f8], eax
call fcn.0041d3c0
push 0x484c5c
mov ecx, esi
mov edi, eax
call fcn.0041d3c0
lea ecx, [ebp - 0xb0]
mov ebx, eax
call fcn.00425a20
mov byte [ebp - 4], 1
cmp byte [ebx], 0
je 0x40833c
push str.bcc_recipient
jmp 0x40834d
cmp byte [edi], 0
je 0x408348
push str.cc_recipient
jmp 0x40834d
push str.to_recipient
lea ecx, [ebp - 0xb0]
call fcn.00425a80
push 0x484e24
lea ecx, [ebp - 0x60]
call fcn.004266e0
push 0x484e24
lea ecx, [ebp - 0x60]
call fcn.004266e0
push str.make_new
lea ecx, [ebp - 0x60]
call fcn.004266e0
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x60]
call fcn.00426690
push str._at_end_of
lea ecx, [ebp - 0x60]
call fcn.004266e0
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x60]
call fcn.00426690
push str.s_with_properties
lea ecx, [ebp - 0x60]
call fcn.004266e0
push str.name:_
lea ecx, [ebp - 0x60]
call fcn.004266e0
push dword [ebp - 0x1fc]
lea ecx, [ebp - 0x60]
call fcn.004266e0
push str.__address:_
lea ecx, [ebp - 0x60]
call fcn.004266e0
push dword [ebp - 0x1f8]
lea ecx, [ebp - 0x60]
call fcn.004266e0
push 0x485000
lea ecx, [ebp - 0x60]
call fcn.004266e0
mov ecx, esi
call fcn.0041d5b0
test eax, eax
jne 0x408330
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], al
call fcn.00425a30
mov ebx, dword [ebp - 0x1f4]
lea ecx, [ebp - 0x1a0]
call fcn.00425a20
add ebx, 0x149
mov byte [ebp - 4], 2
mov ecx, ebx
call fcn.0041d560
test eax, eax
je 0x40865f
push str.PATH
mov ecx, ebx
call fcn.0041d3c0
mov esi, eax
mov ecx, ebx
push str.FILE_NAME
mov dword [ebp - 0x1f4], esi
call fcn.0041d3c0
push esi
lea ecx, [ebp - 0xb0]
mov edi, eax
call fcn.00425970
mov esi, dword [ebp - 0x6b]
lea ecx, [ebp - 0xb0]
push 1
push 0xffffffffffffffff
push 0x484760
mov byte [ebp - 4], 3
call fcn.00426200
sub esi, eax
lea ecx, [ebp - 0xb0]
dec esi
lea eax, [ebp - 0x1f0]
push esi
push eax
call fcn.004262d0
push eax
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 4
call fcn.00425a40
lea ecx, [ebp - 0x1f0]
mov byte [ebp - 4], 3
call fcn.00425a30
push 0x484e24
lea ecx, [ebp - 0x60]
call fcn.004266e0
push 0x484e24
lea ecx, [ebp - 0x60]
call fcn.004266e0
push str.set_fileLoc_to_fileLoc___
lea ecx, [ebp - 0x60]
call fcn.004266e0
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x60]
call fcn.00426690
push 0x484db8
lea ecx, [ebp - 0x60]
call fcn.004266e0
push 0x484e24
lea ecx, [ebp - 0x60]
call fcn.004266e0
push 0x484e24
lea ecx, [ebp - 0x60]
call fcn.004266e0
push str.set_theAttachment_to_fileLoc_n_r
lea ecx, [ebp - 0x60]
call fcn.004266e0
push 0x484e24
lea ecx, [ebp - 0x60]
call fcn.004266e0
push 0x484e24
lea ecx, [ebp - 0x60]
call fcn.004266e0
push str.set_fileAlias_to__POSIX_file_theAttachment__as_alias_n_r
lea ecx, [ebp - 0x60]
call fcn.004266e0
push str.tell_application__Finder__n_r
lea ecx, [ebp - 0x60]
call fcn.004266e0
push 0x484e24
lea ecx, [ebp - 0x60]
call fcn.004266e0
push str.set_the_name_of_fileAlias_to__
lea ecx, [ebp - 0x60]
call fcn.004266e0
push edi
lea ecx, [ebp - 0x60]
call fcn.004266e0
push 0x484db8
lea ecx, [ebp - 0x60]
call fcn.004266e0
push str.end_tell_n_r
lea ecx, [ebp - 0x60]
call fcn.004266e0
mov esi, dword [ebp - 0x1f4]
push esi
lea ecx, [ebp - 0x1f0]
call fcn.00425970
push 0x484e24
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 5
call fcn.004266e0
push 0x484e24
lea ecx, [ebp - 0x60]
call fcn.004266e0
push str.tell_content_n_r
lea ecx, [ebp - 0x60]
call fcn.004266e0
push 0x484e24
lea ecx, [ebp - 0x60]
call fcn.004266e0
push 0x484e24
lea ecx, [ebp - 0x60]
call fcn.004266e0
push 0x484e24
lea ecx, [ebp - 0x60]
call fcn.004266e0
push str.make_new_attachment_with_properties_file_name:_POSIX_path_of_fileAlias_at_after_the_last_paragraph_n_r
lea ecx, [ebp - 0x60]
call fcn.004266e0
push 0x484e24
lea ecx, [ebp - 0x60]
call fcn.004266e0
push 0x484e24
lea ecx, [ebp - 0x60]
call fcn.004266e0
push str.end_tell_n_r
lea ecx, [ebp - 0x60]
call fcn.004266e0
lea ecx, [ebp - 0x1f0]
mov byte [ebp - 4], 3
call fcn.00425a30
mov ecx, ebx
call fcn.0041d5b0
test eax, eax
jne 0x4085a0
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 2
call fcn.00425a30
push 0x484e24
lea ecx, [ebp - 0x60]
call fcn.004266e0
push str.end_tell_n_r
lea ecx, [ebp - 0x60]
call fcn.004266e0
push 0x484e24
lea ecx, [ebp - 0x60]
call fcn.004266e0
push str.activate_n_r
lea ecx, [ebp - 0x60]
call fcn.004266e0
push 0x484e24
lea ecx, [ebp - 0x60]
call fcn.004266e0
push str.tell_application__Finder__n_r
lea ecx, [ebp - 0x60]
call fcn.004266e0
push 0x484e24
lea ecx, [ebp - 0x60]
call fcn.004266e0
push 0x484e24
lea ecx, [ebp - 0x60]
call fcn.004266e0
push str.set_the_name_of_fileAlias_to__
lea ecx, [ebp - 0x60]
call fcn.004266e0
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x60]
call fcn.00426690
push 0x484db8
lea ecx, [ebp - 0x60]
call fcn.004266e0
push 0x484e24
lea ecx, [ebp - 0x60]
call fcn.004266e0
push str.end_tell_n_r
lea ecx, [ebp - 0x60]
call fcn.004266e0
push str.end_tell_n_r
lea ecx, [ebp - 0x60]
call fcn.004266e0
push str.tell_application__Terminal__to_quit
lea ecx, [ebp - 0x60]
call fcn.004266e0
lea ecx, [ebp - 0x150]
call fcn.00425a20
push 0x4aaf28
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 6
call fcn.004266e0
push str.generateAS.scpt
lea ecx, [ebp - 0x150]
call fcn.004266e0
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x60]
call fcn.00426310
lea ecx, [ebp - 0x100]
call fcn.00425a20
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 7
call fcn.00425b30
push 0x4aaf28
lea ecx, [ebp - 0x100]
call fcn.004266e0
push str._MacMailUtility.app_contents_MacOS_applet
lea ecx, [ebp - 0x100]
call fcn.004266e0
push 0
push 0
push 0
push dword [ebp - 0xc0]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x100]
call fcn.00425a30
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 2
call fcn.00425a30
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 0
call fcn.00425a30
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0xffffffff
call fcn.00425a30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004520a4
mov esp, ebp
pop ebp
ret 8