Function at 0x4508f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x575494]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], edx
lea edx, [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
xor eax, eax
push edx
push edi
mov dword [ebp - 0x2c], edi
mov dword [ebx + 0x469a0], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x24]
push 5
sub eax, esi
mov dword [ebx + 0x469ac], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov ecx, dword [ebp - 0x20]
push eax
push 0
push 0
push 0
push 0
push 3
push ecx
mov eax, str.ControlCenter4_HomeClientWndCls
mov ecx, ebx
call fcn.0051ba70
test al, al
je 0x450b08
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
push ebx
push 0x2328
push edi
push edx
push eax
push esi
push ecx
mov ecx, dword [ebp - 0x20]
push 0
push 0x50000000
push 0
mov eax, str.ControlCenter4_HomeClientWndCls
mov edx, ebx
call fcn.0051bbf0
mov edx, dword [ebp - 0x2c]
mov edi, eax
xor esi, esi
mov dword [ebp - 0x1c], edi
mov dword [ebx + 0x30], edi
mov dword [ebx + 0x34], edx
mov byte [ebx + 0x38], 1
cmp edi, esi
je 0x450ac9
mov eax, dword [ebp - 0x28]
lea esi, [ebx + 0x3c]
push eax
call fcn.00455330
call fcn.004559d0
mov ecx, edi
mov edi, esi
call fcn.00455e40
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
push ecx
push edx
call fcn.00454fc0
mov edi, dword [ebp - 0x28]
push edi
call fcn.004560e0
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x24]
push edi
mov edi, dword [ebp - 0x1c]
push edi
push ecx
push ebx
call fcn.00451220
push edi
mov eax, esi
call fcn.00454a80
cmp dword [ebp + 0x20], 0
jne 0x450a1c
call fcn.00451660
mov dword [ebp + 0x20], eax
mov edx, dword [ebp + 0x20]
mov eax, dword [ebx + 0x10]
push edx
push eax
mov edi, esi
mov dword [ebx + 0x469a4], 0
call fcn.00454db0
mov esi, eax
push esi
call fcn.00513b10
push esi
mov edi, ebx
call fcn.004513b0
mov esi, dword [ebp - 0x24]
sub esi, dword [ebx + 0x469a0]
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
push esi
push 1
push edi
push eax
lea ecx, [ebx + 0xe68]
push ecx
call fcn.00505580
mov eax, dword [ebx + 0xe98]
test eax, eax
je 0x450a7a
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x450a8e
mov edx, dword [ebx + 0xe94]
mov eax, dword [edx + 4]
mov dword [ebx + eax + 0xe94], 6
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
push esi
push ecx
push edi
push edx
lea edi, [ebx + 0x12d8]
call fcn.00504130
mov edi, ebx
call fcn.00451560
mov esi, ebx
call fcn.00451940
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0051eacc
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [ebx + 0x20]
cmp eax, esi
je 0x450af4
mov ecx, dword [ebx + 8]
push ecx
push eax
call dword [sym.imp.USER32.dll_UnregisterClassW]
mov eax, dword [ebx + 0x20]
mov dword [ebx + 8], esi
cmp eax, esi
je 0x450af4
push eax
call fcn.0051eadb
add esp, 4
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x24], esi
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0051eacc
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0051eacc
mov esp, ebp
pop ebp
ret 0x1c