Function at 0x612eb0
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 0x613181
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x154], 0
je 0x61315b
cmp byte [ebx + 0x155], 0
jne 0x61315b
call fcn.00501d74
mov eax, dword [eax + 0x260]
call fcn.00614f88
mov byte [ebx + 0x155], 1
call fcn.00498f00
call fcn.00496240
cmp byte [eax + 0xb], 0
je 0x612f30
cmp dword [0x675610], 0
jne 0x612f30
call fcn.00501d74
mov ecx, eax
mov dl, 1
mov eax, dword [0x60fb5c]
call fcn.0060fe58
mov dword [0x675610], eax
mov eax, dword [ebx + 0x15c]
mov eax, dword [eax + 0x190]
mov dl, byte [ebx + 0x164]
mov byte [eax + 0x164], dl
mov eax, ebx
call fcn.00612a1c
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.00498f00
call fcn.00496240
movzx eax, byte [eax + 0xb]
inc eax
imul eax, eax, 0x1e
mov esi, dword [0x6726c0]
mov esi, dword [esi + 4]
mov edx, dword [0x6720b8]
add esi, dword [edx]
mov edx, dword [ebx + 0x15c]
mov edx, dword [edx + 0x190]
sub esi, dword [edx + 0x34]
sub esi, eax
call fcn.004798b0
test al, al
jne 0x612fa7
mov edi, dword [ebx + 0x30]
jmp 0x613002
mov eax, dword [ebx + 0x15c]
mov eax, dword [eax + 0x190]
cmp dword [eax + 0x34], 0
jne 0x612ff3
call fcn.00498f00
call fcn.00496240
cmp byte [eax + 0xb], 0
je 0x612ff3
lea ecx, [ebp - 0x20]
mov edx, ebx
mov eax, dword [0x675610]
call fcn.00610000
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [0x675610]
call fcn.00641c94
pop edx
call fcn.0064f04c
mov edi, eax
add edi, 0x32
jmp 0x613002
mov eax, dword [ebx + 0x15c]
mov eax, dword [eax + 0x190]
mov edi, dword [eax + 0x30]
call fcn.004798b0
sub al, 1
jb 0x61300f
je 0x613017
jmp 0x61302d
mov eax, dword [ebx + 0x34]
add dword [ebp - 0x10], eax
jmp 0x613040
mov eax, dword [ebx + 0x30]
dec eax
add dword [ebp - 0x14], eax
mov edx, esi
mov eax, dword [ebp - 0x10]
call fcn.0065b28c
mov dword [ebp - 0x10], eax
jmp 0x613040
mov eax, edi
dec eax
sub dword [ebp - 0x14], eax
mov edx, esi
mov eax, dword [ebp - 0x10]
call fcn.0065b28c
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 + 0x190]
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.0064a424
push eax
call sub.user32.dll_SetWindowPos
push 5
mov eax, dword [ebx + 0x15c]
mov eax, dword [eax + 0x190]
call fcn.0064a424
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x15c]
mov eax, dword [eax + 0x190]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00648310
mov esi, eax
dec esi
cmp esi, 0
jl 0x6130ea
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.006482e0
mov edi, eax
mov eax, edi
mov edx, dword [0x6450d4]
call fcn.00402990
test al, al
je 0x6130e4
push 5
mov eax, edi
call fcn.0064a424
push eax
call sub.user32.dll_ShowWindow
dec esi
cmp esi, 0xffffffff
jne 0x6130b8
call fcn.00498f00
call fcn.00496240
cmp byte [eax + 0xb], 0
je 0x61315b
mov eax, dword [0x675610]
mov dword [eax + 0x1a4], ebx
lea edx, [ebp - 0x14]
mov eax, dword [0x675610]
call fcn.0060feac
mov eax, ebx
call fcn.00611488
test al, al
je 0x613124
mov edi, 0x50
jmp 0x613129
mov edi, 0x90
mov eax, dword [0x675610]
lea esi, [eax + 0x194]
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 [0x675610]
call fcn.0064a424
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 0x613188
lea eax, [ebp - 0x20]
call fcn.00403880
ret