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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40
push ebx
push esi
mov byte [esp + 0xf], 1
mov byte [esp + 0xe], 1
lea eax, [esp + 0x18]
push eax
push ecx
mov ecx, dword [0x40f094]
mov edx, str.6711
shr edx, 0x10
mov ebx, esp
mov dword [esp + 0x1c], esp
mov dword [ebx], ecx
test edx, edx
jne 0x401596
mov eax, str.6711
movzx ecx, ax
mov edx, ebx
call fcn.00401cb0
jmp 0x4015cf
push str.6711
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x4015cf
mov ecx, esi
mov edx, ebx
call fcn.00401da0
test eax, eax
je 0x4015cf
lea eax, [esi + esi]
lea ecx, [eax + 2]
cmp ecx, eax
jb 0x4015cf
mov edx, dword [ebx]
push eax
push str.6711
push edx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
lea eax, [edi + 0x450]
push eax
call fcn.00407910
test eax, eax
je 0x401817
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
lea ecx, [esp + 0x3c]
push ecx
push 0x10
push 0x30
mov dword [edi + 0x494], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov edx, dword [edi + 0x90]
mov eax, dword [edx + 0x54]
lea esi, [edi + 0x90]
mov ecx, esi
call eax
cmp dword [esp + 0x18], 0
jne 0x401640
cmp dword [esp + 0x1c], 0
jne 0x401640
mov eax, 0xffffff9c
mov ecx, 0xffffffa6
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
jmp 0x401722
mov ecx, dword [esp + 0x20]
add ecx, eax
cmp ecx, dword [esp + 0x40]
jle 0x4016b8
cmp byte [esi + 0xe1], 1
je 0x401668
mov ecx, 4
mov eax, esi
mov byte [esi + 0xe1], 1
call fcn.00405e30
mov edx, dword [esp + 0x18]
mov eax, dword [esi]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0x54]
mov ecx, esi
call edx
sub dword [esp + 0x18], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x58]
mov ecx, esi
call edx
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
sub esp, 0x10
mov ecx, esp
add eax, edx
mov dword [ecx], esi
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x30]
mov dword [ecx + 8], edx
mov dword [esp + 0x34], eax
mov dword [ecx + 0xc], eax
push 1
mov eax, edi
call fcn.00401920
mov byte [esp + 0xe], 0
jmp 0x401722
cmp byte [esi + 0xe1], 0
je 0x4016d4
mov ecx, 4
mov eax, esi
mov byte [esi + 0xe1], 0
call fcn.00405e30
mov eax, dword [esp + 0x20]
mov edx, dword [esi]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x54]
mov ecx, esi
call eax
mov edx, dword [esi]
add dword [esp + 0x20], eax
mov eax, dword [edx + 0x58]
mov ecx, esi
call eax
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
sub esp, 0x10
mov ecx, esp
add eax, edx
mov dword [ecx], esi
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x30]
mov dword [ecx + 8], edx
mov dword [esp + 0x34], eax
mov dword [ecx + 0xc], eax
push 0
mov eax, edi
call fcn.00401920
mov byte [esp + 0xe], 1
mov al, byte [esp + 0xf]
cmp byte [esp + 0xe], al
je 0x40173e
mov edx, dword [edi]
mov eax, dword [edx + 0x48]
push 0
mov ecx, edi
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 esi, dword [esp + 0x20]
mov dword [esp + 0x2c], ecx
add ecx, 0xfffffffe
push ecx
push eax
mov dword [esp + 0x1c], 1
mov ebx, eax
mov dword [esp + 0x3c], edx
call dword [sym.imp.USER32.dll_WindowFromPoint]
cmp eax, dword [edi + 0x454]
jne 0x4017c2
mov eax, dword [esp + 0x34]
add eax, 2
push eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_WindowFromPoint]
mov dword [esp + 0x18], eax
call ebx
cmp eax, dword [edi + 0x454]
jne 0x4017c2
mov eax, dword [esp + 0x2c]
add eax, 0xfffffffe
push eax
push esi
call ebx
cmp eax, dword [edi + 0x454]
jne 0x4017c2
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
cmp eax, dword [edi + 0x454]
jne 0x4017c2
xor edx, edx
jmp 0x4017c6
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
sub eax, ecx
cmp eax, 0xbb
jl 0x4017dc
mov eax, 0xbb
push 0x50
push 0x40
push eax
mov eax, dword [esp + 0x28]
push eax
push ecx
push edx
mov edx, dword [edi]
mov eax, dword [edx + 0x48]
mov ecx, edi
call eax
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [edi]
mov eax, dword [edx + 0x48]
push 1
mov ecx, edi
call eax
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov cl, byte [esp + 0xe]
mov byte [esp + 0xf], cl
jmp 0x401565
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x494]
cmp eax, 0x258
jb 0x401565
mov edx, dword [edi]
mov eax, dword [edx + 0x48]
push 0
push 0
push 0x4c8
mov ecx, edi
call eax
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x401565