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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5141bf
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
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, 0x54193c
mov dword [ebp - 0xb8], eax
lea ecx, [ebp - 0x44]
call fcn.00410fe0
add esp, 4
push 0x54193c
push eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 0
push eax
call fcn.00410ee0
add esp, 0xc
mov byte [ebp - 4], 2
cmp dword [ebp - 0x30], 8
jb 0x40d74f
push dword [ebp - 0x44]
call fcn.004d9140
add esp, 4
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
cmp dword [edi + 0x10], eax
je 0x40d79f
push edi
mov edx, 0x541940
lea ecx, [ebp - 0x2c]
call fcn.00410fe0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
call fcn.00404150
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 8
jb 0x40d79f
push dword [ebp - 0x2c]
call fcn.004d9140
add esp, 4
push 0x40
lea eax, [ebp - 0xb0]
push 0
push eax
call fcn.004e3f10
add esp, 0xc
mov dword [ebp - 0xb4], 0x44
cmp dword [ebp - 0x48], 8
lea ecx, [ebp - 0x6c]
lea eax, [ebp - 0x5c]
mov dword [ebp - 0xb0], 0
cmovae eax, dword [ebp - 0x5c]
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xac], 0
push ecx
push 0
push 0
push 0x10
push 0
push 0
push 0
push eax
push 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0x88], 1
mov dword [ebp - 0x84], 5
mov dword [ebp - 0x80], 0
movdqu xmmword [ebp - 0x6c], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40d8e9
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 - 0x44]
call fcn.00417370
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.00404150
cmp dword [ebp - 0x30], 8
jb 0x40d88b
push dword [ebp - 0x44]
call fcn.004d9140
add esp, 4
sub esp, 0x18
mov eax, esp
mov dword [eax], 0x5421d0
mov ecx, 0x567d20
push str.install_fail
mov dword [eax + 0x10], eax
mov byte [ebp - 4], 4
call fcn.0041df80
cmp dword [ebp - 0x18], 8
jb 0x40d8bd
push dword [ebp - 0x2c]
call fcn.004d9140
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
cmp dword [ebp - 0x48], 8
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
jb 0x40d8e2
push dword [ebp - 0x5c]
call fcn.004d9140
add esp, 4
xor al, al
jmp 0x40da3e
push dword [ebp - 0x68]
mov esi, dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x48], 8
jb 0x40d90d
push dword [ebp - 0x5c]
call fcn.004d9140
add esp, 4
push 0x2bf20
xor eax, eax
mov dword [ebp - 0x48], 7
push esi
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x40d9fa
push str.errExitCode_
lea ecx, [ebp - 0x44]
call fcn.00404970
mov dword [ebp - 4], 7
call ebx
mov ecx, eax
mov eax, 0x10624dd3
sub ecx, dword [ebp - 0xb8]
mul ecx
mov eax, 0x88888889
lea ecx, [ebp - 0x2c]
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.00417370
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 8
call fcn.00404150
mov byte [ebp - 4], 7
cmp dword [ebp - 0x18], 8
jb 0x40d9a3
push dword [ebp - 0x2c]
call fcn.004d9140
add esp, 4
sub esp, 0x18
mov ecx, 0x567d20
mov eax, esp
push str.install_success
mov dword [eax + 0x10], 0
call fcn.0041df80
call ebx
sub eax, dword [ebp + 8]
sub esp, 0x18
mov edx, esp
mov dword [edx], 0x5421b0
mov ecx, 0x567d20
mov dword [edx + 4], eax
push str.downloader_full_duration
mov dword [edx + 0x10], edx
mov byte [ebp - 4], 7
call fcn.0041df80
cmp dword [ebp - 0x30], 8
jb 0x40da3c
push dword [ebp - 0x44]
call fcn.004d9140
add esp, 4
jmp 0x40da3c
sub esp, 0x18
cmp eax, 0x102
jne 0x40da0e
mov eax, esp
mov dword [eax], 0x542190
jmp 0x40da23
cmp eax, 0xffffffff
mov eax, esp
jne 0x40da1d
mov dword [eax], 0x542170
jmp 0x40da23
mov dword [eax], 0x542150
push str.install_fail
mov ecx, 0x567d20
mov dword [eax + 0x10], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0041df80
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.004d9122
mov esp, ebp
pop ebp
ret