Function at 0x1000e5da
Capabilities:
Check mutex on windows

Disassembly:
mov eax, 0x10016efe
call fcn.10016960
mov eax, 0xa078
call fcn.10016990
lea eax, [ebp - 0x18]
push ebx
push eax
xor ebx, ebx
push dword [0x1001e7f8]
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x18], 0x24
mov byte [ebp - 0x17], 0x24
mov byte [ebp - 0x16], 0x24
mov byte [ebp - 0x15], 0x24
mov byte [ebp - 0x14], 0x24
mov byte [ebp - 0x13], 0x24
mov byte [ebp - 0x12], bl
call fcn.10005f36
pop ecx
cmp eax, ebx
pop ecx
mov dword [ebp - 0x38], eax
jne 0x1000e62f
or eax, 0xffffffff
jmp 0x1000e8dd
call dword [sym.imp.USER32.dll_GetProcessWindowStation]
push 0x2000000
push ebx
push str.winsta0
call dword [sym.imp.USER32.dll_OpenWindowStationA]
cmp eax, ebx
je 0x1000e651
push eax
call dword [sym.imp.USER32.dll_SetProcessWindowStation]
cmp dword [0x1001e7f8], ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
je 0x1000e6be
push 0x1000e5a5
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push dword [ebp + 8]
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
call esi
push eax
call esi
push eax
push str.lobal
lea eax, [ebp - 0x6c]
push str.P_yyyTTEIOIU_d_d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push dword [ebp - 0x38]
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x228]
push eax
call fcn.10005fda
push dword [ebp + 8]
call fcn.10005dae
pop ecx
pop ecx
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], 0x50
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], ebx
call fcn.10001914
mov dword [ebp - 4], ebx
mov byte [ebp + 0xb], bl
cmp byte [ebp + 0xb], bl
je 0x1000e739
cmp byte [ebp + 0xb], 3
je 0x1000e739
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x6c]
push eax
push ebx
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov edi, eax
cmp edi, ebx
jne 0x1000e727
push 0x3c
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x7d0
jl 0x1000e6fb
jmp 0x1000e739
lea ecx, [ebp - 0x128]
call fcn.10002151
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x38]
add eax, 6
push eax
call fcn.1000d672
pop ecx
push eax
call fcn.1000d79b
add esp, 0x1c
test al, al
jne 0x1000e774
mov byte [ebp + 0xb], 1
jmp 0x1000e6ed
cmp dword [ebp - 0x28], ebx
je 0x1000e789
push dword [ebp - 0x2c]
push dword [ebp - 0x34]
push dword [ebp - 0x30]
push dword [ebp - 0x28]
push 5
jmp 0x1000e792
push ebx
push ebx
push 0x438
push ebx
push ebx
lea ecx, [ebp - 0x128]
call fcn.100023ac
call esi
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x128]
mov edi, eax
push dword [ebp - 0x24]
call fcn.10001a9a
test al, al
jne 0x1000e7bf
mov byte [ebp + 0xb], 2
jmp 0x1000e6ed
call esi
sub eax, edi
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.1000e18b
add esp, 0xc
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0xa084]
push dword [ebp - 0x1c]
push dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x228]
push dword [0x1001e804]
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.10009c2b
lea eax, [ebp - 0xa084]
lea ecx, [ebp - 0x128]
push eax
mov byte [ebp - 4], 1
call fcn.1000239f
xor edi, edi
lea ecx, [ebp - 0xa084]
call fcn.1000a281
test al, al
jne 0x1000e83b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0xa
jl 0x1000e81b
lea ecx, [ebp - 0xa084]
call fcn.1000a281
test al, al
jne 0x1000e85d
lea ecx, [ebp - 0xa084]
mov byte [ebp - 4], bl
call fcn.10009cf8
jmp 0x1000e6ed
call esi
lea eax, [ebp - 0x6c]
push eax
push ebx
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventA]
push 0x64
mov edi, eax
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x1f4
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, ebx
jne 0x1000e895
cmp dword [ebp - 0x10], ebx
jne 0x1000e85f
jmp 0x1000e84a
lea ecx, [ebp - 0x128]
call fcn.10002151
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call esi
lea ecx, [ebp - 0xa084]
mov byte [ebp - 4], bl
call fcn.10009cf8
push ebx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 0x20]
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x128]
call fcn.100019fe
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret 4