Function at 0x402730
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403ac6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x95c
push ebx
push esi
push edi
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x10], esp
push eax
call fcn.00401fb0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
push ecx
call fcn.00402650
add esp, 8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::MakeLower
push str.pdf995_resutilities_sendattachment.exe
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::Find
mov esi, eax
or edi, 0xffffffff
cmp esi, edi
je 0x4027ff
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x24]
push edx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::MakeLower
lea eax, [ebp - 0x40]
push esi
push eax
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x4027f3
lea eax, [ebp - 0x28]
mov ecx, 0x4054d4
push eax
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
mov ecx, dword [0x4054d4]
mov eax, dword [ecx - 8]
test eax, eax
je 0x402819
push 0x4054d4
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::operator
call sub.MFC42.DLL_AfxGetModuleState
mov ecx, dword [eax + 4]
call sub.MFC42.DLL_CCmdTarget::BeginWaitCursor
push 0x401f50
mov ecx, 0x4054d0
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CProcessLocalObject::GetData
mov esi, eax
mov dword [ebp - 0x40], esi
mov eax, dword [esi + 4]
test eax, eax
jne 0x402853
push str.MAPI32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
test eax, eax
jne 0x402873
push edi
push eax
push 0xf190
call sub.MFC42.DLL_AfxMessageBox_1
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
push str.Could_not_load_MAPI32.DLL
jmp 0x40289d
push str.MAPISendMail
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [ebp - 0x48], eax
jne 0x4028cf
push edi
push eax
push 0xf191
call sub.MFC42.DLL_AfxMessageBox_1
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
push str.Could_not_GetProcAddress_in_MAPI32.DLL
call sub.MFC42.DLL_CString::CString_1
call fcn.004024b0
add esp, 4
mov byte [ebp - 4], 1
call sub.MFC42.DLL_AfxGetModuleState
mov ecx, dword [eax + 4]
call sub.MFC42.DLL_CCmdTarget::EndWaitCursor
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], edi
jmp 0x4037eb
call fcn.00402380
mov edi, eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x2c], edi
call fcn.00401afa
test edi, edi
mov byte [ebp - 4], 5
je 0x402937
lea edx, [ebp - 0x18]
push edx
call fcn.004021c0
add esp, 4
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
lea ecx, [ebp - 0x558]
push 0x400
push ecx
push 0x4054d8
push str.Launch
push str.Parameters
call esi
jmp 0x402977
lea edx, [ebp - 0x1c]
push str.pdf995_respdf995.ini
lea eax, [ebp - 0x18]
push edx
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
lea ecx, [ebp - 0x558]
push 0x400
push ecx
push 0x4054d8
push str.Launch
push str.Parameters
call esi
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
lea edx, [ebp - 0x558]
lea ecx, [ebp - 0x38]
push edx
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 7
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x402a04
test edi, edi
je 0x4029bb
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x558]
push ecx
push 0x400
push edx
push 0x4054d8
push str.PDF_File
push str.Parameters
call esi
jmp 0x4029f5
lea eax, [ebp - 0x1c]
push str.pdf995_respdf995.ini
lea ecx, [ebp - 0x18]
push eax
push ecx
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
lea edx, [ebp - 0x558]
push eax
push 0x400
push edx
push 0x4054d8
push str.PDF_File
push str.Parameters
call esi
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x558]
lea ecx, [ebp - 0x38]
push eax
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [ebp - 0x38]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0x104
lea edx, [ebp - 0x760]
push ecx
push edx
call ebx
push 0x5c
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::ReverseFind
push str.untitled.pdf
lea ecx, [ebp - 0x58]
mov edi, eax
call sub.MFC42.DLL_CString::CString_1
cmp edi, 0xffffffff
mov byte [ebp - 4], 8
je 0x402a65
inc edi
lea eax, [ebp - 0x18]
push edi
push eax
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0x58]
push 0x104
lea edx, [ebp - 0x65c]
push ecx
push edx
call ebx
mov ecx, 0xc
xor eax, eax
lea edi, [ebp - 0xc0]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x402ab0
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x558]
push eax
push 0x400
push ecx
push 0x4054d8
push str.Email_CoverFile
push str.Parameters
call esi
jmp 0x402aea
lea edx, [ebp - 0x1c]
push str.pdf995_respdf995.ini
lea eax, [ebp - 0x18]
push edx
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
lea ecx, [ebp - 0x558]
push eax
push 0x400
push ecx
push 0x4054d8
push str.Email_CoverFile
push str.Parameters
call esi
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
lea edx, [ebp - 0x558]
lea ecx, [ebp - 0x44]
push edx
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 0xa
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x402ba0
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [ebp - 0x24]
push 0x104
lea eax, [ebp - 0x968]
push edx
push eax
mov byte [ebp - 4], 0xb
call ebx
push 0x5c
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::ReverseFind
push str.untitled.pdf
lea ecx, [ebp - 0x18]
mov edi, eax
call sub.MFC42.DLL_CString::CString_1
cmp edi, 0xffffffff
mov byte [ebp - 4], 0xc
je 0x402b76
inc edi
lea ecx, [ebp - 0x14]
push edi
push ecx
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp - 0x18]
push 0x104
lea eax, [ebp - 0x864]
push edx
push eax
call ebx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
mov ecx, 6
xor eax, eax
lea edi, [ebp - 0xd8]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx - 8]
mov ecx, 6
test eax, eax
jne 0x402bfc
xor eax, eax
lea edi, [ebp - 0xd8]
rep stosd dword es:[edi], eax
lea edx, [ebp - 0x760]
lea eax, [ebp - 0x65c]
mov dword [ebp - 0xd0], 0xffffffff
mov dword [ebp - 0xcc], edx
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0x98], 1
lea ecx, [ebp - 0xd8]
jmp 0x402c62
xor eax, eax
lea edi, [ebp - 0x158]
rep stosd dword es:[edi], eax
mov ecx, 6
lea edi, [ebp - 0x140]
rep stosd dword es:[edi], eax
or eax, 0xffffffff
lea edx, [ebp - 0x760]
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], edx
lea ecx, [ebp - 0x65c]
mov dword [ebp - 0x138], eax
lea edx, [ebp - 0x968]
lea eax, [ebp - 0x864]
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x98], 2
lea ecx, [ebp - 0x158]
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x94], ecx
test ebx, ebx
je 0x402c92
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x558]
push edx
push 0x400
push eax
push 0x4054d8
push str.Email_Subject
push str.Parameters
call esi
jmp 0x402ccc
lea ecx, [ebp - 0x1c]
push str.pdf995_respdf995.ini
lea edx, [ebp - 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x558]
push 0x400
push eax
push 0x4054d8
push str.Email_Subject
push str.Parameters
call esi
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x558]
push ecx
lea ecx, [ebp - 0x68]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [ebp - 0x68]
mov byte [ebp - 4], 0xe
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x402cef
mov dword [ebp - 0xbc], eax
push 0x405074
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::CString_1
test ebx, ebx
mov byte [ebp - 4], 0xf
je 0x402d5a
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x558]
push edx
push 0x400
push eax
push 0x405074
push str.Add_SMTP_to_Email_Address
push str.Parameters
call esi
lea ecx, [ebp - 0x558]
push ecx
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x558]
push edx
push 0x400
push eax
push 0x4054d8
push str.Email_Recipient_Address
push str.Parameters
call esi
jmp 0x402ddd
lea ecx, [ebp - 0x1c]
push str.pdf995_respdf995.ini
lea edx, [ebp - 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x558]
push 0x400
push eax
push 0x405074
push str.Add_SMTP_to_Email_Address
push str.Parameters
call esi
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x558]
push ecx
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::operator_1
lea edx, [ebp - 0x1c]
push str.pdf995_respdf995.ini
lea eax, [ebp - 0x14]
push edx
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
lea ecx, [ebp - 0x558]
push eax
push 0x400
push ecx
push 0x4054d8
push str.Email_Recipient_Address
push str.Parameters
call esi
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x3c]
call fcn.00401afa
mov edx, dword [ebp - 0x30]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x405074
push edx
mov byte [ebp - 4], 0x10
call edi
add esp, 8
test eax, eax
jne 0x402e4d
push str.SMTP:
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [ebp - 0x558]
lea edx, [ebp - 0x14]
push ecx
mov bl, 0x11
push eax
push edx
mov byte [ebp - 4], bl
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x12
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
mov ebx, dword [ebp - 0x2c]
jmp 0x402e5c
lea eax, [ebp - 0x558]
lea ecx, [ebp - 0x3c]
push eax
call sub.MFC42.DLL_CString::operator_1
test ebx, ebx
je 0x402e83
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x558]
push ecx
push 0x400
push edx
push 0x4054d8
push str.Email_Recipient_Name
push str.Parameters
call esi
jmp 0x402ebd
lea eax, [ebp - 0x1c]
push str.pdf995_respdf995.ini
lea ecx, [ebp - 0x14]
push eax
push ecx
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
lea edx, [ebp - 0x558]
push eax
push 0x400
push edx
push 0x4054d8
push str.Email_Recipient_Name
push str.Parameters
call esi
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x558]
lea ecx, [ebp - 0x60]
push eax
call sub.MFC42.DLL_CString::CString_1
test ebx, ebx
mov byte [ebp - 4], 0x13
je 0x402f2a
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x558]
push ecx
push 0x400
push edx
push 0x405074
push str.Add_SMTP_to_Email_Address
push str.Parameters
call esi
lea eax, [ebp - 0x558]
lea ecx, [ebp - 0x30]
push eax
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x558]
push ecx
push 0x400
push edx
push 0x4054d8
push str.Email_CC_Address
push str.Parameters
call esi
jmp 0x402fad
lea eax, [ebp - 0x1c]
push str.pdf995_respdf995.ini
lea ecx, [ebp - 0x14]
push eax
push ecx
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
lea edx, [ebp - 0x558]
push eax
push 0x400
push edx
push 0x405074
push str.Add_SMTP_to_Email_Address
push str.Parameters
call esi
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x558]
lea ecx, [ebp - 0x30]
push eax
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x1c]
push str.pdf995_respdf995.ini
lea edx, [ebp - 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x558]
push 0x400
push eax
push 0x4054d8
push str.Email_CC_Address
push str.Parameters
call esi
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x54]
call fcn.00401afa
mov ecx, dword [ebp - 0x30]
push 0x405074
push ecx
mov byte [ebp - 4], 0x14
call edi
add esp, 8
test eax, eax
jne 0x403017
push str.SMTP:
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_1
lea edx, [ebp - 0x558]
mov bl, 0x15
push edx
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], bl
push eax
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x16
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x14
call sub.MFC42.DLL_CString::CString
mov ebx, dword [ebp - 0x2c]
jmp 0x403026
lea ecx, [ebp - 0x558]
push ecx
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CString::operator_1
test ebx, ebx
je 0x40304d
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x558]
push edx
push 0x400
push eax
push 0x4054d8
push str.Email_CC_Name
push str.Parameters
call esi
jmp 0x403087
lea ecx, [ebp - 0x1c]
push str.pdf995_respdf995.ini
lea edx, [ebp - 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x558]
push 0x400
push eax
push 0x4054d8
push str.Email_CC_Name
push str.Parameters
call esi
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x558]
push ecx
lea ecx, [ebp - 0x5c]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [ebp - 0x54]
mov byte [ebp - 4], 0x17
mov eax, dword [edx - 8]
test eax, eax
je 0x4030f8
mov ecx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x3c]
xor ebx, ebx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x100], ebx
mov ebx, dword [ebp - 0x5c]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x108], ebx
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x124], 1
mov dword [ebp - 0x104], edx
mov dword [ebp - 0x10c], 2
jmp 0x4030fe
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xe8], ecx
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xec], 1
cmp dword [eax - 8], 0
je 0x403174
mov eax, dword [ecx - 8]
test eax, eax
je 0x403174
mov eax, dword [edx - 8]
test eax, eax
je 0x40315e
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx - 8]
test eax, eax
je 0x40315e
lea eax, [ebp - 0x128]
mov dword [ebp - 0xa0], 2
mov dword [ebp - 0x9c], eax
jmp 0x403174
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0xa0], 1
mov dword [ebp - 0x9c], ecx
test ebx, ebx
je 0x40319b
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x558]
push edx
push 0x400
push eax
push 0x4054d8
push str.Email_Text
push str.Parameters
call esi
jmp 0x4031d5
lea ecx, [ebp - 0x1c]
push str.pdf995_respdf995.ini
lea edx, [ebp - 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x558]
push 0x400
push eax
push 0x4054d8
push str.Email_Text
push str.Parameters
call esi
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x558]
push ecx
lea ecx, [ebp - 0x4c]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 0x18
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4031fd
mov dword [ebp - 0xb8], eax
jmp 0x40334f
lea ecx, [ebp - 0x80]
call fcn.00401b42
lea edx, [ebp - 0x1c]
push str.pdf995_resutilitiesemail.txt
lea eax, [ebp - 0x18]
push edx
push eax
mov byte [ebp - 4], 0x19
call sub.MFC42.DLL_operator_2
test ebx, ebx
mov byte [ebp - 4], 0x1a
je 0x403267
lea ecx, [ebp - 0x24]
push ecx
call fcn.004020f0
add esp, 4
push str.pdf995_resutilitiesemail.txt
lea edx, [ebp - 0x14]
mov bl, 0x1b
push eax
push edx
mov byte [ebp - 4], bl
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x1c
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x1a
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x18]
push 0
push 0x8040
push eax
lea ecx, [ebp - 0x80]
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x40332e
lea ecx, [ebp - 0x80]
call sub.MFC42.DLL_CFile::GetLength
lea edi, [eax + 1]
mov dword [ebp - 0x14], eax
push edi
call sub.MFC42.DLL_operatornew
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x40332e
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0xf8]
mov edi, 1
call sub.MFC42.DLL_AFX_EXCEPTION_LINK::AFX_EXCEPTION_LINK
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x80]
push eax
push ebx
mov byte [ebp - 4], 0x1e
call sub.MFC42.DLL_CFile::Read
jmp 0x4032ff
mov dword [ebp - 4], 0x1a
call sub.MFC42.DLL_AfxTryCleanup
test edi, edi
je 0x403321
push ebx
lea ecx, [ebp - 0x4c]
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0xb8], edx
test ebx, ebx
je 0x40332e
push ebx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x19
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x18
call sub.MFC42.DLL_CFile::CFile
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
mov ebx, dword [ebp - 0x2c]
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0
mov ecx, eax
call sub.MFC42.DLL_CWinApp::EnableModeless
lea eax, [ebp - 0x6c]
push eax
push 0
call sub.MFC42.DLL_CWnd::GetSafeOwner
push 0
mov dword [ebp - 0x64], eax
call dword [sym.imp.USER32.dll_SetFocus]
test ebx, ebx
je 0x403429
lea ecx, [ebp - 0x14]
push ecx
call fcn.004021c0
add esp, 4
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x20
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x18
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x90]
push edx
push 0x20
push eax
push 0x405074
push str.MAPI_LOGON_UI
push str.Parameters
call esi
lea ecx, [ebp - 0x90]
push ecx
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [ebp - 0x24]
push 0x405074
push edx
mov byte [ebp - 4], 0x21
call edi
mov eax, dword [ebp - 0x20]
add esp, 8
lea ecx, [ebp - 0x90]
push eax
push 0x20
push ecx
push 0x405074
push str.MAPI_DIALOG
push str.Parameters
call esi
lea edx, [ebp - 0x90]
lea ecx, [ebp - 0x24]
push edx
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [ebp - 0x24]
push 0x405074
push eax
call edi
add esp, 8
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x24]
jmp 0x4034cd
lea ecx, [ebp - 0x1c]
push str.pdf995_respdf995.ini
lea edx, [ebp - 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x90]
push 0x20
push eax
push 0x405074
push str.MAPI_LOGON_UI
push str.Parameters
call esi
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x90]
push ecx
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [ebp - 0x18]
push 0x405074
push edx
mov byte [ebp - 4], 0x22
call edi
add esp, 8
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push str.pdf995_respdf995.ini
push eax
push ecx
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
lea edx, [ebp - 0x90]
push eax
push 0x20
push edx
push 0x405074
push str.MAPI_DIALOG
push str.Parameters
call esi
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x18]
push 0x405074
push eax
call edi
add esp, 8
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x34]
call fcn.00401afa
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x23
call fcn.00401afa
mov eax, dword [ebp - 0x2c]
mov bl, 0x24
test eax, eax
mov byte [ebp - 4], bl
je 0x403577
lea ecx, [ebp - 0x14]
push ecx
call fcn.004021c0
add esp, 4
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x25
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x558]
push edx
push 0x400
push eax
push 0x4054d8
push str.Email_Mapi_logon
push str.Parameters
call esi
lea ecx, [ebp - 0x558]
push ecx
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x558]
push edx
push 0x400
push eax
push 0x4054d8
push str.Email_Mapi_password
push str.Parameters
call esi
lea ecx, [ebp - 0x558]
push ecx
jmp 0x403601
lea edx, [ebp - 0x1c]
push str.pdf995_respdf995.ini
lea eax, [ebp - 0x14]
push edx
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
lea ecx, [ebp - 0x558]
push eax
push 0x400
push ecx
push 0x4054d8
push str.Email_Mapi_logon
push str.Parameters
call esi
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
lea edx, [ebp - 0x558]
lea ecx, [ebp - 0x34]
push edx
call sub.MFC42.DLL_CString::operator_1
lea eax, [ebp - 0x1c]
push str.pdf995_respdf995.ini
lea ecx, [ebp - 0x14]
push eax
push ecx
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
lea edx, [ebp - 0x558]
push eax
push 0x400
push edx
push 0x4054d8
push str.Email_Mapi_password
push str.Parameters
call esi
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x558]
push eax
lea ecx, [ebp - 0x50]
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx - 8]
test eax, eax
je case.0x403642.0
mov edx, dword [ebp - 0x40]
push str.MAPILogon
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x50]
lea ecx, [ebp - 0x70]
push ecx
mov ecx, dword [ebp - 0x34]
push 0
push 2
push edx
push ecx
push 0
call eax
test eax, eax
je case.0x403642.0
cmp eax, 8
ja case.0x403642.2
jmp dword [eax*4 + 0x403804]
push 0
push 0
push str.Insufficient_memory_available.__Close_some_applications_before_attempting_to_transmit_again.
jmp 0x40367e
push 0
push 0
push str.Invalid_Mail_Logon
jmp 0x40367e
push 0
push 0
push str.Mail_system_busy.__Try_to_transmit_later
jmp 0x40367e
push 0
push 0
push str.User_requested_to_cancel_mail
jmp 0x40367e
push 0
push 0
push str.Unknown_Mail_System_Failure
call sub.MFC42.DLL_AfxMessageBox
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x40368d
mov eax, dword [eax + 0x20]
push 0
lea edx, [ebp - 0xc0]
push 9
push edx
push eax
push 0
call dword [ebp - 0x48]
mov esi, eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4036c8
mov ecx, dword [ebp - 0x40]
push str.MAPILogoff
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x70]
push 0
push 0
push 0
push ecx
call eax
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 0
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x4036e6
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 1
mov ecx, eax
call sub.MFC42.DLL_CWinApp::EnableModeless
test esi, esi
je 0x40372b
cmp esi, 1
je 0x40372b
cmp esi, 3
je 0x40372b
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
push str.MAPI_Send_failed
call sub.MFC42.DLL_CString::CString_1
call fcn.004024b0
add esp, 4
push 0xffffffffffffffff
push 0
push 0xf192
call sub.MFC42.DLL_AfxMessageBox_1
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x23
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x18
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x17
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x14
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
call sub.MFC42.DLL_AfxGetModuleState
mov ecx, dword [eax + 4]
call sub.MFC42.DLL_CCmdTarget::EndWaitCursor
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret