Function at 0x4065a0
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.00406500
push 0
push dword [0x42d66c]
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 0x40660a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00410c9e
mov esp, ebp
pop ebp
ret 4
push 1
push dword [0x42d668]
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 [0x42d66c]
push 0
push dword [ebx]
push 0x14
push 0x1f7
push 0x13a
push 0
push 0x50000010
push 0x4258c8
push str.Static
push 4
call esi
mov ecx, ebx
call fcn.00406380
mov ecx, dword [ebx + 0x194]
mov eax, dword [ebx]
cmp dword [ecx], 0
mov dword [ecx + 4], eax
jne 0x40666f
call fcn.0040a940
mov ecx, dword [ebx + 0x198]
mov eax, dword [ebx]
cmp dword [ecx], 0
mov dword [ecx + 4], eax
jne 0x406684
call fcn.00405f30
mov ecx, dword [ebx + 0x19c]
mov eax, dword [ebx]
cmp dword [ecx], 0
mov dword [ecx + 4], eax
jne 0x406699
call fcn.00407e40
mov ecx, dword [ebx + 0x1a0]
mov eax, dword [ebx]
cmp dword [ecx], 0
mov dword [ecx + 4], eax
jne 0x4066ae
call fcn.004087a0
mov esi, dword [ebx + 0x1a4]
mov eax, dword [ebx]
cmp dword [esi], 0
mov dword [esi + 4], eax
jne 0x40670f
push 0x30
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.00417510
mov eax, dword [0x42d66c]
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 0x406724
call fcn.00407310
mov ecx, dword [ebx + 0x1ac]
mov eax, dword [ebx]
cmp dword [ecx], 0
mov dword [ecx + 4], eax
jne 0x406739
call fcn.004050f0
mov ecx, dword [ebx + 0x1b0]
mov eax, dword [ebx]
cmp dword [ecx], 0
mov dword [ecx + 4], eax
jne 0x40674e
call fcn.00401dd0
mov ecx, dword [ebx + 0x194]
call fcn.0040a880
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.00410c9e
mov esp, ebp
pop ebp
ret 4