Function at 0x4116f8
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x423d11
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x53c
push esi
push edi
mov dword [ebp - 0x544], ecx
mov dword [ebp - 0x3a4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x3a0], 0
mov dword [ebp - 0x10], 0
mov byte [ebp - 0x11c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x11b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x270], 0
mov ecx, 0x31
xor eax, eax
lea edi, [ebp - 0x26f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x1a8], 0
mov ecx, 0x22
xor eax, eax
lea edi, [ebp - 0x1a7]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x378], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x377]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x39c], 0
lea ecx, [ebp - 0x274]
call fcn.004226f2
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004226f2
mov byte [ebp - 4], 1
cmp dword [ebp + 8], 0
jne 0x4117d7
jmp 0x411ce2
cmp dword [ebp + 0xc], 0
jne 0x4117e2
jmp 0x411ce2
cmp dword [ebp + 0x10], 0
jne 0x4117ed
jmp 0x411ce2
lea eax, [ebp - 0x4b0]
push eax
mov ecx, dword [ebp - 0x544]
call fcn.00417ff3
mov dword [ebp - 0x548], eax
mov ecx, dword [ebp - 0x548]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0x433e40
lea ecx, [ebp - 0x11c]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea ecx, [ebp - 0x4b0]
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x544]
call fcn.00413cd1
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x46c], 0
mov ecx, 0x31
xor eax, eax
lea edi, [ebp - 0x46b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [ebp - 0x18], 0
jne 0x4118ac
push 0xc8
lea eax, [ebp - 0x46c]
push eax
push 0x25
push 0
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [ebp - 0x46c]
push ecx
mov ecx, dword [ebp - 0x544]
call fcn.00412e0b
lea edx, [ebp - 0x46c]
push edx
mov ecx, dword [ebp - 0x544]
call fcn.00414e35
cmp dword [ebp - 0x18], 0
jne 0x4118c6
push 0
push str.PrepareUpdateFiles:_GetNewFilesAndSize_Failed.
call fcn.00410257
add esp, 8
jmp 0x411ce2
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebp - 0x544]
call fcn.00413237
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4118f4
push 0
push str.PrepareUpdateFiles:_SendAllUpdateFileSize_Failed.
call fcn.00410257
add esp, 8
jmp 0x411ce2
mov edx, dword [ebp + 0x14]
cmp dword [edx], 0
jne 0x411901
jmp 0x411cd8
mov ecx, dword [ebp - 0x544]
add ecx, 4
call fcn.00418a10
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x3a0], 0
jmp 0x41192d
mov eax, dword [ebp - 0x3a0]
add eax, 1
mov dword [ebp - 0x3a0], eax
mov ecx, dword [ebp - 0x3a0]
cmp ecx, dword [ebp - 0x10]
jge 0x411cd8
xor edx, edx
mov dl, byte [0x4331a0]
test edx, edx
jne 0x41194d
jmp 0x411ce2
mov eax, dword [ebp - 0x3a0]
push eax
lea ecx, [ebp - 0x53c]
push ecx
mov ecx, dword [ebp - 0x544]
add ecx, 4
call fcn.00418a50
mov esi, eax
mov ecx, 0x23
lea edi, [ebp - 0x1a8]
rep movsd dword es:[edi], dword [esi]
push str.DrWeb32.DAT
lea edx, [ebp - 0x1a8]
push edx
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x41199d
mov eax, dword [ebp - 0x544]
mov dword [eax + 0x24], 1
lea ecx, [ebp - 0x1a8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0x433eb8
lea eax, [ebp - 0x378]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea ecx, [ebp - 0x378]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x411a8c
lea edx, [ebp - 0x39c]
push edx
lea eax, [ebp - 0x378]
push eax
call fcn.00406092
add esp, 8
mov ecx, dword [ebp - 0x39c]
push ecx
push 0x433ec0
lea edx, [ebp - 0x398]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x156]
push eax
lea ecx, [ebp - 0x398]
push ecx
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x411a8c
lea edx, [ebp - 0x176]
push edx
call dword [sym.imp.MSVCRT.dll_atol]
add esp, 4
mov dword [ebp - 0x4a8], eax
lea eax, [ebp - 0x176]
push eax
call dword [sym.imp.MSVCRT.dll_atol]
add esp, 4
mov dword [ebp - 0x4a4], eax
mov dword [ebp - 0x4ac], 6
lea ecx, [ebp - 0x1a8]
push ecx
lea edx, [ebp - 0x4a0]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
lea eax, [ebp - 0x4ac]
push eax
call fcn.00413149
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x411a87
jmp 0x411ce2
jmp 0x41191e
push 0x4131a9
lea ecx, [ebp - 0x1a8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x544]
call fcn.00410b8b
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x411ab9
jmp 0x411b3a
lea ecx, [ebp - 0x39c]
push ecx
lea edx, [ebp - 0x378]
push edx
call fcn.00406092
add esp, 8
mov eax, dword [ebp - 0x39c]
push eax
push 0x433ec4
lea ecx, [ebp - 0x398]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea edx, [ebp - 0x156]
push edx
lea eax, [ebp - 0x398]
push eax
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
je 0x411cd3
lea ecx, [ebp - 0x1a8]
push ecx
push str.File__s_CRC_Value_is_Failed__Try_Dwonload.
lea edx, [ebp - 0x274]
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push 0
lea ecx, [ebp - 0x274]
call fcn.004040f0
push eax
call fcn.00410257
add esp, 8
push 0x4131a9
lea eax, [ebp - 0x1a8]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x544]
call fcn.00410b8b
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x411c78
lea eax, [ebp - 0x1a8]
push eax
push str.File__s_CRC_Value_is_Failed__Dwonload_File_Failed.
lea ecx, [ebp - 0x274]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push 0
lea ecx, [ebp - 0x274]
call fcn.004040f0
push eax
call fcn.00410257
add esp, 8
lea edx, [ebp - 0x1a8]
push edx
mov ecx, dword [ebp - 0x544]
call fcn.00413a39
push 0x3c
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::LoadStringA
lea eax, [ebp - 0x1a8]
push eax
lea ecx, [ebp - 0x14]
call fcn.004040f0
push eax
lea ecx, [ebp - 0x274]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push 0
push 4
lea ecx, [ebp - 0x274]
call fcn.004040f0
push eax
call sub.MFC42.DLL_AfxMessageBox
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 7
jne 0x411c31
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x1a8]
push eax
push str.Download_File:_s_from__s_Failed__User_Choose_Stop.
lea ecx, [ebp - 0x274]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
push 0
lea ecx, [ebp - 0x274]
call fcn.004040f0
push eax
call fcn.00410257
add esp, 8
mov byte [0x4331a0], 0
jmp 0x411ce2
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x1a8]
push eax
push str.Can_not_Download_File:_s_from__s
lea ecx, [ebp - 0x274]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
push 0
lea ecx, [ebp - 0x274]
call fcn.004040f0
push eax
call fcn.00410257
add esp, 8
mov edx, dword [ebp - 0x544]
mov dword [edx + 0x1c], 1
jmp 0x41191e
lea eax, [ebp - 0x39c]
push eax
lea ecx, [ebp - 0x378]
push ecx
call fcn.00406092
add esp, 8
mov edx, dword [ebp - 0x39c]
push edx
push 0x433f80
lea eax, [ebp - 0x398]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea ecx, [ebp - 0x156]
push ecx
lea edx, [ebp - 0x398]
push edx
call sub.MSVCRT.dll_strcmp
add esp, 8
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x411cd3
jmp 0x411b5c
jmp 0x41191e
mov dword [ebp - 0x3a4], 1
cmp dword [ebp - 0x3a4], 0
je 0x411cfc
push 0
push str.Prepare_Update_Files_Success.
call fcn.00410257
add esp, 8
jmp 0x411d0b
push 0
push str.Prepare_Update_Files_Failed.
call fcn.00410257
add esp, 8
mov eax, dword [ebp - 0x3a4]
mov dword [ebp - 0x540], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x274]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x540]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10