Function at 0x647ad0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0xc], ebx
mov byte [ebp - 5], cl
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x647ce4
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, dword [edi + 0x60]
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x2c]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, dword [ebp - 0x2c]
add esi, dword [ebp - 4]
add esi, dword [ebx + 0x10]
mov eax, dword [0x6721a0]
sub esi, dword [eax]
mov dword [ebp - 0x24], esi
mov eax, dword [0x67238c]
mov eax, dword [eax]
add eax, esi
mov dword [ebp - 0x1c], eax
mov edx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x18]
cmp edx, eax
jne 0x647b4f
lea edx, [ebp - 0x2c]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x20], esi
add esi, dword [edi + 0x34]
mov dword [ebp - 0x18], esi
jmp 0x647b55
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], edx
cmp byte [ebx + 0x2c], 0
je 0x647bbd
cmp byte [ebp - 5], 0
je 0x647b67
cmp byte [ebx + 0x2d], 0
je 0x647bbd
cmp dword [ebx + 0x30], 0
je 0x647bbd
push 0
mov eax, dword [ebx + 0x30]
call fcn.0064a424
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x672094]
mov eax, dword [eax]
mov eax, dword [eax + 0x15c]
mov esi, dword [eax + 0x18]
dec esi
cmp esi, 0
jl 0x647bbd
mov eax, dword [0x672094]
mov eax, dword [eax]
mov eax, dword [eax + 0x15c]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
call fcn.0064a424
push eax
call sub.user32.dll_UpdateWindow
dec esi
cmp esi, 0xffffffff
jne 0x647b93
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_InvertRect
mov al, byte [ebx + 0x2c]
and al, byte [ebp - 5]
je 0x647cb5
cmp dword [ebx + 0x30], 0
jne 0x647bfb
mov ecx, edi
mov dl, 1
mov eax, dword [0x6455f4]
call fcn.0064ab6c
mov esi, eax
mov dword [ebx + 0x30], esi
mov edx, 0x80000018
mov eax, esi
call fcn.00646840
cmp byte [ebx + 1], 3
jne 0x647c0a
mov esi, dword [ebp - 4]
add esi, dword [ebx + 0x10]
inc esi
jmp 0x647c15
mov eax, dword [ebp - 4]
add eax, dword [ebx + 0x10]
mov esi, dword [edi + 0x30]
sub esi, eax
lea ecx, [ebp - 0xc]
mov edx, esi
mov eax, dword [ebx + 0x38]
call dword [ebx + 0x34]
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0xc]
call fcn.0065c958
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x120]
call fcn.0064f04c
mov esi, eax
add esi, dword [0x67883c]
cmp byte [ebx + 0x2d], 0
je 0x647c5a
lea eax, [ebp - 0x2c]
call fcn.00622678
mov edi, dword [ebp - 0x28]
add edi, 0xa
jmp 0x647c60
mov edi, dword [ebp - 0x18]
add edi, 2
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x120]
call fcn.0064f074
add eax, dword [0x67883c]
push eax
lea eax, [ebp - 0x40]
push eax
mov edx, dword [0x6726c0]
mov edx, dword [edx]
mov eax, dword [0x6720f0]
add edx, dword [eax]
sub edx, esi
sub edx, 5
mov eax, dword [ebp - 0x24]
inc eax
call fcn.0065b28c
mov ecx, esi
mov edx, edi
call fcn.00656220
lea edx, [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x30]
mov esi, dword [eax]
call dword [esi + 0x74]
mov eax, dword [ebx + 0x30]
mov edx, dword [eax]
call dword [edx + 0x38]
mov eax, dword [ebp - 0x10]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebp - 4]
mov dword [ebx + 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x647ceb
lea eax, [ebp - 0x30]
call fcn.00403880
lea eax, [ebp - 0xc]
call fcn.00403274
ret