Function at 0x407c3e
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push edi
mov ebx, ecx
call fcn.004021fc
mov edi, eax
xor eax, eax
cmp dword [0x40c1b4], eax
mov dword [ebp - 4], edi
jne 0x407e35
cmp dword [0x40c1b0], eax
jne 0x407e35
cmp dword [0x40c1b8], eax
jne 0x407e35
cmp edi, eax
je 0x407e35
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x407e35
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x407e35
test byte [ebx + 4], 0x20
jne 0x407e35
mov ecx, dword [ebx + 0x64]
call fcn.00405b14
test eax, eax
je 0x407e35
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x40000
jne 0x407cd5
mov ecx, dword [ebx + 0x64]
call fcn.00401f65
jmp 0x407e35
cmp dword [ebx], 0xffffffff
je 0x407e35
test byte [ebx + 4], 1
jne 0x407e35
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x28]
push eax
push dword [ebx + 0x64]
call esi
lea eax, [ebp - 0x54]
push eax
push edi
mov dword [ebp - 0x54], 0x2c
call dword [sym.imp.USER32.dll_GetWindowPlacement]
lea eax, [ebp - 0x18]
push eax
push edi
call esi
mov esi, 0xc8
push edi
mov dword [ebp - 8], esi
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x407dcd
xor edx, edx
inc edx
lea ecx, [ebp - 0x38]
call fcn.004022d4
mov eax, dword [ebx]
sub eax, 0
mov esi, 0x40c030
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x407d65
dec eax
dec eax
jne 0x407d7c
mov eax, dword [0x40c030]
mov ecx, dword [ebp - 0x28]
add eax, 0xc8
cmp ecx, eax
jbe 0x407d60
mov dword [ebp - 0x10], ecx
jmp 0x407d7c
mov dword [ebp - 0x10], eax
jmp 0x407d7c
mov eax, dword [0x40c038]
mov ecx, dword [ebp - 0x20]
add eax, 0xffffff38
cmp ecx, eax
mov dword [ebp - 0x18], ecx
jb 0x407d7c
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x18]
call fcn.00405b7c
lea esi, [ebp - 0x18]
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x18]
push eax
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x28]
push eax
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call fcn.004066b0
test eax, eax
je 0x407dae
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetWindowPlacement]
push 9
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0xc8
push 1
push dword [ebx + 0x64]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x407e34
cmp dword [ebx + 0x38], 0
je 0x407ded
lea ecx, [ebp - 0x18]
call fcn.00405b7c
xor edx, edx
lea ecx, [ebp - 0x18]
call fcn.004022d4
lea ecx, [ebp - 0x18]
call fcn.00405bbd
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
cmp eax, esi
jae 0x407dfa
mov dword [ebp - 8], eax
cmp dword [ebx], 0xffffffff
je 0x407e34
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x28]
push eax
mov ecx, ebx
call fcn.00406340
test eax, eax
je 0x407e34
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push 0x14
push eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 0
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
pop esi
pop edi
pop ebx
leave
ret