Function at 0x402200
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x410299
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x41b08c]
xor eax, esp
push eax
lea eax, [esp + 0x104]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x114]
push 0
call dword [sym.imp.MSVCR80.dll__time64]
add esp, 4
push eax
call dword [sym.imp.MSVCR80.dll_srand]
add esp, 4
call fcn.004041a0
push ebp
call fcn.00402620
test eax, eax
jne 0x4022ae
mov eax, dword [sym.imp.Common.dll_struct_LogFileInterface__g_AppLogFile]
mov ecx, dword [eax]
push 0x11c
push str..FlashMail.cpp
push ecx
lea ecx, [esp + 0x40]
call dword [sym.imp.Common.dll_public:_void___thiscall_LogMessage::constructor_struct_LogFileInterface___wchar_t_const___long_int_]
push str.App:_InitBase_failed
push 1
mov dword [esp + 0x114], 0
push 4
push eax
call dword [sym.imp.Common.dll_public:_void___cdecl_LogMessage::operator___int__bool__wchar_t_const__]
add esp, 0x10
lea ecx, [esp + 0x34]
mov dword [esp + 0x10c], 0xffffffff
call dword [sym.imp.Common.dll_public:_void___thiscall_LogMessage::destructor_void_]
xor eax, eax
jmp 0x4025fd
mov esi, ebp
call fcn.00405060
test eax, eax
je 0x40232c
call fcn.0040ce90
mov eax, dword [ebp + 0xa8]
lea esi, [ebp + 0xc0]
add eax, 0x250
push esi
push eax
call fcn.0040c550
mov ecx, dword [ebp + 0xa8]
push 0
call sub.MFC80U.DLL_Ordinal_6086
call fcn.0040abc0
mov ebx, dword [ebp + 0x30]
mov edi, eax
call fcn.0040ad80
test eax, eax
jne 0x402362
mov ecx, dword [sym.imp.Common.dll_struct_LogFileInterface__g_AppLogFile]
mov edx, dword [ecx]
push 0x12a
push str..FlashMail.cpp
push edx
lea ecx, [esp + 0x40]
call dword [sym.imp.Common.dll_public:_void___thiscall_LogMessage::constructor_struct_LogFileInterface___wchar_t_const___long_int_]
push str.App:_InitServices_failed
push 1
mov dword [esp + 0x114], 2
push 5
jmp 0x402288
mov edx, dword [sym.imp.Common.dll_struct_LogFileInterface__g_AppLogFile]
mov eax, dword [edx]
push 0x123
push str..FlashMail.cpp
push eax
lea ecx, [esp + 0x40]
call dword [sym.imp.Common.dll_public:_void___thiscall_LogMessage::constructor_struct_LogFileInterface___wchar_t_const___long_int_]
push str.App:_InitBaseUI_failed
push 1
mov dword [esp + 0x114], 1
push 5
jmp 0x402288
mov ecx, dword [ebp + 0xa8]
mov eax, dword [ecx + 0x234]
mov edx, dword [eax + 0x10]
add ecx, 0x234
push 1
call edx
test eax, eax
je 0x40240b
call dword [sym.imp.Mail.dll_class_MailService____cdecl_MailGetService_void_]
mov edi, eax
test edi, edi
je 0x40240b
mov ebx, dword [sym.imp.Mail.dll_public:_struct_IMailUI____thiscall_MailService::GetMailUI_void_]
mov ecx, edi
call ebx
test eax, eax
je 0x40240b
mov ecx, edi
call ebx
mov ecx, dword [esi]
mov edx, dword [eax]
mov edx, dword [edx + 0x4c]
push ecx
mov ecx, eax
call edx
mov eax, dword [esp + 0x118]
mov esi, dword [esp + 0x11c]
push eax
mov eax, ebp
call fcn.00402f70
call dword [sym.imp.MSVCR80.dll_rand]
cdq
mov ecx, 0x78
idiv ecx
mov eax, dword [ebp + 0xcc]
mov esi, edx
add esi, 0xb4
test eax, eax
je 0x4023e5
mov esi, eax
push 8
call sub.MFC80U.DLL_Ordinal_762
add esp, 4
test eax, eax
je 0x402549
mov ebp, dword [ebp + 0xd0]
mov dword [eax], vtable.CheckUpdateTimer.0
mov dword [eax + 4], ebp
jmp 0x40254b
push 0xffffffffffffffff
push 0x11
push 2
call sub.MFC80U.DLL_Ordinal_1117
cmp eax, 1
jne 0x4022a7
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.Common.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_common::GetAppPath_void_]
add esp, 4
push eax
lea ecx, [esp + 0x20]
push ecx
mov edi, str.IDownRun.exe
mov dword [esp + 0x114], 3
call fcn.00402d60
add esp, 8
lea ecx, [esp + 0x18]
mov byte [esp + 0x10c], 5
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.Common.dll_int___cdecl_common::IsFileExist_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const__]
add esp, 4
test eax, eax
je 0x402509
push 0x44
lea eax, [esp + 0x38]
push 0
push eax
call sub.MSVCR80.dll_memset
xor eax, eax
add esp, 0xc
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 0x44
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
push str.http:__fm.dl.126.net_NxMail_Update_installer_flashmail_2.4.exe
lea ecx, [esp + 0x1c]
push str.___s_
push ecx
mov byte [esp + 0x118], 6
call dword [sym.imp.MFC80U.DLL_Ordinal_2311]
mov ecx, dword [esp + 0x24]
add esp, 0xc
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x38]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor eax, eax
jmp 0x4025fd
push str.http:__fm.dl.126.net_NxMail_Update_installer_flashmail_2.4.exe
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push 1
push 3
push eax
mov byte [esp + 0x118], 7
call dword [sym.imp.Common.dll_void___cdecl_common::SafeOpenWeb_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______int__int_]
add esp, 0xc
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor eax, eax
jmp 0x4025fd
xor eax, eax
push 0
push esi
push eax
call dword [sym.imp.Kernel.dll_class_kernel::NeKernel____cdecl_kernel::GetKernel_void_]
mov ecx, eax
call dword [sym.imp.Kernel.dll_public:_int___thiscall_kernel::NeKernel::AddTimer_struct_kernel::NeEventBase___unsigned_int__int_]
mov edx, dword [sym.imp.Common.dll_struct_LogFileInterface__g_AppLogFile]
mov eax, dword [edx]
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_LogMessage::constructor_struct_LogFileInterface___wchar_t_const___long_int_]
push 0x164
push str..FlashMail.cpp
push eax
lea ecx, [esp + 0x40]
call esi
push str.App:_On_time_update_checking_initialized
push 1
mov dword [esp + 0x114], 8
mov edi, dword [sym.imp.Common.dll_public:_void___cdecl_LogMessage::operator___int__bool__wchar_t_const__]
push 2
push eax
call edi
or ebx, 0xffffffff
add esp, 0x10
lea ecx, [esp + 0x34]
mov dword [esp + 0x10c], ebx
call dword [sym.imp.Common.dll_public:_void___thiscall_LogMessage::destructor_void_]
mov ecx, dword [sym.imp.Common.dll_struct_LogFileInterface__g_AppLogFile]
mov edx, dword [ecx]
push 0x165
push str..FlashMail.cpp
push edx
lea ecx, [esp + 0xa8]
call esi
push str.App:_Init_OK
push 1
push 2
push eax
mov dword [esp + 0x11c], 9
call edi
add esp, 0x10
lea ecx, [esp + 0x9c]
mov dword [esp + 0x10c], ebx
call dword [sym.imp.Common.dll_public:_void___thiscall_LogMessage::destructor_void_]
lea eax, [ebx + 2]
mov ecx, dword [esp + 0x104]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xfc
ret 0xc