Function at 0x51cc60
Capabilities:
Check for time delay via gettickcount
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x298], 1
xor edx, edx
push ebp
push 0x51cecc
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.005115e4
add dword [ebp - 0x14], 4
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00512ab8
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x10]
mov eax, dword [0x9f2470]
mov eax, dword [eax]
xor ecx, ecx
call fcn.005e7c8c
mov ebx, eax
mov eax, ebx
call fcn.005e6550
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x58]
jge 0x51cce7
mov eax, ebx
call fcn.005e6550
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.00510ba4
mov eax, ebx
call fcn.005e651c
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x5c]
jge 0x51cd07
mov eax, ebx
call fcn.005e651c
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.00510bdc
mov eax, ebx
call fcn.005e6538
mov edi, eax
mov eax, ebx
call fcn.005e651c
add edi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
add eax, dword [ebp - 0x1c]
cmp edi, eax
jge 0x51cd41
mov eax, ebx
call fcn.005e6538
mov edi, eax
mov eax, ebx
call fcn.005e651c
add edi, eax
mov eax, dword [ebp - 4]
sub edi, dword [eax + 0x5c]
mov dword [ebp - 0x1c], edi
mov eax, ebx
call fcn.005e6504
mov edi, eax
mov eax, ebx
call fcn.005e6550
add edi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
add eax, dword [ebp - 0x20]
cmp edi, eax
jge 0x51cd7b
mov eax, ebx
call fcn.005e6504
mov edi, eax
mov eax, ebx
call fcn.005e6550
add edi, eax
mov eax, dword [ebp - 4]
sub edi, dword [eax + 0x58]
mov dword [ebp - 0x20], edi
mov eax, ebx
call fcn.005e6504
cmp eax, dword [ebp - 0x20]
jle 0x51cd91
mov eax, ebx
call fcn.005e6504
mov dword [ebp - 0x20], eax
mov eax, ebx
call fcn.005e6538
cmp eax, dword [ebp - 0x14]
jle 0x51cda7
mov eax, ebx
call fcn.005e6538
mov dword [ebp - 0x1c], eax
mov eax, dword [0x9f20c8]
mov eax, dword [eax]
mov edx, dword [eax + 0x188]
mov eax, dword [ebp - 4]
call fcn.00516c6c
push 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
call fcn.0051a434
push eax
call sub.user32.dll_SetWindowPos
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x29c]
cmp eax, 0xfa
jbe 0x51ce0c
mov eax, esi
test eax, eax
je 0x51ce04
sub eax, 4
mov eax, dword [eax]
cmp eax, 0x64
setl al
jmp 0x51ce0e
xor eax, eax
test al, al
je 0x51ce8b
cmp dword [0x9bfa7c], 0
je 0x51ce8b
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1016
call sub.user32.dll_SystemParametersInfoW
cmp dword [ebp - 8], 0
je 0x51ce8b
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1018
call sub.user32.dll_SystemParametersInfoW
cmp dword [ebp - 8], 0
je 0x51ce4f
mov bl, 2
jmp 0x51ce6a
lea edx, [ebp - 0x28]
mov eax, dword [0x9f8658]
call fcn.005206fc
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x1c]
jle 0x51ce68
xor ebx, ebx
jmp 0x51ce6a
mov bl, 1
movzx eax, bl
mov eax, dword [eax*4 + 0x9bfb50]
or eax, 0x40000
push eax
push 0x64
mov eax, dword [ebp - 4]
call fcn.0051a434
push eax
call dword [0x9bfa7c]
push 4
mov eax, dword [ebp - 4]
call fcn.0051a434
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xa4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51ced3
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x29c], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x298], 0
ret