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

Disassembly:
push 0x120
mov eax, 0x4638e7
call fcn.0044684c
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.00407ede
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x74], str.Upgrading
cmp byte [ebp + 0xc], bl
jne 0x416fdd
mov dword [ebp - 0x74], str.Installing
lea edx, [ebp - 0xd8]
lea ecx, [ebp - 0xbc]
call fcn.004274a2
mov esi, eax
mov byte [ebp - 4], 1
push dword [ebp - 0x74]
lea ecx, [ebp - 0x110]
call fcn.00407e54
push esi
push eax
lea eax, [ebp - 0xf4]
push eax
mov byte [ebp - 4], 2
call fcn.0042061d
add esp, 0xc
push str._...
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 3
call fcn.0040b0e8
add esp, 0xc
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0xf4]
call fcn.0040917d
push ebx
push esi
lea ecx, [ebp - 0x110]
call fcn.0040917d
push ebx
push esi
lea ecx, [ebp - 0xbc]
call fcn.0040917d
push ebx
push esi
lea esi, [ebp - 0xd8]
mov byte [ebp - 4], 8
call fcn.00409415
push edi
lea ebx, [ebp - 0x68]
call fcn.00415e77
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 0x4170f2
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
test al, al
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
je 0x4170bf
call fcn.0042a01a
cmp dword [eax + 0x14], ebx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x4c]
setne byte [ebp - 0x69]
call fcn.0040917d
cmp byte [ebp - 0x69], bl
jne 0x4170e3
lea eax, [ebp - 0x4c]
push eax
mov ecx, edi
call fcn.00429d9c
cmp dword [eax + 0x14], ebx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x4c]
setne byte [ebp - 0x69]
call fcn.0040917d
cmp byte [ebp - 0x69], bl
jne 0x4170e3
push str.BootstrapperUpdateOrInstallUnableToResolveCdnHost
jmp 0x4170e8
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.00442bf3
pop ecx
cmp eax, ebx
je 0x417126
lea ecx, [ebp - 0x9c]
mov dword [eax], ecx
jmp 0x417128
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.0041e0d4
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 0x417262
mov dword [ebp - 0x80], ebx
jmp 0x417172
mov esi, dword [ebp - 0x7c]
push dword [ebp - 0x70]
mov dword [ebp - 0x78], ebx
call fcn.0041d35a
add eax, 0x1c
cmp dword [eax + 0x14], ebx
je 0x4171a1
push dword [ebp - 0x70]
call fcn.0041d35a
add eax, 0x1c
cmp dword [eax + 0x18], 8
jb 0x41719b
mov eax, dword [eax + 4]
jmp 0x41719e
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 0x4171bd
call fcn.00442dc0
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x90]
push dword [ebp - 0x70]
lea ebx, [ecx + eax]
call fcn.0041d35a
cmp dword [eax + 0x18], 8
jb 0x4171dc
mov eax, dword [eax + 4]
jmp 0x4171df
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.00439c9d
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.00421ab9
add esp, 0x18
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.0041216b
mov eax, esi
push eax
mov byte [ebp - 4], 0xa
call fcn.004121d1
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 0x41716f
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 0x4172dc
mov dword [ebp - 0x7c], ebx
cmp ebx, eax
jb 0x417298
call fcn.00442dc0
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x7c]
add ecx, eax
cmp byte [ecx + 8], 0
je 0x4172ac
inc dword [ebp - 0x80]
mov eax, dword [ecx + 4]
cmp eax, ebx
jle 0x4172bc
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 0x417298
mov eax, dword [ebp - 0x8c]
sub eax, dword [ebp - 0x90]
push 0xc
cdq
pop ecx
idiv ecx
cmp dword [ebp - 0x80], eax
je 0x417334
cmp dword [ebp - 0x78], eax
jne 0x417306
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 0x417325
mov ecx, dword [edi + 0x15c]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x20]
jmp 0x417329
add dword [ebp - 0x74], 0xa
push edi
call fcn.0041bb63
jmp 0x417265
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x8c]
test al, al
je 0x41742b
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.00408fa9
cmp dword [ebp - 0x18], 0x10
mov eax, dword [edi + 0x160]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0x2c]
jae 0x417386
lea ecx, [ebp - 0x2c]
push eax
push esi
push ecx
push edi
call fcn.00413eff
push ebx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x34], 0xf
call fcn.00409ee5
mov byte [ebp - 4], 0xd
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
test al, al
je 0x4173df
lea eax, [ebp - 0xbc]
push eax
mov ecx, edi
call fcn.0042a01a
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xe
call fcn.0040900e
push ebx
push 1
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0xd
call fcn.0040917d
cmp dword [ebp - 0x38], ebx
jne 0x417411
lea eax, [ebp - 0x12c]
push eax
mov ecx, edi
call fcn.00429d9c
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xf
call fcn.0040900e
push ebx
push 1
lea ecx, [ebp - 0x12c]
call fcn.0040917d
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.0040917d
push ebx
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xa
call fcn.0040917d
mov edi, dword [edi + 0x15c]
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 0x90], ebx
je 0x41744e
push dword [ebp - 0x90]
call fcn.004428b2
pop ecx
push dword [ebp - 0x9c]
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
call fcn.004428b2
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.0040917d
call fcn.004468cf
ret 0xc