Function at 0x477d30
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 - 0x2c], ecx
mov dword [ebp - 0xc], 0
push 0
push 0x48c6bc
call fcn.0046d200
mov dword [0x4c8f24], eax
push 0
push 0x48c6d8
call fcn.0046d200
mov dword [0x4c8f28], eax
lea ecx, [ebp - 0x40]
call fcn.0046d500
push 0x20
lea eax, [ebp - 0x60]
push eax
push 0x48c704
call fcn.0046d120
push 0x4a3288
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov edx, 1
imul edx, edx, 7
mov byte [ebp + edx - 0x60], 0x72
mov eax, 1
shl eax, 3
mov byte [ebp + eax - 0x60], 0x64
mov ecx, 1
imul ecx, ecx, 9
mov byte [ebp + ecx - 0x60], 0x65
mov edx, 1
imul edx, edx, 0xa
mov byte [ebp + edx - 0x60], 0x63
mov eax, 1
imul eax, eax, 0xb
mov byte [ebp + eax - 0x60], 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [ebp - 0x60]
push ecx
push 0x48c4c4
lea edx, [ebp - 0x40]
push edx
call fcn.0046e3d0
add esp, 0x10
lea ecx, [ebp - 0x40]
call fcn.0046e0f0
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 0x477f43
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 [0x4c8f18], edx
mov eax, dword [ebp + 0x10]
mov dword [0x4c8f1c], eax
cmp dword [0x4c8f24], 0
je 0x477e3f
cmp dword [0x4c8f28], 0
jne 0x477f17
push 1
push 0x48c6a0
call fcn.0046d270
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
and edx, 0xffffff
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 8]
mov cl, byte [eax + 7]
mov byte [ebp - 1], cl
mov edx, dword [ebp - 8]
mov al, byte [edx + 8]
mov byte [ebp - 2], al
mov ecx, dword [ebp - 8]
mov dl, byte [ecx + 9]
mov byte [ebp - 3], dl
cmp dword [ebp - 0x1c], 0x4244c8b
jne 0x477f15
cmp dword [ebp - 0x20], 0x241c8b
jne 0x477f15
movzx eax, byte [ebp - 1]
cmp eax, 0x51
jne 0x477f15
movzx ecx, byte [ebp - 2]
cmp ecx, 0x53
jne 0x477f15
movzx edx, byte [ebp - 3]
cmp edx, 0xe8
jne 0x477f15
lea eax, [ebp - 0x10]
push eax
push 0x40
push 4
mov ecx, dword [ebp - 8]
add ecx, 0xa
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x477f15
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xa]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax + 0xe]
mov dword [0x4c8f20], edx
mov eax, 0x476790
sub eax, dword [ebp - 8]
sub eax, 0xe
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xa], eax
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 4
mov ecx, dword [ebp - 8]
add ecx, 0xa
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0xc], 1
jmp 0x477f43
push 0x476810
push 1
call dword [0x4c8f24]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x477f36
mov dword [ebp - 0x14], 1
jmp 0x477f3d
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jne 0x477f61
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 - 0xc]
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x40]
call fcn.0046d7a0
mov eax, dword [ebp - 0x28]
mov esp, ebp
pop ebp
ret 0xc