Function at 0x451850
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x507074]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
mov ebx, ecx
push esi
push edi
push dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
lea eax, [ebx + 4]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
call edi
push eax
call edi
push eax
call edi
mov esi, dword [ebx + 0x134]
mov dword [ebx + 0x13c], eax
push dword [ebx + 4]
call edi
mov ecx, dword [esi + 8]
mov dword [ecx + 8], eax
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x4518a9
push eax
call fcn.00456870
mov ecx, ebx
call fcn.00451ad0
lea ecx, [ebx + 0x78]
call fcn.00478580
mov eax, dword [ebx + 0x134]
lea edi, [ebx + 4]
test byte [eax + 0xc], 1
je 0x4518d1
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x40e
push dword [edi]
call esi
push 0x3f0
mov dword [ebx + 0x114], eax
push dword [edi]
call esi
push 0x3f0
mov dword [ebx + 0x118], eax
push dword [edi]
call esi
push 0x40e
push dword [edi]
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 0x451940
push edx
push 0xfffffffffffffff0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, esi
call fcn.004767d0
push ecx
mov ecx, edi
call fcn.00436b20
mov eax, dword [ebx + 0x134]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ec
mov eax, dword [eax]
mov dword [ebx + 0x138], eax
push dword [edi]
call esi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x41a
push dword [edi]
call esi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x40f
push dword [edi]
call esi
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, eax
lea eax, [esp + 0x2c]
xorps xmm0, xmm0
push eax
push esi
movups xmmword [esp + 0x34], xmm0
call edi
lea eax, [esp + 0x3c]
xorps xmm0, xmm0
push eax
push dword [ebx + 0x114]
movups xmmword [esp + 0x44], xmm0
call edi
mov edi, dword [esp + 0x38]
sub edi, dword [esp + 0x30]
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esp + 0x1c]
xorps xmm0, xmm0
push eax
push dword [ebx + 0x118]
movups xmmword [esp + 0x24], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
lea eax, [esp + 0x20]
push eax
push dword [ebx + 4]
push dword [ebx + 0x118]
mov ebx, dword [sym.imp.USER32.dll_MapWindowPoints]
call ebx
neg edi
lea eax, [esp + 0x1c]
push edi
push 0
mov dword [esp + 0x20], edi
mov edi, dword [sym.imp.USER32.dll_OffsetRect]
push eax
call edi
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
sub eax, edx
mov ecx, dword [esp + 0x1c]
mov esi, dword [sym.imp.USER32.dll_MoveWindow]
push 1
push eax
mov eax, dword [esp + 0x2c]
sub eax, ecx
push eax
mov eax, dword [esp + 0x1c]
push edx
push ecx
push dword [eax + 0x118]
call esi
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x14]
push dword [eax + 0x114]
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x1c]
push dword [eax]
mov eax, dword [esp + 0x1c]
push dword [eax + 0x114]
call ebx
push dword [esp + 0x18]
lea eax, [esp + 0x20]
push 0
push eax
call edi
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
sub eax, edx
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
push 1
push eax
mov eax, dword [esp + 0x2c]
sub eax, ecx
push eax
push edx
push ecx
push dword [ebx + 0x114]
call esi
mov ecx, dword [esp + 0x4c]
xor eax, eax
pop edi
pop esi
mov dword [ebx + 0x104], 0
pop ebx
xor ecx, esp
call fcn.0049665e
mov esp, ebp
pop ebp
ret 8