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

Disassembly:
push 0x190
mov eax, 0x46e56b
call fcn.00448de7
mov ebx, ecx
mov dword [ebp - 0x164], ebx
mov al, byte [ebp + 0xc]
and dword [ebp - 0x154], 0
mov edi, dword [ebp + 8]
mov byte [ebp - 0x156], al
mov eax, dword [ebx]
mov dword [ebp - 0x160], edi
call dword [eax + 0x7c]
push eax
lea ecx, [ebp - 0xfc]
call fcn.00403e82
and dword [ebp - 4], 0
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0040ef8f
pop ecx
pop ecx
mov esi, eax
cmp byte [ebp - 0x156], 0
mov eax, str.Installing
mov ecx, str.Upgrading
mov byte [ebp - 4], 1
cmove ecx, eax
push ecx
lea ecx, [ebp - 0x144]
call fcn.00403e06
push esi
push eax
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 2
push eax
call fcn.00416519
push str._...
push eax
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 3
push eax
call fcn.0040278e
add esp, 0x18
xor esi, esi
lea ecx, [ebp - 0x12c]
push esi
push 1
call fcn.0040900a
push esi
push 1
lea ecx, [ebp - 0x144]
call fcn.0040900a
push esi
push 1
lea ecx, [ebp - 0x70]
call fcn.0040900a
push esi
push 1
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 8
call fcn.0040905f
lea eax, [ebp - 0x114]
mov ecx, ebx
push eax
call fcn.004256f4
mov eax, dword [ebx]
mov ecx, ebx
push 0x64
push esi
call dword [eax + 0xc]
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.00432b56
pop ecx
pop ecx
xor ecx, ecx
mov byte [ebp - 4], 9
inc ecx
mov dword [ebp - 0x154], ecx
cmp dword [eax + 0x10], esi
jne 0x41ccf4
lea eax, [ebp - 0x88]
push ebx
push eax
call fcn.00432f8a
pop ecx
pop ecx
push 3
pop ecx
mov byte [ebp - 0x155], 0
cmp dword [eax + 0x10], esi
je 0x41ccfb
mov byte [ebp - 0x155], 1
test cl, 2
je 0x41cd0f
push 0
push 1
lea ecx, [ebp - 0x88]
call fcn.0040900a
push 0
push 1
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 8
call fcn.0040900a
cmp byte [ebp - 0x155], 0
mov ecx, ebx
mov eax, dword [ebx]
jne 0x41cd36
push str.BootstrapperUpdateOrInstallUnableToResolveCdnHost
jmp 0x41cd3b
push str.BootstrapperUpdateOrInstallResolvedCdnHost
call dword [eax + 0x64]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [0x4f0c00], 0
mov dword [ebp - 0x184], eax
je 0x41d22b
mov cl, byte [0x49d19c]
test cl, cl
je 0x41cd74
push 0
movzx eax, cl
push str.DoDeployComponents:_starting_download_threads
push eax
call fcn.00410c7f
add esp, 0xc
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x170]
sub eax, dword [edi]
push 0x30
pop esi
cdq
idiv esi
mov dword [ebp - 0x15c], esi
push eax
call fcn.0041a007
mov eax, dword [edi + 4]
sub eax, dword [edi]
cdq
idiv esi
and dword [ebp - 0x150], 0
mov byte [ebp - 4], 0xa
test eax, eax
je 0x41cf25
mov eax, dword [ebp - 0x170]
xor ecx, ecx
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0x14c], eax
mov eax, dword [edi]
add eax, ecx
lea ecx, [ebp - 0xa0]
push eax
call fcn.00419e5e
lea eax, [ebp - 0x178]
mov byte [ebp - 4], 0xb
push eax
call fcn.00418568
pop ecx
mov esi, dword [ebx + 0x154]
mov eax, dword [ebx + 0x150]
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x17c], esi
test esi, esi
je 0x41ce01
lock inc dword [esi + 4]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], esi
test esi, esi
je 0x41ce15
lock inc dword [esi + 4]
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0xdc]
call fcn.00419e5e
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0xa8], eax
test eax, eax
je 0x41ce4b
lock inc dword [eax + 4]
mov al, byte [ebp + 0x10]
mov byte [ebp - 0xa4], al
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x148]
call fcn.00416254
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.0043a256
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 0x11
call fcn.0043a256
cmp dword [ebp - 0x148], 0
je 0x41ce99
push dword [ebp - 0x148]
call fcn.00424edc
pop ecx
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 0xd
call fcn.0041ab45
mov ecx, dword [ebp - 0x14c]
lea eax, [ebp - 0x178]
push eax
call fcn.0041b5ba
mov byte [ebp - 4], 0x12
test esi, esi
je 0x41cec9
mov ecx, esi
call fcn.0040bd0b
mov ecx, dword [ebp - 0x174]
mov byte [ebp - 4], 0x13
test ecx, ecx
je 0x41cedc
call fcn.0040bd0b
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xa
call fcn.00404d27
mov eax, dword [edi + 4]
sub eax, dword [edi]
cdq
idiv dword [ebp - 0x15c]
mov esi, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x154]
inc esi
add dword [ebp - 0x14c], 8
add ecx, 0x30
mov dword [ebp - 0x150], esi
mov dword [ebp - 0x154], ecx
cmp esi, eax
jb 0x41cdc0
push 0x30
pop esi
mov cl, byte [0x49d19c]
test cl, cl
je 0x41cf49
mov eax, dword [edi + 4]
sub eax, dword [edi]
cdq
idiv esi
push eax
movzx eax, cl
push str.DoDeployComponents:_spawned_threads_for__zu_files
push eax
call fcn.00410c7f
add esp, 0xc
xor edx, edx
lea ecx, [ebp - 0x154]
inc edx
mov eax, 0x49d184
cmp dword [0x49d184], edx
mov dword [ebp - 0x154], edx
cmovle eax, ecx
movd xmm0, dword [eax]
lea eax, [ebp - 0x18c]
cvtdq2pd xmm0, xmm0
push eax
movsd qword [ebp - 0x19c], xmm0
call fcn.0043d1bc
movsd xmm0, qword [ebp - 0x18c]
addsd xmm0, qword [ebp - 0x19c]
mov eax, dword [ebp - 0x16c]
and dword [ebp - 0x154], 0
pop ecx
mov ecx, dword [ebp - 0x170]
sub eax, ecx
sar eax, 3
movsd qword [ebp - 0x180], xmm0
mov dword [ebp - 0x150], eax
and dword [ebp - 0x148], 0
xor esi, esi
and dword [ebp - 0x14c], 0
mov eax, ecx
and dword [ebp - 0x15c], 0
cmp ecx, dword [ebp - 0x16c]
je 0x41d065
mov edi, dword [ebp - 0x14c]
mov edx, dword [eax]
test edx, edx
jne 0x41cfed
inc esi
jmp 0x41d016
cmp byte [edx + 8], 0
lea ecx, [esi + 1]
cmove ecx, esi
cmp dword [edx + 4], 0
mov esi, ecx
jle 0x41d016
mov ecx, dword [ebp - 0x148]
inc dword [ebp - 0x15c]
add edi, dword [edx + 4]
add ecx, dword [edx]
mov dword [ebp - 0x148], ecx
add eax, 8
cmp eax, dword [ebp - 0x16c]
jne 0x41cfe4
mov dword [ebp - 0x14c], edi
mov edi, dword [ebp - 0x160]
cmp esi, dword [ebp - 0x154]
jbe 0x41d065
mov al, byte [0x49d19c]
test al, al
je 0x41d05d
push 0
push dword [ebp - 0x150]
movzx eax, al
push esi
push str.DoDeployComponents:__zu__zu_zips_deployed
push eax
call fcn.00410c5f
mov al, byte [0x49d19c]
add esp, 0x14
mov dword [ebp - 0x154], esi
jmp 0x41d06a
mov al, byte [0x49d19c]
mov ecx, dword [ebp - 0x150]
cmp esi, ecx
je 0x41d1fe
cmp dword [ebp - 0x15c], 0
jbe 0x41d094
push dword [ebp - 0x14c]
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp - 0x148]
call dword [eax + 0xc]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x178]
push eax
call fcn.0043d1bc
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x178]
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.0043d274
movsd xmm1, qword [ebp - 0x194]
add esp, 0x10
movaps xmm0, xmm1
mulsd xmm0, qword [0x47d940]
comisd xmm0, xmmword [0x47d940]
jb 0x41d0f7
mov ecx, dword [ebx + 0x14c]
push 0
mov eax, dword [ecx]
call dword [eax + 0x24]
movsd xmm1, qword [ebp - 0x194]
mov al, byte [0x49d19c]
test al, al
je 0x41d1ec
movsd xmm0, qword [ebp - 0x178]
comisd xmm0, xmmword [ebp - 0x180]
jb 0x41d1ec
push dword [ebp - 0x15c]
movzx eax, al
push dword [ebp - 0x14c]
push dword [ebp - 0x148]
push dword [ebp - 0x150]
push esi
push ecx
push ecx
movsd qword [esp], xmm1
push str.DoDeployComponents:_still_deploying_after__.0lf_seconds.__zu__zu_files_pending___d__d___zu_files_:
push eax
call fcn.00410c9b
mov eax, dword [edi + 4]
add esp, 0x24
sub eax, dword [edi]
xor esi, esi
cdq
push 0x30
pop ecx
idiv ecx
test eax, eax
je 0x41d1d4
mov bl, byte [0x49d19c]
xor edx, edx
mov dword [ebp - 0x148], edx
mov eax, dword [ebp - 0x170]
mov ecx, dword [eax + esi*8]
test ecx, ecx
je 0x41d1b0
cmp byte [ecx + 8], 0
jne 0x41d1b0
test bl, bl
je 0x41d1b0
mov eax, dword [edi]
add eax, edx
cmp dword [eax + 0x14], 8
jb 0x41d18d
mov eax, dword [eax]
push dword [ecx + 4]
push dword [ecx]
push eax
movzx eax, bl
push str.____waiting_for__S___d___d_
push eax
call fcn.00410c9b
mov bl, byte [0x49d19c]
add esp, 0x14
mov edx, dword [ebp - 0x148]
mov eax, dword [edi + 4]
inc esi
sub eax, dword [edi]
push 0x30
pop ecx
add edx, ecx
mov dword [ebp - 0x148], edx
cdq
idiv ecx
mov edx, dword [ebp - 0x148]
cmp esi, eax
jb 0x41d16a
mov ebx, dword [ebp - 0x164]
movsd xmm0, qword [ebp - 0x178]
addsd xmm0, qword [ebp - 0x19c]
movsd qword [ebp - 0x180], xmm0
mov ecx, ebx
call fcn.00429a50
mov ecx, dword [ebp - 0x170]
jmp 0x41cfb9
test al, al
je 0x41d217
push 0
push ecx
push esi
movzx eax, al
push str.DoDeployComponents:_all_files_deployed
push eax
call fcn.00410c5f
add esp, 0x14
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 8
call fcn.0042035b
jmp 0x41d435
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x170]
sub eax, dword [edi]
push 0x30
pop esi
cdq
idiv esi
mov dword [ebp - 0x15c], esi
push eax
call fcn.00419f7b
mov eax, dword [edi + 4]
xor edx, edx
sub eax, dword [edi]
mov dword [ebp - 0x148], edx
cdq
idiv esi
push 0xc
mov byte [ebp - 4], 0x14
pop ecx
test eax, eax
je 0x41d346
mov esi, dword [ebp - 0x170]
xor ecx, ecx
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x154], esi
add ecx, dword [edi]
xor edx, edx
cmp dword [ecx + 0x28], edx
je 0x41d28f
lea edx, [ecx + 0x18]
cmp dword [edx + 0x14], 8
jb 0x41d28f
mov edx, dword [edx]
cmp dword [ecx + 0x14], 8
jb 0x41d297
mov ecx, dword [ecx]
mov eax, dword [ebx + 0x150]
lea edi, [ebp - 0x84]
mov dword [ebp - 0x3c], eax
mov al, byte [ebp + 0x10]
mov dword [ebp - 0x38], ecx
push 5
mov dword [ebp - 0x30], esi
lea esi, [ebp - 0x3c]
pop ecx
mov byte [ebp - 0x2c], al
lea eax, [ebp - 0x88]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x88], fcn.0043afac
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebp - 0x150]
call fcn.00416383
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0x15
call fcn.0043a256
cmp dword [ebp - 0x150], 0
je 0x41d2fd
push dword [ebp - 0x150]
call fcn.00424edc
pop ecx
mov edi, dword [ebp - 0x160]
mov esi, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x14c]
add esi, 0xc
inc dword [ebp - 0x148]
add ecx, 0x30
mov eax, dword [edi + 4]
sub eax, dword [edi]
cdq
idiv dword [ebp - 0x15c]
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x154], esi
mov dword [ebp - 0x14c], ecx
cmp dword [ebp - 0x148], eax
jb 0x41d27b
push 0xc
pop ecx
mov eax, dword [ebp - 0x16c]
xor edi, edi
sub eax, dword [ebp - 0x170]
cdq
idiv ecx
mov dword [ebp - 0x160], edi
mov esi, eax
xor ecx, ecx
xor eax, eax
and dword [ebp - 0x14c], ecx
xor edx, edx
and dword [ebp - 0x154], eax
mov dword [ebp - 0x148], ecx
test esi, esi
je 0x41d3dc
mov ecx, dword [ebp - 0x170]
mov ebx, eax
mov edi, dword [ebp - 0x154]
add ecx, 4
cmp byte [ecx + 4], 0
lea eax, [edx + 1]
cmove eax, edx
mov edx, eax
mov eax, dword [ecx]
test eax, eax
jle 0x41d3a5
inc ebx
add dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x148]
add eax, dword [ecx - 4]
inc edi
push 0xc
mov dword [ebp - 0x148], eax
pop eax
add ecx, eax
cmp edi, esi
jb 0x41d38c
mov edi, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x148]
mov dword [ebp - 0x150], ebx
mov ebx, dword [ebp - 0x164]
mov eax, dword [ebp - 0x150]
cmp edx, esi
je 0x41d426
cmp eax, esi
jne 0x41d3f2
push dword [ebp - 0x14c]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0xc]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 0x3e8
jl 0x41d411
mov ecx, dword [ebx + 0x14c]
push 0
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x41d41a
add edi, 0xa
mov dword [ebp - 0x160], edi
mov ecx, ebx
call fcn.00429a50
jmp 0x41d35f
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 8
call fcn.004202cf
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebx]
mov edi, eax
sub edi, dword [ebp - 0x184]
lea eax, [ebp - 0x58]
push eax
mov ecx, ebx
call dword [edx + 0x1c]
mov esi, str.BootstrapperDeploy
mov byte [ebp - 4], 0x16
push esi
call fcn.0040b440
pop ecx
push eax
push esi
lea ecx, [ebp - 0x58]
call fcn.004092c5
mov eax, dword [ebx + 0x150]
lea ecx, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
cmovae ecx, dword [ebp - 0x58]
push dword [eax + 8]
push edi
push str.Success
push ecx
mov ecx, ebx
call fcn.00427282
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.00432b56
pop ecx
pop ecx
cmp dword [ebp - 0x18], 0
mov byte [ebp - 4], 0x17
jne 0x41d4d1
lea eax, [ebp - 0x70]
push ebx
push eax
call fcn.00432f8a
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x18
cmp ecx, eax
je 0x41d4c1
push 0xffffffffffffffff
push 0
push eax
call fcn.004094ab
push 0
push 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x17
call fcn.0040900a
mov eax, dword [ebx]
lea ecx, [ebp - 0x70]
push ecx
mov ecx, ebx
call dword [eax + 0x1c]
push str.Client
mov ecx, eax
call fcn.0040989b
push 0
push 1
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.0040900a
test esi, esi
jne 0x41d6c3
cmp dword [ebp - 0x18], esi
jne 0x41d513
lea eax, [ebx + 0xbc]
cmp dword [eax + 0x14], 0x10
jb 0x41d51e
mov eax, dword [eax]
jmp 0x41d51e
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push edi
push str.ClientInstallTime
mov esi, 0x476a90
push esi
call fcn.00437c6b
add esp, 0x10
cmp dword [ebp - 0x18], 0
jne 0x41d549
lea ecx, [ebx + 0xbc]
cmp dword [ecx + 0x14], 0x10
jb 0x41d554
mov ecx, dword [ecx]
jmp 0x41d554
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x150]
movd xmm0, edi
cvtdq2pd xmm0, xmm0
shr edi, 0x1f
mov eax, dword [eax + 8]
addsd xmm0, qword [edi*8 + 0x477080]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
divss xmm1, dword [0x47d950]
shr eax, 0x1f
cvtdq2pd xmm0, xmm0
movss dword [ebp - 0x164], xmm1
addsd xmm0, qword [eax*8 + 0x477080]
cvtpd2ps xmm0, xmm0
divss xmm0, xmm1
cvttss2si eax, xmm0
push eax
push ecx
push str.ClientInstallThroughput_bytes_sec
push esi
call fcn.00437b48
add esp, 0x10
cmp byte [ebp - 0x156], 0
jne 0x41d6c3
push 0xffffffffffffffff
lea ecx, [ebp - 0xd4]
call fcn.0043eba7
cmp dword [ebp - 0x18], 0
mov byte [ebp - 4], 0x19
jne 0x41d5e9
lea eax, [ebx + 0xbc]
cmp dword [eax + 0x14], 0x10
jb 0x41d5f4
mov eax, dword [eax]
jmp 0x41d5f4
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x47b844
lea ecx, [ebp - 0xd4]
call fcn.0043ee62
movss xmm0, dword [ebp - 0x164]
cvtps2pd xmm0, xmm0
push ecx
push ecx
lea ecx, [ebp - 0xd4]
movsd qword [esp], xmm0
push str.Duration
call fcn.0043eec3
mov eax, dword [ebx + 0x150]
lea ecx, [ebp - 0xd4]
push dword [eax + 8]
push str.BytesRecv
call fcn.0043eeac
mov eax, dword [ebx + 0x150]
movss xmm2, dword [ebp - 0x164]
cvtps2pd xmm1, xmm2
push ecx
push ecx
lea ecx, [ebp - 0xd4]
movd xmm0, dword [eax + 8]
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [esp], xmm0
push str.BytesPerSec
call fcn.0043eec3
push str.PCInstallTime
lea ecx, [ebp - 0x88]
call fcn.00403e06
mov eax, dword [ebx]
mov ecx, ebx
push 0
mov byte [ebp - 4], 0x1a
call dword [eax + 0x4c]
push eax
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0xd4]
call fcn.0043f386
push 0
push 1
lea ecx, [ebp - 0x88]
call fcn.0040900a
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0x17
call fcn.0043ec1e
mov ecx, dword [ebx + 0x14c]
push 1
mov eax, dword [ecx]
call dword [eax + 0x24]
xor ebx, ebx
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.0040900a
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.0040900a
push ebx
push 1
lea ecx, [ebp - 0x114]
call fcn.0040900a
call fcn.00448d91
ret 0xc