Function at 0x451b00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff04
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea esi, [ebp - 0xfc]
push 0
call sub.kernel32.dll_GetModuleHandleA_2
mov edi, eax
lea eax, [ebp - 0x38]
mov edx, 0x28
call fcn.00406c60
mov dword [ebp - 0x38], 0x23
mov dword [ebp - 0x34], 0x4517dc
mov dword [ebp - 0x28], edi
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [ebp - 0x20], eax
mov eax, 0x451dac
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x38]
push eax
call sub.user32.dll_RegisterClassA
test ax, ax
jne 0x451b80
push 0x10
push 0x451db4
push 0x451dbc
push 0
call sub.user32.dll_MessageBoxA_1
xor eax, eax
jmp 0x451da0
test bl, bl
je 0x451bcc
lea eax, [ebp - 0xd4]
mov edx, 0x9c
call fcn.00406c60
mov word [ebp - 0xb0], 0x9c
mov eax, dword [ebp - 4]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0xac], 0x1c0000
push 4
lea eax, [ebp - 0xd4]
push eax
call sub.user32.dll_ChangeDisplaySettingsA
inc eax
jne 0x451bcc
xor ebx, ebx
test bl, bl
je 0x451be7
mov dword [ebp - 0xc], 0x86000000
mov dword [ebp - 0x10], 0x40000
push 0
call sub.user32.dll_ShowCursor
jmp 0x451bf5
mov dword [ebp - 0xc], 0x6cf0000
mov dword [ebp - 0x10], 0x40100
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push edi
push 0
mov ecx, 0x451de4
mov edx, 0x451dac
mov eax, dword [ebp - 0x10]
call fcn.00406cf4
mov dword [0x551be8], eax
cmp dword [0x551be8], 0
jne 0x451c3a
mov eax, ebx
call fcn.00451948
xor eax, eax
jmp 0x451da0
mov eax, dword [0x551be8]
push eax
call sub.user32.dll_GetDC
mov dword [0x551bec], eax
cmp dword [0x551bec], 0
jne 0x451c61
mov eax, ebx
call fcn.00451948
xor eax, eax
jmp 0x451da0
mov word [esi], 0x28
mov word [esi + 2], 1
mov dword [esi + 4], 0x25
mov byte [esi + 8], 0
mov al, byte [ebp + 8]
mov byte [esi + 9], al
mov byte [esi + 0xa], 0
mov byte [esi + 0xb], 0
mov byte [esi + 0xc], 0
mov byte [esi + 0xd], 0
mov byte [esi + 0xe], 0
mov byte [esi + 0xf], 0
mov byte [esi + 0x10], 0
mov byte [esi + 0x11], 0
mov byte [esi + 0x12], 0
mov byte [esi + 0x13], 0
mov byte [esi + 0x14], 0
mov byte [esi + 0x15], 0
mov byte [esi + 0x16], 0
mov byte [esi + 0x17], 0x10
mov byte [esi + 0x18], 0
mov byte [esi + 0x19], 0
mov byte [esi + 0x1a], 0
mov byte [esi + 0x1b], 0
xor eax, eax
mov dword [esi + 0x1c], eax
xor eax, eax
mov dword [esi + 0x20], eax
xor eax, eax
mov dword [esi + 0x24], eax
push esi
mov eax, dword [0x551bec]
push eax
call sub.gdi32.dll_ChoosePixelFormat
mov edi, eax
test edi, edi
jne 0x451cf4
mov eax, ebx
call fcn.00451948
xor eax, eax
jmp 0x451da0
push esi
push edi
mov eax, dword [0x551bec]
push eax
call sub.gdi32.dll_SetPixelFormat
test eax, eax
jne 0x451d13
mov eax, ebx
call fcn.00451948
xor eax, eax
jmp 0x451da0
mov eax, dword [0x551bec]
push eax
call sub.opengl32.dll_wglCreateContext
mov dword [0x551bf0], eax
cmp dword [0x551bf0], 0
jne 0x451d37
mov eax, ebx
call fcn.00451948
xor eax, eax
jmp 0x451da0
mov eax, dword [0x551bf0]
push eax
mov eax, dword [0x551bec]
push eax
call sub.opengl32.dll_wglMakeCurrent
test eax, eax
jne 0x451d57
mov eax, ebx
call fcn.00451948
xor eax, eax
jmp 0x451da0
push 0
push 0x3e8
push 1
mov eax, dword [0x551be8]
push eax
call sub.user32.dll_SetTimer
push 5
mov eax, dword [0x551be8]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x551be8]
push eax
call sub.user32.dll_SetForegroundWindow
mov eax, dword [0x551be8]
push eax
call sub.user32.dll_SetFocus
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004516e4
call fcn.0045167c
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4