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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51094c
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x559910]
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, 0x53e6c8
mov dword [ebp - 0xa0], eax
lea ecx, [ebp - 0xb8]
call fcn.0040f880
add esp, 4
push 0x53e6c8
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 0
push eax
call fcn.0040f780
add esp, 0xc
mov byte [ebp - 4], 2
cmp dword [ebp - 0xa4], 8
jb 0x40c018
push dword [ebp - 0xb8]
call fcn.004d5ca0
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 0x40c071
push edi
mov edx, 0x53e6cc
lea ecx, [ebp - 0x2c]
call fcn.0040f880
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.00403fc0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 8
jb 0x40c071
push dword [ebp - 0x2c]
call fcn.004d5ca0
add esp, 4
push 0x40
lea eax, [ebp - 0x98]
push 0
push eax
call fcn.004e0b50
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 0x40c1bc
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.004046b0
mov edx, esi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb8]
call fcn.00415770
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.00403fc0
mov byte [ebp - 4], 4
cmp dword [ebp - 0xa4], 8
jb 0x40c164
push dword [ebp - 0xb8]
call fcn.004d5ca0
add esp, 4
sub esp, 0x18
mov ecx, 0x562bd0
mov eax, esp
push str.install_fail
mov dword [eax + 0x10], 0
call fcn.0041c390
cmp dword [ebp - 0x18], 8
jb 0x40c190
push dword [ebp - 0x2c]
call fcn.004d5ca0
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 0x40c1b5
push dword [ebp - 0x44]
call fcn.004d5ca0
add esp, 4
xor al, al
jmp 0x40c2f3
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 0x40c1e0
push dword [ebp - 0x44]
call fcn.004d5ca0
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 0x40c2d6
push str.errExitCode_
lea ecx, [ebp - 0x2c]
call fcn.004047e0
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.00415770
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.00403fc0
mov byte [ebp - 4], 6
cmp dword [ebp - 0xa4], 8
jb 0x40c27f
push dword [ebp - 0xb8]
call fcn.004d5ca0
add esp, 4
sub esp, 0x18
mov ecx, 0x562bd0
mov eax, esp
push str.install_success
mov dword [eax + 0x10], 0
call fcn.0041c390
call ebx
sub eax, dword [ebp + 8]
sub esp, 0x18
mov edx, esp
mov dword [edx], 0x53eeb0
mov ecx, 0x562bd0
mov dword [edx + 4], eax
push str.downloader_full_duration
mov dword [edx + 0x10], edx
mov byte [ebp - 4], 6
call fcn.0041c390
cmp dword [ebp - 0x18], 8
jb 0x40c2f1
push dword [ebp - 0x2c]
call fcn.004d5ca0
add esp, 4
jmp 0x40c2f1
sub esp, 0x18
mov ecx, 0x562bd0
mov eax, esp
push str.install_fail
mov dword [eax + 0x10], 0
call fcn.0041c390
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.004d5c82
mov esp, ebp
pop ebp
ret