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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x154], 0
je 0x612ea9
mov eax, dword [ebp - 4]
call fcn.0064a424
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x612be8
call fcn.00501d74
call fcn.0064a424
push eax
call sub.user32.dll_IsWindowEnabled
test eax, eax
je 0x612be8
mov eax, dword [0x672094]
mov eax, dword [eax]
cmp byte [eax + 0x16e], 0
jne 0x612bf5
mov eax, dword [ebp - 4]
call fcn.00613190
jmp 0x612ea9
mov eax, dword [0x672558]
cmp byte [eax], 0
je 0x612ce9
mov eax, dword [ebp - 4]
cmp byte [eax + 0x155], 0
je 0x612c2c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov edx, dword [0x672668]
cmp eax, dword [edx]
je 0x612c2c
mov eax, dword [ebp - 4]
call fcn.00613190
jmp 0x612ea9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov edx, dword [0x672668]
cmp eax, dword [edx]
jne 0x612ea9
mov eax, dword [ebp - 4]
call fcn.00612eb0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x15c]
push 0x50
mov eax, dword [ebx + 0x34]
push eax
mov eax, dword [ebx + 0x30]
push eax
mov eax, dword [ebx + 0x2c]
push eax
mov eax, dword [ebx + 0x28]
push eax
push 0
mov eax, ebx
call fcn.0064a424
push eax
call sub.user32.dll_SetWindowPos
push 5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x15c]
mov eax, dword [eax + 0x190]
call fcn.0064a424
push eax
call sub.user32.dll_ShowWindow
call fcn.00498f00
call fcn.00496240
cmp byte [eax + 0xb], 0
je 0x612ea9
mov eax, dword [ebp - 4]
call fcn.00611488
test al, al
je 0x612ea9
mov eax, dword [0x675610]
lea ebx, [eax + 0x194]
push 0x50
mov eax, dword [ebx + 0xc]
mov edi, dword [ebx + 4]
sub eax, edi
push eax
mov eax, dword [ebx + 8]
mov esi, dword [ebx]
sub eax, esi
push eax
push edi
push esi
push 0
mov eax, dword [0x675610]
call fcn.0064a424
push eax
call sub.user32.dll_SetWindowPos
jmp 0x612ea9
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00612a70
test al, al
jne 0x612d6b
mov eax, dword [ebp - 4]
cmp byte [eax + 0x155], 0
je 0x612d4f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x15c]
call fcn.006226a0
test al, al
jne 0x612d6b
call fcn.00498f00
call fcn.00496240
cmp byte [eax + 0xb], 0
je 0x612d4f
mov eax, dword [ebp - 4]
call fcn.00611488
test al, al
je 0x612d4f
mov eax, dword [0x675610]
mov eax, dword [eax + 0x1a4]
cmp eax, dword [ebp - 4]
jne 0x612d4f
mov eax, dword [0x675610]
call fcn.006226a0
test al, al
jne 0x612d6b
call fcn.0060ead4
test al, al
je 0x612e1e
push ebp
call fcn.00612ad0
pop ecx
test al, al
je 0x612e1e
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x14c], edx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x155], 0
jne 0x612ea9
mov edx, dword [0x6755c8]
mov eax, dword [ebp - 4]
call fcn.00612a70
test al, al
je 0x612ea9
mov eax, dword [ebp - 4]
cmp dword [eax + 0x148], 0
jne 0x612dbb
call fcn.00660e34
mov edx, dword [ebp - 4]
mov dword [edx + 0x148], eax
jmp 0x612ea9
call fcn.00660e34
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x148]
test eax, eax
jle 0x612ea9
call fcn.0060ead4
test al, al
je 0x612de9
push ebp
call fcn.00612ad0
pop ecx
test al, al
je 0x612ea9
call fcn.0064582c
test eax, eax
jne 0x612ea9
call fcn.005397f4
test eax, eax
je 0x612e11
call fcn.005397f4
call fcn.005c9e8c
test al, al
jne 0x612ea9
mov eax, dword [ebp - 4]
call fcn.00612eb0
jmp 0x612ea9
mov eax, dword [ebp - 4]
cmp byte [eax + 0x155], 0
je 0x612e9e
call fcn.0064582c
test eax, eax
jne 0x612ea9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x15c]
call fcn.00610794
test al, al
jne 0x612ea9
call fcn.0060ead4
test al, al
je 0x612e63
push ebp
call fcn.00612ad0
pop ecx
test al, al
jne 0x612e63
mov eax, dword [ebp - 4]
call fcn.00613190
jmp 0x612ea9
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14c], 0
jne 0x612e7f
call fcn.00660e34
mov edx, dword [ebp - 4]
mov dword [edx + 0x14c], eax
jmp 0x612ea9
call fcn.00660e34
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x14c]
cmp eax, 0xc8
jle 0x612ea9
mov eax, dword [ebp - 4]
call fcn.00613190
jmp 0x612ea9
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x148], edx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret