Function at 0x6ade00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x709bf0
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x7c2580]
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.006a9730
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.006af240
cmp dword [0x7c9724], 0
jne 0x6adf25
push 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0x6ae3d0
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 0x6adf83
mov esi, 0x90000000
jmp 0x6adfac
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 0x6adfac
or esi, 0x80000
mov edi, dword [ebp - 0x138]
cmp byte [edi + 0x3a9], 0
jne 0x6ae000
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.006a4b90
mov dword [ebp - 0x138], eax
cmp dword [eax + 0x14], 7
jbe 0x6ae023
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 [0x7c23f0]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0x384], eax
cmp ecx, 7
jbe 0x6ae0a0
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x6ae096
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6ae239
push ecx
push edx
call fcn.006d6ad4
add esp, 8
movups xmm0, xmmword [0x7a4b78]
xor eax, eax
mov dword [ebp - 0x58], 0x20
push eax
mov dword [ebp - 0x3c], eax
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 0x6ae104
mov eax, dword [0x7c9728]
test eax, eax
jne 0x6ae0fe
push 1
call fcn.006b3130
mov ecx, dword [edi + 0x384]
add esp, 4
mov eax, dword [0x7c9728]
inc eax
mov dword [0x7c9728], 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 0x6ae214
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 0x6ae1c2
push str.Failed_to_change_display_mode_for_fullscreen
call fcn.00705760
push eax
call fcn.0045cdd0
push eax
call fcn.0045d5d0
add esp, 0xc
jmp 0x6ae214
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 [0x7c972c], edi
inc dword [0x7c9724]
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.006d66cb
mov esp, ebp
pop ebp
ret 0x18
call fcn.006e38ad
int3