Function at 0x407600
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x480605
mov eax, dword fs:[0]
push eax
sub esp, 0x1f0
mov eax, dword [0x4a9d30]
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.004249a0
push str.set_theSubject_to__
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0
call fcn.00425640
push dword [ebx + 0xe7]
lea ecx, [ebp - 0x60]
call fcn.00425640
push 0x485d28
lea ecx, [ebp - 0x60]
call fcn.00425640
push str.set_theBody_to__
lea ecx, [ebp - 0x60]
call fcn.00425640
push dword [ebx + 0xeb]
lea ecx, [ebp - 0x60]
call fcn.00425640
push 0x485d28
lea ecx, [ebp - 0x60]
call fcn.00425640
push str.set_theSender_to__Xetex__n_r
lea ecx, [ebp - 0x60]
call fcn.00425640
push str.set_path__to__path_to_me__n_r
lea ecx, [ebp - 0x60]
call fcn.00425640
push str.tell_application__Finder__n_r
lea ecx, [ebp - 0x60]
call fcn.00425640
push 0x485d94
lea ecx, [ebp - 0x60]
call fcn.00425640
push str.set_theFolder_to__container_of_item_path___n_r
lea ecx, [ebp - 0x60]
call fcn.00425640
push str.end_tell_n_r
lea ecx, [ebp - 0x60]
call fcn.00425640
push str.set_fileLoc_to___POSIX_path_of__theFolder_as_alias___as_string__n_r
lea ecx, [ebp - 0x60]
call fcn.00425640
push 0x485e1c
lea ecx, [ebp - 0x60]
call fcn.00425640
push str.tell_application__Mail__n_r
lea ecx, [ebp - 0x60]
call fcn.00425640
push 0x485d94
lea ecx, [ebp - 0x60]
call fcn.00425640
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.00425640
push 0x485d94
lea ecx, [ebp - 0x60]
call fcn.00425640
push str.tell_newMessage_n_r
lea ecx, [ebp - 0x60]
call fcn.00425640
push 0x485d94
lea ecx, [ebp - 0x60]
call fcn.00425640
push 0x485d94
lea ecx, [ebp - 0x60]
call fcn.00425640
push str.set_visible_to_true_n_r
lea ecx, [ebp - 0x60]
call fcn.00425640
push 0x485d94
lea ecx, [ebp - 0x60]
call fcn.00425640
push 0x485d94
lea ecx, [ebp - 0x60]
call fcn.00425640
push str.set_sender_to_theSender_n_r
lea ecx, [ebp - 0x60]
call fcn.00425640
lea esi, [ebx + 0xef]
mov ecx, esi
call fcn.0041c740
test eax, eax
je 0x4078dd
push str.NAME
mov ecx, esi
call fcn.0041c5a0
push str.EMAIL
mov ecx, esi
mov dword [ebp - 0x1fc], eax
call fcn.0041c5a0
push 0x485bc8
mov ecx, esi
mov dword [ebp - 0x1f8], eax
call fcn.0041c5a0
push 0x485bcc
mov ecx, esi
mov edi, eax
call fcn.0041c5a0
lea ecx, [ebp - 0xb0]
mov ebx, eax
call fcn.004249a0
mov byte [ebp - 4], 1
cmp byte [ebx], 0
je 0x4077fc
push str.bcc_recipient
jmp 0x40780d
cmp byte [edi], 0
je 0x407808
push str.cc_recipient
jmp 0x40780d
push str.to_recipient
lea ecx, [ebp - 0xb0]
call fcn.00424a00
push 0x485d94
lea ecx, [ebp - 0x60]
call fcn.00425640
push 0x485d94
lea ecx, [ebp - 0x60]
call fcn.00425640
push str.make_new
lea ecx, [ebp - 0x60]
call fcn.00425640
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x60]
call fcn.004255f0
push str._at_end_of
lea ecx, [ebp - 0x60]
call fcn.00425640
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x60]
call fcn.004255f0
push str.s_with_properties
lea ecx, [ebp - 0x60]
call fcn.00425640
push str.name:_
lea ecx, [ebp - 0x60]
call fcn.00425640
push dword [ebp - 0x1fc]
lea ecx, [ebp - 0x60]
call fcn.00425640
push str.__address:_
lea ecx, [ebp - 0x60]
call fcn.00425640
push dword [ebp - 0x1f8]
lea ecx, [ebp - 0x60]
call fcn.00425640
push 0x485f70
lea ecx, [ebp - 0x60]
call fcn.00425640
mov ecx, esi
call fcn.0041c790
test eax, eax
jne 0x4077f0
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], al
call fcn.004249b0
mov ebx, dword [ebp - 0x1f4]
lea ecx, [ebp - 0x1a0]
call fcn.004249a0
add ebx, 0x149
mov byte [ebp - 4], 2
mov ecx, ebx
call fcn.0041c740
test eax, eax
je 0x407b1f
push str.PATH
mov ecx, ebx
call fcn.0041c5a0
mov esi, eax
mov ecx, ebx
push str.FILE_NAME
mov dword [ebp - 0x1f4], esi
call fcn.0041c5a0
push esi
lea ecx, [ebp - 0xb0]
mov edi, eax
call fcn.004248f0
mov esi, dword [ebp - 0x6b]
lea ecx, [ebp - 0xb0]
push 1
push 0xffffffffffffffff
push 0x485a74
mov byte [ebp - 4], 3
call fcn.00425160
sub esi, eax
lea ecx, [ebp - 0xb0]
dec esi
lea eax, [ebp - 0x1f0]
push esi
push eax
call fcn.00425230
push eax
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 4
call fcn.004249c0
lea ecx, [ebp - 0x1f0]
mov byte [ebp - 4], 3
call fcn.004249b0
push 0x485d94
lea ecx, [ebp - 0x60]
call fcn.00425640
push 0x485d94
lea ecx, [ebp - 0x60]
call fcn.00425640
push str.set_fileLoc_to_fileLoc___
lea ecx, [ebp - 0x60]
call fcn.00425640
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x60]
call fcn.004255f0
push 0x485d28
lea ecx, [ebp - 0x60]
call fcn.00425640
push 0x485d94
lea ecx, [ebp - 0x60]
call fcn.00425640
push 0x485d94
lea ecx, [ebp - 0x60]
call fcn.00425640
push str.set_theAttachment_to_fileLoc_n_r
lea ecx, [ebp - 0x60]
call fcn.00425640
push 0x485d94
lea ecx, [ebp - 0x60]
call fcn.00425640
push 0x485d94
lea ecx, [ebp - 0x60]
call fcn.00425640
push str.set_fileAlias_to__POSIX_file_theAttachment__as_alias_n_r
lea ecx, [ebp - 0x60]
call fcn.00425640
push str.tell_application__Finder__n_r
lea ecx, [ebp - 0x60]
call fcn.00425640
push 0x485d94
lea ecx, [ebp - 0x60]
call fcn.00425640
push str.set_the_name_of_fileAlias_to__
lea ecx, [ebp - 0x60]
call fcn.00425640
push edi
lea ecx, [ebp - 0x60]
call fcn.00425640
push 0x485d28
lea ecx, [ebp - 0x60]
call fcn.00425640
push str.end_tell_n_r
lea ecx, [ebp - 0x60]
call fcn.00425640
mov esi, dword [ebp - 0x1f4]
push esi
lea ecx, [ebp - 0x1f0]
call fcn.004248f0
push 0x485d94
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 5
call fcn.00425640
push 0x485d94
lea ecx, [ebp - 0x60]
call fcn.00425640
push str.tell_content_n_r
lea ecx, [ebp - 0x60]
call fcn.00425640
push 0x485d94
lea ecx, [ebp - 0x60]
call fcn.00425640
push 0x485d94
lea ecx, [ebp - 0x60]
call fcn.00425640
push 0x485d94
lea ecx, [ebp - 0x60]
call fcn.00425640
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.00425640
push 0x485d94
lea ecx, [ebp - 0x60]
call fcn.00425640
push 0x485d94
lea ecx, [ebp - 0x60]
call fcn.00425640
push str.end_tell_n_r
lea ecx, [ebp - 0x60]
call fcn.00425640
lea ecx, [ebp - 0x1f0]
mov byte [ebp - 4], 3
call fcn.004249b0
mov ecx, ebx
call fcn.0041c790
test eax, eax
jne 0x407a60
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 2
call fcn.004249b0
push 0x485d94
lea ecx, [ebp - 0x60]
call fcn.00425640
push str.end_tell_n_r
lea ecx, [ebp - 0x60]
call fcn.00425640
push 0x485d94
lea ecx, [ebp - 0x60]
call fcn.00425640
push str.activate_n_r
lea ecx, [ebp - 0x60]
call fcn.00425640
push 0x485d94
lea ecx, [ebp - 0x60]
call fcn.00425640
push str.tell_application__Finder__n_r
lea ecx, [ebp - 0x60]
call fcn.00425640
push 0x485d94
lea ecx, [ebp - 0x60]
call fcn.00425640
push 0x485d94
lea ecx, [ebp - 0x60]
call fcn.00425640
push str.set_the_name_of_fileAlias_to__
lea ecx, [ebp - 0x60]
call fcn.00425640
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x60]
call fcn.004255f0
push 0x485d28
lea ecx, [ebp - 0x60]
call fcn.00425640
push 0x485d94
lea ecx, [ebp - 0x60]
call fcn.00425640
push str.end_tell_n_r
lea ecx, [ebp - 0x60]
call fcn.00425640
push str.end_tell_n_r
lea ecx, [ebp - 0x60]
call fcn.00425640
push str.tell_application__Terminal__to_quit
lea ecx, [ebp - 0x60]
call fcn.00425640
lea ecx, [ebp - 0x150]
call fcn.004249a0
push 0x4acd38
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 6
call fcn.00425640
push str.generateAS.scpt
lea ecx, [ebp - 0x150]
call fcn.00425640
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x60]
call fcn.00425270
lea ecx, [ebp - 0x100]
call fcn.004249a0
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 7
call fcn.00424ab0
push 0x4acd38
lea ecx, [ebp - 0x100]
call fcn.00425640
push str._MacMailUtility.app_contents_MacOS_applet
lea ecx, [ebp - 0x100]
call fcn.00425640
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.004249b0
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 2
call fcn.004249b0
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 0
call fcn.004249b0
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0xffffffff
call fcn.004249b0
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.00452f44
mov esp, ebp
pop ebp
ret 8