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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca5ec
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x50a8c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
mov edx, 0x4ead54
mov dword [ebp - 0xb4], eax
lea ecx, [ebp - 0x28]
call fcn.004082a0
add esp, 4
push 0x4ead54
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00407850
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x14], 8
jb 0x41b0ec
push dword [ebp - 0x28]
call fcn.0047ad70
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp dword [edi + 0x10], eax
je 0x41b13c
push edi
mov edx, 0x4ead58
lea ecx, [ebp - 0x40]
call fcn.004082a0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.00407d10
mov byte [ebp - 4], 2
cmp dword [ebp - 0x2c], 8
jb 0x41b13c
push dword [ebp - 0x40]
call fcn.0047ad70
add esp, 4
push 0x40
lea eax, [ebp - 0xac]
push 0
push eax
call fcn.0049fd20
add esp, 0xc
mov dword [ebp - 0xb0], 0x44
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x68]
lea eax, [ebp - 0x58]
mov dword [ebp - 0xac], 0
cmovae eax, dword [ebp - 0x58]
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xa8], 0
push ecx
push 0
push 0
push 0x10
push 0
push 0
push 0
push eax
push 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x80], 5
mov dword [ebp - 0x7c], 0
movdqu xmmword [ebp - 0x68], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41b2f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x2c], 7
push 0x11
xor eax, eax
mov dword [ebp - 0x30], 0
push str.errCreateProcess_
lea ecx, [ebp - 0x40]
mov word [ebp - 0x40], ax
call fcn.00406060
mov edx, esi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.004086c0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.00407d10
mov byte [ebp - 4], 4
cmp dword [ebp - 0x14], 8
jb 0x41b229
push dword [ebp - 0x28]
call fcn.0047ad70
add esp, 4
push 0x18
xor eax, eax
mov dword [ebp - 0x14], 7
push str.download_installComplete
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00406060
mov byte [ebp - 4], 6
mov eax, dword [0x5132ac]
test eax, eax
jne 0x41b29a
push 0x4b0
call fcn.00493c52
mov esi, eax
add esp, 4
mov dword [ebp - 0xb4], esi
mov byte [ebp - 4], 7
test esi, esi
je 0x41b28f
push 0x4b0
push 0
push esi
call fcn.0049fd20
add esp, 0xc
mov ecx, esi
call fcn.00415cd0
jmp 0x41b291
xor eax, eax
mov byte [ebp - 4], 6
mov dword [0x5132ac], eax
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.0041d110
cmp dword [ebp - 0x14], 8
jb 0x41b2ba
push dword [ebp - 0x28]
call fcn.0047ad70
add esp, 4
cmp dword [ebp - 0x2c], 8
jb 0x41b2cb
push dword [ebp - 0x40]
call fcn.0047ad70
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x44], 8
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x41b2f0
push dword [ebp - 0x58]
call fcn.0047ad70
add esp, 4
xor al, al
jmp 0x41b52c
push dword [ebp - 0x64]
mov esi, dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x44], 8
jb 0x41b31b
push dword [ebp - 0x58]
call fcn.0047ad70
add esp, 4
push 0x2bf20
xor eax, eax
mov dword [ebp - 0x44], 7
push esi
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x41b405
push str.errExitCode_
lea ecx, [ebp - 0x28]
call fcn.00406160
mov dword [ebp - 4], 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
sub ecx, dword [ebp - 0xb4]
mul ecx
mov eax, 0x88888889
lea ecx, [ebp - 0x40]
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.004086c0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.00407d10
mov byte [ebp - 4], 8
cmp dword [ebp - 0x2c], 8
jb 0x41b3b5
push dword [ebp - 0x40]
call fcn.0047ad70
add esp, 4
push str.download_installComplete
lea ecx, [ebp - 0x40]
call fcn.00406160
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00416070
mov ecx, eax
call fcn.0041d110
cmp dword [ebp - 0x2c], 8
jb 0x41b3eb
push dword [ebp - 0x40]
call fcn.0047ad70
add esp, 4
cmp dword [ebp - 0x14], 8
jb 0x41b52a
push dword [ebp - 0x28]
call fcn.0047ad70
add esp, 4
jmp 0x41b52a
cmp eax, 0x102
jne 0x41b484
push str.errWaitTimeout
lea ecx, [ebp - 0x40]
call fcn.00406160
push str.download_installComplete
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xb
call fcn.00406160
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00416070
mov ecx, eax
call fcn.0041d110
cmp dword [ebp - 0x14], 8
jb 0x41b456
push dword [ebp - 0x28]
call fcn.0047ad70
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x41b52a
push dword [ebp - 0x40]
call fcn.0047ad70
add esp, 4
jmp 0x41b52a
cmp eax, 0xffffffff
jne 0x41b4cf
push str.errWaitFailed
lea ecx, [ebp - 0x40]
call fcn.00406160
push str.download_installComplete
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xd
call fcn.00406160
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00416070
mov ecx, eax
call fcn.0041d110
lea ecx, [ebp - 0x28]
call fcn.00406960
lea ecx, [ebp - 0x40]
jmp 0x41b525
push str.errUnknown
lea ecx, [ebp - 0xe4]
call fcn.00406160
push str.download_installComplete
lea ecx, [ebp - 0xcc]
mov dword [ebp - 4], 0xf
call fcn.00406160
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.00416070
mov ecx, eax
call fcn.0041d110
lea ecx, [ebp - 0xcc]
call fcn.00406960
lea ecx, [ebp - 0xe4]
call fcn.00406960
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00493b03
mov esp, ebp
pop ebp
ret