Function at 0x47856b
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x1c
mov eax, 0x532b8b
call fcn.004fc6ce
mov eax, dword [ebp + 8]
mov esi, ecx
cmp eax, 0x73
jne 0x478755
mov eax, dword [esi + 0x220]
push 5
pop edi
cmp eax, 1
jne 0x4785b3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x224]
cmp eax, 0x4e20
jae 0x4785d5
push 1
push esi
call fcn.0047900f
jmp 0x4789b2
cmp eax, 2
jne 0x478619
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x224]
cmp eax, 0xea60
jb 0x4789b2
mov dword [esi + 0x1a4], edi
push 3
pop ebx
cmp dword [esi + 0x220], ebx
je 0x4789b2
mov dword [esi + 0x220], ebx
call fcn.0044f300
test al, al
jne 0x478696
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x224], eax
mov eax, dword [esi + 0x230]
test eax, eax
jne 0x478688
or dword [esi + 0x1ec], 0xffffffff
jmp 0x4786a5
push 3
pop ebx
cmp eax, ebx
jne 0x4789b2
mov eax, dword [esi + 0x1f8]
cmp eax, 2
je 0x4789b2
cmp eax, 1
je 0x478644
cmp eax, ebx
je 0x478644
push 1
push esi
call fcn.0047900f
lea edi, [esi + 0x1ec]
cmp dword [edi], 0
je 0x4789b2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x224]
cmp eax, dword [edi]
jb 0x4789b2
mov ecx, ebx
mov edx, esi
call fcn.00479f25
xor edi, edi
push edi
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
push edi
push 0x10
push dword [esi + 0x30]
jmp 0x478923
imul eax, eax, 0x3e8
mov dword [esi + 0x1ec], eax
jmp 0x4786a5
push 0
push 0x32
push 0x77
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_SetTimer]
push edi
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0x10000000
call fcn.00436f62
mov eax, dword [esi + 0x228]
pop ecx
pop ecx
test eax, eax
jl 0x4786ce
push eax
call fcn.00436fd9
pop ecx
cmp dword [esi + 0x1f8], ebx
je 0x4789b2
mov eax, dword [0x590e04]
mov ecx, 0x590e04
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
and dword [ebp - 4], 0
cmp byte [esi + 0x1f4], 0
mov eax, 0x5945a8
lea esi, [ebp - 0x14]
je 0x478714
call fcn.00436a9b
mov byte [ebp - 4], 1
push dword [eax]
push str._sbtime.html_typestartupmodesleep
jmp 0x478724
call fcn.00436a9b
mov byte [ebp - 4], 2
push dword [eax]
push str._sbtime.html_typestartupmoden
lea eax, [ebp + 8]
push eax
call fcn.0040450f
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add esp, 0xc
add eax, 0xfffffff0
call fcn.00405521
mov esi, dword [ebp + 8]
push esi
call fcn.00448718
lea eax, [esi - 0x10]
call fcn.00405521
jmp 0x4789b2
cmp eax, 0x74
jne 0x4787b7
cmp dword [esi + 0x1e8], 0
jne 0x4789b2
and dword [ebp - 0x18], 0
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x28]
push eax
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp - 0x14]
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4789b2
push 0x74
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_KillTimer]
and dword [esi + 0x1e4], 0
jmp 0x47896b
cmp eax, 0x75
jne 0x47888c
push eax
lea edi, [esi + 0x30]
push dword [edi]
call dword [sym.imp.USER32.dll_KillTimer]
push 0x15e
mov byte [ebp + 0xb], 1
call fcn.0044b15b
call fcn.0044b136
add eax, dword [esi + 0x1dc]
push 0x1e
mov dword [ebp - 0x14], eax
lea ebx, [esi + 0x1fc]
call fcn.0044b15b
call fcn.0044b136
add dword [ebx], eax
lea eax, [ebp - 0x28]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov edx, dword [ebp - 0x14]
add eax, ecx
mov dword [ebp - 0x1c], eax
sub eax, ecx
cmp eax, edx
jl 0x478824
add ecx, edx
mov byte [ebp + 0xb], 0
mov dword [ebp - 0x1c], ecx
xor ebx, ebx
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.00475704
pop ecx
pop ecx
push 0x34
push ebx
push edi
lea eax, [ebp - 0x28]
call fcn.0044d155
cmp byte [ebp + 0xb], bl
je 0x47884f
push ebx
push 0xa
push 0x75
push dword [edi]
jmp 0x4789ac
lea eax, [ebp - 0x28]
push eax
push esi
mov byte [esi + 0x1f5], 1
call fcn.0047942f
mov ebx, dword [sym.imp.USER32.dll_KillTimer]
push 0x74
push dword [edi]
call ebx
push 0x73
push dword [edi]
call ebx
add esi, 0x1e8
cmp dword [esi], 0
jne 0x4789b2
mov dword [esi], 0xa
jmp 0x4789b2
cmp eax, 0x76
jne 0x47892e
push eax
add esi, 0x30
push dword [esi]
call dword [sym.imp.USER32.dll_KillTimer]
push 0x64
mov bl, 1
call fcn.0044b15b
call fcn.0044b136
mov edi, eax
lea eax, [ebp - 0x28]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x1e
call fcn.0044b15b
call fcn.0044b136
add dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov ecx, eax
sub ecx, dword [ebp - 0x24]
cmp ecx, edi
jg 0x4788df
xor bl, bl
sub eax, edi
mov dword [ebp - 0x24], eax
xor edi, edi
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.00475704
pop ecx
pop ecx
push 0x14
push edi
push esi
lea eax, [ebp - 0x28]
call fcn.0044d155
push edi
test bl, bl
je 0x478909
push 0xa
push 0x76
push dword [esi]
jmp 0x4789ac
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi]
push 0x593d60
call fcn.0043c577
push edi
push edi
push 0x10
push dword [esi]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4789b2
cmp eax, 0x77
jne 0x4789b2
push eax
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], 8
call dword [sym.imp.USER32.dll_GetLastInputInfo]
mov eax, dword [0x594de8]
test eax, eax
je 0x478998
cmp eax, dword [ebp - 0x14]
je 0x4789a0
cmp dword [esi + 0x1e8], 0
jne 0x4789b2
mov eax, dword [esi + 0x230]
test eax, eax
jne 0x47897e
or dword [esi + 0x1ec], 0xffffffff
jmp 0x47898a
imul eax, eax, 0x3e8
mov dword [esi + 0x1ec], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x224], eax
jmp 0x4789b2
mov eax, dword [ebp - 0x14]
mov dword [0x594de8], eax
push 0
push 0x1f4
push 0x77
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [ebp + 0xc]
and dword [eax], 0
xor eax, eax
call fcn.004fc7a6
ret 8