Function at 0x403360
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x40fd72
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push ebx
push ebp
push esi
push edi
mov eax, dword [0x41b08c]
xor eax, esp
push eax
lea eax, [esp + 0xac]
mov dword fs:[0], eax
mov ebx, dword [esp + 0xc4]
mov ebp, dword [esp + 0xc0]
mov edi, ebx
mov dword [ebp], 0
call fcn.00402e40
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea ecx, [esp + 0x14]
mov dword [esp + 0xb4], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov byte [esp + 0xb4], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
push str._:_updater
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
mov eax, dword [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
cmp eax, 0xffffffff
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x14]
je 0x40341a
mov dword [ebp], 8
jmp 0x403d40
push str._mailto:
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
mov ecx, dword [esp + 0x14]
push 0
push ecx
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
cmp eax, 0xffffffff
mov dword [esp + 0x24], eax
je 0x403489
mov edx, dword [esp + 0x14]
mov dword [ebp], 2
mov ecx, dword [edx - 0xc]
add ecx, eax
push ecx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_4100]
push ebx
mov ecx, eax
mov byte [esp + 0xb8], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_6161]
push eax
call dword [sym.imp.Device.dll__ParseMailtoFormat__YAXABV__CStringT__WV__StrTraitMFC_DLL__WV__ChTraitsCRT__W_ATL_____ATL__AAV__list_V__CString]
add esp, 8
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
jmp 0x403d3c
push str._eml
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
mov ecx, dword [esp + 0x14]
push 0
push ecx
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
cmp eax, 0xffffffff
mov dword [esp + 0x24], eax
je 0x403522
mov edx, dword [esp + 0x14]
mov dword [ebp], 7
mov ecx, dword [edx - 0xc]
add ecx, eax
push ecx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_4100]
lea ecx, [esp + 0x20]
mov byte [esp + 0xb4], 3
call dword [sym.imp.MFC80U.DLL_Ordinal_6161]
push 0x22
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_6159]
mov esi, dword [ebx + 4]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x20]
push ecx
push edx
push esi
call fcn.00404970
mov ecx, ebx
mov edi, eax
call fcn.00404a10
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
lea ecx, [esp + 0x20]
mov dword [eax], edi
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
jmp 0x403d3c
push str._auto
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
mov ecx, dword [esp + 0x14]
push 0
push ecx
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
cmp eax, 0xffffffff
mov dword [esp + 0x24], eax
je 0x4035a8
lea edx, [esp + 0x24]
push edx
push 0x4126dc
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_6133]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xb8], 4
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb4], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
push str._auto
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_1476]
test eax, eax
jne 0x4035a8
mov dword [ebp], 1
jmp 0x403d3c
push 0x4126e0
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
mov ecx, dword [esp + 0x14]
push 0
push ecx
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
cmp eax, 0xffffffff
mov edi, dword [sym.imp.MSVCR80.dll_iswdigit]
mov esi, dword [sym.imp.MSVCR80.dll__wtoi]
mov dword [esp + 0x24], eax
je 0x403663
mov edx, dword [esp + 0x14]
mov ecx, dword [edx - 0xc]
add ecx, eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], ecx
push 0x4126dc
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_6133]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xb8], 5
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x28]
mov byte [esp + 0xb4], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov edx, dword [esp + 0x14]
cmp dword [edx - 0xc], 0
je 0x403663
push 0
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_860]
push eax
call edi
add esp, 4
test eax, eax
je 0x403663
mov eax, dword [esp + 0x14]
push eax
call esi
mov ecx, dword [esp + 0xc0]
add esp, 4
mov dword [ecx + 0xcc], eax
push str._updatecheckperiod
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
mov edx, dword [esp + 0x14]
push 0
push edx
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
cmp eax, 0xffffffff
mov dword [esp + 0x24], eax
je 0x403712
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx - 0xc]
lea edx, [esp + 0x1c]
add ecx, eax
push edx
push 0x4126dc
lea eax, [esp + 0x30]
mov dword [esp + 0x24], ecx
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_6133]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xb8], 6
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x28]
mov byte [esp + 0xb4], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 0
je 0x403712
push 0
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_860]
push eax
call edi
add esp, 4
test eax, eax
je 0x403712
mov edx, dword [esp + 0x14]
push edx
call esi
mov ecx, dword [esp + 0xc0]
add esp, 4
mov dword [ecx + 0xd0], eax
push str._sendto
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
mov edx, dword [esp + 0x14]
push 0
push edx
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
cmp eax, 0xffffffff
mov dword [esp + 0x24], eax
je 0x403a11
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx - 0xc]
mov edx, dword [esp + 0x14]
sub ecx, dword [edx - 0xc]
sub ecx, eax
sub ecx, 1
push ecx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_5558]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xb8], 7
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb4], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x14]
mov dword [ebp], 9
cmp dword [ecx - 0xc], 0
lea ecx, [esp + 0x14]
jne 0x4037a8
mov dword [ebp], 0
jmp 0x403d40
push 0
push 0x4126dc
mov dword [esp + 0x24], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
mov esi, eax
cmp esi, 0xffffffff
je 0x4039c0
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
push 0
push 0x41273c
lea ecx, [esp + 0x1c]
mov byte [esp + 0xbc], 8
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x403885
cmp ebp, esi
jge 0x403885
lea esi, [ebp + 1]
push esi
push 0x41273c
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
mov edi, eax
mov edx, edi
sub edx, ebp
sub edx, 1
push edx
push esi
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_4101]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xb8], 9
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x38]
mov byte [esp + 0xb4], 8
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
sub eax, edi
sub eax, 1
push eax
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_5558]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xb8], 0xa
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x34]
jmp 0x4038ed
push esi
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_3990]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xb8], 0xb
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x30]
mov byte [esp + 0xb4], 8
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
sub eax, esi
sub eax, 1
push eax
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_5558]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xb8], 0xc
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb4], 8
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
cmp dword [esp + 0x1c], 0
jne 0x40395d
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.Common.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_common::GetFileNameFromPath_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const__]
add esp, 8
mov byte [esp + 0xb4], 0xd
mov edx, dword [esp + 0x28]
cmp dword [edx - 0xc], 0
je 0x40394b
mov eax, dword [ebx + 4]
mov eax, dword [eax]
push eax
push ebx
push ebx
lea eax, [esp + 0x34]
lea ebx, [esp + 0x48]
call fcn.00404920
mov ebx, dword [esp + 0xc4]
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x28]
mov byte [esp + 0xb4], 8
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, dword [esp + 0x20]
cmp dword [eax - 0xc], 0
je 0x40398a
mov esi, dword [ebx + 4]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x20]
push ecx
push edx
push esi
call fcn.00404970
mov ecx, ebx
mov edi, eax
call fcn.00404a10
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
lea ecx, [esp + 0x20]
mov byte [esp + 0xb4], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
push 0
push 0x4126dc
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4037c8
cmp ebp, eax
jne 0x403d29
cmp dword [ebx + 8], 0
jne 0x403a03
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.Common.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_common::GetFileNameFromPath_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const__]
add esp, 8
lea eax, [esp + 0x1c]
mov byte [esp + 0xb4], 0xe
call fcn.004048f0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb4], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ebx, dword [esp + 0xc4]
lea eax, [esp + 0x14]
call fcn.004048f0
jmp 0x403d22
push 0x412740
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
mov eax, dword [esp + 0x14]
mov esi, dword [eax - 0xc]
push 0
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
mov ecx, dword [esp + 0x14]
add eax, esi
mov dword [esp + 0x24], eax
cmp eax, dword [ecx - 0xc]
jl 0x403d3c
lea edx, [esp + 0x24]
push edx
push 0x4126dc
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_6133]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xb8], 0xf
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb4], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
push str.attachment
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_1476]
test eax, eax
jne 0x403aa1
mov dword [ebp], 6
jmp 0x403aff
push 0x412764
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_1476]
test eax, eax
jne 0x403abd
mov dword [ebp], 5
jmp 0x403aff
push str.content
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_1476]
test eax, eax
jne 0x403ad9
mov dword [ebp], 4
jmp 0x403aff
push str.service
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_1476]
test eax, eax
jne 0x403af5
mov dword [ebp], 3
jmp 0x403aff
cmp dword [ebp], 0
je 0x403d3c
mov ecx, dword [esp + 0x24]
push ecx
push 0x22
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_2260]
mov esi, eax
add esi, 1
push esi
push 0x22
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_2260]
push str._USUbjEcT
lea ecx, [esp + 0x30]
mov ebp, eax
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov edx, dword [eax]
mov eax, dword [edx - 0xc]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], eax
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [ebp + 1]
push ecx
push str._USUbjEcT
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
mov edi, eax
add edi, dword [esp + 0x30]
lea ecx, [esp + 0x18]
push edi
push str._USUbjEcT
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
test esi, esi
mov dword [esp + 0x30], eax
jle 0x403d29
cmp esi, ebp
jge 0x403d29
mov edx, ebp
sub edx, esi
push edx
push esi
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_4101]
lea ecx, [esp + 0x24]
push ecx
push 0x4127a8
lea edx, [esp + 0x34]
mov byte [esp + 0xbc], 0x10
push edx
lea ecx, [esp + 0x34]
mov dword [esp + 0x30], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_6133]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xb8], 0x11
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb4], 0x10
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
je 0x403c48
lea eax, [esp + 0x14]
call fcn.004048f0
lea ecx, [esp + 0x24]
push ecx
push 0x4127a8
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x34]
call dword [sym.imp.MFC80U.DLL_Ordinal_6133]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xb8], 0x12
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb4], 0x10
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
mov ebx, dword [esp + 0xc4]
jne 0x403bf0
cmp ebp, edi
jge 0x403c9d
mov eax, dword [esp + 0x30]
cmp edi, eax
jg 0x403c9d
sub eax, edi
push eax
push edi
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_4101]
mov byte [esp + 0xb4], 0x13
mov edx, dword [esp + 0x20]
cmp dword [edx - 0xc], 0
jne 0x403c88
push 0x4126dc
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
lea ecx, [esp + 0x20]
call fcn.004048c0
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
jmp 0x403d18
push 0x4126dc
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb4], 0x14
call fcn.004048c0
mov bl, 0x10
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb4], bl
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, dword [sym.imp.Common.dll_struct_LogFileInterface__g_AppLogFile]
mov ecx, dword [eax]
push 0xfe
push str..FlashMail_Start.cpp
push ecx
lea ecx, [esp + 0x50]
call dword [sym.imp.Common.dll_public:_void___thiscall_LogMessage::constructor_struct_LogFileInterface___wchar_t_const___long_int_]
push str.CNxMailApp::ParseCommandLine__:_FlashMailShell_Version_InCorrect___No_Subject__
push 1
push 2
push eax
mov byte [esp + 0xc4], 0x15
call dword [sym.imp.Common.dll_public:_void___cdecl_LogMessage::operator___int__bool__wchar_t_const__]
add esp, 0x10
lea ecx, [esp + 0x44]
mov byte [esp + 0xb4], bl
call dword [sym.imp.Common.dll_public:_void___thiscall_LogMessage::destructor_void_]
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ebx, dword [esp + 0xc4]
cmp dword [ebx + 8], 0
jne 0x403d3c
mov edx, dword [esp + 0xc0]
mov dword [edx], 0
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0xac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret 0xc