Function at 0x420140
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4996ab
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x78
mov eax, dword [0x4cc06c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, ecx
mov dword [ebp - 0x5c], eax
cmp byte [eax + 0x2bc], 0
mov dword [ebp - 0x74], eax
jne 0x420453
mov esi, dword [eax + 0x58]
mov eax, dword [esi + 0x28]
lea ecx, [esi + 0x28]
call dword [eax + 4]
mov byte [esi + 0xe], 1
mov dword [ebp - 4], 0
lea ecx, [esi + 0x28]
mov eax, dword [esi + 0x28]
call dword [eax + 8]
mov esi, dword [ebp - 0x5c]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [esi + 0x58]
lea eax, [esi + 0x50]
push eax
call fcn.00422c40
mov eax, dword [vtable.LocalMutex.0]
mov ecx, 0x4cd5f8
call dword [eax + 4]
mov dword [ebp - 4], 1
mov ecx, 0x4cd5f8
mov eax, dword [vtable.LocalMutex.0]
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x4d01a4]
push 0xfffffffffffffff0
push dword [esi + 0x274]
mov dword [ebp - 0x64], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
shr eax, 0x1c
push 0
push dword [esi + 0x274]
and al, 1
mov byte [esi + 0x301], al
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xd7
lea ecx, [esi + 0x280]
call fcn.0042f110
mov edi, dword [sym.imp.USER32.dll_CheckMenuItem]
cmp eax, 0xffffffff
je 0x42024d
push 0x408
push eax
push dword [esi + 0x284]
call edi
push 0x81
lea ecx, [esi + 0x280]
call fcn.0042f110
cmp eax, 0xffffffff
je 0x420270
push 0x400
push eax
push dword [esi + 0x284]
call edi
push 1
push 0x81
push dword [esi + 0x284]
call dword [sym.imp.USER32.dll_EnableMenuItem]
lea eax, [esi + 0x2c0]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowPlacement]
push 2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MonitorFromWindow]
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x54], 0x28
push ecx
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
lea eax, [esi + 0x38]
mov dword [ebp - 0x60], eax
je 0x4202c4
movups xmm0, xmmword [ebp - 0x50]
movups xmmword [ebp - 0x2c], xmm0
jmp 0x4202e3
push str.Get_monitor_info_is_failed._Use_second_method__no_multi_screen_.
push eax
call fcn.00431920
add esp, 8
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [ebp - 0x8c], vtable.Rect.0
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x20]
mov eax, edi
mov esi, dword [ebp - 0x2c]
sub eax, edx
mov ecx, dword [ebp - 0x24]
push eax
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x80], ecx
sub ecx, esi
push ecx
push edx
push esi
push str.full_screen_window_rect:__d___d___d___d
push dword [ebp - 0x60]
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x7c], edi
call fcn.004319b0
mov esi, dword [ebp - 0x5c]
add esp, 0x18
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3affff
or eax, 0x1000000
push eax
push 0xfffffffffffffff0
push dword [esi + 4]
mov esi, dword [sym.imp.USER32.dll_SetWindowLongW]
call esi
mov eax, dword [ebp - 0x5c]
push 0xffffffffffffffec
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 8
push eax
mov eax, dword [ebp - 0x5c]
push 0xffffffffffffffec
push dword [eax + 4]
call esi
mov ecx, dword [ebp - 0x68]
sub edi, ecx
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x6c]
push 0x40
push edi
mov edi, dword [ebp - 0x5c]
sub eax, edx
push eax
push ecx
push edx
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [ebp - 4], 0xffffffff
push dword [edi + 0x70]
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push 0
push 5
push dword [edi + 4]
mov byte [edi + 0x2bc], 1
call dword [sym.imp.USER32.dll_PostMessageW]
push 1
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov esi, dword [ebp - 0x64]
mov eax, dword [esi + 0x6c]
lea ecx, [esi + 0x6c]
call dword [eax + 4]
mov ecx, esi
mov al, byte [ecx + 0x11]
mov byte [ebp - 0x55], al
mov dword [ebp - 4], 3
lea ecx, [esi + 0x6c]
mov eax, dword [esi + 0x6c]
call dword [eax + 8]
cmp byte [ebp - 0x55], 0
je 0x420407
push 0
push 0
push 0x405
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, edi
mov dword [ebp - 4], 4
neg ecx
lea eax, [edi + 0x34]
sbb ecx, ecx
and ecx, eax
call fcn.0044ef40
mov eax, dword [edi + 0xf0]
mov byte [eax + 0x214], 0
jmp 0x420453
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00471b05
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret