Function at 0x43fae0
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 0x5a80c3
mov eax, dword fs:[0]
push eax
mov eax, 0x10d0
call fcn.00583150
mov eax, dword [0x636d78]
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.c73252a0cc37d9ee4fcc9d21c5514bd6
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 0x60ac7e
lea ecx, [ebp - 0x34]
call fcn.00410d30
mov dword [ebp - 4], 0
push str.c73252a0cc37d9ee4fcc9d21c5514bd6
push str.StartingShot_Only_Mapping
push 0x5d3ba4
call fcn.00583139
add esp, 0xc
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jle 0x43fbd3
push 0
mov eax, dword [ebp - 0x38]
add eax, 1
push eax
lea ecx, [ebp - 0x50]
call fcn.00440140
mov byte [ebp - 4], 1
push str.c73252a0cc37d9ee4fcc9d21c5514bd6
push str.StartingShot_Only_Mapping
push 0x5d3ba4
lea ecx, [ebp - 0x50]
call fcn.0042a950
push eax
push 0
lea ecx, [ebp - 0x50]
call fcn.0042a880
push eax
call fcn.005830fa
add esp, 0x14
push 0
lea ecx, [ebp - 0x50]
call fcn.0042a880
push eax
lea ecx, [ebp - 0x34]
call fcn.00411470
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.0042a840
lea ecx, [ebp - 0x34]
call fcn.00411660
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 0x43fda9
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 0x43fd9f
push 0x60ac7e
lea ecx, [ebp - 0x74]
call fcn.00410d30
mov byte [ebp - 4], 2
push str.c73252a0cc37d9ee4fcc9d21c5514bd6
push str.StartingShot_ReplyEvt
push 0x5d3ba4
call fcn.00583139
add esp, 0xc
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jle 0x43fcd9
push 0
mov eax, dword [ebp - 0x78]
add eax, 1
push eax
lea ecx, [ebp - 0x90]
call fcn.00440140
mov byte [ebp - 4], 3
push str.c73252a0cc37d9ee4fcc9d21c5514bd6
push str.StartingShot_ReplyEvt
push 0x5d3ba4
lea ecx, [ebp - 0x90]
call fcn.0042a950
push eax
push 0
lea ecx, [ebp - 0x90]
call fcn.0042a880
push eax
call fcn.005830fa
add esp, 0x14
push 0
lea ecx, [ebp - 0x90]
call fcn.0042a880
push eax
lea ecx, [ebp - 0x74]
call fcn.00411470
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x90]
call fcn.0042a840
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x43fd0f
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [ebp - 0x58]
mov dword [ecx], eax
lea ecx, [ebp - 0x74]
call fcn.00411660
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 0x43fd93
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.00582ec0
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.00583464
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.00411660
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.004115f0
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 0x43fe62
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 0x43fe44
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0043fa30
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.004115f0
mov al, byte [ebp - 0x10db]
jmp 0x43fe7e
mov byte [ebp - 0x10da], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004115f0
mov al, byte [ebp - 0x10da]
jmp 0x43fe7e
mov byte [ebp - 0x10d9], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004115f0
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.005824ce
mov esp, ebp
pop ebp
ret