Function at 0x426250
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e6650
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x5a9824]
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.00422980
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.00427640
cmp dword [0x5afeac], 0
jne 0x426375
push 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0x426830
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 0x4263d3
mov esi, 0x90000000
jmp 0x4263fd
test dl, 1
mov eax, 0x10000000
mov ecx, 0x10c20000
cmove ecx, eax
mov eax, edx
mov esi, ecx
or esi, 0x50000
and al, 2
cmove esi, ecx
test dl, 4
je 0x4263fd
or esi, 0x80000
mov edi, dword [ebp - 0x138]
cmp byte [edi + 0x3a9], 0
jne 0x426451
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.0042f4e0
mov dword [ebp - 0x138], eax
cmp dword [eax + 0x14], 8
jb 0x426474
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 [0x5a9150]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, dword [ebp - 0x14]
mov dword [edi + 0x384], eax
cmp edx, 8
jb 0x4264f1
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4264e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42668b
push edx
push ecx
call fcn.004bb64a
add esp, 8
movups xmm0, xmmword [0x4f0a28]
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 0x426556
mov eax, dword [0x5afeb0]
test eax, eax
jne 0x426550
push 1
call fcn.0042d900
mov ecx, dword [edi + 0x384]
add esp, 4
mov eax, dword [0x5afeb0]
inc eax
mov dword [0x5afeb0], 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 0x426666
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 0x426614
push str.Failed_to_change_display_mode_for_fullscreen
call fcn.0042f670
push eax
call fcn.00405940
push eax
call fcn.00405be0
add esp, 0xc
jmp 0x426666
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 [0x5afeb4], edi
inc dword [0x5afeac]
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.004bb607
mov esp, ebp
pop ebp
ret 0x18
call fcn.004c4225
int3