Function at 0x427c26
Capabilities:
Check for time delay via gettickcount
Write file on windows

Disassembly:
push ebp
sub esp, 0x6c
lea ebp, [esp - 4]
mov eax, dword [0x4ff5d0]
xor eax, ebp
mov dword [ebp + 0x6c], eax
push 0x50
mov eax, 0x4bedf5
call fcn.004943c6
mov edi, dword [ebp + 0x78]
xor ebx, ebx
mov esi, ecx
mov dword [ebp + 0x34], esi
mov dword [ebp + 0x30], edi
cmp dword [edi + 0x18], ebx
je 0x427c77
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x6c]
xor ecx, ebp
call fcn.00493f43
add ebp, 0x70
leave
ret 4
push ebx
lea eax, [edi + 0x94]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004183e0
add esp, 0xc
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.0040d59a
test al, al
je 0x427caa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00472320
mov eax, ebx
jmp 0x427c58
lea eax, [edi + 0xac]
push str.player
push eax
mov dword [ebp + 0xc], ebx
mov dword [edi + 0x18], 1
call fcn.0040d604
pop ecx
pop ecx
test al, al
jne 0x427ce6
lea eax, [edi + 0xb4]
push str.restore
push eax
call fcn.0040d604
pop ecx
pop ecx
test al, al
je 0x4283ff
lea ecx, [ebp + 0x10]
call fcn.00472090
push str._playerlaunch_checksum____r_n
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.004727a0
lea eax, [esi + 0x1a4]
push eax
lea eax, [ebp + 0x28]
push str.___stub_locale_
push eax
call fcn.00472c70
push str.__version_
push eax
lea eax, [ebp + 0x20]
push eax
mov byte [ebp - 4], 2
call fcn.00472c20
push 0x4d42e0
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 3
call fcn.00472c20
push str.__lang_
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 4
call fcn.00472c20
lea ecx, [esi + 0x18c]
push ecx
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 5
call fcn.00472bd0
push str._____r_n
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 6
call fcn.00472c20
add esp, 0x48
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 7
call fcn.00472880
lea ecx, [ebp + 8]
mov byte [ebp - 4], 6
call fcn.00472320
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.00472320
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00472320
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00472320
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 2
call fcn.00472320
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 1
call fcn.00472320
lea eax, [edi + 0x3c]
push eax
lea eax, [ebp - 0x1c]
push str.___program_name_
push eax
call fcn.00472c70
mov byte [ebp - 4], 8
mov ebx, str.__cmdline_
push ebx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00472c20
lea ecx, [ebp - 0x24]
push ecx
push eax
lea eax, [ebp + 0x20]
push eax
mov byte [ebp - 4], 9
call fcn.00472bd0
mov esi, 0x4d42a8
push esi
push eax
lea eax, [ebp + 0x28]
push eax
mov byte [ebp - 4], 0xa
call fcn.00472c20
add esp, 0x30
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0xb
call fcn.00472880
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 0xa
call fcn.00472320
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 9
call fcn.00472320
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.00472320
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00472320
lea ecx, [edi + 0x9c]
call fcn.0040d59a
test al, al
jne 0x427f17
lea ecx, [edi + 0xa4]
call fcn.0040d59a
test al, al
jne 0x427f17
lea eax, [edi + 0x9c]
push eax
lea eax, [ebp + 0x20]
push str.wndclass_
push eax
call fcn.00472c70
push esi
push eax
lea eax, [ebp + 0x28]
push eax
mov byte [ebp - 4], 0xc
call fcn.00472c20
add esp, 0x18
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0xd
call fcn.00472880
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 0xc
call fcn.00472320
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 1
call fcn.00472320
lea eax, [edi + 0xa4]
push eax
lea eax, [ebp + 0x20]
push str.wndtitle_
push eax
call fcn.00472c70
push esi
push eax
lea eax, [ebp + 0x28]
push eax
mov byte [ebp - 4], 0xe
call fcn.00472c20
add esp, 0x18
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0xf
call fcn.00472880
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 0xe
call fcn.00472320
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 1
call fcn.00472320
add edi, 0xb4
mov ecx, edi
call fcn.0040d59a
test al, al
jne 0x427f6e
push edi
lea eax, [ebp + 0x20]
push str.method_
push eax
call fcn.00472c70
push esi
push eax
lea eax, [ebp + 0x28]
push eax
mov byte [ebp - 4], 0x10
call fcn.00472c20
add esp, 0x18
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0x11
call fcn.00472880
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 0x10
call fcn.00472320
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 1
call fcn.00472320
push 0x4d427c
lea ecx, [ebp + 0x10]
call fcn.004727a0
push str.__playerlaunch_
lea ecx, [ebp + 0x10]
call fcn.004727a0
xor eax, eax
push 8
pop ecx
mov byte [ebp + 0x5c], al
mov byte [ebp + 0x38], 0
lea edi, [ebp + 0x39]
rep stosd dword es:[edi], eax
lea edi, [ebp + 0x5d]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp + 0x5c]
push eax
lea ecx, [ebp + 0x10]
call fcn.004720a0
push eax
push 0
lea ecx, [ebp + 0x10]
call fcn.00472db0
push eax
call fcn.00419dd3
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [ebp + 0x10]
call fcn.00472e40
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp + 0x5c]
push eax
call fcn.00419d9e
pop ecx
pop ecx
lea ecx, [ebp]
mov edi, eax
call fcn.00472090
push edi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x12
call fcn.00472340
push eax
lea eax, [ebp + 0x20]
push str._playerlaunch_checksum_
push eax
mov byte [ebp - 4], 0x13
call fcn.00472c70
push 0x4d4248
push eax
lea eax, [ebp + 0x28]
push eax
mov byte [ebp - 4], 0x14
call fcn.00472c20
add esp, 0x18
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 0x15
call fcn.00472880
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 0x14
call fcn.00472320
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0x13
call fcn.00472320
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x12
call fcn.00472320
mov edi, dword [ebp + 0x34]
lea eax, [edi + 0x1a4]
push eax
push str.___stub_locale_
lea eax, [ebp + 8]
push eax
call fcn.00472c70
push str.__version_
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 0x16
call fcn.00472c20
push 0x4d42e0
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 0x17
call fcn.00472c20
push str.__lang_
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 0x18
call fcn.00472c20
lea ecx, [edi + 0x18c]
push ecx
push eax
lea eax, [ebp + 0x20]
push eax
mov byte [ebp - 4], 0x19
call fcn.00472bd0
push str._____r_n
push eax
lea eax, [ebp + 0x28]
push eax
mov byte [ebp - 4], 0x1a
call fcn.00472c20
add esp, 0x48
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 0x1b
call fcn.00472880
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 0x1a
call fcn.00472320
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0x19
call fcn.00472320
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x18
call fcn.00472320
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x17
call fcn.00472320
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x16
call fcn.00472320
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x12
call fcn.00472320
mov edi, dword [ebp + 0x30]
lea eax, [edi + 0x3c]
push eax
lea eax, [ebp - 0x1c]
push str.___program_name_
push eax
call fcn.00472c70
push ebx
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 0x1c
call fcn.00472c20
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x1d
push ecx
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.00472bd0
push esi
push eax
lea eax, [ebp + 0x28]
push eax
mov byte [ebp - 4], 0x1e
call fcn.00472c20
add esp, 0x30
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 0x1f
call fcn.00472880
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 0x1e
call fcn.00472320
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0x1d
call fcn.00472320
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x1c
call fcn.00472320
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x12
call fcn.00472320
add edi, 0x9c
mov ecx, edi
call fcn.0040d59a
test al, al
jne 0x42825b
mov ebx, dword [ebp + 0x30]
add ebx, 0xa4
mov ecx, ebx
call fcn.0040d59a
test al, al
jne 0x42825b
push edi
lea eax, [ebp + 0x20]
push str.wndclass_
push eax
call fcn.00472c70
push esi
push eax
lea eax, [ebp + 0x28]
push eax
mov byte [ebp - 4], 0x20
call fcn.00472c20
add esp, 0x18
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 0x21
call fcn.00472880
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 0x20
call fcn.00472320
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0x12
call fcn.00472320
push ebx
lea eax, [ebp + 0x20]
push str.wndtitle_
push eax
call fcn.00472c70
push esi
push eax
lea eax, [ebp + 0x28]
push eax
mov byte [ebp - 4], 0x22
call fcn.00472c20
add esp, 0x18
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 0x23
call fcn.00472880
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 0x22
call fcn.00472320
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0x12
call fcn.00472320
mov edi, dword [ebp + 0x30]
add edi, 0xb4
mov ecx, edi
call fcn.0040d59a
test al, al
jne 0x4282b5
push edi
lea eax, [ebp + 0x20]
push str.method_
push eax
call fcn.00472c70
push esi
push eax
lea eax, [ebp + 0x28]
push eax
mov byte [ebp - 4], 0x24
call fcn.00472c20
add esp, 0x18
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 0x25
call fcn.00472880
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 0x24
call fcn.00472320
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0x12
call fcn.00472320
push 0x4d427c
lea ecx, [ebp]
call fcn.004727a0
push str.__playerlaunch_
lea ecx, [ebp]
call fcn.004727a0
lea eax, [ebp - 0x5c]
push eax
call fcn.0047b770
pop ecx
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x26
call fcn.0047b5b0
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 0x27
call fcn.004720a0
cmp byte [ebp + 0x1f], 0xff
lea ecx, [ebp + 0x18]
jne 0x428301
mov ecx, dword [ebp + 0x18]
cmp byte [ecx + eax - 1], 0x5c
je 0x428315
push 0x4d19a0
lea ecx, [ebp + 0x18]
call fcn.004727a0
push 0x4d4234
lea ecx, [ebp + 0x18]
call fcn.004727a0
cmp byte [ebp + 0x1f], 0xff
lea eax, [ebp + 0x18]
jne 0x42832e
mov eax, dword [ebp + 0x18]
xor edi, edi
push edi
push eax
call fcn.0040e521
pop ecx
pop ecx
push str.launch.xml
lea ecx, [ebp + 0x18]
call fcn.004727a0
cmp byte [ebp + 0x1f], 0xff
lea eax, [ebp + 0x18]
jne 0x428352
mov eax, dword [ebp + 0x18]
push 0x4d23fc
push eax
call fcn.00494eaf
mov esi, eax
pop ecx
pop ecx
cmp esi, edi
je 0x428396
push esi
push 1
lea ecx, [ebp]
call fcn.004720a0
push eax
push edi
lea ecx, [ebp]
call fcn.00472db0
push eax
call fcn.0049ab1a
add esp, 0x10
push 0xffffffffffffffff
lea ecx, [ebp]
call fcn.00472e40
push esi
call fcn.00494a18
pop ecx
jmp 0x4283c0
push str.actionerrorvaluecreate_xml
lea ecx, [ebp + 8]
call fcn.00472340
mov ecx, dword [ebp + 0x34]
mov eax, dword [ecx]
push edi
lea edx, [ebp + 8]
push edx
mov byte [ebp - 4], 0x28
call dword [eax + 0x10]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x27
call fcn.00472320
lea ecx, [ebp + 0x18]
mov dword [ebp + 0xc], 1
mov byte [ebp - 4], 0x26
call fcn.00472320
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x12
call fcn.0047b580
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.00472320
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0
call fcn.00472320
mov edi, dword [ebp + 0x30]
mov esi, dword [ebp + 0x34]
xor ebx, ebx
lea eax, [edi + 0xac]
push str.chrome
push eax
call fcn.0040d604
pop ecx
pop ecx
test al, al
je 0x42846e
lea eax, [ebp + 0x30]
push eax
xor esi, esi
inc esi
lea eax, [ebp - 0x24]
push esi
push eax
mov dword [ebp + 0x30], ebx
call fcn.0040def3
add esp, 0xc
test eax, eax
je 0x42860c
push 0x2710
push dword [ebp + 0x30]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
or dword [ebp + 0x34], 0xffffffff
lea eax, [ebp + 0x34]
push eax
push dword [ebp + 0x30]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x34], ebx
jne 0x42860c
mov dword [ebp + 0xc], esi
jmp 0x42860c
lea eax, [edi + 0xac]
push str.player
push eax
call fcn.0040d64c
pop ecx
pop ecx
test al, al
je 0x42860c
lea eax, [edi + 0xb4]
push str.minimized
push eax
mov dword [ebp + 0x34], 1
call fcn.0040d604
pop ecx
pop ecx
test al, al
jne 0x4284be
lea eax, [edi + 0xb4]
push str.restore
push eax
call fcn.0040d604
pop ecx
pop ecx
test al, al
je 0x4284c5
mov dword [ebp + 0x34], 6
lea eax, [ebp + 0x30]
push eax
push dword [ebp + 0x34]
lea eax, [ebp - 0x24]
push eax
mov dword [ebp + 0x30], ebx
call fcn.00412cb6
add esp, 0xc
test eax, eax
je 0x4284ef
push dword [ebp + 0x30]
mov dword [ebp + 0xc], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [edi + 0x4c]
push str.main
push eax
call fcn.0040d64c
pop ecx
pop ecx
test al, al
je 0x428594
cmp dword [edi + 0x1c], ebx
jne 0x428594
mov dword [edi + 0x1c], 1
mov dword [ebp + 0x34], str.true
cmp dword [ebp + 0xc], ebx
jne 0x42852a
mov dword [ebp + 0x34], str.false
add edi, 0x3c
push edi
lea eax, [ebp - 0x14]
push str.srcstubactionofferlaunchedvalue
push eax
call fcn.00472c70
push str.success
push eax
lea eax, [ebp + 0x20]
push eax
mov byte [ebp - 4], 0x29
call fcn.00472c20
push dword [ebp + 0x34]
mov byte [ebp - 4], 0x2a
push eax
lea eax, [ebp + 0x28]
push eax
call fcn.00472c20
add esp, 0x24
mov edx, dword [esi]
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 0x2b
call dword [edx + 0x10]
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 0x2a
call fcn.00472320
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0x29
call fcn.00472320
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00472320
cmp dword [esi + 0xbb4], ebx
je 0x42860c
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x34], ebx
call edi
mov dword [ebp + 0x1c], eax
jmp 0x4285d9
mov eax, str.Chrome
push eax
push eax
call fcn.004111e7
pop ecx
pop ecx
mov dword [ebp + 0x34], eax
cmp eax, ebx
je 0x4285ce
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4285e5
jmp 0x4285d9
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
call edi
sub eax, dword [ebp + 0x1c]
cmp eax, 0x2710
jb 0x4285ac
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [esi + 0x1fc]
push 0x13
push ebx
push ebx
push ebx
push ebx
cmp dword [ebp + 0x34], ebx
je 0x428603
push dword [ebp + 0x34]
jmp 0x428605
push 1
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ebx, dword [ebp + 0xc]
jmp 0x427c9a