Function at 0x45a1a4
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]
xor ecx, ecx
mov edx, 0x28
call fcn.004031f8
mov dword [ebp - 0x38], 0x23
mov dword [ebp - 0x34], 0x459e30
mov dword [ebp - 0x28], edi
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [ebp - 0x20], eax
mov eax, 0x45a468
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x38]
push eax
call sub.user32.dll_RegisterClassA
test ax, ax
jne 0x45a226
push 0x10
push 0x45a470
push 0x45a478
push 0
call sub.user32.dll_MessageBoxA_1
xor eax, eax
jmp 0x45a45c
test bl, bl
je 0x45a287
lea eax, [ebp - 0xd4]
xor ecx, ecx
mov edx, 0x9c
call fcn.004031f8
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 0x45a287
push 0x10
push 0x45a470
push 0x45a4a0
push 0
call sub.user32.dll_MessageBoxA_1
xor ebx, ebx
test bl, bl
je 0x45a2a2
mov dword [ebp - 0xc], 0x86000000
mov dword [ebp - 0x10], 0x40000
push 0
call sub.user32.dll_ShowCursor
jmp 0x45a2b0
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, 0x45a4c0
mov edx, 0x45a468
mov eax, dword [ebp - 0x10]
call fcn.004072a8
mov dword [0x562624], eax
cmp dword [0x562624], 0
jne 0x45a2f5
mov eax, ebx
call fcn.00459fec
xor eax, eax
jmp 0x45a45c
mov eax, dword [0x562624]
push eax
call sub.user32.dll_GetDC
mov dword [0x562628], eax
cmp dword [0x562628], 0
jne 0x45a31c
mov eax, ebx
call fcn.00459fec
xor eax, eax
jmp 0x45a45c
mov word [esi], 0x28
mov word [esi + 2], 1
mov dword [esi + 4], 0x25
mov byte [esi + 8], 0
movzx eax, 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 [0x562628]
push eax
call sub.gdi32.dll_ChoosePixelFormat
mov edi, eax
test edi, edi
jne 0x45a3b0
mov eax, ebx
call fcn.00459fec
xor eax, eax
jmp 0x45a45c
push esi
push edi
mov eax, dword [0x562628]
push eax
call sub.gdi32.dll_SetPixelFormat
test eax, eax
jne 0x45a3cf
mov eax, ebx
call fcn.00459fec
xor eax, eax
jmp 0x45a45c
mov eax, dword [0x562628]
push eax
call sub.opengl32.dll_wglCreateContext
mov dword [0x56262c], eax
cmp dword [0x56262c], 0
jne 0x45a3f3
mov eax, ebx
call fcn.00459fec
xor eax, eax
jmp 0x45a45c
mov eax, dword [0x56262c]
push eax
mov eax, dword [0x562628]
push eax
call sub.opengl32.dll_wglMakeCurrent
test eax, eax
jne 0x45a413
mov eax, ebx
call fcn.00459fec
xor eax, eax
jmp 0x45a45c
push 0
push 0x1f4
push 1
mov eax, dword [0x562624]
push eax
call sub.user32.dll_SetTimer
push 5
mov eax, dword [0x562624]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x562624]
push eax
call sub.user32.dll_SetForegroundWindow
mov eax, dword [0x562624]
push eax
call sub.user32.dll_SetFocus
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00459cd4
call fcn.00459b60
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4