Function at 0x51b032
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2c], 0
jl 0x51b073
mov eax, dword [ebp + 8]
push eax
call fcn.0051ae5c
add esp, 4
mov eax, dword [ebp + 8]
cmp dword [eax + 0x30], 0
jl 0x51b097
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x10], eax
jmp 0x51b0aa
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xde]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov eax, dword [0x533644]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x51b0cc
push 5
mov eax, dword [0x533644]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x533644]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 9
mov eax, dword [0x533644]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 8
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov eax, dword [0x533660]
mov dword [ebp - 0xc], eax
mov dword [0x533660], 1
push 0
push 1
push 6
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0xc]
mov dword [0x533660], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004a1cd1
add esp, 4
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x42]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x42], 1
push 1
push 1
push 1
push 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xde]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
push eax
call fcn.0043c3e6
add esp, 0x18
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x42], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0
push 0
push 1
push 1
mov eax, dword [ebp - 0x1c]
and eax, 0xffff
shl eax, 0x10
mov ecx, dword [ebp - 0x10]
and ecx, 0xffff
or eax, ecx
push eax
push 0x459
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
push eax
call fcn.0043db0f
add esp, 0x20
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0xe6], 0
je 0x51b22d
push 0
push 1
push 1
push 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xe6]
push eax
call fcn.00472111
add esp, 0x14
push 5
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x51b22d
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 5
mov eax, dword [ebp + 8]
push eax
call fcn.00519c09
add esp, 8
pop edi
pop esi
pop ebx
leave
ret