Function at 0x1007d000
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102e909c
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x104230a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
push 1
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea ecx, [ebp - 0x6c]
push ecx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov dword [ebp - 0x58], 0xc
lea edx, [ebp - 0x6c]
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], 0
mov eax, dword [ebp + 0xc]
push eax
push 0
lea ecx, [ebp - 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x1007d0a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp + 0xc]
push edx
push 0x102f24ac
push 8
call fcn.10072f60
add esp, 0x10
jmp 0x1007d1f5
push 0xffffffffffffffff
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x1007d0ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp + 8]
push edx
push 0x102f24c8
push 8
call fcn.10072f60
add esp, 0x10
jmp 0x1007d1f5
push 0xa00000
push 0
push 0
push 0xf001f
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x1007d12a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x102f24ec
push 8
call fcn.10072f60
add esp, 0x10
jmp 0x1007d1f5
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], 0
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], edx
push 4
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.101fcde0
add esp, 0xc
mov edx, dword [ebp - 0x2c]
add edx, 4
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x40], 0
jmp 0x1007d16b
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [ebp - 0x3c]
jge 0x1007d1d4
push 4
mov edx, dword [ebp - 0x2c]
push edx
lea eax, [ebp - 0x44]
push eax
call fcn.101fcde0
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
add ecx, 4
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x28]
call fcn.10063130
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x4c]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.10062f30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10055650
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], eax
jmp 0x1007d162
mov dword [ebp - 0x3c], 0
push 4
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.101fcde0
add esp, 0xc
xor eax, eax
jne 0x1007d06d
cmp dword [ebp - 0x30], 0
je 0x1007d205
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
cmp dword [ebp - 0x38], 0
je 0x1007d215
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x34], 0
je 0x1007d22f
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100a9f90
mov esp, ebp
pop ebp
ret