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

Disassembly:
push ebp
sub esp, 0x6c
lea ebp, [esp - 4]
mov eax, dword [0x4fc5b0]
xor eax, ebp
mov dword [ebp + 0x6c], eax
push 0x50
mov eax, 0x4bd128
call fcn.00492516
mov edi, dword [ebp + 0x78]
xor ebx, ebx
mov esi, ecx
mov dword [ebp + 0x34], esi
mov dword [ebp + 0x18], edi
cmp dword [edi + 0x18], ebx
je 0x42746b
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.00492093
add ebp, 0x70
leave
ret 4
push ebx
lea eax, [edi + 0x94]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004113a0
add esp, 0xc
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.0040d4fd
test al, al
je 0x42749e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00470660
mov eax, ebx
jmp 0x42744c
lea eax, [edi + 0xac]
push str.player
push eax
mov dword [ebp - 0x10], ebx
mov dword [edi + 0x18], 1
call fcn.0040d567
pop ecx
pop ecx
test al, al
jne 0x4274da
lea eax, [edi + 0xb4]
push str.restore
push eax
call fcn.0040d567
pop ecx
pop ecx
test al, al
je 0x427bf3
lea ecx, [ebp + 0x10]
call fcn.004703d0
push str._playerlaunch_checksum____r_n
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.00470ae0
lea eax, [esi + 0x1a8]
push eax
lea eax, [ebp + 0x2c]
push str.___stub_locale_
push eax
call fcn.00470fb0
push str.__version_
push eax
lea eax, [ebp + 0x24]
push eax
mov byte [ebp - 4], 2
call fcn.00470f60
push 0x4d21f0
push eax
lea eax, [ebp]
push eax
mov byte [ebp - 4], 3
call fcn.00470f60
push str.__lang_
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 4
call fcn.00470f60
lea ecx, [esi + 0x190]
push ecx
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 5
call fcn.00470f10
push str._____r_n
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 6
call fcn.00470f60
add esp, 0x48
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 7
call fcn.00470bc0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.00470660
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.00470660
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00470660
lea ecx, [ebp]
mov byte [ebp - 4], 3
call fcn.00470660
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 2
call fcn.00470660
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 1
call fcn.00470660
lea eax, [edi + 0x3c]
push eax
lea eax, [ebp - 0x1c]
push str.___program_name_
push eax
call fcn.00470fb0
mov byte [ebp - 4], 8
mov ebx, str.__cmdline_
push ebx
push eax
lea eax, [ebp]
push eax
call fcn.00470f60
lea ecx, [ebp - 0x24]
push ecx
push eax
lea eax, [ebp + 0x24]
push eax
mov byte [ebp - 4], 9
call fcn.00470f10
mov esi, 0x4d21b8
push esi
push eax
lea eax, [ebp + 0x2c]
push eax
mov byte [ebp - 4], 0xa
call fcn.00470f60
add esp, 0x30
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0xb
call fcn.00470bc0
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 0xa
call fcn.00470660
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 9
call fcn.00470660
lea ecx, [ebp]
mov byte [ebp - 4], 8
call fcn.00470660
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00470660
lea ecx, [edi + 0x9c]
call fcn.0040d4fd
test al, al
jne 0x42770b
lea ecx, [edi + 0xa4]
call fcn.0040d4fd
test al, al
jne 0x42770b
lea eax, [edi + 0x9c]
push eax
lea eax, [ebp + 0x24]
push str.wndclass_
push eax
call fcn.00470fb0
push esi
push eax
lea eax, [ebp + 0x2c]
push eax
mov byte [ebp - 4], 0xc
call fcn.00470f60
add esp, 0x18
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0xd
call fcn.00470bc0
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 0xc
call fcn.00470660
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 1
call fcn.00470660
lea eax, [edi + 0xa4]
push eax
lea eax, [ebp + 0x24]
push str.wndtitle_
push eax
call fcn.00470fb0
push esi
push eax
lea eax, [ebp + 0x2c]
push eax
mov byte [ebp - 4], 0xe
call fcn.00470f60
add esp, 0x18
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0xf
call fcn.00470bc0
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 0xe
call fcn.00470660
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 1
call fcn.00470660
add edi, 0xb4
mov ecx, edi
call fcn.0040d4fd
test al, al
jne 0x427762
push edi
lea eax, [ebp + 0x24]
push str.method_
push eax
call fcn.00470fb0
push esi
push eax
lea eax, [ebp + 0x2c]
push eax
mov byte [ebp - 4], 0x10
call fcn.00470f60
add esp, 0x18
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0x11
call fcn.00470bc0
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 0x10
call fcn.00470660
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 1
call fcn.00470660
push 0x4d218c
lea ecx, [ebp + 0x10]
call fcn.00470ae0
push str.__playerlaunch_
lea ecx, [ebp + 0x10]
call fcn.00470ae0
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.004703e0
push eax
push 0
lea ecx, [ebp + 0x10]
call fcn.004710f0
push eax
call fcn.00419523
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [ebp + 0x10]
call fcn.00471180
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp + 0x5c]
push eax
call fcn.004194ee
pop ecx
pop ecx
lea ecx, [ebp + 8]
mov edi, eax
call fcn.004703d0
push edi
lea ecx, [ebp]
mov byte [ebp - 4], 0x12
call fcn.00470680
push eax
lea eax, [ebp + 0x24]
push str._playerlaunch_checksum_
push eax
mov byte [ebp - 4], 0x13
call fcn.00470fb0
push 0x4d2158
push eax
lea eax, [ebp + 0x2c]
push eax
mov byte [ebp - 4], 0x14
call fcn.00470f60
add esp, 0x18
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x15
call fcn.00470bc0
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 0x14
call fcn.00470660
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 0x13
call fcn.00470660
lea ecx, [ebp]
mov byte [ebp - 4], 0x12
call fcn.00470660
mov edi, dword [ebp + 0x34]
lea eax, [edi + 0x1a8]
push eax
push str.___stub_locale_
lea eax, [ebp - 0x14]
push eax
call fcn.00470fb0
push str.__version_
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 0x16
call fcn.00470f60
push 0x4d21f0
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 0x17
call fcn.00470f60
push str.__lang_
push eax
lea eax, [ebp]
push eax
mov byte [ebp - 4], 0x18
call fcn.00470f60
lea ecx, [edi + 0x190]
push ecx
push eax
lea eax, [ebp + 0x24]
push eax
mov byte [ebp - 4], 0x19
call fcn.00470f10
push str._____r_n
push eax
lea eax, [ebp + 0x2c]
push eax
mov byte [ebp - 4], 0x1a
call fcn.00470f60
add esp, 0x48
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x1b
call fcn.00470bc0
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 0x1a
call fcn.00470660
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 0x19
call fcn.00470660
lea ecx, [ebp]
mov byte [ebp - 4], 0x18
call fcn.00470660
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x17
call fcn.00470660
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x16
call fcn.00470660
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x12
call fcn.00470660
mov edi, dword [ebp + 0x18]
lea eax, [edi + 0x3c]
push eax
lea eax, [ebp - 0x1c]
push str.___program_name_
push eax
call fcn.00470fb0
push ebx
push eax
lea eax, [ebp]
push eax
mov byte [ebp - 4], 0x1c
call fcn.00470f60
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x1d
push ecx
push eax
lea eax, [ebp + 0x24]
push eax
call fcn.00470f10
push esi
push eax
lea eax, [ebp + 0x2c]
push eax
mov byte [ebp - 4], 0x1e
call fcn.00470f60
add esp, 0x30
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x1f
call fcn.00470bc0
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 0x1e
call fcn.00470660
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 0x1d
call fcn.00470660
lea ecx, [ebp]
mov byte [ebp - 4], 0x1c
call fcn.00470660
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x12
call fcn.00470660
add edi, 0x9c
mov ecx, edi
call fcn.0040d4fd
test al, al
jne 0x427a4f
mov ebx, dword [ebp + 0x18]
add ebx, 0xa4
mov ecx, ebx
call fcn.0040d4fd
test al, al
jne 0x427a4f
push edi
lea eax, [ebp + 0x24]
push str.wndclass_
push eax
call fcn.00470fb0
push esi
push eax
lea eax, [ebp + 0x2c]
push eax
mov byte [ebp - 4], 0x20
call fcn.00470f60
add esp, 0x18
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x21
call fcn.00470bc0
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 0x20
call fcn.00470660
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 0x12
call fcn.00470660
push ebx
lea eax, [ebp + 0x24]
push str.wndtitle_
push eax
call fcn.00470fb0
push esi
push eax
lea eax, [ebp + 0x2c]
push eax
mov byte [ebp - 4], 0x22
call fcn.00470f60
add esp, 0x18
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x23
call fcn.00470bc0
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 0x22
call fcn.00470660
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 0x12
call fcn.00470660
mov edi, dword [ebp + 0x18]
add edi, 0xb4
mov ecx, edi
call fcn.0040d4fd
test al, al
jne 0x427aa9
push edi
lea eax, [ebp + 0x24]
push str.method_
push eax
call fcn.00470fb0
push esi
push eax
lea eax, [ebp + 0x2c]
push eax
mov byte [ebp - 4], 0x24
call fcn.00470f60
add esp, 0x18
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x25
call fcn.00470bc0
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 0x24
call fcn.00470660
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 0x12
call fcn.00470660
push 0x4d218c
lea ecx, [ebp + 8]
call fcn.00470ae0
push str.__playerlaunch_
lea ecx, [ebp + 8]
call fcn.00470ae0
lea eax, [ebp - 0x5c]
push eax
call fcn.00479a80
pop ecx
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x26
call fcn.00479790
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0x27
call fcn.004703e0
cmp byte [ebp + 0x23], 0xff
lea ecx, [ebp + 0x1c]
jne 0x427af5
mov ecx, dword [ebp + 0x1c]
cmp byte [ecx + eax - 1], 0x5c
je 0x427b09
push 0x4cf9a0
lea ecx, [ebp + 0x1c]
call fcn.00470ae0
push 0x4d2144
lea ecx, [ebp + 0x1c]
call fcn.00470ae0
cmp byte [ebp + 0x23], 0xff
lea eax, [ebp + 0x1c]
jne 0x427b22
mov eax, dword [ebp + 0x1c]
xor edi, edi
push edi
push eax
call fcn.0040e4bb
pop ecx
pop ecx
push str.launch.xml
lea ecx, [ebp + 0x1c]
call fcn.00470ae0
cmp byte [ebp + 0x23], 0xff
lea eax, [ebp + 0x1c]
jne 0x427b46
mov eax, dword [ebp + 0x1c]
push 0x4d03c4
push eax
call fcn.00492fff
mov esi, eax
pop ecx
pop ecx
cmp esi, edi
je 0x427b8a
push esi
push 1
lea ecx, [ebp + 8]
call fcn.004703e0
push eax
push edi
lea ecx, [ebp + 8]
call fcn.004710f0
push eax
call fcn.00498c5a
add esp, 0x10
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.00471180
push esi
call fcn.00492b68
pop ecx
jmp 0x427bb4
push str.actionerrorvaluecreate_xml
lea ecx, [ebp - 0x14]
call fcn.00470680
mov ecx, dword [ebp + 0x34]
mov eax, dword [ecx]
push edi
lea edx, [ebp - 0x14]
push edx
mov byte [ebp - 4], 0x28
call dword [eax + 0x10]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x27
call fcn.00470660
lea ecx, [ebp + 0x1c]
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 0x26
call fcn.00470660
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x12
call fcn.004798b0
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00470660
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0
call fcn.00470660
mov edi, dword [ebp + 0x18]
mov esi, dword [ebp + 0x34]
xor ebx, ebx
lea eax, [edi + 0xac]
push str.player
push eax
call fcn.0040d5af
pop ecx
pop ecx
test al, al
je 0x427d91
lea eax, [edi + 0xb4]
push str.minimized
push eax
mov dword [ebp + 0x34], 1
call fcn.0040d567
pop ecx
pop ecx
test al, al
jne 0x427c43
lea eax, [edi + 0xb4]
push str.restore
push eax
call fcn.0040d567
pop ecx
pop ecx
test al, al
je 0x427c4a
mov dword [ebp + 0x34], 6
lea eax, [ebp + 0x18]
push eax
push dword [ebp + 0x34]
lea eax, [ebp - 0x24]
push eax
mov dword [ebp + 0x18], ebx
call fcn.004136d6
add esp, 0xc
test eax, eax
je 0x427c74
push dword [ebp + 0x18]
mov dword [ebp - 0x10], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [edi + 0x4c]
push str.main
push eax
call fcn.0040d5af
pop ecx
pop ecx
test al, al
je 0x427d19
cmp dword [edi + 0x1c], ebx
jne 0x427d19
mov dword [edi + 0x1c], 1
mov dword [ebp + 0x34], str.true
cmp dword [ebp - 0x10], ebx
jne 0x427caf
mov dword [ebp + 0x34], str.false
add edi, 0x3c
push edi
lea eax, [ebp]
push str.srcstubactionofferlaunchedvalue
push eax
call fcn.00470fb0
push str.success
push eax
lea eax, [ebp + 0x24]
push eax
mov byte [ebp - 4], 0x29
call fcn.00470f60
push dword [ebp + 0x34]
mov byte [ebp - 4], 0x2a
push eax
lea eax, [ebp + 0x2c]
push eax
call fcn.00470f60
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 + 0x2c]
mov byte [ebp - 4], 0x2a
call fcn.00470660
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 0x29
call fcn.00470660
lea ecx, [ebp]
mov byte [ebp - 4], 0
call fcn.00470660
cmp dword [esi + 0xbb4], ebx
je 0x427d91
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x34], ebx
call edi
mov dword [ebp + 0x20], eax
jmp 0x427d5e
mov eax, str.Chrome
push eax
push eax
call fcn.00410f97
pop ecx
pop ecx
mov dword [ebp + 0x34], eax
cmp eax, ebx
je 0x427d53
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x427d6a
jmp 0x427d5e
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
call edi
sub eax, dword [ebp + 0x20]
cmp eax, 0x2710
jb 0x427d31
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [esi + 0x1f8]
push 0x13
push ebx
push ebx
push ebx
push ebx
cmp dword [ebp + 0x34], ebx
je 0x427d88
push dword [ebp + 0x34]
jmp 0x427d8a
push 1
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ebx, dword [ebp - 0x10]
jmp 0x42748e