Function at 0x1000dd10
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10015d16
push eax
mov eax, 0xa070
mov dword fs:[0], esp
call fcn.100156c0
mov eax, dword [0x1001c958]
push ebx
push ebp
xor ebp, ebp
push str.______
push eax
mov dword [esp + 0x2c], ebp
call fcn.100056c0
mov ebx, eax
add esp, 8
cmp ebx, ebp
mov dword [esp + 0x28], ebx
jne 0x1000dd5c
or eax, 0xffffffff
jmp 0x1000e060
call dword [sym.imp.USER32.dll_GetProcessWindowStation]
push 0x2000000
push ebp
push str.winsta0
call dword [sym.imp.USER32.dll_OpenWindowStationA]
cmp eax, ebp
je 0x1000dd7e
push eax
call dword [sym.imp.USER32.dll_SetProcessWindowStation]
mov eax, dword [0x1001c958]
push esi
cmp eax, ebp
push edi
je 0x1000ddf2
push 0x1000dcd0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea ecx, [esp + 0x124]
mov esi, dword [esp + 0xa090]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
push eax
call edi
push eax
push str.lobal
lea edx, [esp + 0x40]
push str.P_yyyTTEIOIU_d_d
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push ebx
push 1
push ebp
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x124]
push eax
call fcn.10005790
push esi
call fcn.100055a0
add esp, 8
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
lea ecx, [esp + 0x68]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], 0x50
mov dword [esp + 0x24], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], ebp
call fcn.10001b50
mov ebx, dword [sym.imp.KERNEL32.dll_OpenEventA]
mov dword [esp + 0xa088], ebp
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [esp + 0x13], 0
mov al, byte [esp + 0x13]
test al, al
je 0x1000de78
cmp al, 3
je 0x1000de78
xor edi, edi
lea ecx, [esp + 0x34]
push ecx
push 0
push 0x1f0003
call ebx
mov esi, eax
test esi, esi
jne 0x1000de68
push 0x3c
call ebp
inc edi
cmp edi, 0x7d0
jl 0x1000de45
jmp 0x1000de78
lea ecx, [esp + 0x68]
call fcn.10002490
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x28]
lea eax, [esp + 0x20]
push edx
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x2c]
push ecx
push edx
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x24]
lea ecx, [esp + 0x28]
push eax
add edx, 6
push ecx
push edx
call fcn.1000d060
add esp, 4
push eax
call fcn.1000d1d0
add esp, 0x1c
test al, al
jne 0x1000debd
mov byte [esp + 0x13], 1
jmp 0x1000de37
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1000ded9
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push ecx
push eax
push 5
jmp 0x1000dee6
push 0
push 0
push 0x438
push 0
push 0
lea ecx, [esp + 0x7c]
call fcn.10002750
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov edx, dword [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x70]
call fcn.10001d10
test al, al
jne 0x1000df1a
mov byte [esp + 0x13], 2
jmp 0x1000de37
call edi
sub eax, esi
lea ecx, [esp + 0x68]
push eax
lea edx, [esp + 0x128]
push ecx
push edx
call fcn.1000d7f0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
add esp, 0xc
lea edx, [esp + 0x34]
push eax
mov eax, dword [0x1001c964]
push ecx
push edx
lea ecx, [esp + 0x130]
push eax
lea edx, [esp + 0x78]
push ecx
push edx
lea ecx, [esp + 0x23c]
call fcn.10008e60
lea eax, [esp + 0x224]
lea ecx, [esp + 0x68]
push eax
mov byte [esp + 0xa08c], 1
call fcn.10002740
xor esi, esi
lea ecx, [esp + 0x224]
call fcn.10009500
test al, al
jne 0x1000df9a
push 0x3e8
call ebp
inc esi
cmp esi, 0xa
jl 0x1000df7d
lea ecx, [esp + 0x224]
call fcn.10009500
test al, al
jne 0x1000dfc2
lea ecx, [esp + 0x224]
mov byte [esp + 0xa088], al
call fcn.10008f60
jmp 0x1000de37
call edi
lea ecx, [esp + 0x34]
push ecx
push 0
push 0x1f0003
call ebx
push 0x64
mov esi, eax
mov edx, dword [esp + 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x1f4
mov edi, eax
call ebp
test esi, esi
jne 0x1000e00e
test edi, edi
jne 0x1000dfc4
lea ecx, [esp + 0x224]
mov byte [esp + 0xa088], 0
call fcn.10008f60
jmp 0x1000de37
lea ecx, [esp + 0x68]
call fcn.10002490
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
lea ecx, [esp + 0x224]
mov byte [esp + 0xa088], 0
call fcn.10008f60
push 0
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov edi, dword [esp + 0x2c]
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call esi
lea ecx, [esp + 0x68]
mov dword [esp + 0xa088], 0xffffffff
call fcn.10001c50
pop edi
pop esi
mov ecx, dword [esp + 0xa078]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa07c
ret 4