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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
push esi
push edi
mov edi, eax
mov byte [esp + 0xf], 1
mov byte [esp + 0xe], 1
lea eax, [esp + 0x18]
push eax
push ecx
mov ecx, dword [0x40f094]
mov edx, 0x40b3d0
shr edx, 0x10
mov ebx, esp
mov dword [esp + 0x1c], esp
mov dword [ebx], ecx
test edx, edx
jne 0x401599
mov eax, 0x40b3d0
movzx ecx, ax
mov edx, ebx
call fcn.00401c80
jmp 0x4015d2
push 0x40b3d0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x4015d2
mov ecx, esi
mov edx, ebx
call fcn.00401d70
test eax, eax
je 0x4015d2
lea eax, [esi + esi]
lea ecx, [eax + 2]
cmp ecx, eax
jb 0x4015d2
mov edx, dword [ebx]
push eax
push 0x40b3d0
push edx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
lea eax, [edi + 0x450]
push eax
call fcn.004078f0
test eax, eax
je 0x401816
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 0x401643
cmp dword [esp + 0x1c], 0
jne 0x401643
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 0x401721
mov ecx, dword [esp + 0x20]
add ecx, eax
cmp ecx, dword [esp + 0x40]
jle 0x4016b9
cmp byte [esi + 0xe1], 1
je 0x40166b
mov ecx, 4
mov eax, esi
mov byte [esi + 0xe1], 1
call fcn.00405e10
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
mov dword [ecx], esi
add eax, edx
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x30]
mov dword [ecx + 8], edx
push 1
mov dword [esp + 0x38], eax
mov dword [ecx + 0xc], eax
call fcn.00401920
mov byte [esp + 0xe], 0
jmp 0x401721
cmp byte [esi + 0xe1], 0
je 0x4016d5
mov ecx, 4
mov eax, esi
mov byte [esi + 0xe1], 0
call fcn.00405e10
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
mov dword [ecx], esi
add eax, edx
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x30]
mov dword [ecx + 8], edx
push 0
mov dword [esp + 0x38], eax
mov dword [ecx + 0xc], eax
call fcn.00401920
mov byte [esp + 0xe], 1
mov al, byte [esp + 0xf]
cmp byte [esp + 0xe], al
je 0x40173d
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 0x4017c1
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 0x4017c1
mov eax, dword [esp + 0x2c]
add eax, 0xfffffffe
push eax
push esi
call ebx
cmp eax, dword [edi + 0x454]
jne 0x4017c1
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
cmp eax, dword [edi + 0x454]
jne 0x4017c1
xor edx, edx
jmp 0x4017c5
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
sub eax, ecx
cmp eax, 0xbb
jl 0x4017db
mov eax, 0xbb
push 0x50
push 0x3e
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 0x401568
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x494]
cmp eax, 0x258
jb 0x401568
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 0x401568