Function at 0x431d5c
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.00406c38
mov dword [ebp - 0x38], 0x23
mov dword [ebp - 0x34], 0x431a28
mov dword [ebp - 0x28], edi
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [ebp - 0x20], eax
mov eax, 0x432094
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x38]
push eax
call sub.user32.dll_RegisterClassA
test ax, ax
jne 0x431ddc
push 0x10
push 0x43209c
push 0x4320a4
push 0
call sub.user32.dll_MessageBoxA_1
xor eax, eax
jmp 0x432088
test bl, bl
je 0x431e3b
lea eax, [ebp - 0xd4]
mov edx, 0x9c
call fcn.00406c38
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 0x431e3b
push 0x10
push 0x43209c
push 0x4320cc
push 0
call sub.user32.dll_MessageBoxA_1
xor ebx, ebx
test bl, bl
je 0x431e56
mov dword [ebp - 0xc], 0x86000000
mov dword [ebp - 0x10], 0x40000
push 0
call sub.user32.dll_ShowCursor
jmp 0x431e6b
mov dword [ebp - 0xc], 0x6cf0000
mov dword [ebp - 0x10], 0x40100
push 0
call sub.user32.dll_ShowCursor
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, 0x4320ec
mov edx, 0x432094
mov eax, dword [ebp - 0x10]
call fcn.00406c98
mov dword [0x4358f0], eax
cmp dword [0x4358f0], 0
jne 0x431ec3
mov eax, ebx
call fcn.00431ba4
push 0x10
push 0x43209c
push 0x432100
push 0
call sub.user32.dll_MessageBoxA_1
xor eax, eax
jmp 0x432088
mov eax, dword [0x4358f0]
push eax
call sub.user32.dll_GetDC
mov dword [0x4358f4], eax
cmp dword [0x4358f4], 0
jne 0x431efd
mov eax, ebx
call fcn.00431ba4
push 0x10
push 0x43209c
push 0x43211c
push 0
call sub.user32.dll_MessageBoxA_1
xor eax, eax
jmp 0x432088
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 [0x4358f4]
push eax
call sub.gdi32.dll_ChoosePixelFormat
mov edi, eax
test edi, edi
jne 0x431fa3
mov eax, ebx
call fcn.00431ba4
push 0x10
push 0x43209c
push 0x43213c
push 0
call sub.user32.dll_MessageBoxA_1
xor eax, eax
jmp 0x432088
push esi
push edi
mov eax, dword [0x4358f4]
push eax
call sub.gdi32.dll_SetPixelFormat
test eax, eax
jne 0x431fd5
mov eax, ebx
call fcn.00431ba4
push 0x10
push 0x43209c
push 0x432164
push 0
call sub.user32.dll_MessageBoxA_1
xor eax, eax
jmp 0x432088
mov eax, dword [0x4358f4]
push eax
call sub.opengl32.dll_wglCreateContext
mov dword [0x4358f8], eax
cmp dword [0x4358f8], 0
jne 0x43200c
mov eax, ebx
call fcn.00431ba4
push 0x10
push 0x43209c
push 0x432184
push 0
call sub.user32.dll_MessageBoxA_1
xor eax, eax
jmp 0x432088
mov eax, dword [0x4358f8]
push eax
mov eax, dword [0x4358f4]
push eax
call sub.opengl32.dll_wglMakeCurrent
test eax, eax
jne 0x43203f
mov eax, ebx
call fcn.00431ba4
push 0x10
push 0x43209c
push 0x4321b4
push 0
call sub.user32.dll_MessageBoxA_1
xor eax, eax
jmp 0x432088
push 0
push 0x1f4
push 1
mov eax, dword [0x4358f0]
push eax
call sub.user32.dll_SetTimer
push 5
mov eax, dword [0x4358f0]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x4358f0]
push eax
call sub.user32.dll_SetForegroundWindow
mov eax, dword [0x4358f0]
push eax
call sub.user32.dll_SetFocus
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00431720
call fcn.004316ac
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4