Function at 0x4064a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x4c], ebx
call fcn.00406400
push 0
push dword [0x42c688]
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 0x40650a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0040e6b9
mov esp, ebp
pop ebp
ret 4
push 1
push dword [0x42c684]
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 [0x42c688]
push 0
push dword [ebx]
push 0x14
push 0x1f7
push 0x13a
push 0
push 0x50000010
push 0x4238f8
push str.Static
push 4
call esi
mov ecx, ebx
call fcn.00406280
mov ecx, dword [ebx + 0x194]
mov eax, dword [ebx]
cmp dword [ecx], 0
mov dword [ecx + 4], eax
jne 0x40656f
call fcn.0040a530
mov ecx, dword [ebx + 0x198]
mov eax, dword [ebx]
cmp dword [ecx], 0
mov dword [ecx + 4], eax
jne 0x406584
call fcn.00405e30
mov ecx, dword [ebx + 0x19c]
mov eax, dword [ebx]
cmp dword [ecx], 0
mov dword [ecx + 4], eax
jne 0x406599
call fcn.00407d40
mov ecx, dword [ebx + 0x1a0]
mov eax, dword [ebx]
cmp dword [ecx], 0
mov dword [ecx + 4], eax
jne 0x4065ae
call fcn.004086a0
mov esi, dword [ebx + 0x1a4]
mov eax, dword [ebx]
cmp dword [esi], 0
mov dword [esi + 4], eax
jne 0x40660f
push 0x30
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.00413c30
mov eax, dword [0x42c688]
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 0x406624
call fcn.00407210
mov ecx, dword [ebx + 0x1ac]
mov eax, dword [ebx]
cmp dword [ecx], 0
mov dword [ecx + 4], eax
jne 0x406639
call fcn.00404ff0
mov ecx, dword [ebx + 0x1b0]
mov eax, dword [ebx]
cmp dword [ecx], 0
mov dword [ecx + 4], eax
jne 0x40664e
call fcn.00401dd0
mov ecx, dword [ebx + 0x194]
call fcn.0040a470
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.0040e6b9
mov esp, ebp
pop ebp
ret 4