Function at 0x764f88
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], ecx
mov ebx, eax
xor eax, eax
push ebp
push 0x7654f1
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.006a05e8
xor edx, edx
call fcn.006a0704
test eax, eax
jg 0x7654d3
mov eax, ebx
call fcn.007741a0
test al, al
je 0x7654d3
cmp byte [ebx + 0x4c], 0
jne 0x7654d3
mov eax, dword [ebx + 0x2dc]
mov edx, dword [eax]
call dword [edx + 0x78]
test al, al
jne 0x764fef
cmp byte [ebx + 0x51], 0
jne 0x7654d3
mov eax, ebx
call fcn.00764774
test al, al
jne 0x7654d3
mov eax, dword [ebx + 0x2dc]
cmp byte [eax + 0x2ce], 1
je 0x7654d3
mov eax, dword [ebx + 0x2dc]
cmp byte [eax + 0x215], 0
je 0x7654d3
cmp dword [ebx + 0x2f0], 0
je 0x765040
mov eax, dword [ebx + 0x2dc]
cmp dword [eax + 0x2e8], 0
je 0x7654d3
mov eax, dword [ebx + 0x2dc]
cmp byte [eax + 0x2d2], 1
jne 0x76506d
mov eax, dword [0x803048]
cmp dword [eax], 0
je 0x76506d
mov eax, dword [0x803048]
mov eax, dword [eax]
cmp dword [eax + 0xfc], 0
jg 0x7654d3
test byte [ebx + 0x2e4], 0x80
jne 0x7654d3
cmp dword [ebx + 0x2ac], 0
jne 0x765116
push 0
mov ecx, dword [0x802ef8]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x764acc]
call fcn.005c9810
mov esi, eax
mov dword [ebx + 0x2ac], esi
mov eax, dword [ebx + 0x2dc]
push dword [eax + 8]
push 0x76550c
call sub.kernel32.dll_GetTickCount
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x34]
call fcn.0042127c
push dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00409bfc
mov edx, dword [ebp - 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov eax, dword [ebx + 0x2ac]
mov dword [eax + 0x3d8], ebx
test eax, eax
je 0x7654d3
call fcn.0051cd3c
mov eax, dword [ebx + 0x2ac]
call fcn.0051d134
test al, al
jne 0x765116
lea eax, [ebx + 0x2ac]
call fcn.00429de8
jmp 0x7654d3
cmp dword [ebx + 0x2f0], 0
je 0x7651f4
mov eax, ebx
call fcn.00770660
mov esi, eax
mov eax, ebx
call fcn.0076fd08
imul esi, eax
inc esi
mov dword [ebp - 0x14], esi
mov eax, dword [ebx + 0x2dc]
call fcn.005ca3e4
mov esi, eax
mov eax, ebx
call fcn.0076fc14
add esi, eax
sub esi, dword [ebp - 0x14]
lea edx, [ebp - 0x44]
mov eax, ebx
call fcn.0077338c
sub esi, dword [ebp - 0x40]
mov eax, dword [ebx + 0x2f0]
call fcn.007644ac
sub esi, eax
mov eax, dword [ebx + 0x2dc]
call fcn.0051cd60
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x7651a1
mov eax, dword [ebx + 0x2dc]
call fcn.0051cd60
mov edx, 0xfffffff0
call fcn.00413114
test eax, 0xc00000
je 0x7651a1
sub esi, 4
mov eax, dword [ebx + 0x2dc]
call fcn.0051cd60
mov edx, dword [ebx + 0x2f0]
xor ecx, ecx
call fcn.00764270
mov edi, eax
mov eax, dword [ebx + 0x2dc]
call fcn.005ca3c4
add edi, eax
mov dword [ebp - 0x18], edi
mov edi, dword [ebx + 0x2dc]
mov eax, edi
call fcn.0051cd60
mov edx, dword [ebx + 0x2f0]
xor ecx, ecx
call fcn.00764270
add eax, eax
mov edx, dword [edi + 0x58]
sub edx, eax
mov dword [ebp - 0x1c], edx
jmp 0x7653e3
mov eax, dword [ebx + 0x2dc]
mov edx, dword [eax + 0x5c]
mov dword [ebp - 0x14], edx
mov eax, dword [eax + 0x58]
mov dword [ebp - 0x1c], eax
mov esi, dword [ebx + 0x2dc]
cmp dword [esi + 0x40], 0
jne 0x765234
cmp byte [esi + 0x2d2], 1
je 0x765234
mov eax, esi
call fcn.005ca3e4
mov esi, eax
mov eax, dword [ebx + 0x2dc]
call fcn.005ca3c4
mov dword [ebp - 0x18], eax
jmp 0x76524e
lea eax, [ebp - 0x2c]
push eax
mov eax, esi
call fcn.0051cd60
push eax
call sub.user32.dll_GetWindowRect
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov edi, dword [ebx + 0x2dc]
cmp byte [edi + 0x2ce], 2
jne 0x7652a6
lea edx, [ebp - 0x2c]
mov eax, edi
call fcn.006fb114
mov eax, dword [ebx + 0x2dc]
call fcn.005ca3e4
neg eax
push eax
mov eax, dword [ebx + 0x2dc]
call fcn.005ca3c4
mov edx, eax
neg edx
lea eax, [ebp - 0x2c]
pop ecx
call fcn.00410c38
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x2c]
push eax
call sub.gdi32.dll_CreateRectRgn
mov edi, eax
jmp 0x7652b3
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.00765c04
mov edi, eax
mov dword [ebp - 0x10], edi
mov eax, dword [ebx + 0x2dc]
call fcn.0051cd60
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x2dc]
call fcn.0051cd60
lea edx, [ebp - 0x10]
call fcn.00764eec
mov eax, dword [ebx + 0x2dc]
call fcn.0051cd60
lea edx, [ebp - 0x2c]
call fcn.006fd060
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x2c]
push eax
call sub.gdi32.dll_CreateRectRgn
mov dword [ebp - 8], eax
push 4
mov eax, dword [ebp - 8]
push eax
push edi
push edi
call sub.gdi32.dll_CombineRgn
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebx + 0x2dc]
cmp dword [eax + 0x40], 0
jne 0x765337
mov eax, dword [ebx + 0x2dc]
cmp byte [eax + 0x2d2], 1
jne 0x7653cf
mov eax, dword [ebx + 0x2dc]
call fcn.0051cd60
push eax
call sub.user32.dll_GetDC
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_GetClipBox
dec eax
jne 0x765380
lea eax, [ebx + 0x2ac]
call fcn.00429de8
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebx + 0x2dc]
call fcn.0051cd60
push eax
call sub.user32.dll_ReleaseDC
jmp 0x7654d3
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
cmp edx, eax
jle 0x7653ba
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 0x20]
jge 0x7653ba
mov ecx, dword [ebp - 0x20]
push ecx
push edx
mov edx, dword [ebp - 0x28]
push edx
push eax
call sub.gdi32.dll_CreateRectRgn
mov dword [ebp - 8], eax
push 1
mov eax, dword [ebp - 8]
push eax
push edi
push edi
call sub.gdi32.dll_CombineRgn
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebx + 0x2dc]
call fcn.0051cd60
push eax
call sub.user32.dll_ReleaseDC
push 0
push edi
mov eax, dword [ebx + 0x2ac]
call fcn.0051cd60
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebx + 0x2ac]
mov ecx, esi
mov edx, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc8]
mov edi, dword [ebx + 0x2dc]
cmp byte [edi + 0x2d2], 1
jne 0x76543e
push 0x658
mov eax, ebx
call fcn.007704ac
push eax
mov eax, dword [ebx + 0x2dc]
mov eax, dword [eax + 0x58]
push eax
push esi
mov eax, dword [ebp - 0x18]
push eax
push 0
mov eax, dword [ebx + 0x2ac]
call fcn.0051cd60
push eax
call sub.user32.dll_SetWindowPos
jmp 0x76549f
mov eax, edi
call fcn.0051cd60
mov edx, 0xffffffec
call fcn.00413114
test al, 8
je 0x76547a
push 0x658
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push esi
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov eax, dword [ebx + 0x2ac]
call fcn.0051cd60
push eax
call sub.user32.dll_SetWindowPos
jmp 0x76549f
push 0x658
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push esi
mov eax, dword [ebp - 0x18]
push eax
push 0
mov eax, dword [ebx + 0x2ac]
call fcn.0051cd60
push eax
call sub.user32.dll_SetWindowPos
push 4
mov eax, dword [ebx + 0x2ac]
call fcn.0051cd60
push eax
call sub.user32.dll_ShowWindow
push 0x105
push 0
push 0
mov eax, dword [ebx + 0x2ac]
call fcn.0051cd60
push eax
call sub.user32.dll_RedrawWindow
push 0x28
call sub.kernel32.dll_Sleep
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7654f8
lea eax, [ebp - 0x34]
call fcn.00408844
lea eax, [ebp - 0x30]
call fcn.00408844
ret