Function at 0x500960
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 0x500bcc
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.004f4fa8
add dword [ebp - 0x14], 4
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.004f6450
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 [0x62f4d4]
mov eax, dword [eax]
xor ecx, ecx
call fcn.005995a8
mov ebx, eax
mov eax, ebx
call fcn.00597e6c
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x58]
jge 0x5009e7
mov eax, ebx
call fcn.00597e6c
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.004f4568
mov eax, ebx
call fcn.00597e38
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x5c]
jge 0x500a07
mov eax, ebx
call fcn.00597e38
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.004f45a0
mov eax, ebx
call fcn.00597e54
mov edi, eax
mov eax, ebx
call fcn.00597e38
add edi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
add eax, dword [ebp - 0x1c]
cmp edi, eax
jge 0x500a41
mov eax, ebx
call fcn.00597e54
mov edi, eax
mov eax, ebx
call fcn.00597e38
add edi, eax
mov eax, dword [ebp - 4]
sub edi, dword [eax + 0x5c]
mov dword [ebp - 0x1c], edi
mov eax, ebx
call fcn.00597e20
mov edi, eax
mov eax, ebx
call fcn.00597e6c
add edi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
add eax, dword [ebp - 0x20]
cmp edi, eax
jge 0x500a7b
mov eax, ebx
call fcn.00597e20
mov edi, eax
mov eax, ebx
call fcn.00597e6c
add edi, eax
mov eax, dword [ebp - 4]
sub edi, dword [eax + 0x58]
mov dword [ebp - 0x20], edi
mov eax, ebx
call fcn.00597e20
cmp eax, dword [ebp - 0x20]
jle 0x500a91
mov eax, ebx
call fcn.00597e20
mov dword [ebp - 0x20], eax
mov eax, ebx
call fcn.00597e54
cmp eax, dword [ebp - 0x14]
jle 0x500aa7
mov eax, ebx
call fcn.00597e54
mov dword [ebp - 0x1c], eax
mov eax, dword [0x62f0f4]
mov eax, dword [eax]
mov edx, dword [eax + 0x188]
mov eax, dword [ebp - 4]
call fcn.004fa6c4
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.004fdea8
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 0x500b0c
mov eax, esi
test eax, eax
je 0x500b04
sub eax, 4
mov eax, dword [eax]
cmp eax, 0x64
setl al
jmp 0x500b0e
xor eax, eax
test al, al
je 0x500b8b
cmp dword [0x62c274], 0
je 0x500b8b
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1016
call sub.user32.dll_SystemParametersInfoW
cmp dword [ebp - 8], 0
je 0x500b8b
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1018
call sub.user32.dll_SystemParametersInfoW
cmp dword [ebp - 8], 0
je 0x500b4f
mov bl, 2
jmp 0x500b6a
lea edx, [ebp - 0x28]
mov eax, dword [0x635628]
call fcn.005043fc
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x1c]
jle 0x500b68
xor ebx, ebx
jmp 0x500b6a
mov bl, 1
movzx eax, bl
mov eax, dword [eax*4 + 0x62c348]
or eax, 0x40000
push eax
push 0x64
mov eax, dword [ebp - 4]
call fcn.004fdea8
push eax
call dword [0x62c274]
push 4
mov eax, dword [ebp - 4]
call fcn.004fdea8
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xa8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x500bd3
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