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

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xbc
mov eax, dword [0x48e610]
xor eax, ebp
mov dword [ebp + 0x70], eax
push ebx
mov ebx, dword [ebp + 0x7c]
push esi
push edi
xor esi, esi
mov edi, ecx
mov dword [ebp + 0x28], edi
cmp dword [ebx + 0x18], esi
je 0x411db0
xor eax, eax
mov ecx, dword [ebp + 0x70]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045f4ee
add ebp, 0x74
leave
ret 4
push esi
lea eax, [ebx + 0x94]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004030b0
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.00401005
test al, al
je 0x411ddc
lea ecx, [ebp - 0x10]
call fcn.0043f790
mov eax, esi
jmp 0x411d9c
mov dword [ebp + 0xc], esi
xor esi, esi
lea eax, [ebx + 0xac]
push str.player
inc esi
push eax
mov dword [ebx + 0x18], esi
call fcn.00401046
pop ecx
pop ecx
test al, al
jne 0x411e17
lea eax, [ebx + 0xb4]
push str.restore
push eax
call fcn.00401046
pop ecx
pop ecx
test al, al
je 0x412423
lea ecx, [ebp + 0x10]
call fcn.0043f500
push str._playerlaunch_checksum____r_n
lea ecx, [ebp + 0x10]
call fcn.0043fc10
push str._____r_n
lea eax, [edi + 0x218]
push eax
push str.__lang_
push 0x47fba4
push str.__version_
lea ecx, [edi + 0x1d8]
push ecx
lea eax, [ebp + 0x34]
push str.___stub_locale_
push eax
call fcn.004400e0
add esp, 0xc
push eax
lea eax, [ebp + 0x2c]
push eax
call fcn.00440090
add esp, 0xc
push eax
lea eax, [ebp]
push eax
call fcn.00440090
add esp, 0xc
push eax
lea eax, [ebp - 8]
push eax
call fcn.00440090
add esp, 0xc
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00440040
add esp, 0xc
push eax
lea eax, [ebp + 8]
push eax
call fcn.00440090
add esp, 0xc
push eax
lea ecx, [ebp + 0x10]
call fcn.0043fcf0
lea ecx, [ebp + 8]
call fcn.0043f790
lea ecx, [ebp - 0x18]
call fcn.0043f790
lea ecx, [ebp - 8]
call fcn.0043f790
lea ecx, [ebp]
call fcn.0043f790
lea ecx, [ebp + 0x2c]
call fcn.0043f790
lea ecx, [ebp + 0x34]
call fcn.0043f790
mov esi, 0x47ff54
push esi
lea ecx, [ebp - 0x10]
push ecx
push str.__cmdline_
lea eax, [ebx + 0x3c]
push eax
lea eax, [ebp - 8]
push str.___program_name_
push eax
call fcn.004400e0
add esp, 0xc
push eax
lea eax, [ebp]
push eax
call fcn.00440090
add esp, 0xc
push eax
lea eax, [ebp + 0x2c]
push eax
call fcn.00440040
add esp, 0xc
push eax
lea eax, [ebp + 0x34]
push eax
call fcn.00440090
add esp, 0xc
push eax
lea ecx, [ebp + 0x10]
call fcn.0043fcf0
lea ecx, [ebp + 0x34]
call fcn.0043f790
lea ecx, [ebp + 0x2c]
call fcn.0043f790
lea ecx, [ebp]
call fcn.0043f790
lea ecx, [ebp - 8]
call fcn.0043f790
lea edi, [ebx + 0x9c]
mov ecx, edi
call fcn.00401005
test al, al
jne 0x411fe9
lea ecx, [ebx + 0xa4]
call fcn.00401005
test al, al
jne 0x411fe9
push esi
push edi
lea eax, [ebp + 0x2c]
push str.wndclass_
push eax
call fcn.004400e0
add esp, 0xc
push eax
lea eax, [ebp + 0x34]
push eax
call fcn.00440090
add esp, 0xc
push eax
lea ecx, [ebp + 0x10]
call fcn.0043fcf0
lea ecx, [ebp + 0x34]
call fcn.0043f790
lea ecx, [ebp + 0x2c]
call fcn.0043f790
push esi
lea eax, [ebx + 0xa4]
push eax
lea eax, [ebp + 0x2c]
push str.wndtitle_
push eax
call fcn.004400e0
add esp, 0xc
push eax
lea eax, [ebp + 0x34]
push eax
call fcn.00440090
add esp, 0xc
push eax
lea ecx, [ebp + 0x10]
call fcn.0043fcf0
lea ecx, [ebp + 0x34]
call fcn.0043f790
lea ecx, [ebp + 0x2c]
call fcn.0043f790
lea edi, [ebx + 0xb4]
mov ecx, edi
call fcn.00401005
test al, al
jne 0x412033
push esi
push edi
lea eax, [ebp + 0x2c]
push str.method_
push eax
call fcn.004400e0
add esp, 0xc
push eax
lea eax, [ebp + 0x34]
push eax
call fcn.00440090
add esp, 0xc
push eax
lea ecx, [ebp + 0x10]
call fcn.0043fcf0
lea ecx, [ebp + 0x34]
call fcn.0043f790
lea ecx, [ebp + 0x2c]
call fcn.0043f790
push str.___r_n
lea ecx, [ebp + 0x10]
call fcn.0043fc10
push str.__playerlaunch_
lea ecx, [ebp + 0x10]
call fcn.0043fc10
xor eax, eax
push 8
pop ecx
mov byte [ebp + 0x60], al
mov byte [ebp + 0x3c], 0
lea edi, [ebp + 0x3d]
rep stosd dword es:[edi], eax
lea edi, [ebp + 0x61]
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 + 0x60]
push eax
lea ecx, [ebp + 0x10]
call fcn.0043f510
push eax
push 0
lea ecx, [ebp + 0x10]
call fcn.00440160
push eax
call fcn.004060ea
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [ebp + 0x10]
call fcn.004401f0
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp + 0x60]
push eax
call fcn.004060b5
pop ecx
pop ecx
lea ecx, [ebp + 0x18]
mov edi, eax
call fcn.0043f500
push 0x47fef0
push edi
lea ecx, [ebp]
call fcn.0043f7b0
push eax
lea eax, [ebp + 0x2c]
push str._playerlaunch_checksum_
push eax
call fcn.004400e0
add esp, 0xc
push eax
lea eax, [ebp + 0x34]
push eax
call fcn.00440090
add esp, 0xc
push eax
lea ecx, [ebp + 0x18]
call fcn.0043fcf0
lea ecx, [ebp + 0x34]
call fcn.0043f790
lea ecx, [ebp + 0x2c]
call fcn.0043f790
lea ecx, [ebp]
call fcn.0043f790
mov eax, dword [ebp + 0x28]
push str._____r_n
lea ecx, [eax + 0x218]
push ecx
push str.__lang_
push 0x47fba4
push str.__version_
add eax, 0x1d8
push eax
lea eax, [ebp + 8]
push str.___stub_locale_
push eax
call fcn.004400e0
add esp, 0xc
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00440090
add esp, 0xc
push eax
lea eax, [ebp - 8]
push eax
call fcn.00440090
add esp, 0xc
push eax
lea eax, [ebp]
push eax
call fcn.00440090
add esp, 0xc
push eax
lea eax, [ebp + 0x2c]
push eax
call fcn.00440040
add esp, 0xc
push eax
lea eax, [ebp + 0x34]
push eax
call fcn.00440090
add esp, 0xc
push eax
lea ecx, [ebp + 0x18]
call fcn.0043fcf0
lea ecx, [ebp + 0x34]
call fcn.0043f790
lea ecx, [ebp + 0x2c]
call fcn.0043f790
lea ecx, [ebp]
call fcn.0043f790
lea ecx, [ebp - 8]
call fcn.0043f790
lea ecx, [ebp - 0x18]
call fcn.0043f790
lea ecx, [ebp + 8]
call fcn.0043f790
push esi
lea eax, [ebp - 0x10]
push eax
push str.__cmdline_
lea eax, [ebx + 0x3c]
push eax
lea eax, [ebp - 8]
push str.___program_name_
push eax
call fcn.004400e0
add esp, 0xc
push eax
lea eax, [ebp]
push eax
call fcn.00440090
add esp, 0xc
push eax
lea eax, [ebp + 0x2c]
push eax
call fcn.00440040
add esp, 0xc
push eax
lea eax, [ebp + 0x34]
push eax
call fcn.00440090
add esp, 0xc
push eax
lea ecx, [ebp + 0x18]
call fcn.0043fcf0
lea ecx, [ebp + 0x34]
call fcn.0043f790
lea ecx, [ebp + 0x2c]
call fcn.0043f790
lea ecx, [ebp]
call fcn.0043f790
lea ecx, [ebp - 8]
call fcn.0043f790
lea edi, [ebx + 0x9c]
mov ecx, edi
call fcn.00401005
test al, al
jne 0x4122b2
lea ecx, [ebx + 0xa4]
call fcn.00401005
test al, al
jne 0x4122b2
push esi
push edi
lea eax, [ebp + 0x2c]
push str.wndclass_
push eax
call fcn.004400e0
add esp, 0xc
push eax
lea eax, [ebp + 0x34]
push eax
call fcn.00440090
add esp, 0xc
push eax
lea ecx, [ebp + 0x18]
call fcn.0043fcf0
lea ecx, [ebp + 0x34]
call fcn.0043f790
lea ecx, [ebp + 0x2c]
call fcn.0043f790
push esi
lea eax, [ebx + 0xa4]
push eax
lea eax, [ebp + 0x2c]
push str.wndtitle_
push eax
call fcn.004400e0
add esp, 0xc
push eax
lea eax, [ebp + 0x34]
push eax
call fcn.00440090
add esp, 0xc
push eax
lea ecx, [ebp + 0x18]
call fcn.0043fcf0
lea ecx, [ebp + 0x34]
call fcn.0043f790
lea ecx, [ebp + 0x2c]
call fcn.0043f790
lea edi, [ebx + 0xb4]
mov ecx, edi
call fcn.00401005
test al, al
jne 0x4122fc
push esi
push edi
lea eax, [ebp + 0x2c]
push str.method_
push eax
call fcn.004400e0
add esp, 0xc
push eax
lea eax, [ebp + 0x34]
push eax
call fcn.00440090
add esp, 0xc
push eax
lea ecx, [ebp + 0x18]
call fcn.0043fcf0
lea ecx, [ebp + 0x34]
call fcn.0043f790
lea ecx, [ebp + 0x2c]
call fcn.0043f790
push str.___r_n
lea ecx, [ebp + 0x18]
call fcn.0043fc10
push str.__playerlaunch_
lea ecx, [ebp + 0x18]
call fcn.0043fc10
lea eax, [ebp - 0x48]
push eax
call fcn.00448b00
pop ecx
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp - 0x48]
call fcn.00448940
lea ecx, [ebp + 0x20]
call fcn.0043f510
cmp byte [ebp + 0x27], 0xff
lea ecx, [ebp + 0x20]
jne 0x412340
mov ecx, dword [ebp + 0x20]
cmp byte [ecx + eax - 1], 0x5c
je 0x412354
push 0x47e754
lea ecx, [ebp + 0x20]
call fcn.0043fc10
push 0x47fec0
lea ecx, [ebp + 0x20]
call fcn.0043fc10
cmp byte [ebp + 0x27], 0xff
lea eax, [ebp + 0x20]
jne 0x41236d
mov eax, dword [ebp + 0x20]
push eax
call fcn.00401e6c
lea ecx, [ebp + 0x20]
mov dword [esp], str.launch.xml
call fcn.0043fc10
cmp byte [ebp + 0x27], 0xff
lea eax, [ebp + 0x20]
jne 0x41238e
mov eax, dword [ebp + 0x20]
push 0x47ece4
push eax
call fcn.0045fd50
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4123d3
push esi
push 1
lea ecx, [ebp + 0x18]
call fcn.0043f510
push eax
push 0
lea ecx, [ebp + 0x18]
call fcn.00440160
push eax
call fcn.00464660
add esp, 0x10
push 0xffffffffffffffff
lea ecx, [ebp + 0x18]
call fcn.004401f0
push esi
call fcn.0045fae8
pop ecx
jmp 0x4123f6
push str.actionerrorvaluecreate_xml
lea ecx, [ebp + 8]
call fcn.0043f7b0
mov ecx, dword [ebp + 0x28]
push 0
lea eax, [ebp + 8]
push eax
call fcn.00410896
lea ecx, [ebp + 8]
call fcn.0043f790
lea ecx, [ebp + 0x20]
mov dword [ebp + 0xc], 1
call fcn.0043f790
lea ecx, [ebp - 0x48]
call fcn.00448840
lea ecx, [ebp + 0x18]
call fcn.0043f790
lea ecx, [ebp + 0x10]
call fcn.0043f790
mov edi, dword [ebp + 0x28]
xor esi, esi
inc esi
lea eax, [ebx + 0xac]
push str.player
push eax
call fcn.00406131
pop ecx
pop ecx
test al, al
je 0x41259f
lea eax, [ebx + 0xb4]
push str.minimized
push eax
mov dword [ebp + 0x28], esi
call fcn.00401046
pop ecx
pop ecx
test al, al
jne 0x41246f
lea eax, [ebx + 0xb4]
push str.restore
push eax
call fcn.00401046
pop ecx
pop ecx
test al, al
je 0x412476
mov dword [ebp + 0x28], 6
and dword [ebp + 0x1c], 0
lea eax, [ebp + 0x1c]
push eax
push dword [ebp + 0x28]
lea eax, [ebp - 0x10]
push eax
call fcn.0040456f
add esp, 0xc
test eax, eax
je 0x41249d
push dword [ebp + 0x1c]
mov dword [ebp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx + 0x4c]
push str.main
push eax
call fcn.00406131
pop ecx
pop ecx
test al, al
je 0x412520
xor ecx, ecx
cmp dword [ebx + 0x1c], ecx
jne 0x412520
mov dword [ebx + 0x1c], esi
mov eax, str.true
cmp dword [ebp + 0xc], ecx
jne 0x4124ca
mov eax, str.false
push ecx
push eax
push str.success
add ebx, 0x3c
push ebx
lea eax, [ebp]
push str.srcstubactionofferlaunchedvalue
push eax
call fcn.004400e0
add esp, 0xc
push eax
lea eax, [ebp + 0x2c]
push eax
call fcn.00440090
add esp, 0xc
push eax
lea eax, [ebp + 0x34]
push eax
call fcn.00440090
add esp, 0xc
push eax
mov ecx, edi
call fcn.00410896
lea ecx, [ebp + 0x34]
call fcn.0043f790
lea ecx, [ebp + 0x2c]
call fcn.0043f790
lea ecx, [ebp]
call fcn.0043f790
cmp dword [edi + 0x470], 0
je 0x41259f
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
and dword [ebp + 0x28], 0
call esi
mov dword [ebp + 0x24], eax
call esi
mov ebx, 0x2710
jmp 0x412570
mov eax, str.Chrome
push eax
push eax
call fcn.0040304e
pop ecx
pop ecx
mov dword [ebp + 0x28], eax
test eax, eax
je 0x412563
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x412577
jmp 0x41256e
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
sub eax, dword [ebp + 0x24]
cmp eax, ebx
jb 0x412541
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
push 0x13
push eax
push eax
push eax
push eax
cmp dword [ebp + 0x28], eax
je 0x412591
push dword [ebp + 0x28]
jmp 0x412593
push 1
push dword [edi + 0x2cc]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, dword [ebp + 0xc]
jmp 0x411dd0