Function at 0x409d30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431634
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push ebx
push esi
push edi
push str._newverddtmzq.exe
push 0x43f5a8
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_operator
mov dword [ebp - 4], 0
push str._newverupdate.txt
push 0x43f5a8
lea ecx, [ebp - 0x14]
push ecx
call sub.MFC42.DLL_operator
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00408e10
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x409dbf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x4c]
jmp 0x409fac
lea ecx, [ebp - 0x14]
call fcn.00408e10
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x409dfc
mov dword [ebp - 0x50], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x50]
jmp 0x409fac
lea ecx, [ebp - 0x24]
call fcn.00430110
mov byte [ebp - 4], 2
push 0
push 0x40
lea ecx, [ebp - 0x10]
call fcn.00408e10
push eax
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x409f7b
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CFile::GetLength
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CFile::Read
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CFile::Close
mov eax, dword [ebp - 0x28]
cmp eax, dword [0x43f5a4]
je 0x409e9e
mov dword [ebp - 0x58], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CFile::CFile
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x58]
jmp 0x409fac
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0040a020
add esp, 8
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
push 0x10
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.MSVCRT.dll__itoa]
add esp, 0xc
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x48]
call fcn.004300a4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.00408e10
push eax
mov ecx, 0x43f59c
call fcn.00409fc0
test eax, eax
je 0x409f3c
mov dword [ebp - 0x60], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CFile::CFile
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x60]
jmp 0x409fac
mov dword [ebp - 0x64], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CFile::CFile
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x64]
jmp 0x409fac
mov dword [ebp - 0x68], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CFile::CFile
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret