Function at 0x4781c9
Capabilities:
Check for time delay via gettickcount
Check if file exists
Get graphical window text

Disassembly:
mov eax, 0x527078
call fcn.0051f0b4
sub esp, 0x868
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
push edi
cmp dword [ebx + 0x20f8], esi
ja 0x478216
cmp dword [ebx + 0x20], esi
jg 0x478216
cmp dword [ebp + 0x10], esi
jl 0x478216
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
call fcn.00477613
test eax, eax
jne 0x478216
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10
mov eax, dword [ebx + 8]
mov edi, dword [ebx + 0x14]
mov ecx, eax
mov dword [ebp - 0x3c], eax
shr ecx, 0x17
shl eax, 9
push esi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x2c], eax
call fcn.004eaf62
pop ecx
mov ecx, dword [ebx]
push edx
push eax
push ebx
call dword [ecx + 0x68]
mov eax, dword [ebx]
push esi
push edi
push ebx
call dword [eax + 0x78]
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.00401f01
mov edi, dword [ebp + 8]
call fcn.00477413
cmp eax, esi
jne 0x478203
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x290c], eax
xor eax, eax
push 0x7ce
mov word [ebp - 0x874], ax
lea eax, [ebp - 0x872]
push esi
push eax
call fcn.004ee670
add esp, 0xc
lea eax, [ebx + 0x82c]
push eax
push dword [ebx + 8]
mov dword [ebp - 0x1c], eax
push str.t_softid_dsoftname_s
mov eax, 0x7d0
lea edi, [ebp - 0x874]
call fcn.00445e60
mov edi, dword [ebp + 8]
add esp, 0xc
push 3
pop esi
mov eax, ebx
call fcn.004792ac
cmp dword [ebx + 0x2918], 1
lea eax, [ebx + 0x2c]
mov dword [ebp - 0x34], eax
jne 0x4782e5
lea edx, [ebx + 0x291c]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x4782d2
sub eax, esi
sar eax, 1
je 0x4782e5
mov dword [ebp - 0x34], edx
lea eax, [ebx + 0xafc]
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], eax
call fcn.00401f01
and dword [ebp - 4], 0
push dword [ebp - 0x30]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47839b
mov eax, dword [ebp - 0x30]
mov edi, dword [eax - 0xc]
push 0x5c
lea esi, [ebp - 0x30]
call fcn.004116a7
mov esi, eax
lea eax, [esi + 1]
lea ebx, [ebp - 0x24]
lea ecx, [ebp - 0x30]
call fcn.00404af0
mov eax, edi
lea ecx, [ebp - 0x14]
sub eax, esi
push ecx
dec eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00411661
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004747f2
test eax, eax
jne 0x47837e
mov eax, edi
push eax
mov eax, ebx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040eb6f
mov edx, dword [ebp - 0x28]
add esp, 0xc
push dword [ebp - 0x18]
mov eax, 0x208
call section..text
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040297c
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0040297c
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebx + 0x14]
fld qword [0x54c890]
fld st(0)
mov eax, esi
fsub qword [ebx + 0x20f0]
mov dword [ebp - 0x38], eax
fild dword [ebp - 0x38]
test eax, eax
jge 0x4783be
fadd qword [0x54c860]
fmulp st(1)
fdiv st(1)
call fcn.004f2ae6
fcomp qword [ebx + 0x20f0]
mov dword [ebp - 0x14], eax
fnstsw ax
test ah, 0x41
jp 0x4783da
mov dword [ebp - 0x14], esi
push dword [ebp - 0x18]
lea ecx, [ebp + 0x10]
call fcn.00401f01
push 0x5c
lea esi, [ebp + 0x10]
mov byte [ebp - 4], 3
call fcn.004116a7
lea ebx, [ebp - 0x38]
lea ecx, [ebp + 0x10]
mov esi, eax
call fcn.00404af0
inc esi
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 4
call fcn.00404a2c
mov byte [ebp - 4], 5
push dword [ebp - 0x28]
lea eax, [ebp - 0x40]
push eax
call fcn.0047d084
pop ecx
pop ecx
mov byte [ebp - 4], 6
push dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.00411f24
test eax, eax
je 0x47845e
push dword [ebp - 0x40]
lea eax, [ebp + 0x10]
push dword [ebp - 0x38]
push str._s_s
push eax
call fcn.004142e8
mov edx, dword [ebp + 0x10]
add esp, 0x10
push dword [ebp - 0x18]
mov ecx, 0x104
call fcn.00411555
push 0x56f16c
lea ecx, [ebp - 0x24]
call fcn.00402946
mov byte [ebp - 4], 7
sar dword [ebp - 0x2c], 9
mov ebx, dword [ebp + 0xc]
xor esi, esi
cmp dword [ebp - 0x20], esi
je 0x47849e
cmp dword [ebx + 0x382c], esi
jne 0x47849e
push dword [ebp - 0x20]
lea eax, [ebp - 0x24]
push dword [ebp - 0x1c]
push str.softname_schid_d
push eax
call fcn.004142e8
add esp, 0x10
jmp 0x4784b8
push dword [ebp - 0x20]
lea eax, [ebp - 0x24]
push dword [ebp - 0x1c]
push dword [ebp - 0x2c]
push str.t_softid_dsoftname_schid_d
push eax
call fcn.004142e8
add esp, 0x14
push 0x537290
lea ecx, [ebp - 0x44]
call fcn.00401f01
lea eax, [ebx + 0x3848]
push eax
push 0x5478f0
mov byte [ebp - 4], 8
call fcn.004884a1
xor ecx, ecx
push 0xa
mov eax, 0x478841
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x78], ecx
pop ecx
mov dword [ebp - 0x74], eax
mov eax, esp
mov dword [ebp - 0x1c], esi
lea esi, [ebp - 0x7c]
lea edi, [ebp - 0xa4]
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x64], 3
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0xa4]
mov dword [ebp + 0xc], esp
mov dword [eax + 4], ecx
mov dword [eax], 0x44e402
lea eax, [ebp - 0x1c]
push eax
push 0
push ecx
lea eax, [ebp - 0x44]
mov dword [ebp + 0xc], esp
mov ecx, esp
push eax
call fcn.004015d6
push ecx
mov byte [ebp - 4], 0xa
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x537290
call fcn.00401f01
push ecx
mov byte [ebp - 4], 0xb
mov ecx, esp
mov dword [ebp - 0x20], esp
push dword [ebp - 0x18]
call fcn.00401f01
push ecx
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [ebp - 0x18], esp
push dword [ebp - 0x34]
call fcn.00401f01
mov ecx, dword [ebp + 0x14]
mov byte [ebp - 4], 8
call fcn.00489341
mov edi, eax
add esp, 0x20
test edi, edi
jne 0x47872b
push eax
push dword [ebx + 8]
push 0x4e34
push dword [0x570788]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp + 8]
mov ecx, dword [ebp - 0x3c]
call fcn.0047898f
mov esi, 0x56f16c
push esi
lea ecx, [ebp + 0xc]
call fcn.00402946
mov byte [ebp - 4], 0xd
push dword [ebx + 8]
lea eax, [ebp + 0xc]
push 0x547918
push eax
call fcn.004142e8
add esp, 0xc
lea eax, [ebx + 0x3408]
push eax
lea ecx, [ebp - 0x34]
call fcn.00401f01
mov byte [ebp - 4], 0xe
mov eax, dword [ebx]
push ebx
call dword [eax + 0xc0]
push eax
lea ecx, [ebp + 0x14]
call fcn.00401f01
push esi
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xf
call fcn.00402946
mov byte [ebp - 4], 0x10
push dword [ebp - 0x1c]
lea eax, [ebp + 8]
push 0x540e68
push eax
call fcn.004142e8
add esp, 0xc
mov esi, 0x536fec
push esi
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0041217d
add esp, 0xc
lea ecx, [ebp - 0x34]
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0x11
call fcn.0040eb6f
add esp, 0xc
push esi
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 0x12
call fcn.0041217d
add esp, 0xc
lea ecx, [ebp + 0x14]
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 0x13
call fcn.0040eb6f
add esp, 0xc
mov byte [ebp - 4], 0x14
push esi
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0041217d
add esp, 8
mov ecx, esp
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x4c], esp
lea edx, [ebp + 8]
push edx
push eax
push ecx
call fcn.0040eb6f
add esp, 8
mov byte [ebp - 4], 0x16
mov eax, esp
mov dword [ebp - 0x50], esp
push eax
call fcn.0040753c
mov ecx, eax
call fcn.00456935
push ecx
mov byte [ebp - 4], 0x17
mov ecx, esp
mov dword [ebp - 0x48], esp
push str.DownloadError
call fcn.00401f01
mov byte [ebp - 4], 0x18
call fcn.0040753c
push eax
mov byte [ebp - 4], 0x15
call fcn.00456770
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.0040297c
mov byte [ebp - 4], 8
mov ecx, dword [ebp + 0xc]
jmp 0x4787a2
push 0x56f16c
lea ecx, [ebp + 8]
call fcn.00402946
mov byte [ebp - 4], 0x19
push dword [ebx + 8]
lea eax, [ebp + 8]
push 0x547918
push eax
call fcn.004142e8
pop ecx
pop ecx
lea eax, [ebp + 8]
mov dword [ebp + 0xc], esp
mov ecx, esp
push eax
call fcn.004015d6
push ecx
mov byte [ebp - 4], 0x1a
mov eax, esp
mov dword [ebp + 0x14], esp
push eax
call fcn.0040753c
mov ecx, eax
call fcn.00456935
push ecx
mov byte [ebp - 4], 0x1b
mov ecx, esp
mov dword [ebp - 0x48], esp
push str.DownloadSuccess
call fcn.00401f01
mov byte [ebp - 4], 0x1c
call fcn.0040753c
push eax
mov byte [ebp - 4], 0x19
call fcn.00456770
mov byte [ebp - 4], 8
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040297c
xor esi, esi
cmp dword [ebp - 0x14], esi
jne 0x4787b7
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [ebx + 0x290c]
je 0x4787da
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x3e8
xor edx, edx
div ecx
mov dword [ebx + 0x20fc], eax
cmp dword [ebx + 0x389c], 1
jne 0x47883d
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.0040297c
mov eax, esi
jmp 0x478205
mov esi, edi
jmp 0x4787e9