Function at 0x40cea0
Capabilities:
Check for time delay via gettickcount
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51329c
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x55d910]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
push esi
mov edx, 0x541888
mov dword [ebp - 0xa0], eax
lea ecx, [ebp - 0xb8]
call fcn.00410790
add esp, 4
push 0x541888
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 0
push eax
call fcn.00410690
add esp, 0xc
mov byte [ebp - 4], 2
cmp dword [ebp - 0xa4], 8
jb 0x40cf28
push dword [ebp - 0xb8]
call fcn.00482be0
add esp, 4
xor eax, eax
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], 0
mov word [ebp - 0xb8], ax
cmp dword [edi + 0x10], eax
je 0x40cf81
push edi
mov edx, 0x54188c
lea ecx, [ebp - 0x2c]
call fcn.00410790
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.004040b0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 8
jb 0x40cf81
push dword [ebp - 0x2c]
call fcn.00482be0
add esp, 4
push 0x40
lea eax, [ebp - 0x98]
push 0
push eax
call fcn.004e32d0
add esp, 0xc
mov dword [ebp - 0x9c], 0x44
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x54]
lea eax, [ebp - 0x44]
mov dword [ebp - 0x98], 0
cmovae eax, dword [ebp - 0x44]
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x94], 0
push ecx
push 0
push 0
push 0x10
push 0
push 0
push 0
push eax
push 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x6c], 5
mov dword [ebp - 0x68], 0
movdqu xmmword [ebp - 0x54], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40d0cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x18], 7
push 0x11
xor eax, eax
mov dword [ebp - 0x1c], 0
push str.errCreateProcess_
lea ecx, [ebp - 0x2c]
mov word [ebp - 0x2c], ax
call fcn.004047a0
mov edx, esi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb8]
call fcn.00416680
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.004040b0
mov byte [ebp - 4], 4
cmp dword [ebp - 0xa4], 8
jb 0x40d074
push dword [ebp - 0xb8]
call fcn.00482be0
add esp, 4
sub esp, 0x18
mov ecx, 0x567310
mov eax, esp
push str.install_fail
mov dword [eax + 0x10], 0
call fcn.0041d290
cmp dword [ebp - 0x18], 8
jb 0x40d0a0
push dword [ebp - 0x2c]
call fcn.00482be0
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
cmp dword [ebp - 0x30], 8
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
jb 0x40d0c5
push dword [ebp - 0x44]
call fcn.00482be0
add esp, 4
xor al, al
jmp 0x40d203
push dword [ebp - 0x50]
mov esi, dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x30], 8
jb 0x40d0f0
push dword [ebp - 0x44]
call fcn.00482be0
add esp, 4
push 0x2bf20
xor eax, eax
mov dword [ebp - 0x30], 7
push esi
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x40d1e6
push str.errExitCode_
lea ecx, [ebp - 0x2c]
call fcn.004048d0
mov dword [ebp - 4], 6
call ebx
mov ecx, eax
mov eax, 0x10624dd3
sub ecx, dword [ebp - 0xa0]
mul ecx
mov eax, 0x88888889
lea ecx, [ebp - 0xb8]
shr edx, 6
add edx, 0x1d
mul edx
shr edx, 4
mov eax, edx
shl eax, 4
sub eax, edx
add eax, eax
mov edx, eax
call fcn.00416680
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.004040b0
mov byte [ebp - 4], 6
cmp dword [ebp - 0xa4], 8
jb 0x40d18f
push dword [ebp - 0xb8]
call fcn.00482be0
add esp, 4
sub esp, 0x18
mov ecx, 0x567310
mov eax, esp
push str.install_success
mov dword [eax + 0x10], 0
call fcn.0041d290
call ebx
sub eax, dword [ebp + 8]
sub esp, 0x18
mov edx, esp
mov dword [edx], 0x542070
mov ecx, 0x567310
mov dword [edx + 4], eax
push str.downloader_full_duration
mov dword [edx + 0x10], edx
mov byte [ebp - 4], 6
call fcn.0041d290
cmp dword [ebp - 0x18], 8
jb 0x40d201
push dword [ebp - 0x2c]
call fcn.00482be0
add esp, 4
jmp 0x40d201
sub esp, 0x18
mov ecx, 0x567310
mov eax, esp
push str.install_fail
mov dword [eax + 0x10], 0
call fcn.0041d290
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d8392
mov esp, ebp
pop ebp
ret