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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d8ba
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x55b4e0]
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, 0x5385fc
mov dword [ebp - 0xcc], eax
lea ecx, [ebp - 0xe4]
call fcn.004094b0
add esp, 4
push 0x5385fc
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00408df0
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0xd0], 8
jb 0x41d3a5
push dword [ebp - 0xe4]
call fcn.004b6db0
add esp, 4
xor eax, eax
mov dword [ebp - 0xd0], 7
mov dword [ebp - 0xd4], 0
mov word [ebp - 0xe4], ax
cmp dword [edi + 0x10], eax
je 0x41d407
push edi
mov edx, 0x538600
lea ecx, [ebp - 0xc8]
call fcn.004094b0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.00408f10
mov byte [ebp - 4], 2
cmp dword [ebp - 0xb4], 8
jb 0x41d407
push dword [ebp - 0xc8]
call fcn.004b6db0
add esp, 4
push 0x40
lea eax, [ebp - 0xac]
push 0
push eax
call fcn.004d8de0
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 0x41d71d
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.00407010
mov edx, esi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc8]
call fcn.004098d0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.00408f10
mov byte [ebp - 4], 4
cmp dword [ebp - 0xb4], 8
jb 0x41d4fd
push dword [ebp - 0xc8]
call fcn.004b6db0
add esp, 4
push 0x18
xor eax, eax
mov dword [ebp - 0xd0], 7
push str.download_installComplete
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xd4], 0
mov word [ebp - 0xe4], ax
call fcn.00407010
mov byte [ebp - 4], 6
mov eax, dword [0x564834]
test eax, eax
jne 0x41d57a
push 0x4a0
call fcn.004cfe82
mov esi, eax
add esp, 4
mov dword [ebp - 0xcc], esi
mov byte [ebp - 4], 7
test esi, esi
je 0x41d56f
push 0x4a0
push 0
push esi
call fcn.004d8de0
add esp, 0xc
mov ecx, esi
call fcn.00417c20
jmp 0x41d571
xor eax, eax
mov byte [ebp - 4], 6
mov dword [0x564834], eax
lea ecx, [ebp - 0xc8]
push ecx
mov ecx, eax
call fcn.00419e20
push 0x5399e0
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xfc]
call fcn.00408df0
add esp, 4
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 9
push ecx
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.00408e90
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0xa
mov eax, dword [0x564834]
test eax, eax
jne 0x41d606
push 0x4a0
call fcn.004cfe82
mov esi, eax
add esp, 4
mov dword [ebp - 0xcc], esi
mov byte [ebp - 4], 0xb
test esi, esi
je 0x41d5fb
push 0x4a0
push 0
push esi
call fcn.004d8de0
add esp, 0xc
mov ecx, esi
call fcn.00417c20
jmp 0x41d5fd
xor eax, eax
mov byte [ebp - 4], 0xa
mov dword [0x564834], eax
push edi
lea ecx, [ebp - 0xe4]
push ecx
mov ecx, eax
call fcn.0041fe80
cmp dword [ebp - 0x14], 8
jb 0x41d626
push dword [ebp - 0x28]
call fcn.004b6db0
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0xe8], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x41d651
push dword [ebp - 0xfc]
call fcn.004b6db0
add esp, 4
xor eax, eax
mov dword [ebp - 0xe8], 7
cmp dword [ebp - 0xb4], 8
mov dword [ebp - 0xec], 0
mov word [ebp - 0xfc], ax
jb 0x41d685
push dword [ebp - 0xc8]
call fcn.004b6db0
add esp, 4
xor eax, eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0xd0], 8
mov dword [ebp - 0xb4], 7
mov dword [ebp - 0xb8], 0
mov word [ebp - 0xc8], ax
jb 0x41d6bd
push dword [ebp - 0xe4]
call fcn.004b6db0
add esp, 4
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
push str.install_player_error_:__s
push 0x3d3
push str.install_player
call fcn.0040c6c0
add esp, 0x10
cmp dword [ebp - 0x2c], 8
jb 0x41d6f1
push dword [ebp - 0x40]
call fcn.004b6db0
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 0x41d716
push dword [ebp - 0x58]
call fcn.004b6db0
add esp, 4
xor al, al
jmp 0x41db56
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 0x41d741
push dword [ebp - 0x58]
call fcn.004b6db0
add esp, 4
push str.install_player_wait
xor eax, eax
mov dword [ebp - 0x44], 7
push 0x3db
push str.install_player
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.0040c6c0
add esp, 0xc
push 0x2bf20
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x41d8ba
push str.errExitCode_
lea ecx, [ebp - 0x28]
call fcn.00407110
mov dword [ebp - 4], 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
sub ecx, dword [ebp - 0xcc]
mul ecx
mov eax, 0x88888889
lea ecx, [ebp - 0xc8]
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.004098d0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call fcn.00408f10
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0xb4], 8
jb 0x41d7fb
push dword [ebp - 0xc8]
call fcn.004b6db0
add esp, 4
push str.download_installComplete
lea ecx, [ebp - 0xfc]
call fcn.00407110
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0xe
push eax
call fcn.00418020
mov ecx, eax
call fcn.00419e20
push eax
lea eax, [ebp - 0xfc]
mov byte [ebp - 4], 0xf
push eax
call fcn.00418020
mov ecx, eax
call fcn.0041fe80
cmp dword [ebp - 0xb4], 8
jb 0x41d851
push dword [ebp - 0xc8]
call fcn.004b6db0
add esp, 4
xor eax, eax
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0xe8], 8
mov dword [ebp - 0xb4], 7
mov dword [ebp - 0xb8], 0
mov word [ebp - 0xc8], ax
jb 0x41d889
push dword [ebp - 0xfc]
call fcn.004b6db0
add esp, 4
push str.install_player_complete
push 0x3e2
push str.install_player
call fcn.0040c6c0
add esp, 0xc
cmp dword [ebp - 0x14], 8
jb 0x41db54
push dword [ebp - 0x28]
call fcn.004b6db0
add esp, 4
jmp 0x41db54
push str.download_installComplete
cmp eax, 0x102
jne 0x41d9f0
lea ecx, [ebp - 0xe4]
call fcn.00407110
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0x10
push eax
call fcn.00418020
mov ecx, eax
call fcn.00419e20
push 0x5399e0
mov edx, eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xfc]
call fcn.00408df0
add esp, 4
push str.errWaitTimeout
mov edx, eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xc8]
call fcn.00408df0
add esp, 4
push eax
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 0x13
push eax
call fcn.00418020
mov ecx, eax
call fcn.0041fe80
cmp dword [ebp - 0xb4], 8
jb 0x41d94d
push dword [ebp - 0xc8]
call fcn.004b6db0
add esp, 4
xor eax, eax
mov dword [ebp - 0xb4], 7
cmp dword [ebp - 0xe8], 8
mov dword [ebp - 0xb8], 0
mov word [ebp - 0xc8], ax
jb 0x41d981
push dword [ebp - 0xfc]
call fcn.004b6db0
add esp, 4
xor eax, eax
mov dword [ebp - 0xe8], 7
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0xec], 0
mov word [ebp - 0xfc], ax
jb 0x41d9af
push dword [ebp - 0x28]
call fcn.004b6db0
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0xd0], 8
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x41d9e1
push dword [ebp - 0xe4]
call fcn.004b6db0
add esp, 4
push str.install_player_timeout
push 0x3e6
jmp 0x41db47
cmp eax, 0xffffffff
jne 0x41daa4
lea ecx, [ebp - 0xc8]
call fcn.00407110
lea eax, [ebp - 0xe4]
mov dword [ebp - 4], 0x14
push eax
call fcn.00418020
mov ecx, eax
call fcn.00419e20
push 0x5399e0
mov edx, eax
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x28]
call fcn.00408df0
add esp, 4
push str.errWaitFailed
mov edx, eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xfc]
call fcn.00408df0
add esp, 4
push eax
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0x17
push eax
call fcn.00418020
mov ecx, eax
call fcn.0041fe80
lea ecx, [ebp - 0xfc]
call fcn.00407880
lea ecx, [ebp - 0x28]
call fcn.00407880
lea ecx, [ebp - 0xe4]
call fcn.00407880
lea ecx, [ebp - 0xc8]
mov dword [ebp - 4], 0xffffffff
call fcn.00407880
push str.install_player_failed
push 0x3ea
jmp 0x41db47
lea ecx, [ebp - 0x40]
call fcn.00407110
lea eax, [ebp - 0x114]
mov dword [ebp - 4], 0x18
push eax
call fcn.00418020
mov ecx, eax
call fcn.00419e20
push 0x5399e0
mov edx, eax
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x12c]
call fcn.00408df0
add esp, 4
push str.errUnknown
mov edx, eax
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x144]
call fcn.00408df0
add esp, 4
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x1b
push eax
call fcn.00418020
mov ecx, eax
call fcn.0041fe80
lea ecx, [ebp - 0x144]
call fcn.00407880
lea ecx, [ebp - 0x12c]
call fcn.00407880
lea ecx, [ebp - 0x114]
call fcn.00407880
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.00407880
push str.install_player_unknow_error
push 0x3ee
push str.install_player
call fcn.0040c6c0
add esp, 0xc
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.004cfd33
mov esp, ebp
pop ebp
ret