Function at 0x4bfce0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d4d0
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x5cfc24]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x144], esi
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x150], esi
mov dword [ebp - 0x148], eax
call fcn.004ba400
push 0x7f00
push 0
mov dword [ebp - 4], 0
mov dword [esi], vtable.sf::priv::WindowImplWin32.0
mov dword [esi + 0x384], 0
mov dword [esi + 0x388], 0
mov byte [esi + 0x38c], 1
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esi + 0x390], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x394], 0
mov byte [esi + 0x398], 1
mov dword [esi + 0x39c], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x3a0], eax
xor eax, eax
mov word [esi + 0x3a6], ax
mov byte [esi + 0x3a8], al
mov eax, dword [ebp + 0x18]
shr eax, 3
and al, 1
mov byte [esi + 0x3a4], 0
mov byte [esi + 0x3a9], al
mov byte [esi + 0x3aa], al
call fcn.004c1080
cmp dword [0x5d3a74], 0
jne 0x4bfe05
push 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0x4c02b0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x28], eax
xorps xmm0, xmm0
mov eax, dword [str.SFML_Window]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x38]
push eax
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.USER32.dll_RegisterClassW]
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edi, eax
push 8
push edi
call esi
sub eax, dword [ebp + 8]
cdq
sub eax, edx
push 0xa
sar eax, 1
push edi
mov dword [ebp - 0x144], eax
call esi
mov ecx, dword [ebp + 0xc]
sub eax, ecx
cdq
sub eax, edx
mov dword [ebp - 0x13c], ecx
sar eax, 1
push edi
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp + 8]
push 0
mov dword [ebp - 0x140], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [ebp + 0x18]
test edx, edx
jne 0x4bfe63
mov esi, 0x90000000
jmp 0x4bfe8c
test dl, 1
mov ecx, 0x10c20000
mov eax, 0x10000000
cmove ecx, eax
mov esi, ecx
or esi, 0x50000
test dl, 2
cmove esi, ecx
test dl, 4
je 0x4bfe8c
or esi, 0x80000
mov edi, dword [ebp - 0x138]
cmp byte [edi + 0x3a9], 0
jne 0x4bfee0
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x13c]
push 0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push esi
push eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call dword [sym.imp.USER32.dll_AdjustWindowRect]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp - 0x148]
lea eax, [ebp - 0x28]
push eax
call fcn.004c7700
mov dword [ebp - 0x138], eax
cmp dword [eax + 0x14], 8
jb 0x4bff03
mov eax, dword [eax]
mov dword [ebp - 0x138], eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
mov eax, dword [ebp - 0x13c]
push 0
push 0
push eax
mov eax, dword [ebp - 0x140]
push eax
push dword [ebp - 0x14c]
push dword [ebp - 0x144]
push esi
push dword [ebp - 0x138]
push dword [0x5cf508]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0x384], eax
cmp ecx, 8
jb 0x4bff80
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4bff76
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c011a
push ecx
push edx
call fcn.004dded2
add esp, 8
movups xmm0, xmmword [0x52ebe8]
xor eax, eax
mov dword [ebp - 0x58], 0x20
push eax
mov word [ebp - 0x3c], ax
lea eax, [ebp - 0x58]
push eax
push dword [edi + 0x384]
mov dword [ebp - 0x54], 5
mov dword [ebp - 0x50], 0
movups xmmword [ebp - 0x4c], xmm0
call dword [sym.imp.USER32.dll_RegisterDeviceNotificationW]
mov ecx, dword [edi + 0x384]
test ecx, ecx
je 0x4bffe5
mov eax, dword [0x5d3a78]
test eax, eax
jne 0x4bffdf
push 1
call fcn.004c56f0
mov ecx, dword [edi + 0x384]
add esp, 4
mov eax, dword [0x5d3a78]
inc eax
mov dword [0x5d3a78], eax
mov eax, dword [ebp + 8]
push 0
push 0xfffffffffffffff0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
push ecx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRect]
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push 6
push eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push eax
push 0
push 0
push 0
push dword [edi + 0x384]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp byte [edi + 0x3a9], 0
je 0x4c00f5
mov eax, 0xdc
mov dword [ebp - 0xec], 0x1c0000
mov word [ebp - 0xf0], ax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x134]
push 4
push eax
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsW]
test eax, eax
je 0x4c00a3
push str.Failed_to_change_display_mode_for_fullscreen
call fcn.004c7b90
push eax
call fcn.00414310
push eax
call fcn.00452070
add esp, 0xc
jmp 0x4c00f5
mov esi, dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x86000000
push 0xfffffffffffffff0
push dword [edi + 0x384]
call esi
push 0x40000
push 0xffffffffffffffec
push dword [edi + 0x384]
call esi
push 0x20
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
push 0
push dword [edi + 0x384]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push dword [edi + 0x384]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [0x5d3a7c], edi
inc dword [0x5d3a74]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dde94
mov esp, ebp
pop ebp
ret 0x18
call fcn.004e5195
int3