Function at 0x406490
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x429280]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x4c], ebx
call fcn.004063f0
push 0
push dword [0x42b46c]
mov esi, dword [sym.imp.USER32.dll_CreateWindowExW]
lea eax, [ebx + 0xcc]
push 0
push 0
push 0x185
push 0x1f7
push 0
push 0
push 0xca0000
push eax
lea eax, [ebx + 4]
push eax
push 0
call esi
mov dword [ebx], eax
test eax, eax
jne 0x4064fa
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00410c0e
mov esp, ebp
pop ebp
ret 4
push 1
push dword [0x42b468]
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push 0xffffffffffffffeb
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push dword [0x42b46c]
push 0
push dword [ebx]
push 0x14
push 0x1f7
push 0x13a
push 0
push 0x50000010
push 0x4258d0
push str.Static
push 4
call esi
mov ecx, ebx
call fcn.00406270
mov ecx, dword [ebx + 0x194]
mov eax, dword [ebx]
cmp dword [ecx], 0
mov dword [ecx + 4], eax
jne 0x40655f
call fcn.0040a8a0
mov ecx, dword [ebx + 0x198]
mov eax, dword [ebx]
cmp dword [ecx], 0
mov dword [ecx + 4], eax
jne 0x406574
call fcn.00405e20
mov ecx, dword [ebx + 0x19c]
mov eax, dword [ebx]
cmp dword [ecx], 0
mov dword [ecx + 4], eax
jne 0x406589
call fcn.00407d50
mov ecx, dword [ebx + 0x1a0]
mov eax, dword [ebx]
cmp dword [ecx], 0
mov dword [ecx + 4], eax
jne 0x40659e
call fcn.004086b0
mov esi, dword [ebx + 0x1a4]
mov eax, dword [ebx]
cmp dword [esi], 0
mov dword [esi + 4], eax
jne 0x4065ff
push 0x30
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.004173f0
mov eax, dword [0x42b46c]
add esp, 0xc
mov dword [ebp - 0x48], 0x30
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x40], 0x401300
push 5
mov dword [ebp - 0x34], eax
call dword [sym.imp.USER32.dll_GetSysColorBrush]
mov dword [ebp - 0x28], eax
lea eax, [esi + 0xc]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
mov ecx, esi
call fcn.00401250
mov ecx, dword [ebx + 0x1a8]
mov eax, dword [ebx]
cmp dword [ecx], 0
mov dword [ecx + 4], eax
jne 0x406614
call fcn.00407210
mov ecx, dword [ebx + 0x1ac]
mov eax, dword [ebx]
cmp dword [ecx], 0
mov dword [ecx + 4], eax
jne 0x406629
call fcn.00405070
mov ecx, dword [ebx + 0x1b0]
mov eax, dword [ebx]
cmp dword [ecx], 0
mov dword [ecx + 4], eax
jne 0x40663e
call fcn.00401dd0
mov ecx, dword [ebx + 0x194]
call fcn.0040a7e0
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
push 1
mov edi, eax
call esi
mov ebx, eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x4c]
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowRect]
sub edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov eax, edi
cdq
sub ebx, ecx
sub eax, edx
mov esi, eax
mov eax, ebx
mov ebx, dword [ebp - 0x4c]
push 0x40
push ecx
push dword [ebp - 0x10]
cdq
sub eax, edx
sar esi, 1
sar eax, 1
push eax
push esi
push 0
push dword [ebx]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [ebp - 8]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410c0e
mov esp, ebp
pop ebp
ret 4