Function at 0x10075c1e
Capabilities:
Check mutex on windows

Disassembly:
push 0x14
mov eax, 0x101848ba
call fcn.10145d80
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x18], ebx
mov dword [ebp - 4], 1
jne 0x10075e7e
mov eax, dword [ebp + 8]
cmp dword [eax - 8], ebx
je 0x10075e7e
mov ecx, dword [ebp + 0xc]
cmp dword [ecx - 8], ebx
je 0x10075e7e
push eax
call fcn.1011c944
test eax, eax
pop ecx
je 0x10075e7e
lea eax, [ebp + 8]
push eax
lea ecx, [esi + 0x20]
call fcn.10007845
lea eax, [ebp + 0xc]
push eax
lea ecx, [esi + 0x24]
call fcn.10007845
push 0x44
lea edi, [esi + 0x28]
push ebx
push edi
call fcn.10146c80
mov dword [edi], 0x44
lea edi, [esi + 0xa8]
push edi
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x54], 1
mov word [esi + 0x58], 5
mov word [esi + 0x5a], bx
mov dword [esi + 0x5c], ebx
call fcn.101269d4
add esp, 0x10
cmp dword [edi], ebx
je 0x10075d81
push str.S_1_16_4096
lea ecx, [ebp - 0x18]
call fcn.10007b11
xor eax, eax
mov dword [ebp - 0x20], ebx
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
lea eax, [esi + 0xac]
push eax
mov edi, 0x2000000
push edi
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10075d35
lea eax, [esi + 0xb0]
push eax
push 1
push 2
push ebx
push edi
push dword [esi + 0xac]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x10075d35
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_ConvertStringSidToSidW]
test eax, eax
je 0x10075d35
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], 0x20
mov dword [ebp - 0x20], eax
cmp dword [esi + 0xb0], ebx
je 0x10075d79
push dword [ebp - 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_GetLengthSid]
call edi
add eax, 8
push eax
lea eax, [ebp - 0x20]
push eax
push 0x19
push dword [esi + 0xb0]
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
push dword [ebp - 0x10]
call edi
add eax, 8
push eax
lea eax, [ebp - 0x20]
push eax
push 0x19
push dword [esi + 0xb0]
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
lea ecx, [ebp - 0x18]
call fcn.10003b75
mov eax, dword [0x101f3028]
mov dword [ebp - 0x10], eax
mov edi, 0x104
push edi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.1000401e
mov eax, dword [0x101f9aa8]
push edi
push ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], eax
call fcn.1000401e
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.100041f7
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.1002a041
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
call fcn.10007ade
cmp dword [ebp - 0x14], 0xffffffff
mov byte [ebp - 4], 3
je 0x10075e14
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 8]
sub eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
dec eax
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10011776
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.10007845
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.10003b75
push dword [0x101f8354]
mov ecx, 0x101f8c68
push ebx
call fcn.10016a0b
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x10075f2f
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x10075f26
push dword [0x101f8350]
lea ecx, [esi + 0x80]
call fcn.10075114
test eax, eax
jne 0x10075e98
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x18]
call fcn.10003b75
lea ecx, [ebp - 0x10]
call fcn.10003b75
lea ecx, [ebp + 8]
call fcn.10003b75
lea ecx, [ebp + 0xc]
call fcn.10003b75
xor eax, eax
call fcn.10145e58
ret 8
push dword [ebp + 0xc]
mov eax, dword [esi + 0x88]
mov ebx, 0x101a32c4
push ebx
push 0xffffffffffffffff
add eax, 0x4f0
push edi
push eax
call fcn.1014612c
add esp, 0x14
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101f84e8
call fcn.1005158c
push dword [eax]
mov eax, dword [esi + 0x88]
push ebx
push 0xffffffffffffffff
add eax, 0x900
push edi
push eax
call fcn.1014612c
add esp, 0x14
lea ecx, [ebp - 0x1c]
call fcn.10003b75
push dword [ebp - 0x18]
mov eax, dword [esi + 0x88]
push ebx
push 0xffffffffffffffff
add eax, 0x2e8
push edi
push eax
call fcn.1014612c
mov eax, dword [esi + 0x88]
push 0x208
add eax, 0x6f8
push 0
push eax
call fcn.10146c80
add esp, 0x20
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor ebx, ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x18], ebx
jne 0x10075f4d
push 0x10075197
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x10075bc7
mov dword [esi + 0x18], eax
call fcn.10145f90
pop ecx
lea ecx, [ebp - 0x18]
call fcn.10003b75
lea ecx, [ebp - 0x10]
call fcn.10003b75
lea ecx, [ebp + 8]
call fcn.10003b75
lea ecx, [ebp + 0xc]
call fcn.10003b75
xor eax, eax
inc eax
jmp 0x10075e90