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

Disassembly:
push 0x120
mov eax, 0x45dd34
call fcn.004416b2
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 + 0x84]
push eax
lea esi, [ebp - 0xd8]
call fcn.004074af
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x74], str.Upgrading
cmp byte [ebp + 0xc], bl
jne 0x413d8c
mov dword [ebp - 0x74], str.Installing
lea edx, [ebp - 0xd8]
lea ecx, [ebp - 0xbc]
call fcn.004242a3
mov esi, eax
mov byte [ebp - 4], 1
push dword [ebp - 0x74]
lea ecx, [ebp - 0x110]
call fcn.004073f1
push esi
push eax
lea eax, [ebp - 0xf4]
push eax
mov byte [ebp - 4], 2
call fcn.0041c8a7
add esp, 0xc
push str._...
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 3
call fcn.0041c8f2
add esp, 0xc
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0xf4]
call fcn.0040860c
push ebx
push esi
lea ecx, [ebp - 0x110]
call fcn.0040860c
push ebx
push esi
lea ecx, [ebp - 0xbc]
call fcn.0040860c
push ebx
push esi
lea esi, [ebp - 0xd8]
mov byte [ebp - 4], 8
call fcn.00408944
push edi
lea ebx, [ebp - 0x68]
call fcn.00413190
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 + 0x38]
test al, al
je 0x413ea7
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 0x413e74
push eax
mov ecx, edi
call fcn.00426ab5
cmp dword [eax + 0x14], ebx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x30]
setne byte [ebp - 0x69]
call fcn.0040860c
cmp byte [ebp - 0x69], bl
jne 0x413e9b
lea eax, [ebp - 0x30]
push edi
push eax
call fcn.00426902
cmp dword [eax + 0x14], ebx
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x30]
setne byte [ebp - 0x69]
call fcn.0040860c
cmp byte [ebp - 0x69], bl
jne 0x413e9b
push str.BootstrapperUpdateOrInstallUnableToResolveCdnHost
jmp 0x413ea0
push str.BootstrapperUpdateOrInstallResolvedCdnHost
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
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.0043db44
pop ecx
cmp eax, ebx
je 0x413ecf
lea ecx, [ebp - 0x9c]
mov dword [eax], ecx
jmp 0x413ed1
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.004196dc
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 0x41400b
mov dword [ebp - 0x7c], ebx
jmp 0x413f1b
mov esi, dword [ebp - 0x78]
push dword [ebp - 0x70]
mov dword [ebp - 0x80], ebx
call fcn.00418d42
add eax, 0x1c
cmp dword [eax + 0x14], ebx
je 0x413f4a
push dword [ebp - 0x70]
call fcn.00418d42
add eax, 0x1c
cmp dword [eax + 0x18], 8
jb 0x413f44
mov eax, dword [eax + 4]
jmp 0x413f47
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 0x413f66
call fcn.0043dd11
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x90]
push dword [ebp - 0x70]
lea ebx, [ecx + eax]
call fcn.00418d42
cmp dword [eax + 0x18], 8
jb 0x413f85
mov eax, dword [eax + 4]
jmp 0x413f88
add eax, 4
mov edi, dword [edi + 0x16c]
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.00435ac1
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.0041dfe5
add esp, 0x18
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.00410221
mov eax, esi
push eax
mov byte [ebp - 4], 0xa
call fcn.00410287
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 0x413f18
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 0x414085
mov dword [ebp - 0x78], ebx
cmp ebx, eax
jb 0x414041
call fcn.0043dd11
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x78]
add ecx, eax
cmp byte [ecx + 8], 0
je 0x414055
inc dword [ebp - 0x7c]
mov eax, dword [ecx + 4]
cmp eax, ebx
jle 0x414065
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 0x414041
mov eax, dword [ebp - 0x8c]
sub eax, dword [ebp - 0x90]
push 0xc
cdq
pop ecx
idiv ecx
cmp dword [ebp - 0x7c], eax
je 0x4140da
cmp dword [ebp - 0x80], eax
jne 0x4140af
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 0x4140cb
mov ecx, dword [edi + 0x48]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x20]
jmp 0x4140cf
add dword [ebp - 0x74], 0xa
push edi
call fcn.00417826
jmp 0x41400e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x38]
test al, al
je 0x414250
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.00407439
cmp dword [ebp - 0x34], 0x10
mov eax, dword [edi + 0x16c]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0x48]
jae 0x414129
lea ecx, [ebp - 0x48]
push eax
push esi
push ecx
mov ecx, str.Success
mov edx, edi
call fcn.00411871
push ebx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], 0xf
call fcn.00409344
mov byte [ebp - 4], 0xd
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
test al, al
je 0x414188
lea eax, [ebp - 0xbc]
push eax
mov ecx, edi
call fcn.00426ab5
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xe
call fcn.0040849d
push ebx
push 1
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0xd
call fcn.0040860c
cmp dword [ebp - 0x1c], ebx
jne 0x4141be
lea eax, [ebp - 0xbc]
push edi
push eax
call fcn.00426902
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xf
call fcn.0040849d
push ebx
push 1
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0xd
call fcn.0040860c
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.00407477
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.0040860c
test bl, bl
je 0x414232
cmp dword [ebp - 0x1c], 0
jne 0x414215
lea eax, [edi + 0x1b0]
cmp dword [eax + 0x18], 0x10
jb 0x414210
mov eax, dword [eax + 4]
jmp 0x414221
add eax, 4
jmp 0x414221
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x414221
lea eax, [ebp - 0x2c]
push eax
lea eax, [edi + 0xc8]
push esi
push eax
call fcn.00422d67
add esp, 0xc
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.0040860c
push 0
push 1
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xa
call fcn.0040860c
xor ebx, ebx
mov edi, dword [edi + 0x48]
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 0x90], ebx
je 0x414270
push dword [ebp - 0x90]
call fcn.0043d7e2
pop ecx
push dword [ebp - 0x9c]
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
call fcn.0043d7e2
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.0040860c
call fcn.00441735
ret 0xc