Function at 0x4031d0
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x40f3b7
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
push ebp
push esi
push edi
mov eax, dword [0x41908c]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov ebx, dword [esp + 0xbc]
mov esi, dword [esp + 0xb8]
xor ebp, ebp
mov edi, ebx
mov dword [esi], ebp
call fcn.00402cb0
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea ecx, [esp + 0x14]
mov dword [esp + 0xb0], ebp
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov byte [esp + 0xb0], 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 ebp
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 0x403281
mov dword [esi], 8
jmp 0x403a26
push str._mailto:
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
mov ecx, dword [esp + 0x14]
push ebp
push ecx
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
cmp eax, 0xffffffff
mov dword [esp + 0x24], eax
je 0x4032ee
mov edx, dword [esp + 0x14]
mov dword [esi], 2
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]
push ebx
mov ecx, eax
mov byte [esp + 0xb4], 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 + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
jmp 0x403a22
push str._eml
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
mov ecx, dword [esp + 0x14]
push ebp
push ecx
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
cmp eax, 0xffffffff
mov dword [esp + 0x24], eax
je 0x403385
mov edx, dword [esp + 0x14]
mov dword [esi], 7
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]
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb0], 3
call dword [sym.imp.MFC80U.DLL_Ordinal_6161]
push 0x22
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_6159]
mov esi, dword [ebx + 4]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x1c]
push ecx
push edx
push esi
call fcn.004041d0
mov ecx, ebx
mov edi, eax
call fcn.0040a950
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
lea ecx, [esp + 0x1c]
mov dword [eax], edi
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
jmp 0x403a22
push str._auto
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
mov ecx, dword [esp + 0x14]
push ebp
push ecx
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
cmp eax, 0xffffffff
mov dword [esp + 0x24], eax
je 0x403409
lea edx, [esp + 0x24]
push edx
push 0x4115ec
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_6133]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 4
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x20]
mov byte [esp + 0xb0], 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 0x403409
mov dword [esi], 1
jmp 0x403a22
push 0x4115f0
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
mov ecx, dword [esp + 0x14]
push ebp
push ecx
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
cmp eax, 0xffffffff
mov dword [esp + 0x24], eax
je 0x4036fb
mov edx, dword [esp + 0x18]
mov ecx, dword [edx - 0xc]
mov edx, dword [esp + 0x14]
sub ecx, dword [edx - 0xc]
sub ecx, eax
sub ecx, 1
push ecx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_5558]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 5
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x20]
mov byte [esp + 0xb0], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x14]
mov dword [esi], 9
cmp dword [ecx - 0xc], ebp
lea ecx, [esp + 0x14]
jne 0x403497
mov dword [esi], ebp
jmp 0x403a26
push ebp
push 0x4115ec
mov dword [esp + 0x28], ebp
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
mov esi, eax
cmp esi, 0xffffffff
je 0x4036aa
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
push 0
push 0x411600
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb8], 6
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x40356f
cmp ebp, esi
jge 0x40356f
lea esi, [ebp + 1]
push esi
push 0x411600
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 + 0x20]
mov byte [esp + 0xb4], 7
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x38]
mov byte [esp + 0xb0], 6
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 + 0xb4], 8
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x34]
jmp 0x4035d7
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 + 0x20]
mov byte [esp + 0xb4], 9
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x30]
mov byte [esp + 0xb0], 6
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 + 0x2c]
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_5558]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 0xa
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x28]
mov byte [esp + 0xb0], 6
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
cmp dword [esp + 0x20], 0
jne 0x403647
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
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 + 0xb0], 0xb
mov edx, dword [esp + 0x2c]
cmp dword [edx - 0xc], 0
je 0x403635
mov eax, dword [ebx + 4]
mov eax, dword [eax]
push eax
push ebx
push ebx
lea eax, [esp + 0x38]
lea ebx, [esp + 0x48]
call fcn.00404180
mov ebx, dword [esp + 0xbc]
mov dword [esp + 0x20], 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb0], 6
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], 0
je 0x403674
mov esi, dword [ebx + 4]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x1c]
push ecx
push edx
push esi
call fcn.004041d0
mov ecx, ebx
mov edi, eax
call fcn.0040a950
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb0], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
push 0
push 0x4115ec
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4034b2
cmp ebp, eax
jne 0x403a0f
cmp dword [ebx + 8], 0
jne 0x4036ed
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
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 + 0x20]
mov byte [esp + 0xb0], 0xc
call fcn.00404150
lea ecx, [esp + 0x20]
mov byte [esp + 0xb0], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ebx, dword [esp + 0xbc]
lea eax, [esp + 0x14]
call fcn.00404150
jmp 0x403a08
push 0x411604
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
mov eax, dword [esp + 0x14]
mov edi, dword [eax - 0xc]
push ebp
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
mov ecx, dword [esp + 0x14]
add eax, edi
mov dword [esp + 0x24], eax
cmp eax, dword [ecx - 0xc]
jl 0x403a22
lea edx, [esp + 0x24]
push edx
push 0x4115ec
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_6133]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 0xd
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x28]
mov byte [esp + 0xb0], 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 0x403789
mov dword [esi], 6
jmp 0x4037e2
push 0x411628
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_1476]
test eax, eax
jne 0x4037a4
mov dword [esi], 5
jmp 0x4037e2
push str.content
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_1476]
test eax, eax
jne 0x4037bf
mov dword [esi], 4
jmp 0x4037e2
push str.service
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_1476]
test eax, eax
jne 0x4037da
mov dword [esi], 3
jmp 0x4037e2
cmp dword [esi], ebp
je 0x403a22
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 + 0x2c]
mov ebp, eax
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov edx, dword [eax]
mov eax, dword [edx - 0xc]
lea ecx, [esp + 0x28]
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 0x403a0f
cmp esi, ebp
jge 0x403a0f
mov edx, ebp
sub edx, esi
push edx
push esi
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_4101]
lea ecx, [esp + 0x24]
push ecx
push 0x41166c
lea edx, [esp + 0x30]
mov byte [esp + 0xb8], 0xe
push edx
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_6133]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 0xf
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x28]
mov byte [esp + 0xb0], 0xe
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
je 0x40392b
lea eax, [esp + 0x14]
call fcn.00404150
lea ecx, [esp + 0x24]
push ecx
push 0x41166c
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x38]
call dword [sym.imp.MFC80U.DLL_Ordinal_6133]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 0x10
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x28]
mov byte [esp + 0xb0], 0xe
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
mov ebx, dword [esp + 0xbc]
jne 0x4038d3
cmp ebp, edi
jge 0x403983
mov eax, dword [esp + 0x30]
cmp edi, eax
jg 0x403983
sub eax, edi
push eax
push edi
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_4101]
mov byte [esp + 0xb0], 0x11
mov edx, dword [esp + 0x1c]
cmp dword [edx - 0xc], 0
jne 0x40396b
push 0x4115ec
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
lea ecx, [esp + 0x1c]
call fcn.00404120
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
jmp 0x4039fe
push 0x4115ec
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
lea ecx, [esp + 0x20]
mov byte [esp + 0xb0], 0x12
call fcn.00404120
mov bl, 0xe
lea ecx, [esp + 0x20]
mov byte [esp + 0xb0], 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 0xd8
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 0x411670
push 1
push 2
push eax
mov byte [esp + 0xc0], 0x13
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 + 0xb0], bl
call dword [sym.imp.Common.dll_public:_void___thiscall_LogMessage::destructor_void_]
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ebx, dword [esp + 0xbc]
cmp dword [ebx + 8], 0
jne 0x403a22
mov edx, dword [esp + 0xb8]
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 + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret 8