Function at 0x407b80
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
mov esi, ecx
cmp eax, 0x105
ja 0x407d76
je 0x407cb0
cmp eax, 0x20
ja 0x407bc2
je 0x407bb5
sub eax, 2
jne case.0x407c55.14
push eax
call dword [sym.imp.user32.dll_PostQuitMessage]
pop edi
pop esi
ret 0x14
push 0
call dword [sym.imp.user32.dll_SetCursor]
pop edi
pop esi
ret 0x14
sub eax, 0x100
je 0x407c3e
sub eax, 1
jne case.0x407c55.14
mov eax, dword [esp + 0x14]
add eax, 0xfffffff7
cmp eax, 0x1b
ja case.0x407c55.14
movzx eax, byte [eax + 0x407f18]
jmp dword [eax*4 + 0x407efc]
call fcn.00404b90
pop edi
pop esi
ret 0x14
call fcn.00404ab0
pop edi
pop esi
ret 0x14
call fcn.00404b20
pop edi
pop esi
ret 0x14
lea ecx, [esi + 0xa8]
call fcn.00447380
pop edi
pop esi
ret 0x14
lea ecx, [esi + 0xa8]
call fcn.00451200
pop edi
pop esi
ret 0x14
lea ecx, [esi + 0xa8]
call fcn.0043fa80
pop edi
pop esi
ret 0x14
mov eax, dword [esp + 0x14]
add eax, 0xfffffff3
cmp eax, 0x13
ja case.0x407c55.14
movzx ecx, byte [eax + 0x407f4c]
jmp dword [ecx*4 + 0x407f34]
mov edx, dword [esp + 0xc]
push 0
push 0
push 0x10
push edx
call dword [sym.imp.user32.dll_PostMessageA]
pop edi
pop esi
ret 0x14
mov ecx, esi
call fcn.00404b40
pop edi
pop esi
ret 0x14
push 0xffffd8f1
push 0xffffd8f1
lea ecx, [esi + 0xa8]
call fcn.00450de0
pop edi
pop esi
ret 0x14
mov ecx, esi
call fcn.00404a60
pop edi
pop esi
ret 0x14
mov ecx, esi
call fcn.00404ad0
pop edi
pop esi
ret 0x14
cmp dword [esp + 0x14], 0xd
jne case.0x407c55.14
mov edi, 1
xor dword [esi + 0x885a8], edi
mov eax, dword [esi + 0x885a8]
cmp eax, edi
jne 0x407ce8
call fcn.00406ef0
test eax, eax
jne case.0x407c55.14
pop edi
mov dword [esi + 0x885a8], eax
pop esi
ret 0x14
test eax, eax
jne case.0x407c55.14
cmp dword [esi + 0x885ac], edi
jne 0x407d0d
mov ecx, dword [esi + 0x20]
push edi
lea eax, [esi + 0x8a26c]
push eax
call fcn.004046a0
pop edi
pop esi
ret 0x14
push 0
push 0
call dword [sym.imp.user32.dll_ChangeDisplaySettingsA]
mov ecx, dword [esi + 0x20]
push 0
push 0xc80000
push 0
call fcn.0048fbd5
mov ecx, dword [esi + 0x20]
mov edx, dword [ecx + 0x20]
push 5
push edx
call dword [sym.imp.user32.dll_ShowWindow]
mov ecx, dword [esi + 0x20]
lea eax, [esi + 0x8a21c]
push eax
call fcn.00494739
mov eax, dword [esi + 0x8a248]
mov ecx, dword [esi + 0x5968]
mov edx, dword [esi + 0x5964]
push 0x40
add ecx, eax
push ecx
push edx
neg eax
push eax
mov eax, dword [0x5b7628]
push 0
push 0
push eax
call dword [sym.imp.user32.dll_SetWindowPos]
pop edi
pop esi
ret 0x14
cmp eax, 0x200
ja 0x407ee3
je 0x407dc8
sub eax, 0x111
je 0x407da3
sub eax, 2
jne case.0x407c55.14
lea ecx, [esi + 0xa8]
call fcn.00433220
pop edi
pop esi
ret 0x14
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push eax
push 0x111
push ecx
mov ecx, esi
call fcn.00407a00
pop edi
pop esi
ret 0x14
mov eax, dword [esp + 0x18]
movzx edx, ax
shr eax, 0x10
mov edi, 1
mov dword [esi + 0x8a1fc], edx
mov dword [esi + 0x8a200], eax
cmp dword [esi + 0x885a8], edi
jne case.0x407c55.14
cmp dword [esi + 0x885ac], 0
jne 0x407e53
test eax, eax
jne 0x407e28
mov eax, dword [esi + 0x5968]
mov ecx, dword [esi + 0x5964]
mov edx, dword [esp + 0xc]
push 0x40
push eax
push ecx
push 0
push 0
push 0
push edx
call dword [sym.imp.user32.dll_SetWindowPos]
mov dword [esi + 0x8a24c], edi
pop edi
pop esi
ret 0x14
cmp dword [esi + 0x8a24c], edi
jne case.0x407c55.14
mov eax, dword [esi + 0x8a248]
mov ecx, dword [esi + 0x5968]
mov edx, dword [esi + 0x5964]
push 0x40
add ecx, eax
push ecx
push edx
neg eax
push eax
push 0
jmp 0x407ec7
test eax, eax
jne 0x407e9d
mov ecx, dword [esi + 0x8a1a4]
mov eax, dword [esi + 0x8a248]
mov edx, dword [esi + 0x8a1a0]
push ebx
mov ebx, dword [esi + 0x8a1ac]
sub ebx, ecx
push 0x40
add ebx, eax
push ebx
mov ebx, dword [esi + 0x8a1a8]
sub ebx, edx
push ebx
add ecx, eax
push ecx
mov ecx, dword [esp + 0x20]
push edx
push 0
push ecx
call dword [sym.imp.user32.dll_SetWindowPos]
pop ebx
mov dword [esi + 0x8a24c], edi
pop edi
pop esi
ret 0x14
cmp dword [esi + 0x8a24c], edi
jne case.0x407c55.14
mov eax, dword [esi + 0x8a1a4]
mov edx, dword [esi + 0x8a1ac]
mov ecx, dword [esi + 0x8a1a0]
push 0x40
sub edx, eax
push edx
mov edx, dword [esi + 0x8a1a8]
sub edx, ecx
push edx
push eax
push ecx
mov eax, dword [esp + 0x20]
push 0
push eax
call dword [sym.imp.user32.dll_SetWindowPos]
pop edi
mov dword [esi + 0x8a24c], 0
pop esi
ret 0x14
sub eax, 0x202
jne case.0x407c55.14
mov dword [esi + 0x89ddc], 1
pop edi
pop esi
ret 0x14