Function at 0x474940
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a80c
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4a6a04]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 1
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov ecx, dword [esi + 0x10]
lea eax, [ebp - 0x64]
mov dword [ebp - 0x4c], eax
mov eax, 0x7fffffff
sub eax, ecx
mov dword [ebp - 0x50], 0xc
mov dword [ebp - 0x48], 1
cmp eax, 0xc
jb 0x474b91
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4749b9
mov eax, dword [esi]
push 0xc
push str._StartUpTool
push ecx
push eax
push ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
call fcn.0040ea50
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
cmovae eax, dword [ebp - 0x28]
push eax
push 0
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
test edi, edi
je 0x474a07
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
cmp eax, 0xb7
jne 0x474a3f
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 1
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x474b74
mov ecx, dword [ebp - 0x28]
inc eax
mov edx, ecx
cmp eax, 0x1000
jb 0x474b6b
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x474b96
jmp 0x474b6b
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x474a64
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x474a58
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.0040cef0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x474a88
lea esi, [eax + 2]
jmp 0x474a0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x44]
cmp eax, 0xb7
jne 0x474aa4
call edi
mov esi, 2
jmp 0x474a0c
call edi
mov ecx, dword [esi + 0x10]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 9
jb 0x474b9b
cmp dword [esi + 0x14], 0x10
jb 0x474ac1
mov esi, dword [esi]
push 9
push str._Launcher
push ecx
push esi
push ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x40]
call fcn.0040ea50
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x474b05
mov ecx, dword [ebp - 0x28]
inc eax
mov edx, ecx
cmp eax, 0x1000
jb 0x474afc
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x474b96
push ecx
call fcn.0044efd0
add esp, 4
movups xmm0, xmmword [ebp - 0x40]
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x40], 0
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
call fcn.0040cb50
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
je 0x474b61
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x474b61
xor esi, esi
jmp 0x474a0c
mov esi, 3
jmp 0x474a0c
push ecx
call fcn.0044efd0
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00455d51
mov esp, ebp
pop ebp
ret
call fcn.0040a700
call fcn.0045d555
call fcn.0040a700
int3