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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5132fc
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, 0x5418c8
mov dword [ebp - 0xa0], eax
lea ecx, [ebp - 0xb8]
call fcn.00410760
add esp, 4
push 0x5418c8
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 0
push eax
call fcn.00410660
add esp, 0xc
mov byte [ebp - 4], 2
cmp dword [ebp - 0xa4], 8
jb 0x40ced8
push dword [ebp - 0xb8]
call fcn.004d83c0
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 0x40cf31
push edi
mov edx, 0x5418cc
lea ecx, [ebp - 0x2c]
call fcn.00410760
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.00404150
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 8
jb 0x40cf31
push dword [ebp - 0x2c]
call fcn.004d83c0
add esp, 4
push 0x40
lea eax, [ebp - 0x98]
push 0
push eax
call fcn.004e3230
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 0x40d07c
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.00404840
mov edx, esi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb8]
call fcn.00416630
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.00404150
mov byte [ebp - 4], 4
cmp dword [ebp - 0xa4], 8
jb 0x40d024
push dword [ebp - 0xb8]
call fcn.004d83c0
add esp, 4
sub esp, 0x18
mov ecx, 0x5673d0
mov eax, esp
push str.install_fail
mov dword [eax + 0x10], 0
call fcn.0041d240
cmp dword [ebp - 0x18], 8
jb 0x40d050
push dword [ebp - 0x2c]
call fcn.004d83c0
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 0x40d075
push dword [ebp - 0x44]
call fcn.004d83c0
add esp, 4
xor al, al
jmp 0x40d1b3
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 0x40d0a0
push dword [ebp - 0x44]
call fcn.004d83c0
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 0x40d196
push str.errExitCode_
lea ecx, [ebp - 0x2c]
call fcn.00404970
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.00416630
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.00404150
mov byte [ebp - 4], 6
cmp dword [ebp - 0xa4], 8
jb 0x40d13f
push dword [ebp - 0xb8]
call fcn.004d83c0
add esp, 4
sub esp, 0x18
mov ecx, 0x5673d0
mov eax, esp
push str.install_success
mov dword [eax + 0x10], 0
call fcn.0041d240
call ebx
sub eax, dword [ebp + 8]
sub esp, 0x18
mov edx, esp
mov dword [edx], 0x5420b0
mov ecx, 0x5673d0
mov dword [edx + 4], eax
push str.downloader_full_duration
mov dword [edx + 0x10], edx
mov byte [ebp - 4], 6
call fcn.0041d240
cmp dword [ebp - 0x18], 8
jb 0x40d1b1
push dword [ebp - 0x2c]
call fcn.004d83c0
add esp, 4
jmp 0x40d1b1
sub esp, 0x18
mov ecx, 0x5673d0
mov eax, esp
push str.install_fail
mov dword [eax + 0x10], 0
call fcn.0041d240
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.004d83a6
mov esp, ebp
pop ebp
ret