Function at 0x40947a
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40da9c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x4b4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x4c0], ecx
mov dword [ebp - 4], 0
mov byte [ebp - 0x2ac], 0x7f
mov byte [ebp - 0x2ab], 2
mov byte [ebp - 0x2aa], 0x4f
mov byte [ebp - 0x2a9], 0x4b
mov byte [ebp - 0x2a8], 0x16
mov byte [ebp - 0x2b4], 0x7f
mov byte [ebp - 0x2b3], 2
mov byte [ebp - 0x2b2], 0x52
mov byte [ebp - 0x2b1], 0x50
mov byte [ebp - 0x2b0], 0x16
mov byte [ebp - 0x20], 0x7f
mov byte [ebp - 0x1f], 2
mov byte [ebp - 0x1e], 0x46
mov byte [ebp - 0x1d], 0x48
mov byte [ebp - 0x1c], 0x16
mov dword [ebp - 0x280], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 1
push 0
push 0
push 6
push 0
push 0
push 1
lea ecx, [ebp - 0x4b4]
call sub.MFC42.DLL_CFileDialog::CFileDialog
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x4c0]
call fcn.00403581
push 0
push 0x68
lea eax, [ebp - 0x27c]
push eax
mov ecx, dword [ebp - 0x4c0]
mov ecx, dword [ecx + 0x8308]
mov edx, dword [ebp - 0x4c0]
mov eax, dword [edx + 0x8308]
mov edx, dword [eax]
call dword [edx + 0x1c]
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x29c], eax
lea ecx, [ebp - 0x298]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 3
push 0x411df0
lea ecx, [ebp - 0x2a0]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2a4]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 5
lea ecx, [ebp + 8]
call fcn.0040ae00
push eax
lea ecx, [ebp - 0x298]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 8
fild dword [ebp - 0x27c]
fdiv qword [0x40ea20]
sub esp, 8
fstp qword [esp]
push 0x411964
lea edx, [ebp - 0x2a4]
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov byte [ebp - 0x214], 0
mov ecx, 0x7c
xor eax, eax
lea edi, [ebp - 0x213]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push str.C:025
lea eax, [ebp - 0x214]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
push str.C:025BoxUpgrade.exe
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
push 5
push 0x3f9
mov ecx, dword [ebp - 0x4c0]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::ShowWindow
push 0x800
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x4bc], eax
mov ecx, dword [ebp - 0x4bc]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x290]
call sub.MFC42.DLL_CFile::CFile
mov byte [ebp - 4], 6
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call fcn.0040ae00
mov dword [ebp - 0x4c4], eax
push 0
push 0x1001
mov edx, dword [ebp - 0x4c4]
push edx
lea ecx, [ebp - 0x290]
call sub.MFC42.DLL_CFile::Open
jmp 0x409702
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x29c]
push eax
push 0
mov ecx, dword [ebp - 0x4c0]
add ecx, 0x830c
call fcn.0040b6c0
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x294], 0
mov ecx, dword [ebp - 0x4c0]
call fcn.0040997a
push 0
push 7
lea ecx, [ebp - 0x2ac]
push ecx
mov edx, dword [ebp - 0x4c0]
mov ecx, dword [edx + 0x8308]
mov eax, dword [ebp - 0x4c0]
mov edx, dword [eax + 0x8308]
mov eax, dword [edx]
call dword [eax + 0x20]
mov ecx, dword [ebp - 0x4c0]
call fcn.00403581
mov ecx, dword [ebp - 0x4c0]
call fcn.00403581
mov dword [ebp - 0x2b8], 0
push 0
push 0x400
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x4c0]
mov ecx, dword [edx + 0x8308]
mov eax, dword [ebp - 0x4c0]
mov edx, dword [eax + 0x8308]
mov eax, dword [edx]
call dword [eax + 0x1c]
mov dword [ebp - 0x2b8], eax
cmp dword [ebp - 0x2b8], 0
je 0x4097ce
mov ecx, dword [ebp - 0x4c0]
mov byte [ecx + 0x8288], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x4b8], eax
cmp dword [ebp - 0x2b8], 0
jne 0x409803
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x4b8]
cmp eax, 0x7530
jae 0x409803
mov ecx, dword [ebp - 0x4c0]
call fcn.00403581
jmp 0x4097da
cmp dword [ebp - 0x2b8], 0
jne 0x409811
jmp 0x4098d0
mov edx, dword [ebp - 0x4c0]
xor eax, eax
mov al, byte [edx + 0x8288]
test eax, eax
je 0x409856
mov ecx, dword [ebp - 0x4c0]
call fcn.0040997a
push 0
push 7
lea ecx, [ebp - 0x2ac]
push ecx
mov edx, dword [ebp - 0x4c0]
mov ecx, dword [edx + 0x8308]
mov eax, dword [ebp - 0x4c0]
mov edx, dword [eax + 0x8308]
mov eax, dword [edx]
call dword [eax + 0x20]
mov ecx, dword [ebp - 0x2b8]
push ecx
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x290]
call sub.MFC42.DLL_CFile::Write
mov eax, dword [ebp - 0x294]
add eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x294], eax
mov ecx, dword [ebp - 0x294]
push ecx
mov ecx, dword [ebp - 0x4c0]
add ecx, 0x830c
call fcn.0040b6f0
mov edx, dword [ebp - 0x294]
cmp edx, dword [ebp - 0x29c]
jne 0x4098cb
push 0
push 5
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x4c0]
mov ecx, dword [ecx + 0x8308]
mov edx, dword [ebp - 0x4c0]
mov eax, dword [edx + 0x8308]
mov edx, dword [eax]
call dword [edx + 0x20]
jmp 0x4098d0
jmp 0x409775
lea ecx, [ebp - 0x290]
call sub.MFC42.DLL_CFile::Close
push 0
mov ecx, dword [ebp - 0x4c0]
add ecx, 0x830c
call fcn.0040b6f0
mov eax, dword [ebp - 0x4c0]
mov ecx, dword [eax + 0x8308]
mov dword [ecx + 0x14], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x290]
call fcn.0040ca04
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2a4]
call fcn.0040c7be
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2a0]
call fcn.0040c7be
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x298]
call fcn.0040c7be
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4b4]
call fcn.0040b1a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040c7be
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040c7be
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8