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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x318]
sub rsp, 0x3f0
mov rax, qword [0x1400592a0]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
mov rbx, rcx
xor r13d, r13d
mov rcx, qword [rcx + 0x2a0]
mov esi, r13d
mov rax, qword [rcx]
movabs r10, 0x9f3d271d50d78370
mov rax, qword [rax + 0x38]
lea rdx, [rsp + 0x40]
call qword [0x140048188]
cmp dword [rsp + 0x44], r13d
jl 0x14002c08b
cmp dword [rbx + 0x27c], r13d
je 0x14002c0b5
mov dword [rbx + 0x274], r13d
mov rcx, qword [rbx + 0x268]
test rcx, rcx
je 0x14002c0b1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov qword [rbx + 0x268], r13
mov esi, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x40]
mov r15d, 2
test ecx, ecx
je 0x14002c185
sub ecx, 1
je 0x14002c177
sub ecx, 1
je 0x14002c15a
sub ecx, 1
je 0x14002c106
sub ecx, 1
je 0x14002c0fc
cmp ecx, 1
je 0x14002c0f2
mov edi, 0x2779
jmp 0x14002c1e5
mov edi, 0x2778
jmp 0x14002c17c
mov edi, 0x2777
jmp 0x14002c1e5
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
sub eax, dword [rbx + 0x24]
cmp eax, 0x1d4c0
jbe 0x14002c150
mov dword [rbx + 0x274], r13d
mov edi, 0x277a
mov rcx, qword [rbx + 0x268]
test rcx, rcx
je 0x14002c147
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov qword [rbx + 0x268], r13
lea rdx, str.ERROR:_Download_Manager_timed_out_connecting._r_n
jmp 0x14002c1cd
mov edi, 0x2775
jmp 0x14002c1e5
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
sub eax, dword [rbx + 0x24]
cmp eax, 0x1d4c0
ja 0x14002c19b
mov edi, 0x2776
jmp 0x14002c1e5
mov edi, 0x277a
mov dword [rbx + 0x274], r13d
jmp 0x14002c1e5
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
sub eax, dword [rbx + 0x24]
cmp eax, 0x1d4c0
jbe 0x14002c1e0
mov dword [rbx + 0x274], r13d
mov edi, 0x277a
mov rcx, qword [rbx + 0x268]
test rcx, rcx
je 0x14002c1c6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov qword [rbx + 0x268], r13
lea rdx, str.ERROR:_Download_Manager_timed_out._r_n
mov esi, 0x80072efd
mov ecx, r15d
mov dword [rsp + 0x44], esi
call fcn.140019cbc
jmp 0x14002c1e5
mov edi, 0x2774
mov r8d, dword [rsp + 0x44]
test r8d, r8d
je 0x14002c20e
lea rdx, str.ERROR:_Package_download_failure_has_occured.__Result:_0x_x._r_n
mov ecx, r15d
call fcn.140019b1c
mov ecx, dword [rsp + 0x44]
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
mov ecx, dword [rsp + 0x48]
mov r14d, 1
mov r12d, pe_nt_image_headers64
cmp ecx, 0xffffffff
jne 0x14002c297
mov rcx, qword [0x140059d90]
lea ebx, [r14 + 0x7f]
mov r9d, ebx
lea r8, [rsp + 0x60]
mov edx, 0x26e8
call qword [sym.imp.USER32.dll_LoadStringW]
nop dword [rax + rax]
test eax, eax
jne 0x14002c338
lea rdx, [0x14004e3c8]
lea rax, [rsp + 0x60]
sub rdx, rax
lea rcx, [rsp + 0x60]
lea rax, [rbx + 0x7fffff7e]
test rax, rax
je 0x14002c283
movzx eax, word [rdx + rcx]
test ax, ax
je 0x14002c283
mov word [rcx], ax
add rcx, r15
sub rbx, r14
jne 0x14002c263
test rbx, rbx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r13w
jmp 0x14002c338
sub ecx, dword [rsp + 0x4c]
mov r10d, 0x88888889
mov r8d, dword [rsp + 0x50]
test r8d, r8d
je 0x14002c2b7
xor edx, edx
mov eax, ecx
div r8d
mov r8d, eax
jmp 0x14002c2c5
mov eax, 0x10624dd3
mul ecx
mov r8d, edx
shr r8d, 0xa
mov eax, r10d
mov ecx, r8d
mul r8d
mov r9d, edx
shr r9d, 5
imul eax, r9d, 0x3c
sub ecx, eax
mov eax, r10d
mul r9d
shr edx, 5
imul eax, edx, 0x3c
sub r9d, eax
cmp r8d, 0xe10
jb 0x14002c320
mov dword [rsp + 0x28], ecx
mov eax, 0x91a2b3c5
mul r8d
mov dword [rsp + 0x20], r9d
lea r8, str._2.2u:_2.2u:_2.2u
shr edx, 0xb
lea rcx, [rsp + 0x60]
mov r9d, edx
mov rdx, r12
call fcn.140010c94
jmp 0x14002c338
mov dword [rsp + 0x20], ecx
lea r8, str._2.2u:_2.2u
lea rcx, [rsp + 0x60]
mov rdx, r12
call fcn.140010c94
mov rcx, qword [0x140059d90]
lea r8, [rbp + 0xe0]
mov r9d, r12d
mov edx, edi
call qword [sym.imp.USER32.dll_LoadStringW]
nop dword [rax + rax]
test eax, eax
je 0x14002c424
or r8, 0xffffffffffffffff
lea rax, [rbp + 0xe0]
mov rcx, r8
inc rcx
cmp word [rax + rcx*2], r13w
jne 0x14002c36d
lea rax, [rsp + 0x60]
mov rdx, r8
inc rdx
cmp word [rax + rdx*2], r13w
jne 0x14002c37f
lea r12, [rdx + 0x21]
mov rax, r15
add r12, rcx
mul r12
cmovo rax, r8
mov rcx, rax
call fcn.1400014a0
mov rdi, rax
test rax, rax
je 0x14002c424
mov ebx, dword [rsp + 0x4c]
lea rcx, [rsp + 0x30]
mov r15d, 0x80004005
call fcn.140043534
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.14001c4b8
test eax, eax
js 0x14002c3e5
mov r8d, 0x40
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.140043a40
mov r15d, eax
lea rcx, [rsp + 0x30]
call fcn.140043af4
test r15d, r15d
js 0x14002c41c
lea rax, [rbp + 0x60]
mov rdx, r12
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0xe0]
mov rcx, rdi
call fcn.140010e44
mov rcx, rdi
call fcn.1400190c8
mov rcx, rdi
call fcn.140001454
mov ecx, dword [rsp + 0x48]
test ecx, ecx
cmovne r14d, ecx
imul eax, dword [rsp + 0x4c], 0x64
xor edx, edx
div r14d
mov ecx, eax
call fcn.140019120
mov eax, esi
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.1400017f0
lea r11, [rsp + 0x3f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret