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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4695e2
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x4977b8]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x4977b8]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
cmp byte [0x4a219c], 0
mov al, byte [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov byte [esp + 0x13], al
je 0x41568d
lea ecx, [esp + 0x48]
call fcn.00414028
xor ebx, ebx
cmp byte [esp + 0x13], bl
mov ecx, str.Install
mov eax, str.Update
cmove eax, ecx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x8c], ebx
call fcn.0041fec1
push str.Type
lea ecx, [esp + 0x34]
mov byte [esp + 0x8c], 1
call fcn.00407cc8
push ecx
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x94], 2
call fcn.0043fd47
lea ecx, [esp + 0x30]
call fcn.00407d52
cmp dword [esi + 0x14], 0x10
jb 0x4154e1
mov esi, dword [esi]
push esi
lea ecx, [esp + 0x1c]
call fcn.0041fec1
push str.Result
lea ecx, [esp + 0x34]
mov byte [esp + 0x8c], 3
call fcn.00407cc8
push ecx
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x94], 4
call fcn.0043fd47
lea ecx, [esp + 0x30]
call fcn.00407d52
cmp dword [edi + 0x14], 0x10
jb 0x41552e
mov edi, dword [edi]
push edi
lea ecx, [esp + 0x1c]
call fcn.0041fec1
push str.Message
lea ecx, [esp + 0x34]
mov byte [esp + 0x8c], 5
call fcn.00407cc8
push ecx
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x94], 6
call fcn.0043fd47
lea ecx, [esp + 0x30]
call fcn.00407d52
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x3c], 0x4206
sub eax, dword [esi + 0x68]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x485b60]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x485b48]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x30], xmm0
push str.ElapsedTime
lea ecx, [esp + 0x1c]
mov byte [esp + 0x8c], 7
call fcn.00407cc8
push ecx
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x94], 8
call fcn.0043fd47
lea ecx, [esp + 0x18]
call fcn.00407d52
mov eax, dword [esi + 0x120]
lea ecx, [esp + 0x18]
push dword [eax + 8]
call fcn.00412312
push str.BytesDownloaded
lea ecx, [esp + 0x34]
mov byte [esp + 0x8c], 9
call fcn.00407cc8
push ecx
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x94], 0xa
call fcn.0043fd47
lea ecx, [esp + 0x30]
call fcn.00407d52
push str.PCInstall
lea ecx, [esp + 0x1c]
mov byte [esp + 0x8c], bl
call fcn.00407cc8
mov byte [esp + 0x88], 0xb
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x64]
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x54]
call fcn.0043fd9a
lea ecx, [esp + 0x18]
call fcn.00407d52
lea ecx, [esp + 0x60]
call fcn.00407d52
lea ecx, [esp + 0x48]
call fcn.00422ca0
jmp 0x4158d4
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.00421679
mov dword [esp + 0x30], eax
cmp byte [esp + 0x13], bl
mov ecx, str.Install
mov eax, str.Update
cmove eax, ecx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x8c], 0xc
call fcn.0041fec1
push str.Type
lea ecx, [esp + 0x4c]
mov byte [esp + 0x8c], 0xd
call fcn.00407cc8
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x90], 0xe
call fcn.0042b650
lea ecx, [esp + 0x48]
call fcn.00407d52
cmp dword [esi + 0x14], 0x10
jb 0x415708
mov esi, dword [esi]
push esi
lea ecx, [esp + 0x1c]
call fcn.0041fec1
push str.Result
lea ecx, [esp + 0x4c]
mov byte [esp + 0x8c], 0xf
call fcn.00407cc8
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x90], 0x10
call fcn.0042b650
lea ecx, [esp + 0x48]
call fcn.00407d52
cmp dword [edi + 0x14], 0x10
jb 0x415754
mov edi, dword [edi]
push edi
lea ecx, [esp + 0x1c]
call fcn.0041fec1
push str.Message
lea ecx, [esp + 0x4c]
mov byte [esp + 0x8c], 0x11
call fcn.00407cc8
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x90], 0x12
call fcn.0042b650
lea ecx, [esp + 0x48]
call fcn.00407d52
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x24], 0x4206
sub eax, dword [esi + 0x68]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x485b60]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x485b48]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x18], xmm0
push str.ElapsedTime
lea ecx, [esp + 0x4c]
mov byte [esp + 0x8c], 0x13
call fcn.00407cc8
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x90], 0x14
call fcn.0042b650
lea ecx, [esp + 0x48]
call fcn.00407d52
mov eax, dword [esi + 0x120]
lea ecx, [esp + 0x18]
push dword [eax + 8]
call fcn.00412312
push str.BytesDownloaded
lea ecx, [esp + 0x4c]
mov byte [esp + 0x8c], 0x15
call fcn.00407cc8
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x90], 0x16
call fcn.0042b650
lea ecx, [esp + 0x48]
call fcn.00407d52
push str.PCInstall
lea ecx, [esp + 0x4c]
mov byte [esp + 0x8c], 0xc
call fcn.00407cc8
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x90], 0x17
call fcn.0042b934
mov edi, eax
mov byte [esp + 0x88], 0x18
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
cmp dword [esi + 0x110], eax
jge 0x4158af
push ebx
push edi
mov ecx, esi
call fcn.0041537f
lea ecx, [esp + 0x18]
call fcn.00407d52
lea ecx, [esp + 0x48]
call fcn.00407d52
lea ecx, [esp + 0x30]
call fcn.00421480
push dword [esp + 0x30]
call fcn.0044a99f
pop ecx
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0044a9a4
mov esp, ebp
pop ebp
ret 0xc