Function at 0x51b9f0
Capabilities:
Accept command line arguments
Check mutex and terminate process on windows
Check mutex on windows
Read file via mapping
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x584028
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
xor edi, edi
push str.StormPlayer_Mutex_Lock_DKJWDSKDJIEWDEW
push edi
mov ebp, ecx
push edi
call dword [sym.imp.KERNEL32.DLL_CreateMutexA]
push 0xffffffffffffffff
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push str.StormPlayer_Mutex_IsClosing_DHWDW24adhsDWEE987sdfdf
push edi
push 0x1f0001
mov dword [esp + 0x38], edi
call dword [sym.imp.KERNEL32.DLL_OpenMutexA]
cmp eax, edi
je 0x51bada
mov ebx, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push eax
call ebx
mov eax, dword [str.StormPlayer_PrcoShareIDName_gbhgferereeEE98721eha]
push eax
push edi
push 4
call dword [sym.imp.KERNEL32.DLL_OpenFileMappingA]
mov esi, eax
test esi, esi
je 0x51bae0
push edi
push edi
push edi
push 4
push esi
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
test eax, eax
je 0x51ba7e
mov edi, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
push esi
call ebx
test edi, edi
je 0x51bae0
push edi
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
test esi, esi
je 0x51bae0
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
test eax, eax
je 0x51bab7
push 0x1f4
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push esi
call ebx
jmp 0x51bae0
push esi
call ebx
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.DLL_ReleaseMutex]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
mov ebx, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push str.StormPlayer_Mutex_238724adhsDWEE987sdfdf
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateMutexA]
mov dword [ebp + 0xf4], eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
jne 0x51bca2
mov edx, dword [str.StormPlayer_PrcoShareIDName_gbhgferereeEE98721eha]
mov dword [esp + 0x14], 0
push edx
push 0
push 4
call dword [sym.imp.KERNEL32.DLL_OpenFileMappingA]
mov esi, eax
test esi, esi
je 0x51baba
push 0
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
test eax, eax
je 0x51bb45
mov ecx, dword [eax]
push eax
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
push esi
call ebx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x51baba
mov edx, dword [str.KureePlayer_PrcoShareFullscreenHwndName_gbhgferereeEE98721eha]
xor ebx, ebx
push edx
push ebx
push 4
xor edi, edi
mov ebp, ebx
call dword [sym.imp.KERNEL32.DLL_OpenFileMappingA]
mov esi, eax
test esi, esi
je 0x51bb98
push ebx
push ebx
push ebx
push 4
push esi
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
test eax, eax
je 0x51bb91
mov ecx, eax
push eax
mov edi, dword [ecx]
mov ebp, dword [ecx + 4]
mov ebx, dword [ecx + 8]
call dword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp edi, 0xc
jne 0x51bbab
cmp bl, 1
jne 0x51bbab
push ebp
call fcn.00453540
add esp, 4
mov edx, dword [str.StormPlayer_PrcoShareHwndName_gbhgferereeEE98721eha]
xor esi, esi
push edx
push esi
push 4
call dword [sym.imp.KERNEL32.DLL_OpenFileMappingA]
mov edi, eax
test edi, edi
je 0x51baba
push esi
push esi
push esi
push 4
push edi
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
test eax, eax
je 0x51bbe0
mov esi, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call edi
test esi, esi
je 0x51baba
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x51bc0f
push 0
push 0xf120
push 0x112
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
call fcn.00453540
add esp, 4
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
test eax, eax
je 0x51baba
xor ecx, ecx
push eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x24], eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
lea edx, [eax + eax + 2]
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], edx
push 0
push 0x1f4
push 2
push eax
push 0
push 0x4a
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
test eax, eax
jne 0x51baba
mov ecx, dword [esp + 0x14]
push ecx
push eax
push 0x1f0fff
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
test esi, esi
je 0x51baba
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
test eax, eax
je 0x51bcc5
push 0x1f4
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push esi
call edi
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.DLL_ReleaseMutex]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
push esi
call edi
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_ReleaseMutex]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret