Function at 0x424fc0
Capabilities:
Check mutex on windows
Create thread
Hide graphical window
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x364
mov eax, dword [0x4fc00c]
xor eax, esp
mov dword [esp + 0x360], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push str.AiBeach_Ver.DirectX12
push 1
push 0
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0x502510], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42503b
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push 0
push str.AIslandBeach
push 0x4ef4a8
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [0x502510]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [0x502510]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4251f9
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x50a7b8]
cmp eax, dword [ecx + 4]
jle 0x425093
push 0x50a7b8
call fcn.0047d453
add esp, 4
cmp dword [0x50a7b8], 0xffffffff
jne 0x425093
xorps xmm0, xmm0
movups xmmword [0x50a7bc], xmm0
push 0x4c8930
mov word [0x50a7c8], 0x101
call fcn.0047d765
add esp, 4
push 0x50a7b8
call fcn.0047d409
add esp, 4
mov ecx, 0x50a7bc
call fcn.00424460
push 0xffffffffffffffff
mov byte [0x50a7bc], 1
call dword [sym.imp.IMM32.dll_ImmDisableIME]
push 0x66
push esi
mov dword [esp + 0x1c], 3
mov dword [esp + 0x20], 0x425310
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], esi
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push 0
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], str.AIslandBeach
mov dword [esp + 0x38], str.AIslandBeach
call dword [sym.imp.USER32.dll_RegisterClassA]
push 0x2d0
push 0x500
push 0
push 0
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0
push 0x90c80000
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRect]
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x40]
push 0
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
movzx edi, ax
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
push 0
push 0
push edi
movzx ebx, ax
push ebx
push 1
call esi
sub eax, edi
cdq
sub eax, edx
sar eax, 1
push eax
push 0
call esi
sub eax, ebx
cdq
sub eax, edx
sar eax, 1
push eax
push 0x90c80000
push str.AIslandBeach
push str.AIslandBeach
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
je 0x4251f9
push dword [ebp + 0x14]
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
push 0x200
lea eax, [esp + 0x6c]
push 0
push eax
call fcn.0047ebc0
push dword [esp + 0x1c]
push esi
call fcn.00443960
mov ecx, eax
call fcn.00443ae0
cmp al, 1
je 0x425212
push 0x4ef4c0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x40
push str.AIslandBeach
push 0x4ef4e4
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [esp + 0x36c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0047d312
mov esp, ebp
pop ebp
ret 0x10
push ecx
push esi
call fcn.00443f90
mov ecx, eax
call fcn.00444000
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
cmp al, 1
je 0x425249
push str.NoSoundDevice___BusySoundDriver_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x44
push str.AIslandBeach
push str.DirectSound
push esi
call edi
cmp eax, 7
je 0x4251f2
lea eax, [esp + 0x68]
push eax
sub esp, 0x10
push esi
call fcn.0043f9e0
test al, al
jne 0x42528d
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x26c]
push str.DirectGraphic
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x268]
push 0x40
push str.AIslandBeach
push eax
push esi
call edi
jmp 0x4251f2
push 0x502c68
push 0
push 0
push 0x424e60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
mov dword [0x50265c], eax
lea eax, [esp + 0x54]
push 0
push eax
mov dword [0x50250c], 1
call edi
test eax, eax
je 0x4251f9
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x4c]
push eax
call ebx
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [0x50250c], 0
je 0x4251f2
push 0
push 0
push 0
lea eax, [esp + 0x58]
push eax
call edi
test eax, eax
jne 0x4252d5
jmp 0x4251f9