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

Disassembly:
push ebp
sub esp, 0x6c
lea ebp, [esp - 4]
mov eax, dword [0x4c1c50]
xor eax, ebp
mov dword [ebp + 0x6c], eax
push 0x58
mov eax, 0x495a80
call fcn.00470906
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 0x41a060
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.00470483
add ebp, 0x70
leave
ret 4
push ebx
lea eax, [edi + 0x94]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040bc40
add esp, 0xc
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.00401219
test al, al
je 0x41a093
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0044e260
mov eax, ebx
jmp 0x41a041
lea eax, [edi + 0x9c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0044e1c0
mov byte [ebp - 4], 1
cmp dword [esi + 0x1ec], ebx
je 0x41a0da
lea ecx, [ebp - 0x2c]
call fcn.00401219
test al, al
jne 0x41a0da
cmp byte [ebp - 0x25], 0xff
lea eax, [ebp - 0x2c]
jne 0x41a0c6
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004727e5
imul eax, eax, 0xea60
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [edi + 0xbc]
push str.player
push eax
mov dword [ebp + 0xc], ebx
mov dword [edi + 0x18], 1
call fcn.00401283
pop ecx
pop ecx
test al, al
jne 0x41a116
lea eax, [edi + 0xc4]
push str.restore
push eax
call fcn.00401283
pop ecx
pop ecx
test al, al
je 0x41a82f
lea ecx, [ebp + 0x10]
call fcn.0044e010
push str._playerlaunch_checksum____r_n
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 2
call fcn.0044e6e0
lea eax, [esi + 0x1a8]
push eax
lea eax, [ebp + 0x28]
push str.___stub_locale_
push eax
call fcn.0044eb90
push str.__version_
push eax
lea eax, [ebp + 0x20]
push eax
mov byte [ebp - 4], 3
call fcn.0044eb40
push 0x4a2f58
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 4
call fcn.0044eb40
push str.__lang_
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 5
call fcn.0044eb40
lea ecx, [esi + 0x190]
push ecx
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 6
call fcn.0044eaf0
push str._____r_n
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 7
call fcn.0044eb40
add esp, 0x48
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 8
call fcn.0044e7c0
lea ecx, [ebp + 8]
mov byte [ebp - 4], 7
call fcn.0044e260
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.0044e260
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.0044e260
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.0044e260
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 3
call fcn.0044e260
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 2
call fcn.0044e260
lea eax, [edi + 0x3c]
push eax
lea eax, [ebp - 0x1c]
push str.___program_name_
push eax
call fcn.0044eb90
mov byte [ebp - 4], 9
mov ebx, str.__cmdline_
push ebx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0044eb40
lea ecx, [ebp - 0x24]
push ecx
push eax
lea eax, [ebp + 0x20]
push eax
mov byte [ebp - 4], 0xa
call fcn.0044eaf0
mov esi, 0x4a2f20
push esi
push eax
lea eax, [ebp + 0x28]
push eax
mov byte [ebp - 4], 0xb
call fcn.0044eb40
add esp, 0x30
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0xc
call fcn.0044e7c0
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 0xb
call fcn.0044e260
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0xa
call fcn.0044e260
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.0044e260
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0044e260
lea ecx, [edi + 0xac]
call fcn.00401219
test al, al
jne 0x41a347
lea ecx, [edi + 0xb4]
call fcn.00401219
test al, al
jne 0x41a347
lea eax, [edi + 0xac]
push eax
lea eax, [ebp + 0x20]
push str.wndclass_
push eax
call fcn.0044eb90
push esi
push eax
lea eax, [ebp + 0x28]
push eax
mov byte [ebp - 4], 0xd
call fcn.0044eb40
add esp, 0x18
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0xe
call fcn.0044e7c0
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 0xd
call fcn.0044e260
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 2
call fcn.0044e260
lea eax, [edi + 0xb4]
push eax
lea eax, [ebp + 0x20]
push str.wndtitle_
push eax
call fcn.0044eb90
push esi
push eax
lea eax, [ebp + 0x28]
push eax
mov byte [ebp - 4], 0xf
call fcn.0044eb40
add esp, 0x18
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0x10
call fcn.0044e7c0
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 0xf
call fcn.0044e260
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 2
call fcn.0044e260
add edi, 0xc4
mov ecx, edi
call fcn.00401219
test al, al
jne 0x41a39e
push edi
lea eax, [ebp + 0x20]
push str.method_
push eax
call fcn.0044eb90
push esi
push eax
lea eax, [ebp + 0x28]
push eax
mov byte [ebp - 4], 0x11
call fcn.0044eb40
add esp, 0x18
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0x12
call fcn.0044e7c0
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 0x11
call fcn.0044e260
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 2
call fcn.0044e260
push str.___r_n
lea ecx, [ebp + 0x10]
call fcn.0044e6e0
push str.__playerlaunch_
lea ecx, [ebp + 0x10]
call fcn.0044e6e0
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.0044e020
push eax
push 0
lea ecx, [ebp + 0x10]
call fcn.0044ec10
push eax
call fcn.0040d560
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [ebp + 0x10]
call fcn.0044eca0
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp + 0x5c]
push eax
call fcn.0040d52b
pop ecx
pop ecx
lea ecx, [ebp]
mov edi, eax
call fcn.0044e010
push edi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x13
call fcn.0044e280
push eax
lea eax, [ebp + 0x20]
push str._playerlaunch_checksum_
push eax
mov byte [ebp - 4], 0x14
call fcn.0044eb90
push 0x4a2ec0
push eax
lea eax, [ebp + 0x28]
push eax
mov byte [ebp - 4], 0x15
call fcn.0044eb40
add esp, 0x18
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 0x16
call fcn.0044e7c0
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 0x15
call fcn.0044e260
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0x14
call fcn.0044e260
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x13
call fcn.0044e260
mov edi, dword [ebp + 0x34]
lea eax, [edi + 0x1a8]
push eax
push str.___stub_locale_
lea eax, [ebp + 8]
push eax
call fcn.0044eb90
push str.__version_
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 0x17
call fcn.0044eb40
push 0x4a2f58
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 0x18
call fcn.0044eb40
push str.__lang_
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 0x19
call fcn.0044eb40
lea ecx, [edi + 0x190]
push ecx
push eax
lea eax, [ebp + 0x20]
push eax
mov byte [ebp - 4], 0x1a
call fcn.0044eaf0
push str._____r_n
push eax
lea eax, [ebp + 0x28]
push eax
mov byte [ebp - 4], 0x1b
call fcn.0044eb40
add esp, 0x48
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 0x1c
call fcn.0044e7c0
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 0x1b
call fcn.0044e260
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0x1a
call fcn.0044e260
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x19
call fcn.0044e260
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x18
call fcn.0044e260
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x17
call fcn.0044e260
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x13
call fcn.0044e260
mov edi, dword [ebp + 0x30]
lea eax, [edi + 0x3c]
push eax
lea eax, [ebp - 0x1c]
push str.___program_name_
push eax
call fcn.0044eb90
push ebx
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 0x1d
call fcn.0044eb40
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x1e
push ecx
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.0044eaf0
push esi
push eax
lea eax, [ebp + 0x28]
push eax
mov byte [ebp - 4], 0x1f
call fcn.0044eb40
add esp, 0x30
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 0x20
call fcn.0044e7c0
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 0x1f
call fcn.0044e260
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0x1e
call fcn.0044e260
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x1d
call fcn.0044e260
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x13
call fcn.0044e260
add edi, 0xac
mov ecx, edi
call fcn.00401219
test al, al
jne 0x41a68b
mov ebx, dword [ebp + 0x30]
add ebx, 0xb4
mov ecx, ebx
call fcn.00401219
test al, al
jne 0x41a68b
push edi
lea eax, [ebp + 0x20]
push str.wndclass_
push eax
call fcn.0044eb90
push esi
push eax
lea eax, [ebp + 0x28]
push eax
mov byte [ebp - 4], 0x21
call fcn.0044eb40
add esp, 0x18
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 0x22
call fcn.0044e7c0
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 0x21
call fcn.0044e260
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0x13
call fcn.0044e260
push ebx
lea eax, [ebp + 0x20]
push str.wndtitle_
push eax
call fcn.0044eb90
push esi
push eax
lea eax, [ebp + 0x28]
push eax
mov byte [ebp - 4], 0x23
call fcn.0044eb40
add esp, 0x18
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 0x24
call fcn.0044e7c0
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 0x23
call fcn.0044e260
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0x13
call fcn.0044e260
mov edi, dword [ebp + 0x30]
add edi, 0xc4
mov ecx, edi
call fcn.00401219
test al, al
jne 0x41a6e5
push edi
lea eax, [ebp + 0x20]
push str.method_
push eax
call fcn.0044eb90
push esi
push eax
lea eax, [ebp + 0x28]
push eax
mov byte [ebp - 4], 0x25
call fcn.0044eb40
add esp, 0x18
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 0x26
call fcn.0044e7c0
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 0x25
call fcn.0044e260
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0x13
call fcn.0044e260
push str.___r_n
lea ecx, [ebp]
call fcn.0044e6e0
push str.__playerlaunch_
lea ecx, [ebp]
call fcn.0044e6e0
lea eax, [ebp - 0x64]
push eax
call fcn.00457650
pop ecx
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x27
call fcn.004572c0
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 0x28
call fcn.0044e020
cmp byte [ebp + 0x1f], 0xff
lea ecx, [ebp + 0x18]
jne 0x41a731
mov ecx, dword [ebp + 0x18]
cmp byte [ecx + eax - 1], 0x5c
je 0x41a745
push 0x4a0930
lea ecx, [ebp + 0x18]
call fcn.0044e6e0
push 0x4a2eac
lea ecx, [ebp + 0x18]
call fcn.0044e6e0
cmp byte [ebp + 0x1f], 0xff
lea eax, [ebp + 0x18]
jne 0x41a75e
mov eax, dword [ebp + 0x18]
xor edi, edi
push edi
push eax
call fcn.00401fd6
pop ecx
pop ecx
push str.launch.xml
lea ecx, [ebp + 0x18]
call fcn.0044e6e0
cmp byte [ebp + 0x1f], 0xff
lea eax, [ebp + 0x18]
jne 0x41a782
mov eax, dword [ebp + 0x18]
push 0x4a1268
push eax
call fcn.0047136f
mov esi, eax
pop ecx
pop ecx
cmp esi, edi
je 0x41a7c6
push esi
push 1
lea ecx, [ebp]
call fcn.0044e020
push eax
push edi
lea ecx, [ebp]
call fcn.0044ec10
push eax
call fcn.00476af2
add esp, 0x10
push 0xffffffffffffffff
lea ecx, [ebp]
call fcn.0044eca0
push esi
call fcn.00470ed8
pop ecx
jmp 0x41a7f0
push str.actionerrorvaluecreate_xml
lea ecx, [ebp + 8]
call fcn.0044e280
mov ecx, dword [ebp + 0x34]
mov eax, dword [ecx]
push edi
lea edx, [ebp + 8]
push edx
mov byte [ebp - 4], 0x29
call dword [eax + 0x10]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x28
call fcn.0044e260
lea ecx, [ebp + 0x18]
mov dword [ebp + 0xc], 1
mov byte [ebp - 4], 0x27
call fcn.0044e260
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x13
call fcn.004572b0
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.0044e260
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.0044e260
mov edi, dword [ebp + 0x30]
mov esi, dword [ebp + 0x34]
xor ebx, ebx
lea eax, [edi + 0xbc]
push str.chrome
push eax
call fcn.00401283
pop ecx
pop ecx
test al, al
je 0x41a89e
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.00401bb1
add esp, 0xc
test eax, eax
je 0x41aa3c
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 0x41aa3c
mov dword [ebp + 0xc], esi
jmp 0x41aa3c
lea eax, [edi + 0xbc]
push str.player
push eax
call fcn.004012cb
pop ecx
pop ecx
test al, al
je 0x41aa3c
lea eax, [edi + 0xc4]
push str.minimized
push eax
mov dword [ebp + 0x34], 1
call fcn.00401283
pop ecx
pop ecx
test al, al
jne 0x41a8ee
lea eax, [edi + 0xc4]
push str.restore
push eax
call fcn.00401283
pop ecx
pop ecx
test al, al
je 0x41a8f5
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.0040892a
add esp, 0xc
test eax, eax
je 0x41a91f
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.004012cb
pop ecx
pop ecx
test al, al
je 0x41a9c4
cmp dword [edi + 0x1c], ebx
jne 0x41a9c4
mov dword [edi + 0x1c], 1
mov dword [ebp + 0x34], str.true
cmp dword [ebp + 0xc], ebx
jne 0x41a95a
mov dword [ebp + 0x34], str.false
add edi, 0x3c
push edi
lea eax, [ebp - 0x14]
push str.srcstubactionofferlaunchedvalue
push eax
call fcn.0044eb90
push str.success
push eax
lea eax, [ebp + 0x20]
push eax
mov byte [ebp - 4], 0x2a
call fcn.0044eb40
push dword [ebp + 0x34]
mov byte [ebp - 4], 0x2b
push eax
lea eax, [ebp + 0x28]
push eax
call fcn.0044eb40
add esp, 0x24
mov edx, dword [esi]
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 0x2c
call dword [edx + 0x10]
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 0x2b
call fcn.0044e260
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0x2a
call fcn.0044e260
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0044e260
cmp dword [esi + 0x704], ebx
je 0x41aa3c
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x34], ebx
call edi
mov dword [ebp + 0x1c], eax
jmp 0x41aa09
mov eax, str.Chrome
push eax
push eax
call fcn.004042c8
pop ecx
pop ecx
mov dword [ebp + 0x34], eax
cmp eax, ebx
je 0x41a9fe
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x41aa15
jmp 0x41aa09
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
call edi
sub eax, dword [ebp + 0x1c]
cmp eax, 0x2710
jb 0x41a9dc
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [esi + 0x200]
push 0x13
push ebx
push ebx
push ebx
push ebx
cmp dword [ebp + 0x34], ebx
je 0x41aa33
push dword [ebp + 0x34]
jmp 0x41aa35
push 1
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.0044e260
mov ebx, dword [ebp + 0xc]
jmp 0x41a083