Function at 0x447780
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [0x559024]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x14], edx
lea edx, [esp + 0x1c]
mov dword [esp + 8], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x10], eax
xor eax, eax
push edx
push edi
mov dword [esp + 0x20], edi
mov dword [ebx + 0x45dc0], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x10]
push 5
sub eax, esi
mov dword [ebx + 0x45dcc], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov ecx, dword [esp + 0xc]
push eax
push 0
push 0
push 0
push 0
push 3
push ecx
mov eax, str.ControlCenter4_HomeClientWndCls
mov ecx, ebx
call fcn.00510830
test al, al
je 0x4479bf
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
push ebx
push 0x2328
push edi
push edx
push eax
push esi
push ecx
mov ecx, dword [esp + 0x28]
push 0
push 0x50000000
push 0
mov eax, str.ControlCenter4_HomeClientWndCls
mov edx, ebx
call fcn.005109b0
mov edx, dword [esp + 0x18]
mov edi, eax
xor esi, esi
mov dword [esp + 8], edi
mov dword [ebx + 0x30], edi
mov dword [ebx + 0x34], edx
mov byte [ebx + 0x38], 1
cmp edi, esi
je 0x44797f
mov eax, dword [esp + 0x14]
lea esi, [ebx + 0x3c]
push eax
call fcn.0044c000
call fcn.0044c6a0
mov ecx, edi
mov edi, esi
call fcn.0044cb10
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
push ecx
push edx
call fcn.0044bc90
mov edi, dword [esp + 0x14]
push edi
call fcn.0044cdb0
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push edi
push ecx
push ebx
call fcn.004480e0
push edi
mov eax, esi
call fcn.0044b750
cmp dword [ebp + 0x20], 0
jne 0x4478ca
call fcn.00448520
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 + 0x45dc4], 0
call fcn.0044ba80
mov esi, eax
push esi
call fcn.00508630
push esi
mov edi, ebx
call fcn.00448270
mov esi, dword [esp + 0x10]
sub esi, dword [ebx + 0x45dc0]
mov edi, dword [esp + 8]
mov eax, dword [esp + 0xc]
push esi
push 1
push edi
push eax
lea ecx, [ebx + 0xe68]
push ecx
call fcn.004fa3c0
mov eax, dword [ebx + 0xe98]
test eax, eax
je 0x44792b
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x44793f
mov edx, dword [ebx + 0xe94]
mov eax, dword [edx + 4]
mov dword [ebx + eax + 0xe94], 6
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
push esi
push ecx
push edi
push edx
lea edi, [ebx + 0x12d8]
call fcn.004f8f70
mov edi, ebx
call fcn.00448420
mov esi, ebx
call fcn.00448860
mov eax, dword [esp + 8]
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00513498
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [ebx + 0x20]
cmp eax, esi
je 0x4479aa
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 0x4479aa
push eax
call fcn.005134a7
add esp, 4
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x24], esi
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00513498
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.00513498
mov esp, ebp
pop ebp
ret 0x1c