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

Disassembly:
push 0x120
mov eax, 0x464fe1
call fcn.00447f12
mov eax, dword [ebp + 8]
mov edi, ecx
mov dword [ebp - 0x78], eax
mov eax, dword [edi]
mov dword [ebp - 0x84], edi
call dword [eax + 0x90]
push eax
lea esi, [ebp - 0xd8]
call fcn.0040858a
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x74], str.Upgrading
cmp byte [ebp + 0xc], bl
jne 0x416ba0
mov dword [ebp - 0x74], str.Installing
lea edx, [ebp - 0xd8]
lea ecx, [ebp - 0xbc]
call fcn.0042a4b5
mov esi, eax
mov byte [ebp - 4], 1
push dword [ebp - 0x74]
lea ecx, [ebp - 0x110]
call fcn.004084cc
push esi
push eax
lea eax, [ebp - 0xf4]
push eax
mov byte [ebp - 4], 2
call fcn.00421cb4
add esp, 0xc
push str._...
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 3
call fcn.0040b952
add esp, 0xc
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0xf4]
call fcn.004097af
push ebx
push esi
lea ecx, [ebp - 0x110]
call fcn.004097af
push ebx
push esi
lea ecx, [ebp - 0xbc]
call fcn.004097af
push ebx
push esi
lea esi, [ebp - 0xd8]
mov byte [ebp - 4], 8
call fcn.00409a53
push edi
lea ebx, [ebp - 0x68]
call fcn.004155d1
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 + 0x74]
test al, al
je 0x416cbb
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xa0], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
test al, al
lea eax, [ebp - 0x30]
je 0x416c88
push eax
mov ecx, edi
call fcn.0042ceb4
cmp dword [eax + 0x14], ebx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x30]
setne byte [ebp - 0x69]
call fcn.004097af
cmp byte [ebp - 0x69], bl
jne 0x416caf
lea eax, [ebp - 0x30]
push edi
push eax
call fcn.0042cd01
cmp dword [eax + 0x14], ebx
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x30]
setne byte [ebp - 0x69]
call fcn.004097af
cmp byte [ebp - 0x69], bl
jne 0x416caf
push str.BootstrapperUpdateOrInstallUnableToResolveCdnHost
jmp 0x416cb4
push str.BootstrapperUpdateOrInstallResolvedCdnHost
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x6c]
mov esi, dword [ebp - 0x78]
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.004440c4
pop ecx
cmp eax, ebx
je 0x416ce3
lea ecx, [ebp - 0x9c]
mov dword [eax], ecx
jmp 0x416ce5
xor eax, eax
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x74]
lea eax, [ebp - 0x9c]
push eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x34], 0
call fcn.0041e3a5
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 0x416e1f
mov dword [ebp - 0x7c], ebx
jmp 0x416d2f
mov esi, dword [ebp - 0x78]
push dword [ebp - 0x70]
mov dword [ebp - 0x80], ebx
call fcn.0041d5d2
add eax, 0x1c
cmp dword [eax + 0x14], ebx
je 0x416d5e
push dword [ebp - 0x70]
call fcn.0041d5d2
add eax, 0x1c
cmp dword [eax + 0x18], 8
jb 0x416d58
mov eax, dword [eax + 4]
jmp 0x416d5b
add eax, 4
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x8c]
sub eax, dword [ebp - 0x90]
push 0xc
cdq
pop ecx
idiv ecx
cmp dword [ebp - 0x70], eax
jb 0x416d7a
call fcn.00444291
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x90]
push dword [ebp - 0x70]
lea ebx, [ecx + eax]
call fcn.0041d5d2
cmp dword [eax + 0x18], 8
jb 0x416d99
mov eax, dword [eax + 4]
jmp 0x416d9c
add eax, 4
mov edi, dword [edi + 0x160]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x80]
push 5
pop ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x3c], eax
mov al, byte [ebp + 0x10]
sub esp, 0x18
mov byte [ebp - 0x34], al
mov dword [ebp - 0x2c], fcn.0043b9a9
lea esi, [ebp - 0x44]
lea edi, [ebp - 0x28]
mov dword [ebp - 0x38], ebx
rep movsd dword es:[edi], dword [esi]
push 6
pop ecx
lea esi, [ebp - 0x2c]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x74]
call fcn.00423784
add esp, 0x18
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.00411d9b
mov eax, esi
push eax
mov byte [ebp - 4], 0xa
call fcn.00411e01
mov ecx, dword [ebp - 0x78]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
push 0x38
cdq
pop ecx
idiv ecx
inc dword [ebp - 0x70]
add dword [ebp - 0x7c], 0xc
mov edi, dword [ebp - 0x84]
xor ebx, ebx
cmp dword [ebp - 0x70], eax
jb 0x416d2c
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 - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x70], ebx
cmp eax, ebx
jbe 0x416e99
mov dword [ebp - 0x78], ebx
cmp ebx, eax
jb 0x416e55
call fcn.00444291
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x78]
add ecx, eax
cmp byte [ecx + 8], 0
je 0x416e69
inc dword [ebp - 0x7c]
mov eax, dword [ecx + 4]
cmp eax, ebx
jle 0x416e79
inc dword [ebp - 0x80]
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 - 0x78], 0xc
cmp dword [ebp - 0x70], eax
jb 0x416e55
mov eax, dword [ebp - 0x8c]
sub eax, dword [ebp - 0x90]
push 0xc
cdq
pop ecx
idiv ecx
cmp dword [ebp - 0x7c], eax
je 0x416ef1
cmp dword [ebp - 0x80], eax
jne 0x416ec3
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 0x416ee2
mov ecx, dword [edi + 0x15c]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x24]
jmp 0x416ee6
add dword [ebp - 0x74], 0xa
push edi
call fcn.0041b467
jmp 0x416e22
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x74]
test al, al
je 0x417066
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp - 0x4c]
mov esi, eax
mov eax, dword [edi]
sub esi, dword [ebp - 0xa0]
push ecx
mov ecx, edi
call dword [eax + 0x24]
push str.BootstrapperDeploy
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 0xc
call fcn.00408514
cmp dword [ebp - 0x34], 0x10
mov eax, dword [edi + 0x160]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0x48]
jae 0x416f40
lea ecx, [ebp - 0x48]
push eax
push esi
push ecx
push edi
mov ecx, str.Success
call fcn.00413540
push ebx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], 0xf
call fcn.0040a537
mov byte [ebp - 4], 0xd
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
test al, al
je 0x416f9e
lea eax, [ebp - 0xbc]
push eax
mov ecx, edi
call fcn.0042ceb4
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xe
call fcn.00409640
push ebx
push 1
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0xd
call fcn.004097af
cmp dword [ebp - 0x1c], ebx
jne 0x416fd4
lea eax, [ebp - 0xbc]
push edi
push eax
call fcn.0042cd01
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xf
call fcn.00409640
push ebx
push 1
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0xd
call fcn.004097af
mov eax, dword [edi]
lea ecx, [ebp - 0x12c]
push ecx
mov ecx, edi
call dword [eax + 0x24]
push str.Client
mov byte [ebp - 4], 0x10
call fcn.00408552
mov ebx, eax
neg ebx
push 0
sbb bl, bl
push 1
lea ecx, [ebp - 0x12c]
inc bl
mov byte [ebp - 4], 0xd
call fcn.004097af
test bl, bl
je 0x417048
cmp dword [ebp - 0x1c], 0
jne 0x41702b
lea eax, [edi + 0xe0]
cmp dword [eax + 0x18], 0x10
jb 0x417026
mov eax, dword [eax + 4]
jmp 0x417037
add eax, 4
jmp 0x417037
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x417037
lea eax, [ebp - 0x2c]
push eax
lea eax, [edi + 0x188]
push esi
push eax
call fcn.0042964d
add esp, 0xc
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.004097af
push 0
push 1
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xa
call fcn.004097af
xor ebx, ebx
mov edi, dword [edi + 0x15c]
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 0x24]
cmp dword [ebp - 0x90], ebx
je 0x417089
push dword [ebp - 0x90]
call fcn.00443d62
pop ecx
push dword [ebp - 0x9c]
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
call fcn.00443d62
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.004097af
call fcn.00447f95
ret 0xc