Function at 0x4577c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x515080]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
mov ebx, ecx
push edi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov esi, dword [ebx + 0x138]
mov dword [ebx + 0x140], eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [esi + 8]
mov dword [ecx + 8], eax
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x457818
push eax
call fcn.0045cda0
mov ecx, ebx
call fcn.00457a40
lea ecx, [ebx + 0x78]
call fcn.004825d0
mov eax, dword [ebx + 0x138]
test byte [eax + 0xc], 1
je 0x45783e
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x40e
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3f0
mov dword [ebx + 0x114], eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3f0
mov dword [ebx + 0x118], eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x40e
push dword [ebx + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0xfffffffffffffff0
push esi
mov dword [ebx + 0x8c], eax
mov dword [ebx + 0x90], esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, eax
lea esi, [ebx + 0x88]
or edx, 0x80
cmp eax, edx
je 0x4578b7
push edx
push 0xfffffffffffffff0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, esi
call fcn.004802e0
push ecx
lea ecx, [ebx + 4]
call fcn.00439c30
mov eax, dword [ebx + 0x138]
push 0x3ec
mov eax, dword [eax]
mov dword [ebx + 0x13c], eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x41a
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x40f
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
xorps xmm0, xmm0
lea eax, [esp + 0x1c]
push eax
push esi
movups xmmword [esp + 0x24], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x2c]
xorps xmm0, xmm0
push eax
push dword [ebx + 0x114]
movups xmmword [esp + 0x34], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [esp + 0x28]
sub edi, dword [esp + 0x20]
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esp + 0xc]
xorps xmm0, xmm0
push eax
push dword [ebx + 0x118]
movups xmmword [esp + 0x14], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
lea eax, [esp + 0x10]
push eax
push dword [ebx + 4]
push dword [ebx + 0x118]
call dword [sym.imp.USER32.dll_MapWindowPoints]
neg edi
lea eax, [esp + 0xc]
push edi
push 0
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
mov ecx, dword [esp + 0xc]
push 1
push eax
mov eax, dword [esp + 0x1c]
sub eax, ecx
push eax
push edx
push ecx
push dword [ebx + 0x118]
call dword [sym.imp.USER32.dll_MoveWindow]
lea eax, [esp + 0xc]
push eax
push dword [ebx + 0x114]
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
lea eax, [esp + 0x10]
push eax
push dword [ebx + 4]
push dword [ebx + 0x114]
call dword [sym.imp.USER32.dll_MapWindowPoints]
push edi
push 0
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
mov ecx, dword [esp + 0xc]
push 1
push eax
mov eax, dword [esp + 0x1c]
sub eax, ecx
push eax
push edx
push ecx
push dword [ebx + 0x114]
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esp + 0x3c]
xor eax, eax
pop edi
pop esi
mov dword [ebx + 0x104], 0
pop ebx
xor ecx, esp
call fcn.004a1cf0
mov esp, ebp
pop ebp
ret 8