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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50dc9e
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x554910]
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, 0x53a120
mov dword [ebp - 0xcc], eax
lea ecx, [ebp - 0xe4]
call fcn.0040f4d0
add esp, 4
push 0x53a120
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 0
push eax
call fcn.004048c0
add esp, 0xc
mov byte [ebp - 4], 2
cmp dword [ebp - 0xd0], 8
jb 0x415d45
push dword [ebp - 0xe4]
call fcn.0047b130
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 0x415da7
push edi
mov edx, 0x538620
lea ecx, [ebp - 0xfc]
call fcn.0040f4d0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.00402ce0
mov byte [ebp - 4], 2
cmp dword [ebp - 0xe8], 8
jb 0x415da7
push dword [ebp - 0xfc]
call fcn.0047b130
add esp, 4
push 0x40
lea eax, [ebp - 0xc4]
push 0
push eax
call fcn.004dc990
add esp, 0xc
mov dword [ebp - 0xc8], 0x44
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x80]
lea eax, [ebp - 0x58]
mov dword [ebp - 0xc4], 0
cmovae eax, dword [ebp - 0x58]
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0xc0], 0
push ecx
push 0
push 0
push 0x10
push 0
push 0
push 0
push eax
push 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0x9c], 1
mov dword [ebp - 0x98], 5
mov dword [ebp - 0x94], 0
movdqu xmmword [ebp - 0x80], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x416143
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.00403480
mov edx, esi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xfc]
call fcn.0041e270
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.00402ce0
mov byte [ebp - 4], 4
cmp dword [ebp - 0xe8], 8
jb 0x415ea3
push dword [ebp - 0xfc]
call fcn.0047b130
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.00403480
mov byte [ebp - 4], 6
mov eax, dword [0x55d814]
test eax, eax
jne 0x415f20
push 0x4f0
call fcn.004d26a3
mov esi, eax
add esp, 4
mov dword [ebp - 0xcc], esi
mov byte [ebp - 4], 7
test esi, esi
je 0x415f15
push 0x4f0
push 0
push esi
call fcn.004dc990
add esp, 0xc
mov ecx, esi
call fcn.00410f80
jmp 0x415f17
xor eax, eax
mov byte [ebp - 4], 6
mov dword [0x55d814], eax
lea ecx, [ebp - 0xfc]
push ecx
mov ecx, eax
call fcn.00413200
push 0x537d10
push eax
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 8
push eax
call fcn.004048c0
add esp, 0xc
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 9
push ecx
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.0040f5c0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0xa
mov eax, dword [0x55d814]
test eax, eax
jne 0x415fac
push 0x4f0
call fcn.004d26a3
mov esi, eax
add esp, 4
mov dword [ebp - 0xcc], esi
mov byte [ebp - 4], 0xb
test esi, esi
je 0x415fa1
push 0x4f0
push 0
push esi
call fcn.004dc990
add esp, 0xc
mov ecx, esi
call fcn.00410f80
jmp 0x415fa3
xor eax, eax
mov byte [ebp - 4], 0xa
mov dword [0x55d814], eax
push edi
lea ecx, [ebp - 0xe4]
push ecx
mov ecx, eax
call fcn.004182f0
cmp dword [ebp - 0x14], 8
jb 0x415fcc
push dword [ebp - 0x28]
call fcn.0047b130
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x100], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x415ff7
push dword [ebp - 0x114]
call fcn.0047b130
add esp, 4
xor eax, eax
mov dword [ebp - 0x100], 7
cmp dword [ebp - 0xe8], 8
mov dword [ebp - 0x104], 0
mov word [ebp - 0x114], ax
jb 0x41602b
push dword [ebp - 0xfc]
call fcn.0047b130
add esp, 4
xor eax, eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0xd0], 8
mov dword [ebp - 0xe8], 7
mov dword [ebp - 0xec], 0
mov word [ebp - 0xfc], ax
jb 0x416063
push dword [ebp - 0xe4]
call fcn.0047b130
add esp, 4
xor eax, eax
mov dword [ebp - 0xd0], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0xe4], ax
lea ecx, [ebp - 0xe4]
lea eax, [ebp - 0x40]
mov dword [ebp - 0xd4], 0
push eax
call fcn.00403060
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xcc], ecx
mov dword [ecx + 0x10], 0
push ecx
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 0xd
push eax
call fcn.0041b8c0
push str.complete_install
mov ecx, 0x55d860
mov byte [ebp - 4], 0xc
call fcn.00421080
mov byte [ebp - 4], 4
cmp dword [ebp - 0xd0], 8
jb 0x4160e3
push dword [ebp - 0xe4]
call fcn.0047b130
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 0x486
push str.install_player
call fcn.00431920
add esp, 0x10
cmp dword [ebp - 0x2c], 8
jb 0x416117
push dword [ebp - 0x40]
call fcn.0047b130
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 0x41613c
push dword [ebp - 0x58]
call fcn.0047b130
add esp, 4
xor al, al
jmp 0x416639
push dword [ebp - 0x7c]
mov esi, dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x44], 8
jb 0x416167
push dword [ebp - 0x58]
call fcn.0047b130
add esp, 4
push str.install_player_wait
xor eax, eax
mov dword [ebp - 0x44], 7
push 0x48e
push str.install_player
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.00431920
add esp, 0xc
push 0x2bf20
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ecx, ecx
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], cx
mov dword [ebp - 4], 0xe
test eax, eax
jne 0x4162fc
push str.errExitCode_
lea ecx, [ebp - 0x28]
call fcn.004035b0
mov byte [ebp - 4], 0xf
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 - 0xfc]
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.0041e270
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x10
call fcn.00402ce0
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0xe8], 8
jb 0x416239
push dword [ebp - 0xfc]
call fcn.0047b130
add esp, 4
push str.download_installComplete
lea ecx, [ebp - 0x114]
call fcn.004035b0
lea eax, [ebp - 0xfc]
mov byte [ebp - 4], 0x11
push eax
call fcn.00411380
mov ecx, eax
call fcn.00413200
push eax
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 0x12
push eax
call fcn.00411380
mov ecx, eax
call fcn.004182f0
cmp dword [ebp - 0xe8], 8
jb 0x41628f
push dword [ebp - 0xfc]
call fcn.0047b130
add esp, 4
xor eax, eax
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x100], 8
mov dword [ebp - 0xe8], 7
mov dword [ebp - 0xec], 0
mov word [ebp - 0xfc], ax
jb 0x4162c7
push dword [ebp - 0x114]
call fcn.0047b130
add esp, 4
push str.install_player_complete
push 0x497
push str.install_player
call fcn.00431920
add esp, 0xc
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x14], 8
jb 0x4165aa
push dword [ebp - 0x28]
call fcn.0047b130
add esp, 4
jmp 0x4165aa
push str.download_installComplete
cmp eax, 0x102
jne 0x41643b
lea ecx, [ebp - 0xe4]
call fcn.004035b0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x13
push eax
call fcn.00411380
mov ecx, eax
call fcn.00413200
push 0x537d10
push eax
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 0x14
push eax
call fcn.004048c0
add esp, 0xc
push str.errWaitTimeout
push eax
lea eax, [ebp - 0xfc]
mov byte [ebp - 4], 0x15
push eax
call fcn.004048c0
add esp, 0xc
push eax
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 0x16
push eax
call fcn.00411380
mov ecx, eax
call fcn.004182f0
cmp dword [ebp - 0xe8], 8
jb 0x41638c
push dword [ebp - 0xfc]
call fcn.0047b130
add esp, 4
xor eax, eax
mov dword [ebp - 0xe8], 7
cmp dword [ebp - 0x100], 8
mov dword [ebp - 0xec], 0
mov word [ebp - 0xfc], ax
jb 0x4163c0
push dword [ebp - 0x114]
call fcn.0047b130
add esp, 4
xor eax, eax
mov dword [ebp - 0x100], 7
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x104], 0
mov word [ebp - 0x114], ax
jb 0x4163ee
push dword [ebp - 0x28]
call fcn.0047b130
add esp, 4
xor eax, eax
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0xd0], 8
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x41641d
push dword [ebp - 0xe4]
call fcn.0047b130
add esp, 4
push 7
push str.timeout
lea ecx, [ebp - 0x70]
call fcn.00403480
push str.install_player_timeout
push 0x49c
jmp 0x41659d
lea ecx, [ebp - 0xfc]
cmp eax, 0xffffffff
jne 0x4164f6
call fcn.004035b0
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 0x17
push eax
call fcn.00411380
mov ecx, eax
call fcn.00413200
push 0x537d10
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x18
push eax
call fcn.004048c0
add esp, 0xc
push str.errWaitFailed
push eax
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 0x19
push eax
call fcn.004048c0
add esp, 0xc
push eax
lea eax, [ebp - 0xfc]
mov byte [ebp - 4], 0x1a
push eax
call fcn.00411380
mov ecx, eax
call fcn.004182f0
lea ecx, [ebp - 0x114]
call fcn.00402f00
lea ecx, [ebp - 0x28]
call fcn.00402f00
lea ecx, [ebp - 0xe4]
call fcn.00402f00
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 0xe
call fcn.00402f00
push str.failed
lea ecx, [ebp - 0x70]
call fcn.0040ea10
push str.install_player_failed
push 0x4a1
jmp 0x41659d
call fcn.004035b0
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 0x1b
push eax
call fcn.00411380
mov ecx, eax
call fcn.00413200
push 0x537d10
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x1c
push eax
call fcn.004048c0
add esp, 0xc
push str.errUnknown
push eax
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 0x1d
push eax
call fcn.004048c0
add esp, 0xc
push eax
lea eax, [ebp - 0xfc]
mov byte [ebp - 4], 0x1e
push eax
call fcn.00411380
mov ecx, eax
call fcn.004182f0
lea ecx, [ebp - 0x114]
call fcn.00402f00
lea ecx, [ebp - 0x28]
call fcn.00402f00
lea ecx, [ebp - 0xe4]
call fcn.00402f00
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 0xe
call fcn.00402f00
push str.failed_unknow
lea ecx, [ebp - 0x70]
call fcn.0040ea10
push str.install_player_unknow_error
push 0x4a6
push str.install_player
call fcn.00431920
add esp, 0xc
xor eax, eax
mov dword [ebp - 0xd0], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0xe4], ax
lea ecx, [ebp - 0xe4]
lea eax, [ebp - 0x70]
mov dword [ebp - 0xd4], 0
push eax
call fcn.00403060
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x118], ecx
mov dword [ecx + 0x10], 0
push ecx
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 0x20
push eax
call fcn.0041b950
push str.complete_install
mov ecx, 0x55d860
mov byte [ebp - 4], 0x1f
call fcn.00421080
cmp dword [ebp - 0xd0], 8
jb 0x416626
push dword [ebp - 0xe4]
call fcn.0047b130
add esp, 4
cmp dword [ebp - 0x5c], 8
jb 0x416637
push dword [ebp - 0x70]
call fcn.0047b130
add esp, 4
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.004d2694
mov esp, ebp
pop ebp
ret