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

Disassembly:
push 0x160
mov eax, 0x4699ce
call fcn.0044c102
mov eax, dword [ebp + 8]
mov edi, ecx
mov dword [ebp - 0x7c], eax
mov eax, dword [edi]
mov dword [ebp - 0x88], edi
call dword [eax + 0xc8]
push eax
lea eax, [ebp - 0xa8]
call fcn.00408208
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x74], str.Upgrading
cmp byte [ebp + 0xc], bl
jne 0x419810
mov dword [ebp - 0x74], str.Installing
lea edx, [ebp - 0xa8]
lea ecx, [ebp - 0xf8]
call fcn.0042c6ca
mov esi, eax
mov byte [ebp - 4], 1
push dword [ebp - 0x74]
lea ecx, [ebp - 0x134]
call fcn.0040815e
push esi
push eax
lea eax, [ebp - 0x16c]
push eax
mov byte [ebp - 4], 2
call fcn.00423de2
add esp, 0xc
push str._...
push eax
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 3
call fcn.0040b4a7
add esp, 0xc
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x16c]
call fcn.0040949a
push ebx
push esi
lea ecx, [ebp - 0x134]
call fcn.0040949a
push ebx
push esi
lea ecx, [ebp - 0xf8]
call fcn.0040949a
push ebx
push esi
lea esi, [ebp - 0xa8]
mov byte [ebp - 4], 8
call fcn.00409732
push edi
lea ebx, [ebp - 0x64]
call fcn.0041804b
mov eax, dword [edi]
push 0x64
xor ebx, ebx
push ebx
mov ecx, edi
call dword [eax + 0x10]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xac]
test al, al
je 0x419931
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
test al, al
lea eax, [ebp - 0xdc]
mov ecx, edi
push eax
je 0x4198fb
call fcn.0042fde8
cmp dword [eax + 0x14], ebx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0xdc]
setne byte [ebp - 0x65]
call fcn.0040949a
cmp byte [ebp - 0x65], bl
jne 0x419922
lea eax, [ebp - 0xdc]
push eax
mov ecx, edi
call fcn.0042fb6a
cmp dword [eax + 0x14], ebx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0xdc]
setne byte [ebp - 0x65]
call fcn.0040949a
cmp byte [ebp - 0x65], bl
jne 0x419922
push str.BootstrapperUpdateOrInstallUnableToResolveCdnHost
jmp 0x419927
push str.BootstrapperUpdateOrInstallResolvedCdnHost
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa4]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [ebp - 0x7c]
mov dword [ebp - 0x8c], eax
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
push 0x38
cdq
pop ecx
idiv ecx
push 4
mov dword [ebp - 0x74], eax
call fcn.00447f94
pop ecx
cmp eax, ebx
je 0x419965
lea ecx, [ebp - 0xc0]
mov dword [eax], ecx
jmp 0x419967
xor eax, eax
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x98]
push eax
push dword [ebp - 0x74]
lea eax, [ebp - 0xc0]
push eax
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
mov byte [ebp - 0x90], 0
call fcn.004213d3
mov byte [ebp - 4], 0xa
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
push 0x38
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x6c], ebx
test eax, eax
jbe 0x419ac8
mov dword [ebp - 0x80], ebx
jmp 0x4199bd
mov esi, dword [ebp - 0x7c]
push dword [ebp - 0x6c]
mov dword [ebp - 0x84], ebx
call fcn.00420561
add eax, 0x1c
cmp dword [eax + 0x14], ebx
je 0x4199f2
push dword [ebp - 0x6c]
call fcn.00420561
add eax, 0x1c
cmp dword [eax + 0x18], 8
jb 0x4199e9
mov eax, dword [eax + 4]
jmp 0x4199ec
add eax, 4
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xb0]
sub eax, dword [ebp - 0xb4]
push 0xc
cdq
pop ecx
idiv ecx
cmp dword [ebp - 0x6c], eax
jb 0x419a0e
call fcn.00448161
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0xb4]
push dword [ebp - 0x6c]
lea ebx, [eax + ecx]
call fcn.00420561
cmp dword [eax + 0x18], 8
jb 0x419a2d
mov eax, dword [eax + 4]
jmp 0x419a30
add eax, 4
mov edi, dword [edi + 0x164]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x84]
push 5
pop ecx
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0x98], eax
mov al, byte [ebp + 0x10]
sub esp, 0x18
mov byte [ebp - 0x90], al
mov dword [ebp - 0x28], fcn.0043f311
lea esi, [ebp - 0xa0]
lea edi, [ebp - 0x24]
mov dword [ebp - 0x94], ebx
rep movsd dword es:[edi], dword [esi]
push 6
pop ecx
lea esi, [ebp - 0x28]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x74]
call fcn.00425709
add esp, 0x18
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.004135e8
mov eax, esi
push eax
mov byte [ebp - 4], 0xa
call fcn.0041364e
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
push 0x38
cdq
pop ecx
idiv ecx
inc dword [ebp - 0x6c]
add dword [ebp - 0x80], 0xc
mov edi, dword [ebp - 0x88]
xor ebx, ebx
cmp dword [ebp - 0x6c], eax
jb 0x4199ba
mov dword [ebp - 0x74], ebx
mov eax, dword [ebp - 0xb0]
sub eax, dword [ebp - 0xb4]
push 0xc
cdq
pop ecx
idiv ecx
xor esi, esi
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x6c], ebx
cmp eax, ebx
jbe 0x419b48
mov dword [ebp - 0x7c], ebx
cmp ebx, eax
jb 0x419b01
call fcn.00448161
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0xb4]
add ecx, eax
cmp byte [ecx + 8], 0
je 0x419b15
inc dword [ebp - 0x80]
mov eax, dword [ecx + 4]
cmp eax, ebx
jle 0x419b28
inc dword [ebp - 0x84]
add dword [ebp - 0x88], eax
mov eax, dword [ebp - 0xb0]
sub eax, dword [ebp - 0xb4]
add esi, dword [ecx]
push 0xc
cdq
pop ecx
idiv ecx
inc dword [ebp - 0x6c]
add dword [ebp - 0x7c], 0xc
cmp dword [ebp - 0x6c], eax
jb 0x419b01
mov eax, dword [ebp - 0xb0]
sub eax, dword [ebp - 0xb4]
push 0xc
cdq
pop ecx
idiv ecx
cmp dword [ebp - 0x80], eax
je 0x419ba3
cmp dword [ebp - 0x84], eax
jne 0x419b75
push dword [ebp - 0x88]
mov eax, dword [edi]
push esi
mov ecx, edi
call dword [eax + 0x10]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x74], 0x3e8
jl 0x419b94
mov ecx, dword [edi + 0x160]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x24]
jmp 0x419b98
add dword [ebp - 0x74], 0xa
push edi
call fcn.0041e92a
jmp 0x419acb
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xac]
test al, al
je 0x419fba
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp - 0x48]
mov esi, eax
mov eax, dword [edi]
sub esi, dword [ebp - 0x8c]
push ecx
mov ecx, edi
call dword [eax + 0x28]
push str.BootstrapperDeploy
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 0xc
call fcn.004092c6
cmp dword [ebp - 0x30], 0x10
mov eax, dword [edi + 0x164]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0x44]
jae 0x419bf5
lea ecx, [ebp - 0x44]
push eax
push esi
push ecx
push edi
mov ecx, str.Success
call fcn.00415a0e
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
call fcn.0040a1d7
mov byte [ebp - 4], 0xd
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
test al, al
je 0x419c53
lea eax, [ebp - 0xf8]
push eax
mov ecx, edi
call fcn.0042fde8
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
call fcn.0040932b
push ebx
push 1
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 0xd
call fcn.0040949a
cmp dword [ebp - 0x18], ebx
jne 0x419c89
lea eax, [ebp - 0xf8]
push eax
mov ecx, edi
call fcn.0042fb6a
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xf
call fcn.0040932b
push ebx
push 1
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 0xd
call fcn.0040949a
mov eax, dword [edi]
lea ecx, [ebp - 0xf8]
push ecx
mov ecx, edi
call dword [eax + 0x28]
push str.Client
mov byte [ebp - 4], 0x10
call fcn.004081e3
mov ebx, eax
neg ebx
push 0
sbb bl, bl
push 1
lea ecx, [ebp - 0xf8]
inc bl
mov byte [ebp - 4], 0xd
call fcn.0040949a
test bl, bl
je 0x419f9c
cmp dword [ebp - 0x18], 0
jne 0x419ce4
lea eax, [edi + 0xe0]
cmp dword [eax + 0x18], 0x10
jb 0x419cdf
mov eax, dword [eax + 4]
jmp 0x419cf0
add eax, 4
jmp 0x419cf0
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x419cf0
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0x1ac]
push esi
push ecx
call fcn.0042c42e
add esp, 0xc
cmp dword [ebp - 0x18], 0
jne 0x419d1d
lea eax, [edi + 0xe0]
cmp dword [eax + 0x18], 0x10
jb 0x419d18
mov ebx, dword [eax + 4]
jmp 0x419d29
lea ebx, [eax + 4]
jmp 0x419d29
cmp dword [ebp - 0x14], 0x10
mov ebx, dword [ebp - 0x28]
jae 0x419d29
lea ebx, [ebp - 0x28]
mov eax, dword [edi + 0x164]
mov eax, dword [eax + 8]
mov dword [ebp - 0x8c], esi
fild dword [ebp - 0x8c]
test esi, esi
jge 0x419d48
fadd dword [0x47ca38]
fdiv qword [0x47ca30]
mov dword [ebp - 0x8c], eax
fstp qword [ebp - 0x78]
fild dword [ebp - 0x8c]
test eax, eax
jge 0x419d67
fadd dword [0x47ca38]
fdiv qword [ebp - 0x78]
call fcn.00461860
push eax
push ebx
lea eax, [edi + 0x1ac]
push str.ClientInstallThroughput_bytes_sec
push eax
call fcn.0042c2b4
add esp, 0x10
cmp byte [ebp + 0xc], 0
jne 0x419f9c
lea eax, [ebp - 0x118]
push eax
call fcn.0041fca3
cmp dword [ebp - 0x18], 0
jne 0x419db7
lea eax, [edi + 0xe0]
cmp dword [eax + 0x18], 0x10
jb 0x419db2
mov eax, dword [eax + 4]
jmp 0x419dc3
add eax, 4
jmp 0x419dc3
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x419dc3
lea eax, [ebp - 0x28]
mov edx, eax
lea eax, [ebp - 0x9c]
call fcn.0041ff9d
push 0x474904
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x12
call fcn.0040815e
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0x118]
push eax
lea esi, [ebp - 0x9c]
mov byte [ebp - 4], 0x13
call fcn.0042d476
push 0
push 1
lea ecx, [ebp - 0xdc]
call fcn.0040949a
fld qword [ebp - 0x78]
fstp qword [ebp - 0x78]
mov ebx, 0x4206
fld qword [ebp - 0x78]
mov dword [ebp - 0x90], ebx
fstp qword [ebp - 0x9c]
push str.Duration
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x14
call fcn.0040815e
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0x118]
push eax
lea esi, [ebp - 0x9c]
mov byte [ebp - 4], 0x15
call fcn.0042d476
push 0
push 1
lea ecx, [ebp - 0xdc]
call fcn.0040949a
mov eax, dword [edi + 0x164]
push dword [eax + 8]
lea ecx, [ebp - 0x9c]
call fcn.00412756
push str.BytesRecv
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x16
call fcn.0040815e
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0x118]
push eax
lea esi, [ebp - 0x9c]
mov byte [ebp - 4], 0x17
call fcn.0042d476
push 0
push 1
lea ecx, [ebp - 0xdc]
call fcn.0040949a
mov eax, dword [edi + 0x164]
mov eax, dword [eax + 8]
mov dword [ebp - 0x8c], eax
fild dword [ebp - 0x8c]
mov dword [ebp - 0x90], ebx
fdiv qword [ebp - 0x78]
fstp qword [ebp - 0x9c]
push str.BytesPerSec
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x18
call fcn.0040815e
lea eax, [ebp - 0xdc]
push eax
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x118]
push eax
lea esi, [ebp - 0x9c]
call fcn.0042d476
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0xdc]
call fcn.0040949a
push str.PCInstallTime
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x11
call fcn.0040815e
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x150]
lea edx, [ebp - 0x118]
mov byte [ebp - 4], 0x1a
call fcn.0042d7b0
mov ebx, eax
mov byte [ebp - 4], 0x1b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x64]
cmp dword [edi + 0x154], eax
jge 0x419f70
push esi
push ebx
push edi
call fcn.0041561e
push esi
push 1
lea ecx, [ebp - 0x150]
call fcn.0040949a
push esi
push 1
lea ecx, [ebp - 0xdc]
call fcn.0040949a
lea eax, [ebp - 0x118]
push eax
mov byte [ebp - 4], 0xd
call fcn.0041fe10
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040949a
push 0
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xa
call fcn.0040949a
xor ebx, ebx
mov edi, dword [edi + 0x160]
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 0x24]
cmp dword [ebp - 0xb4], ebx
je 0x419fdd
push dword [ebp - 0xb4]
call fcn.00447c32
pop ecx
push dword [ebp - 0xc0]
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xac], ebx
call fcn.00447c32
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.0040949a
call fcn.0044c185
ret 0xc