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

Disassembly:
push 0x120
mov eax, 0x463be9
call fcn.00446aec
mov eax, dword [ebp + 8]
mov edi, ecx
mov dword [ebp - 0x7c], eax
mov eax, dword [edi]
mov dword [ebp - 0x84], edi
call dword [eax + 0xa8]
push eax
lea eax, [ebp - 0xd8]
call fcn.00407f7d
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x74], str.Upgrading
cmp byte [ebp + 0xc], bl
jne 0x41705f
mov dword [ebp - 0x74], str.Installing
lea edx, [ebp - 0xd8]
lea ecx, [ebp - 0xbc]
call fcn.0042776b
mov esi, eax
mov byte [ebp - 4], 1
push dword [ebp - 0x74]
lea ecx, [ebp - 0x110]
call fcn.00407ed3
push esi
push eax
lea eax, [ebp - 0xf4]
push eax
mov byte [ebp - 4], 2
call fcn.0042078f
add esp, 0xc
push str._...
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 3
call fcn.0040b187
add esp, 0xc
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0xf4]
call fcn.00409216
push ebx
push esi
lea ecx, [ebp - 0x110]
call fcn.00409216
push ebx
push esi
lea ecx, [ebp - 0xbc]
call fcn.00409216
push ebx
push esi
lea esi, [ebp - 0xd8]
mov byte [ebp - 4], 8
call fcn.004094ae
push edi
lea ebx, [ebp - 0x68]
call fcn.00415ef9
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 + 0x8c]
test al, al
je 0x417174
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
test al, al
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
je 0x417141
call fcn.0042a2f7
cmp dword [eax + 0x14], ebx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x4c]
setne byte [ebp - 0x69]
call fcn.00409216
cmp byte [ebp - 0x69], bl
jne 0x417165
lea eax, [ebp - 0x4c]
push eax
mov ecx, edi
call fcn.0042a079
cmp dword [eax + 0x14], ebx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x4c]
setne byte [ebp - 0x69]
call fcn.00409216
cmp byte [ebp - 0x69], bl
jne 0x417165
push str.BootstrapperUpdateOrInstallUnableToResolveCdnHost
jmp 0x41716a
push str.BootstrapperUpdateOrInstallResolvedCdnHost
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x84]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [ebp - 0x7c]
mov dword [ebp - 0xa0], 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.00442e93
pop ecx
cmp eax, ebx
je 0x4171a8
lea ecx, [ebp - 0x9c]
mov dword [eax], ecx
jmp 0x4171aa
xor eax, eax
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x74]
lea eax, [ebp - 0x9c]
push eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x18], 0
call fcn.0041e221
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 - 0x70], ebx
test eax, eax
jbe 0x4172e4
mov dword [ebp - 0x80], ebx
jmp 0x4171f4
mov esi, dword [ebp - 0x7c]
push dword [ebp - 0x70]
mov dword [ebp - 0x78], ebx
call fcn.0041d4e2
add eax, 0x1c
cmp dword [eax + 0x14], ebx
je 0x417223
push dword [ebp - 0x70]
call fcn.0041d4e2
add eax, 0x1c
cmp dword [eax + 0x18], 8
jb 0x41721d
mov eax, dword [eax + 4]
jmp 0x417220
add eax, 4
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x8c]
sub eax, dword [ebp - 0x90]
push 0xc
cdq
pop ecx
idiv ecx
cmp dword [ebp - 0x70], eax
jb 0x41723f
call fcn.00443060
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x90]
push dword [ebp - 0x70]
lea ebx, [ecx + eax]
call fcn.0041d4e2
cmp dword [eax + 0x18], 8
jb 0x41725e
mov eax, dword [eax + 4]
jmp 0x417261
add eax, 4
mov edi, dword [edi + 0x160]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x78]
push 5
pop ecx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], eax
mov al, byte [ebp + 0x10]
sub esp, 0x18
mov byte [ebp - 0x18], al
mov dword [ebp - 0x48], fcn.00439f3b
lea esi, [ebp - 0x28]
lea edi, [ebp - 0x44]
mov dword [ebp - 0x1c], ebx
rep movsd dword es:[edi], dword [esi]
push 6
pop ecx
lea esi, [ebp - 0x48]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x74]
call fcn.00421c2c
add esp, 0x18
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.004121ec
mov eax, esi
push eax
mov byte [ebp - 4], 0xa
call fcn.00412252
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 - 0x70]
add dword [ebp - 0x80], 0xc
mov edi, dword [ebp - 0x84]
xor ebx, ebx
cmp dword [ebp - 0x70], eax
jb 0x4171f1
mov dword [ebp - 0x74], ebx
mov eax, dword [ebp - 0x8c]
sub eax, dword [ebp - 0x90]
push 0xc
cdq
pop ecx
idiv ecx
xor esi, esi
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x70], ebx
cmp eax, ebx
jbe 0x41735e
mov dword [ebp - 0x7c], ebx
cmp ebx, eax
jb 0x41731a
call fcn.00443060
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x7c]
add ecx, eax
cmp byte [ecx + 8], 0
je 0x41732e
inc dword [ebp - 0x80]
mov eax, dword [ecx + 4]
cmp eax, ebx
jle 0x41733e
inc dword [ebp - 0x78]
add dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x8c]
sub eax, dword [ebp - 0x90]
add esi, dword [ecx]
push 0xc
cdq
pop ecx
idiv ecx
inc dword [ebp - 0x70]
add dword [ebp - 0x7c], 0xc
cmp dword [ebp - 0x70], eax
jb 0x41731a
mov eax, dword [ebp - 0x8c]
sub eax, dword [ebp - 0x90]
push 0xc
cdq
pop ecx
idiv ecx
cmp dword [ebp - 0x80], eax
je 0x4173b6
cmp dword [ebp - 0x78], eax
jne 0x417388
push dword [ebp - 0x84]
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 0x4173a7
mov ecx, dword [edi + 0x15c]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x20]
jmp 0x4173ab
add dword [ebp - 0x74], 0xa
push edi
call fcn.0041bbdd
jmp 0x4172e7
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x8c]
test al, al
je 0x4174ad
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp - 0x30]
mov esi, eax
mov eax, dword [edi]
sub esi, dword [ebp - 0xa0]
push ecx
mov ecx, edi
call dword [eax + 0x28]
push str.BootstrapperDeploy
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0xc
call fcn.00409042
cmp dword [ebp - 0x18], 0x10
mov eax, dword [edi + 0x160]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0x2c]
jae 0x417408
lea ecx, [ebp - 0x2c]
push eax
push esi
push ecx
push edi
call fcn.00413f81
push ebx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x34], 0xf
call fcn.00409f61
mov byte [ebp - 4], 0xd
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
test al, al
je 0x417461
lea eax, [ebp - 0xbc]
push eax
mov ecx, edi
call fcn.0042a2f7
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xe
call fcn.004090a7
push ebx
push 1
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0xd
call fcn.00409216
cmp dword [ebp - 0x38], ebx
jne 0x417493
lea eax, [ebp - 0x12c]
push eax
mov ecx, edi
call fcn.0042a079
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xf
call fcn.004090a7
push ebx
push 1
lea ecx, [ebp - 0x12c]
call fcn.00409216
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.00409216
push ebx
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xa
call fcn.00409216
mov edi, dword [edi + 0x15c]
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 0x90], ebx
je 0x4174d0
push dword [ebp - 0x90]
call fcn.00442b52
pop ecx
push dword [ebp - 0x9c]
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
call fcn.00442b52
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.00409216
call fcn.00446b6f
ret 0xc