Function at 0x10023b3
Capabilities:
Check mutex on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
and dword [ebp - 0x14], 0
and dword [ebp - 8], 0
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov esi, 0x1004088
push esi
call fcn.01001a67
push 0x1001350
mov dword [0x10040a8], 0x1001170
mov dword [section..data], esi
call fcn.01001b35
mov eax, dword [section..data]
mov esi, section..data
mov ebx, 0x1000
mov edi, 0x1001180
cmp eax, esi
je 0x100241d
test dword [eax + 0x1c], ebx
je 0x100241d
push edi
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01001935
push 0x10040b0
push 0
push 0
push 0x100113c
call dword [sym.imp.ntdll.dll_EtwEventRegister]
mov dword [ebp - 4], eax
test eax, eax
je 0x1002464
mov eax, dword [section..data]
cmp eax, esi
je 0x100258f
test dword [eax + 0x1c], ebx
je 0x100258f
push dword [ebp - 4]
push edi
push 0xb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01001a3b
jmp 0x100258a
push 0x43
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x1002499
mov eax, dword [section..data]
cmp eax, esi
je 0x100258f
test dword [eax + 0x1c], ebx
je 0x100258f
push edi
push 0xc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01001935
jmp 0x100258a
xor eax, eax
push eax
push eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
test eax, eax
jne 0x10024d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [section..data]
cmp eax, esi
je 0x100258f
test dword [eax + 0x1c], ebx
je 0x100258f
push dword [ebp - 4]
push edi
push 0xd
jmp 0x1002454
lea eax, [ebp - 8]
push eax
call fcn.01003185
mov dword [ebp - 4], eax
test eax, eax
je 0x1002506
mov eax, dword [section..data]
cmp eax, esi
je 0x100258f
test dword [eax + 0x1c], 0x800
je 0x100258f
push dword [ebp - 4]
push edi
push 0xe
jmp 0x1002454
and dword [ebp - 0xc], 0
push 0x100001
push 0
push 0x1001328
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], 0xc
mov dword [ebp - 0x10], 0x10012f8
call dword [sym.imp.KERNEL32.dll_CreateMutexExW]
mov ebx, eax
test ebx, ebx
jne 0x1002562
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [section..data]
cmp eax, esi
je 0x1002578
test dword [eax + 0x1c], 0x800
je 0x1002578
push dword [ebp - 4]
push edi
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01001a3b
jmp 0x1002573
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call fcn.010021ef
mov dword [ebp - 4], eax
mov eax, dword [section..data]
test ebx, ebx
je 0x100258f
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [section..data]
cmp dword [ebp - 8], 0
je 0x10025a5
push 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ClosePrivateNamespace]
mov eax, dword [section..data]
mov ecx, dword [0x10040b0]
mov edx, dword [0x10040b4]
mov ebx, ecx
or ebx, edx
je 0x10025f5
xor eax, eax
cmp dword [ebp - 4], eax
je 0x10025cf
push dword [ebp - 4]
push 0x1001150
push edx
push ecx
call fcn.0100311c
jmp 0x10025de
push eax
push eax
push 0x1001160
push edx
push ecx
call dword [sym.imp.ntdll.dll_EtwEventWrite]
push dword [0x10040b4]
push dword [0x10040b0]
call dword [sym.imp.ntdll.dll_EtwEventUnregister]
mov eax, dword [section..data]
cmp eax, esi
je 0x1002613
test dword [eax + 0x1c], 0x1000
je 0x1002613
push dword [ebp - 4]
push edi
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01001a3b
call fcn.01001b82
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret