Function at 0x4121e0
Capabilities:
Check mutex on windows

Disassembly:
mov eax, 0x12b8
call fcn.00418b70
mov dword [esp + 8], ecx
push ebx
push ebp
push esi
push edi
mov ebp, edx
call dword [sym.imp.WINMM.dll_timeGetTime]
push eax
call fcn.004181de
mov al, byte [esp + 0x12d4]
xor ebx, ebx
add esp, 4
cmp al, bl
je 0x41224a
push ebp
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41224a
push ebx
push ebp
push str.Only_one_version_of_this_program_allowed_at_a_time.
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x12b8
ret 0xc
lea eax, [esp + 0x84]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x84]
lea esi, [esp + 0x84]
mov cl, byte [esp + 0x84]
cmp cl, bl
je 0x412292
mov edi, dword [sym.imp.USER32.dll_CharNextA]
cmp cl, 0x5c
je 0x412287
cmp cl, 0x2f
jne 0x412289
mov esi, eax
push eax
call edi
mov cl, byte [eax]
cmp cl, bl
jne 0x41227d
lea edi, [esp + 0x84]
or ecx, 0xffffffff
xor eax, eax
mov byte [esi], bl
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, ebx
jle 0x4122d1
mov cl, byte [esp + ecx + 0x83]
cmp cl, 0x5c
je 0x4122d1
cmp cl, 0x2f
je 0x4122d1
lea edi, [esp + 0x84]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov cx, word [0x42d218]
mov word [edi - 1], cx
lea edi, [esp + 0x84]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x42d21c]
repne scasb al, byte es:[edi]
mov eax, dword [0x42d220]
dec edi
push 0x1001
lea ecx, [esp + 0x88]
mov dword [edi], edx
push ebx
push ecx
mov dword [edi + 4], eax
call dword [sym.imp.WINMM.dll_mmioOpenA]
lea edx, [esp + 0x44]
mov esi, eax
push 0x40
push edx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
lea eax, [esp + 0x188]
push 0x40
push eax
push str.MMM_d__yyyy
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetDateFormatA]
lea ecx, [esp + 0x44]
lea edx, [esp + 0x188]
push ecx
push edx
lea eax, [esp + 0x2d0]
push str.RockSolid_Software_Game_Log___s___s_r_nUse_this_log_to_receive_tech_support_from_http:__www.rocksolidsoftware.com_rock_tech.html_r_n
push eax
call fcn.004185fa
lea edi, [esp + 0x2d8]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x2cc]
push ecx
push esi
call dword [sym.imp.WINMM.dll_mmioWrite]
push ebx
push esi
call dword [sym.imp.WINMM.dll_mmioClose]
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
call fcn.004124f0
mov edx, dword [esp + 0x10]
shr edx, 8
push edx
push str.__DirectX__d
call fcn.00412e80
mov eax, dword [esp + 0x1c]
add esp, 8
cmp eax, ebx
je 0x41241c
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x12cc]
cmp eax, edx
jae 0x41241c
mov ecx, 8
mov esi, str.http:__www.microsoft.com_directx
lea edi, [esp + 0x44]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x44]
shr eax, 8
push ecx
push eax
shr edx, 8
push edx
lea edx, [esp + 0x1d4]
push str.This_program_requires_newer_DirectX_drivers._Would_you_like_to_be_taken_to_an_Internet_site_where_you_can_download_the_latest_drivers__n_nRequired_Version:__d.0_nDetected_Version:_d.0_nSite:__s
push edx
movsw word es:[edi], word [esi]
call fcn.004185fa
add esp, 0x14
lea eax, [esp + 0x1c8]
push 4
push ebp
push eax
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x41240d
lea ecx, [esp + 0x44]
call fcn.00412970
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x12b8
ret 0xc
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x12d4]
push 0x65
push esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], esi
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push ebx
mov dword [esp + 0x38], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 4
mov dword [esp + 0x38], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
lea edx, [esp + 0x1c]
mov dword [esp + 0x3c], ebx
push edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], ebp
call dword [sym.imp.USER32.dll_RegisterClassA]
push 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebx
push ebx
push 1
call esi
push eax
push ebx
call esi
push eax
push ebx
push ebx
push 0x90000008
push ebp
push ebp
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x12b8
ret 0xc