Function at 0x441550
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ae4f3
mov eax, dword fs:[0]
push eax
mov eax, 0x10d0
call fcn.00589110
mov eax, dword [0x6d2e20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
push str.49567be9bf5a215b0802ff061cf79e0e
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0xa8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0xb7
setne cl
mov byte [ebp - 0x15], cl
push 0x6a6f4e
lea ecx, [ebp - 0x34]
call fcn.00410e10
mov dword [ebp - 4], 0
push str.49567be9bf5a215b0802ff061cf79e0e
push str.StartingShot_Only_Mapping
push 0x66ff44
call fcn.005890f9
add esp, 0xc
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jle 0x441643
push 0
mov eax, dword [ebp - 0x38]
add eax, 1
push eax
lea ecx, [ebp - 0x50]
call fcn.00441bb0
mov byte [ebp - 4], 1
push str.49567be9bf5a215b0802ff061cf79e0e
push str.StartingShot_Only_Mapping
push 0x66ff44
lea ecx, [ebp - 0x50]
call fcn.0042a9a0
push eax
push 0
lea ecx, [ebp - 0x50]
call fcn.0042a8e0
push eax
call fcn.005890ba
add esp, 0x14
push 0
lea ecx, [ebp - 0x50]
call fcn.0042a8e0
push eax
lea ecx, [ebp - 0x34]
call fcn.00411550
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.0042a8a0
lea ecx, [ebp - 0x34]
call fcn.00411080
push eax
push 0x1000
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0xac], eax
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0xac], 0
je 0x441819
push 0x1000
push 0
push 0
push 0xf001f
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xac]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x44180f
push 0x6a6f4e
lea ecx, [ebp - 0x74]
call fcn.00410e10
mov byte [ebp - 4], 2
push str.49567be9bf5a215b0802ff061cf79e0e
push str.StartingShot_ReplyEvt
push 0x66ff44
call fcn.005890f9
add esp, 0xc
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jle 0x441749
push 0
mov eax, dword [ebp - 0x78]
add eax, 1
push eax
lea ecx, [ebp - 0x90]
call fcn.00441bb0
mov byte [ebp - 4], 3
push str.49567be9bf5a215b0802ff061cf79e0e
push str.StartingShot_ReplyEvt
push 0x66ff44
lea ecx, [ebp - 0x90]
call fcn.0042a9a0
push eax
push 0
lea ecx, [ebp - 0x90]
call fcn.0042a8e0
push eax
call fcn.005890ba
add esp, 0x14
push 0
lea ecx, [ebp - 0x90]
call fcn.0042a8e0
push eax
lea ecx, [ebp - 0x74]
call fcn.00411550
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x90]
call fcn.0042a8a0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x44177f
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [ebp - 0x58]
mov dword [ecx], eax
lea ecx, [ebp - 0x74]
call fcn.00411080
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0xb0], eax
jmp 0x441803
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax]
mov dword [ebp - 0x54], ecx
mov byte [ebp - 0x1090], 0
push 0xfff
push 0
lea eax, [ebp - 0x108f]
push eax
call fcn.00588e80
add esp, 0xc
lea eax, [ebp - 0x1090]
push eax
push 0x1000
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x1090]
push eax
push 0xffc
mov ecx, dword [ebp - 0x58]
add ecx, 4
push ecx
call fcn.0058a3e4
add esp, 0xc
push 0
push 0
push 0x2b11
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
lea ecx, [ebp - 0x74]
call fcn.00411080
push eax
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0xb0], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.004116e0
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xa8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
movzx eax, byte [ebp - 0x15]
test eax, eax
jne 0x4418d2
push 0x3e8
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xb0]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4418b4
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.004414a0
mov dword [ebp - 0x1094], eax
mov eax, dword [ebp - 0x1094]
push eax
push 0
push 0x411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x1098], eax
push 0
mov eax, dword [ebp - 0x1098]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [ebp - 0x1098]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x10db], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004116e0
mov al, byte [ebp - 0x10db]
jmp 0x4418ee
mov byte [ebp - 0x10da], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004116e0
mov al, byte [ebp - 0x10da]
jmp 0x4418ee
mov byte [ebp - 0x10d9], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004116e0
mov al, byte [ebp - 0x10d9]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058848d
mov esp, ebp
pop ebp
ret