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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
add esp, 0xffffffc4
push ebx
push esi
push edi
mov edi, eax
mov al, 1
mov byte [esp + 0xf], al
mov byte [esp + 0xe], al
push ecx
mov eax, esp
mov dword [esp + 0x18], esp
push eax
lea esi, [esp + 0x20]
call fcn.00401d60
lea ebx, [edi + 0x958]
call fcn.0040df20
or eax, eax
je 0x40185e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
lea ecx, [esp + 0x3c]
push ecx
push 0x10
push 0x30
mov dword [edi + 0x99c], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov edx, dword [edi + 0xc8]
mov eax, dword [edx + 0x8c]
lea esi, [edi + 0xc8]
mov ecx, esi
call eax
cmp dword [esp + 0x18], 0
jne 0x40166c
cmp dword [esp + 0x1c], 0
jne 0x40166c
mov ecx, 0xffffffa6
mov eax, 0xffffff9c
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
jmp 0x40175e
mov ebx, dword [esp + 0x20]
add ebx, eax
cmp ebx, dword [esp + 0x40]
jle 0x4016ec
cmp byte [esi + 0x13e], 1
je 0x401698
mov edx, dword [esi]
mov eax, dword [edx + 0x94]
push 1
push 4
mov byte [esi + 0x13e], 1
mov ecx, esi
call eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esi]
mov eax, dword [edx + 0x8c]
mov dword [esp + 0x20], ecx
mov ecx, esi
call eax
mov edx, dword [esi]
sub dword [esp + 0x18], eax
mov ecx, esi
mov eax, dword [edx + 0x90]
call eax
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
add esp, 0xfffffff0
mov ecx, esp
add eax, ebp
mov dword [ecx], ebx
mov dword [ecx + 4], ebp
mov edx, dword [esp + 0x30]
mov dword [ecx + 8], edx
push 1
mov dword [esp + 0x38], eax
mov dword [ecx + 0xc], eax
call fcn.00401980
mov byte [esp + 0xe], 0
jmp 0x40175e
cmp byte [esi + 0x13e], 0
je 0x40170c
mov eax, dword [esi]
mov edx, dword [eax + 0x94]
push 1
push 4
mov byte [esi + 0x13e], 0
mov ecx, esi
call edx
mov ebx, dword [esp + 0x20]
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x18], ebx
mov eax, dword [edx + 0x8c]
call eax
mov ecx, esi
mov edx, dword [esi]
add dword [esp + 0x20], eax
mov eax, dword [edx + 0x90]
call eax
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
add esp, 0xfffffff0
mov ecx, esp
mov dword [ecx], edx
add eax, ebx
mov dword [ecx + 4], ebx
mov edx, dword [esp + 0x30]
mov dword [ecx + 8], edx
push 0
mov dword [esp + 0x38], eax
mov dword [ecx + 0xc], eax
call fcn.00401980
mov byte [esp + 0xe], 1
mov al, byte [esp + 0xe]
cmp al, byte [esp + 0xf]
je 0x40177d
mov ecx, edi
mov edx, dword [edi]
mov eax, dword [edx + 0x8c]
push 0
call eax
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov ebp, dword [sym.imp.USER32.dll_WindowFromPoint]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x2c], ecx
sub ecx, 2
push ecx
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], edx
call ebp
cmp eax, dword [edi + 0x95c]
jne 0x401803
mov eax, dword [esp + 0x34]
add eax, 2
push eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
push eax
call ebp
cmp eax, dword [edi + 0x95c]
jne 0x401803
mov eax, dword [esp + 0x2c]
sub eax, 2
push eax
push esi
call ebp
cmp eax, dword [edi + 0x95c]
jne 0x401803
mov ecx, dword [esp + 0x10]
push ecx
push esi
call ebp
cmp eax, dword [edi + 0x95c]
jne 0x401803
xor ebp, ebp
jmp 0x401807
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
sub eax, ecx
cmp eax, 0xbb
jl 0x40181d
mov eax, 0xbb
push 0x50
push 0x3e
push eax
mov ebx, dword [esp + 0x28]
push ebx
push ecx
mov ecx, edi
push ebp
mov edx, dword [edi]
mov eax, dword [edx + 0x8c]
call eax
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, edi
mov edx, dword [edi]
mov eax, dword [edx + 0x8c]
push 1
call eax
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov cl, byte [esp + 0xe]
mov byte [esp + 0xf], cl
jmp 0x4015e8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x99c]
cmp eax, 0x258
jb 0x4015e8
mov edx, dword [edi]
mov ecx, edi
mov eax, dword [edx + 0x8c]
push 0
push 0
push 0x4c8
call eax
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4015e8