Function at 0x40d67b
Capabilities:
Check if file exists
Create directory
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x423bf4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x19f8
call fcn.00422a30
push edi
mov dword [ebp - 0x19f4], ecx
mov dword [ebp - 0xbc8], 0
mov dword [ebp - 0x530], 0
mov dword [ebp - 0xbc4], 0
mov dword [ebp - 0x8a8], 0
mov dword [ebp - 0x9b4], 0
mov dword [ebp - 0x324], 0
mov dword [ebp - 0x7a0], 0
mov byte [ebp - 0x79c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x79b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x8a4], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x8a3]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x9b0], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x9af]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x320], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x31f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0xbc0], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0xbbf]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x21c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x21b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov al, byte [0x4399d8]
mov byte [ebp - 0x110], al
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x10f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x430], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x42f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x114], 0
mov cl, byte [0x4399dc]
mov byte [ebp - 0x698], cl
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x697]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dl, byte [0x4399e0]
mov byte [ebp - 0xabc], dl
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0xabb]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov al, byte [0x4399e4]
mov byte [ebp - 0x52c], al
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0x52b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov cl, byte [0x4399e8]
mov byte [ebp - 0x594], cl
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0x593]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dl, byte [0x4399ec]
mov byte [ebp - 0x4c8], dl
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0x4c7]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov al, byte [0x4399f0]
mov byte [ebp - 0x464], al
mov ecx, 0xc
xor eax, eax
lea edi, [ebp - 0x463]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov dword [ebp - 0x32c], 0
mov dword [ebp - 0x328], 0
mov dword [ebp - 0x8ac], 0
lea ecx, [ebp - 0x9b8]
call fcn.004226f2
mov dword [ebp - 4], 0
mov byte [ebp - 0x118], 0
mov dword [0x4397c8], 1
mov byte [0x439650], 0
push 0
push str.Start_Update.
call fcn.00410257
add esp, 8
push 0
push 0x4331c4
call fcn.00410257
add esp, 8
mov ecx, dword [ebp - 0x19f4]
call fcn.00417c87
mov ecx, dword [ebp - 0x19f4]
call fcn.00417982
mov ecx, dword [ebp - 0x19f4]
call fcn.00418634
push 0x104
lea ecx, [ebp - 0x79c]
push ecx
mov ecx, dword [ebp - 0x19f4]
call fcn.0040eb19
mov dword [ebp - 0x530], eax
cmp dword [ebp - 0x530], 0
jne 0x40d931
push 0
push str.GetLocalUpdatePath___Fail
call fcn.00410257
add esp, 8
jmp 0x40e60a
push 0x104
lea edx, [ebp - 0x8a4]
push edx
mov ecx, dword [ebp - 0x19f4]
call fcn.0040ebfa
mov dword [ebp - 0x530], eax
mov byte [ebp - 0xc90], 0
mov ecx, 0x31
xor eax, eax
lea edi, [ebp - 0xc8f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [ebp - 0x530], 0
jne 0x40d9aa
push 0xc8
lea eax, [ebp - 0xc90]
push eax
push 0x43
push 0
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [ebp - 0xc90]
push ecx
mov ecx, dword [ebp - 0x19f4]
call fcn.00412e0b
lea edx, [ebp - 0xc90]
push edx
mov ecx, dword [ebp - 0x19f4]
call fcn.00414e35
cmp dword [ebp - 0x530], 0
jne 0x40d9c7
push 0
push str.GetBackupAppPath___Fail
call fcn.00410257
add esp, 8
jmp 0x40e60a
push 0x104
lea eax, [ebp - 0x9b0]
push eax
call fcn.0040ea68
add esp, 8
mov dword [ebp - 0x530], eax
mov byte [ebp - 0xd58], 0
mov ecx, 0x31
xor eax, eax
lea edi, [ebp - 0xd57]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [ebp - 0x530], 0
jne 0x40da3d
push 0xc8
lea ecx, [ebp - 0xd58]
push ecx
push 0x43
push 0
call dword [sym.imp.USER32.dll_LoadStringA]
lea edx, [ebp - 0xd58]
push edx
mov ecx, dword [ebp - 0x19f4]
call fcn.00412e0b
lea eax, [ebp - 0xd58]
push eax
mov ecx, dword [ebp - 0x19f4]
call fcn.00414e35
cmp dword [ebp - 0x530], 0
jne 0x40da5a
push 0
push str.GetCurAppPath___Fail
call fcn.00410257
add esp, 8
jmp 0x40e60a
push 0x104
lea ecx, [ebp - 0x320]
push ecx
mov ecx, dword [ebp - 0x19f4]
call fcn.00410943
mov dword [ebp - 0x530], eax
mov byte [ebp - 0xe20], 0
mov ecx, 0x31
xor eax, eax
lea edi, [ebp - 0xe1f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [ebp - 0x530], 0
jne 0x40dad3
push 0xc8
lea edx, [ebp - 0xe20]
push edx
push 0x43
push 0
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0xe20]
push eax
mov ecx, dword [ebp - 0x19f4]
call fcn.00412e0b
lea ecx, [ebp - 0xe20]
push ecx
mov ecx, dword [ebp - 0x19f4]
call fcn.00414e35
cmp dword [ebp - 0x530], 0
jne 0x40daf0
push 0
push str.GetUpdatePath___Fail
call fcn.00410257
add esp, 8
jmp 0x40e60a
lea edx, [ebp - 0x320]
push edx
lea ecx, [ebp - 0x9b8]
call fcn.0042274c
lea ecx, [ebp - 0x9b8]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [ebp - 0x9b8]
call sub.MFC42.DLL_CString::TrimRight
mov byte [ebp - 0xee8], 0
mov ecx, 0x31
xor eax, eax
lea edi, [ebp - 0xee7]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x4399f4
lea eax, [ebp - 0x9b8]
push eax
call fcn.00418780
and eax, 0xff
test eax, eax
je 0x40db85
push 0xc8
lea ecx, [ebp - 0xee8]
push ecx
push 0x43
push 0
call dword [sym.imp.USER32.dll_LoadStringA]
lea edx, [ebp - 0xee8]
push edx
mov ecx, dword [ebp - 0x19f4]
call fcn.00412e0b
lea eax, [ebp - 0xee8]
push eax
mov ecx, dword [ebp - 0x19f4]
call fcn.00414e35
push 0x4399f8
lea ecx, [ebp - 0x9b8]
push ecx
call fcn.00418780
and eax, 0xff
test eax, eax
je 0x40dbb3
push 0
push str.Get_Update_Path_Failed.
call fcn.00410257
add esp, 8
jmp 0x40e60a
lea edx, [ebp - 0x320]
push edx
mov ecx, dword [ebp - 0x19f4]
call fcn.00412ed5
xor eax, eax
mov al, byte [0x4331a0]
test eax, eax
jne 0x40dbd5
jmp 0x40e60a
lea ecx, [ebp - 0x79c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x40dc78
push 0
lea edx, [ebp - 0x79c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 0x530], eax
mov byte [ebp - 0xfb0], 0
mov ecx, 0x31
xor eax, eax
lea edi, [ebp - 0xfaf]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [ebp - 0x530], 0
jne 0x40dc5b
push 0xc8
lea eax, [ebp - 0xfb0]
push eax
push 0x44
push 0
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [ebp - 0xfb0]
push ecx
mov ecx, dword [ebp - 0x19f4]
call fcn.00412e0b
lea edx, [ebp - 0xfb0]
push edx
mov ecx, dword [ebp - 0x19f4]
call fcn.00414e35
cmp dword [ebp - 0x530], 0
jne 0x40dc78
push 0
push str.UpdateNow:Create_Local_Update_Directory_Failed.
call fcn.00410257
add esp, 8
jmp 0x40e60a
xor eax, eax
mov al, byte [0x4331a0]
test eax, eax
jne 0x40dc88
jmp 0x40e60a
mov byte [ebp - 0x1078], 0
mov ecx, 0x31
xor eax, eax
lea edi, [ebp - 0x1077]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0xc8
lea ecx, [ebp - 0x1078]
push ecx
push 0x37
push 0
call dword [sym.imp.USER32.dll_LoadStringA]
lea edx, [ebp - 0x1078]
push edx
mov ecx, dword [ebp - 0x19f4]
call fcn.00412e0b
push 0
lea eax, [ebp - 0x19e4]
push eax
mov ecx, dword [ebp - 0x19f4]
call fcn.00417ff3
mov dword [ebp - 0x19f8], eax
mov ecx, dword [ebp - 0x19f8]
mov dword [ebp - 0x19fc], ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x19fc]
call fcn.004040f0
push eax
lea edx, [ebp - 0x79c]
push edx
lea eax, [ebp - 0x320]
push eax
mov ecx, dword [ebp - 0x19f4]
call fcn.00410b8b
mov dword [ebp - 0x530], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x19e4]
call sub.MFC42.DLL_CString::CString
cmp dword [ebp - 0x530], 0
je 0x40dd4a
push 0
push str.DownLoad_Ini_File_Success.
call fcn.00410257
add esp, 8
jmp 0x40df11
cmp dword [0x4331a4], 0
je 0x40dee8
push 0x24
push 0x55
push 0x52
push 0
push 0
call fcn.0041a3df
add esp, 0x14
mov dword [ebp - 0x530], eax
cmp dword [ebp - 0x530], 6
je 0x40dd7d
jmp 0x40e60a
lea ecx, [ebp - 0x32c]
push ecx
call fcn.0041a479
add esp, 4
mov dword [ebp - 0x530], eax
cmp dword [ebp - 0x530], 0
jne 0x40ddaf
push 0
push str.UpdateNow_KANGetClientVersion___Fail
call fcn.00410257
add esp, 8
jmp 0x40e60a
cmp dword [ebp - 0x32c], 0
jne 0x40de03
cmp dword [ebp - 0x328], 0x3ff00000
jne 0x40de03
push str.http:__duba_011.duba.net_netversion_update_version1_5_client_windows_
lea edx, [ebp - 0x320]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
push 0
push 0x433308
lea eax, [ebp - 0x79c]
push eax
lea ecx, [ebp - 0x320]
push ecx
mov ecx, dword [ebp - 0x19f4]
call fcn.00410b8b
mov dword [ebp - 0x530], eax
jmp 0x40dee8
cmp dword [ebp - 0x32c], 0
jne 0x40de57
cmp dword [ebp - 0x328], 0x40000000
jne 0x40de57
push str.http:__duba_011.duba.net_netversion_update_version2_client_windows_
lea edx, [ebp - 0x320]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
push 0
push 0x433358
lea eax, [ebp - 0x79c]
push eax
lea ecx, [ebp - 0x320]
push ecx
mov ecx, dword [ebp - 0x19f4]
call fcn.00410b8b
mov dword [ebp - 0x530], eax
jmp 0x40dee8
cmp dword [ebp - 0x32c], 0
jne 0x40dee8
cmp dword [ebp - 0x328], 0x40040000
jne 0x40dee8
push str.http:__duba_011.duba.net_netversion_update_version2_5_client_windows_
lea edx, [ebp - 0x320]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
push 0
lea eax, [ebp - 0x19e8]
push eax
mov ecx, dword [ebp - 0x19f4]
call fcn.00417ff3
mov dword [ebp - 0x1a00], eax
mov ecx, dword [ebp - 0x1a00]
mov dword [ebp - 0x1a04], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1a04]
call fcn.004040f0
push eax
lea edx, [ebp - 0x79c]
push edx
lea eax, [ebp - 0x320]
push eax
mov ecx, dword [ebp - 0x19f4]
call fcn.00410b8b
mov dword [ebp - 0x530], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x19e8]
call sub.MFC42.DLL_CString::CString
cmp dword [ebp - 0x530], 0
jne 0x40df02
push 0
push str.DownLoad_Ini_File_Failed.
call fcn.00410257
add esp, 8
jmp 0x40df11
push 0
push str.DownLoad_Ini_File_From_Internet_Success.
call fcn.00410257
add esp, 8
xor ecx, ecx
mov cl, byte [0x439650]
test ecx, ecx
je 0x40df7b
mov byte [ebp - 0x1140], 0
mov ecx, 0x31
xor eax, eax
lea edi, [ebp - 0x113f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [ebp - 0x530], 0
jne 0x40df79
push 0xc8
lea edx, [ebp - 0x1140]
push edx
push 0x45
push 0
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x1140]
push eax
mov ecx, dword [ebp - 0x19f4]
call fcn.00412e0b
lea ecx, [ebp - 0x1140]
push ecx
mov ecx, dword [ebp - 0x19f4]
call fcn.00414e35
jmp 0x40dfd7
mov byte [ebp - 0x1208], 0
mov ecx, 0x31
xor eax, eax
lea edi, [ebp - 0x1207]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [ebp - 0x530], 0
jne 0x40dfd7
push 0xc8
lea edx, [ebp - 0x1208]
push edx
push 0x24
push 0
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x1208]
push eax
mov ecx, dword [ebp - 0x19f4]
call fcn.00412e0b
lea ecx, [ebp - 0x1208]
push ecx
mov ecx, dword [ebp - 0x19f4]
call fcn.00414e35
cmp dword [ebp - 0x530], 0
jne 0x40dfe5
jmp 0x40e60a
xor edx, edx
mov dl, byte [0x4331a0]
test edx, edx
jne 0x40dff6
jmp 0x40e60a
lea eax, [ebp - 0x79c]
push eax
lea ecx, [ebp - 0x9b0]
push ecx
mov ecx, dword [ebp - 0x19f4]
call fcn.00410d23
test eax, eax
je 0x40e073
xor edx, edx
mov dl, byte [0x4331a0]
test edx, edx
jne 0x40e024
jmp 0x40e60a
mov dword [ebp - 0x8a8], 1
lea eax, [ebp - 0x79c]
push eax
lea ecx, [ebp - 0x320]
push ecx
lea edx, [ebp - 0x8a4]
push edx
lea eax, [ebp - 0x9b0]
push eax
mov ecx, dword [ebp - 0x19f4]
call fcn.004110af
mov dword [ebp - 0x530], eax
cmp dword [ebp - 0x530], 0
je 0x40e06e
mov dword [ebp - 0x9b4], 1
jmp 0x40e600
mov ecx, dword [ebp - 0x19f4]
call fcn.0041624e
mov dword [ebp - 0x530], eax
cmp dword [ebp - 0x530], 0
jne 0x40e0a1
push 0
push str.GetSoftVersion___Fail
call fcn.00410257
add esp, 8
jmp 0x40e60a
mov ecx, dword [ebp - 0x19f4]
call fcn.00415387
cmp eax, 1
jne 0x40e1e8
push 0
push str.Its_Old_Version__need_Version_Update.
call fcn.00410257
add esp, 8
mov ecx, dword [ebp - 0x19f4]
call fcn.004164be
cmp eax, 1
jne 0x40e188
mov ecx, dword [ebp - 0x19f4]
call fcn.004161d4
test eax, eax
jne 0x40e188
push 0
push str.Its_not_enough_Authority__Version_Update_Stop.
call fcn.00410257
add esp, 8
call fcn.00412468
cmp eax, 1
jne 0x40e183
lea ecx, [ebp - 0x120c]
call fcn.004226f2
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1210]
call fcn.004226f2
mov byte [ebp - 4], 4
push 0x50
lea ecx, [ebp - 0x1210]
call sub.MFC42.DLL_CString::LoadStringA
push 0x51
lea ecx, [ebp - 0x120c]
call sub.MFC42.DLL_CString::LoadStringA
push 0x40
lea ecx, [ebp - 0x1210]
call fcn.004040f0
push eax
lea ecx, [ebp - 0x120c]
call fcn.004040f0
push eax
call fcn.00418870
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1210]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x120c]
call sub.MFC42.DLL_CString::CString
jmp 0x40e60a
push 1
mov ecx, dword [ebp - 0x19f4]
call fcn.004171f1
mov dword [ebp - 0x530], eax
cmp dword [ebp - 0x530], 0
jne 0x40e1b8
push 0
push str.UpdateAutoRun_TRUE__Fail
call fcn.00410257
add esp, 8
jmp 0x40e60a
mov ecx, dword [ebp - 0x19f4]
call fcn.004153ae
mov dword [ebp - 0x530], eax
cmp dword [ebp - 0x530], 0
jne 0x40e1e6
push 0
push str.VersionUpdate___Fail
call fcn.00410257
add esp, 8
jmp 0x40e60a
jmp 0x40e231
push 0x104
lea edx, [ebp - 0x110]
push edx
mov ecx, dword [ebp - 0x19f4]
call fcn.0041654d
mov dword [ebp - 0x530], eax
cmp dword [ebp - 0x530], 0
je 0x40e231
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x40e231
lea ecx, [ebp - 0x110]
push ecx
mov ecx, dword [ebp - 0x19f4]
call fcn.0041354d
mov byte [ebp - 0x12d8], 0
mov ecx, 0x31
xor eax, eax
lea edi, [ebp - 0x12d7]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0xc8
lea edx, [ebp - 0x12d8]
push edx
push 0x38
push 0
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x12d8]
push eax
mov ecx, dword [ebp - 0x19f4]
call fcn.00412e0b
xor ecx, ecx
mov cl, byte [0x4331a0]
test ecx, ecx
jne 0x40e283
jmp 0x40e60a
lea edx, [ebp - 0xbc4]
push edx
lea eax, [ebp - 0x79c]
push eax
lea ecx, [ebp - 0x9b0]
push ecx
lea edx, [ebp - 0x320]
push edx
mov ecx, dword [ebp - 0x19f4]
call fcn.004116f8
mov dword [ebp - 0x530], eax
cmp dword [ebp - 0x530], 0
jne 0x40e2cd
push 0
push str.UpdateNow_PrepareUpdateFiles___Fail
call fcn.00410257
add esp, 8
jmp 0x40e60a
xor eax, eax
mov al, byte [0x4331a0]
test eax, eax
jne 0x40e2dd
jmp 0x40e60a
mov ecx, dword [ebp - 0x19f4]
cmp dword [ecx + 0x1c], 0
je 0x40e32f
mov byte [ebp - 0x13a0], 0
mov ecx, 0x31
xor eax, eax
lea edi, [ebp - 0x139f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0xc8
lea edx, [ebp - 0x13a0]
push edx
push 0x42
push 0
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x13a0]
push eax
mov ecx, dword [ebp - 0x19f4]
call fcn.00412e0b
jmp 0x40e60a
cmp dword [ebp - 0xbc4], 0
jne 0x40e3c1
mov ecx, dword [ebp - 0x19f4]
cmp dword [ecx + 0x30], 0
je 0x40e3a3
call fcn.00412468
test eax, eax
je 0x40e3a3
mov edx, dword [ebp - 0x19f4]
cmp dword [edx + 0x2c], 1
jne 0x40e3a3
push 1
push 7
mov ecx, dword [ebp - 0x19f4]
call fcn.004130cc
mov ecx, dword [ebp - 0x19f4]
call fcn.00414e72
mov dword [ebp - 0x530], eax
xor eax, eax
cmp dword [ebp - 0x530], 0
sete al
mov ecx, dword [ebp - 0x19f4]
mov dword [ecx + 0x34], eax
push 0
push 0x4334bc
call fcn.00410257
add esp, 8
jmp 0x40e3bc
mov dword [ebp - 0x324], 1
push 0
push str.Current_Is_the_Last_Version.
call fcn.00410257
add esp, 8
jmp 0x40e600
mov byte [ebp - 0x1468], 0
mov ecx, 0x31
xor eax, eax
lea edi, [ebp - 0x1467]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0xc8
lea edx, [ebp - 0x1468]
push edx
push 0x39
push 0
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x1468]
push eax
mov ecx, dword [ebp - 0x19f4]
call fcn.00412e0b
push 1
push 6
mov ecx, dword [ebp - 0x19f4]
call fcn.004130cc
mov ecx, dword [ebp - 0x19f4]
call fcn.004164be
test eax, eax
je 0x40e42c
call fcn.0041914b
mov byte [ebp - 0x118], 1
mov ecx, dword [ebp - 0x19f4]
add ecx, 4
push ecx
lea edx, [ebp - 0x9b0]
push edx
mov ecx, dword [ebp - 0x19f4]
call fcn.00414a5d
test eax, eax
jne 0x40e451
call fcn.00419380
lea eax, [ebp - 0x7a0]
push eax
lea ecx, [ebp - 0x79c]
push ecx
lea edx, [ebp - 0x8a4]
push edx
lea eax, [ebp - 0x9b0]
push eax
mov ecx, dword [ebp - 0x19f4]
call fcn.00411e37
mov dword [ebp - 0x530], eax
cmp dword [ebp - 0x530], 0
jne 0x40e49b
push 0
push str.UpdateNow_BackupAndUpdateFilesFromLocal_Failed.
call fcn.00410257
add esp, 8
jmp 0x40e60a
push str.KANSUpdate::BackupAndUpdateFilesFromLocal_end
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x19f4]
cmp dword [ecx + 0x34], 0xffffffff
je 0x40e4bd
mov ecx, dword [ebp - 0x19f4]
call fcn.00414e47
mov byte [ebp - 0x1530], 0
mov ecx, 0x31
xor eax, eax
lea edi, [ebp - 0x152f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0xc8
lea edx, [ebp - 0x1530]
push edx
push 0x3a
push 0
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x1530]
push eax
mov ecx, dword [ebp - 0x19f4]
call fcn.00412e0b
push 1
push 1
lea ecx, [ebp - 0x8a4]
push ecx
lea edx, [ebp - 0x9b0]
push edx
mov ecx, dword [ebp - 0x19f4]
call fcn.0041248d
mov dword [ebp - 0x530], eax
push str.KANSUpdate::BackupAndDelOldVirusDB_end
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov byte [ebp - 0x15f8], 0
mov ecx, 0x31
xor eax, eax
lea edi, [ebp - 0x15f7]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0xc8
lea eax, [ebp - 0x15f8]
push eax
push 0x3d
push 0
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [ebp - 0x15f8]
push ecx
mov ecx, dword [ebp - 0x19f4]
call fcn.00412e0b
mov ecx, dword [ebp - 0x19f4]
call fcn.0041022f
test eax, eax
je 0x40e590
lea edx, [ebp - 0x79c]
push edx
mov ecx, dword [ebp - 0x19f4]
call fcn.0041354d
jmp 0x40e5a2
lea eax, [ebp - 0x8a4]
push eax
mov ecx, dword [ebp - 0x19f4]
call fcn.0041354d
mov ecx, dword [ebp - 0x19f4]
call fcn.00414f32
mov dword [ebp - 0x530], eax
mov ecx, dword [ebp - 0x19f4]
call fcn.0041512b
mov dword [ebp - 0x530], eax
mov ecx, dword [ebp - 0x19f4]
call fcn.004170d0
mov dword [ebp - 0x530], eax
mov ecx, dword [ebp - 0x19f4]
call fcn.0041768c
mov dword [ebp - 0x530], eax
cmp dword [ebp - 0x530], 0
jne 0x40e600
push 0
push str.UpdateNow_ExecuteTheFile___Fail_
call fcn.00410257
add esp, 8
jmp 0x40e60a
mov dword [ebp - 0xbc8], 1
mov ecx, dword [ebp - 0x19f4]
call fcn.00415387
cmp eax, 1
jne 0x40e782
lea ecx, [ebp - 0x320]
test ecx, ecx
je 0x40e782
cmp dword [ebp - 0xbc8], 0
je 0x40e702
push 0
push str.File_Replace_of_Version_Update_successed__Update_Service
call fcn.00410257
add esp, 8
mov ecx, dword [ebp - 0x19f4]
call fcn.00415b6d
mov dword [ebp - 0x530], eax
cmp dword [ebp - 0x530], 0
je 0x40e6bf
push 0
push str.Version_Backup_Delete
call fcn.00410257
add esp, 8
mov ecx, dword [ebp - 0x19f4]
call fcn.00416902
push 0
push str.Update_Shortcut
call fcn.00410257
add esp, 8
mov ecx, dword [ebp - 0x19f4]
call fcn.00416d3f
push 0
push str.Update_Software_Version
call fcn.00410257
add esp, 8
mov ecx, dword [ebp - 0x19f4]
call fcn.00416b73
push 0
mov ecx, dword [ebp - 0x19f4]
call fcn.004171f1
jmp 0x40e6ce
push 0
push str.UpdateNow_UpdateService___fail
call fcn.00410257
add esp, 8
mov ecx, dword [ebp - 0x19f4]
call fcn.00414e72
mov dword [ebp - 0x530], eax
cmp dword [ebp - 0x530], 1
jne 0x40e700
mov edx, dword [ebp - 0x19f4]
mov dword [edx + 0x34], 0
mov ecx, dword [ebp - 0x19f4]
call fcn.004133b2
jmp 0x40e75b
push 0
push str.File_Replace_of_Version_Update_failed__Version_Update_RollBack
call fcn.00410257
add esp, 8
mov ecx, dword [ebp - 0x19f4]
call fcn.00416649
push 0
mov ecx, dword [ebp - 0x19f4]
call fcn.004171f1
mov ecx, dword [ebp - 0x19f4]
call fcn.00414e72
mov dword [ebp - 0x530], eax
cmp dword [ebp - 0x530], 1
jne 0x40e75b
mov eax, dword [ebp - 0x19f4]
mov dword [eax + 0x34], 0
mov ecx, dword [ebp - 0x19f4]
call fcn.004133b2
mov dword [ebp - 0x19ec], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9b8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x19ec]
jmp 0x40ea59
cmp dword [ebp - 0xbc8], 0
je 0x40e79c
push 1
push 3
mov ecx, dword [ebp - 0x19f4]
call fcn.004130cc
jmp 0x40e7ab
push 1
push 5
mov ecx, dword [ebp - 0x19f4]
call fcn.004130cc
xor ecx, ecx
mov cl, byte [0x4331a0]
test ecx, ecx
jne 0x40e7f8
mov byte [ebp - 0x16c0], 0
mov ecx, 0x31
xor eax, eax
lea edi, [ebp - 0x16bf]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0xc8
lea edx, [ebp - 0x16c0]
push edx
push 0x13
push 0
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x16c0]
push eax
mov ecx, dword [ebp - 0x19f4]
call fcn.00412e0b
mov dword [0x4397c8], 0
mov byte [0x4331a0], 1
mov ecx, dword [ebp - 0x19f4]
mov dword [ecx + 0x1c], 0
cmp dword [ebp - 0x8a8], 0
je 0x40e86e
cmp dword [ebp - 0x9b4], 0
jne 0x40e869
mov byte [ebp - 0x1788], 0
mov ecx, 0x31
xor eax, eax
lea edi, [ebp - 0x1787]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0xc8
lea edx, [ebp - 0x1788]
push edx
push 0x3b
push 0
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x1788]
push eax
mov ecx, dword [ebp - 0x19f4]
call fcn.00412e0b
jmp 0x40e9c2
cmp dword [ebp - 0xbc8], 0
je 0x40e9c2
cmp dword [ebp - 0x324], 0
je 0x40e8c7
mov byte [ebp - 0x1850], 0
mov ecx, 0x31
xor eax, eax
lea edi, [ebp - 0x184f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0xc8
lea ecx, [ebp - 0x1850]
push ecx
push 0x10
push 0
call dword [sym.imp.USER32.dll_LoadStringA]
lea edx, [ebp - 0x1850]
push edx
mov ecx, dword [ebp - 0x19f4]
call fcn.00412e0b
jmp 0x40e908
mov byte [ebp - 0x1918], 0
mov ecx, 0x31
xor eax, eax
lea edi, [ebp - 0x1917]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0xc8
lea eax, [ebp - 0x1918]
push eax
push 0xf
push 0
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [ebp - 0x1918]
push ecx
mov ecx, dword [ebp - 0x19f4]
call fcn.00412e0b
cmp dword [ebp - 0x7a0], 0
je 0x40e923
lea edx, [ebp - 0x9b0]
push edx
mov ecx, dword [ebp - 0x19f4]
call fcn.00414d8d
mov eax, dword [ebp - 0x19f4]
cmp dword [eax + 0x34], 0
jne 0x40e98c
mov byte [ebp - 0x19e0], 0
mov ecx, 0x31
xor eax, eax
lea edi, [ebp - 0x19df]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0xc8
lea ecx, [ebp - 0x19e0]
push ecx
push 0x32
push 0
call dword [sym.imp.USER32.dll_LoadStringA]
lea edx, [ebp - 0x19e0]
push edx
mov ecx, dword [ebp - 0x19f4]
call fcn.00412e0b
push 0
push str.Reboot_Computer_to_continue_update.
call fcn.00410257
add esp, 8
mov ecx, dword [ebp - 0x19f4]
call fcn.004133b2
jmp 0x40e9c2
call fcn.0041a0ab
push str.KANSUpdate::StartMailMon_end
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x118]
and eax, 0xff
test eax, eax
je 0x40e9b7
call fcn.00419517
mov byte [ebp - 0x118], 0
push str.KANSUpdate::StartWatch_end
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x118]
and ecx, 0xff
test ecx, ecx
je 0x40e9de
call fcn.00419517
mov byte [ebp - 0x118], 0
push 0
push str.Update_Finish_
call fcn.00410257
add esp, 8
push 0
push 4
mov ecx, dword [ebp - 0x19f4]
call fcn.004130cc
mov edx, dword [ebp - 0xbc8]
push edx
call fcn.00419d5f
add esp, 4
push 0
push str.Update_success_Finish_
call fcn.00410257
add esp, 8
mov eax, dword [ebp - 0x19f4]
cmp dword [eax + 0x34], 0xffffffff
je 0x40ea35
push 0
push 8
mov ecx, dword [ebp - 0x19f4]
call fcn.004130cc
mov ecx, dword [ebp - 0xbc8]
mov dword [ebp - 0x19f0], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9b8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x19f0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret