Function at 0x609628
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x20], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6098f3
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x154], 0
je 0x6098cd
cmp byte [ebx + 0x155], 0
jne 0x6098cd
mov eax, dword [0x66956c]
mov eax, dword [eax]
call fcn.0060b634
mov byte [ebx + 0x155], 1
call fcn.004959b8
call fcn.00492f40
cmp byte [eax + 0xb], 0
je 0x6096a4
cmp dword [0x66c728], 0
jne 0x6096a4
call fcn.004fe288
mov ecx, eax
mov dl, 1
mov eax, dword [0x6063f0]
call fcn.006066b8
mov dword [0x66c728], eax
mov eax, dword [ebx + 0x15c]
mov eax, dword [eax + 0x194]
mov dl, byte [ebx + 0x164]
mov byte [eax + 0x164], dl
mov eax, ebx
call fcn.00609198
lea edx, [ebp - 0x1c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
call fcn.004959b8
call fcn.00492f40
movzx eax, byte [eax + 0xb]
inc eax
imul eax, eax, 0x1e
mov esi, dword [0x66986c]
mov esi, dword [esi + 4]
mov edx, dword [0x669188]
add esi, dword [edx]
mov edx, dword [ebx + 0x15c]
mov edx, dword [edx + 0x194]
sub esi, dword [edx + 0x34]
sub esi, eax
call fcn.0047a440
test al, al
jne 0x60971b
mov edi, dword [ebx + 0x30]
jmp 0x609776
mov eax, dword [ebx + 0x15c]
mov eax, dword [eax + 0x194]
cmp dword [eax + 0x34], 0
jne 0x609767
call fcn.004959b8
call fcn.00492f40
cmp byte [eax + 0xb], 0
je 0x609767
lea ecx, [ebp - 0x20]
mov edx, ebx
mov eax, dword [0x66c728]
call fcn.00606858
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [0x66c728]
call fcn.0063b25c
pop edx
call fcn.00648600
mov edi, eax
add edi, 0x32
jmp 0x609776
mov eax, dword [ebx + 0x15c]
mov eax, dword [eax + 0x194]
mov edi, dword [eax + 0x30]
call fcn.0047a440
sub al, 1
jb 0x609783
je 0x60978b
jmp 0x6097a1
mov eax, dword [ebx + 0x34]
add dword [ebp - 0x10], eax
jmp 0x6097b4
mov eax, dword [ebx + 0x30]
dec eax
add dword [ebp - 0x14], eax
mov edx, esi
mov eax, dword [ebp - 0x10]
call fcn.00652c54
mov dword [ebp - 0x10], eax
jmp 0x6097b4
mov eax, edi
dec eax
sub dword [ebp - 0x14], eax
mov edx, esi
mov eax, dword [ebp - 0x10]
call fcn.00652c54
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
add eax, edi
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x15c]
mov edx, dword [eax + 0x194]
mov edx, dword [edx + 0x34]
add edx, dword [ebp - 0x10]
mov dword [ebp - 8], edx
mov esi, eax
push 0x50
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
push edi
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 0
mov eax, esi
call fcn.00643a28
push eax
call sub.user32.dll_SetWindowPos
push 5
mov eax, dword [ebx + 0x15c]
mov eax, dword [eax + 0x194]
call fcn.00643a28
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x15c]
mov eax, dword [eax + 0x194]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00641968
mov esi, eax
dec esi
cmp esi, 0
jl 0x60985e
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.00641938
mov edi, eax
mov eax, edi
mov edx, dword [0x63e724]
call fcn.00402990
test al, al
je 0x609858
push 5
mov eax, edi
call fcn.00643a28
push eax
call sub.user32.dll_ShowWindow
dec esi
cmp esi, 0xffffffff
jne 0x60982c
call fcn.004959b8
call fcn.00492f40
cmp byte [eax + 0xb], 0
je 0x6098cd
mov eax, dword [0x66c728]
mov dword [eax + 0x1a8], ebx
lea edx, [ebp - 0x14]
mov eax, dword [0x66c728]
call fcn.0060670c
mov edi, 0x90
mov eax, ebx
call fcn.00607c84
test al, al
je 0x60989b
mov edi, 0x50
mov eax, dword [0x66c728]
lea esi, [eax + 0x198]
push edi
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
push eax
mov eax, dword [esi + 8]
sub eax, dword [esi]
push eax
mov eax, dword [esi + 4]
push eax
mov eax, dword [esi]
push eax
push 0
mov eax, dword [0x66c728]
call fcn.00643a28
push eax
call sub.user32.dll_SetWindowPos
xor eax, eax
mov dword [ebx + 0x14c], eax
xor eax, eax
mov dword [ebx + 0x148], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6098fa
lea eax, [ebp - 0x20]
call fcn.00403880
ret