Function at 0x180032940
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbx
push r15
sub rsp, 0x58
mov rax, qword [0x1800c6040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x50], r14
call qword [0x1800c7678]
mov rdx, qword [0x1800c76b0]
mov rcx, rax
call rdx
lea rcx, str.UnityEngine.GameObject
mov r14, rax
call fcn.180032610
xor r15d, r15d
mov rcx, rax
test rax, rax
jne 0x18003299a
mov esi, r15d
jmp 0x1800329c1
mov rax, qword [0x1800c7670]
mov rbx, qword [0x1800c76c0]
call rax
mov rcx, rax
call rbx
mov r8, qword [0x1800c7570]
xor edx, edx
mov rcx, rax
call r8
mov rsi, rax
mov rdi, r15
mov qword [rsp + 0x70], rbp
cmp qword [rsi + 0x18], r15
jbe 0x180032a4c
nop
mov ecx, edi
mov rbp, qword [rsi + rcx*8 + 0x20]
test rbp, rbp
je 0x180032a43
lea rcx, str.UnityEngine.MonoBehaviour
call fcn.180032610
test rax, rax
je 0x180032a43
mov rdx, qword [0x1800c7670]
mov rcx, rax
mov rbx, qword [0x1800c76c0]
call rdx
mov rcx, rax
call rbx
mov r10, qword [0x1800c75e8]
xor r9d, r9d
mov qword [rsp + 0x30], r15
xor r8d, r8d
mov byte [rsp + 0x28], r15b
mov rdx, rax
mov rcx, rbp
mov byte [rsp + 0x20], 1
call r10
test rax, rax
je 0x180032a3b
cmp qword [rax + 0x18], r15
jbe 0x180032a3b
mov rax, qword [rax + 0x20]
jmp 0x180032a3e
mov rax, r15
test rax, rax
jne 0x180032a4f
inc rdi
cmp qword [rsi + 0x18], rdi
ja 0x1800329d0
mov rax, r15
mov rax, qword [rax + 0x10]
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x70]
mov rdx, qword [rax]
test rdx, rdx
je 0x180032b0a
mov word [rsp + 0x40], 0xd233
mov r8d, r15d
movzx r9d, word [rsp + 0x40]
mov rax, r15
mov byte [rsp + 0x42], 0xe9
nop dword [rax]
mov rcx, qword [rdx + rax*8]
cmp word [rcx], r9w
jne 0x180032aa4
cmp byte [rcx + 2], 0xe9
je 0x180032be1
inc r8d
inc rax
cmp rax, 0x63
jl 0x180032a90
mov rcx, r15
mov dword [rsp + 0x40], 0x1ba
mov r8d, r15d
mov r10d, dword [rsp + 0x40]
mov rax, r15
mov word [rsp + 0x44], 0xe900
movzx r9d, word [rsp + 0x44]
mov qword [0x1800c77b8], rcx
nop word [rax + rax]
mov rcx, qword [rdx + rax*8]
cmp dword [rcx], r10d
jne 0x180032af4
cmp word [rcx + 4], r9w
je 0x180032bed
inc r8d
inc rax
cmp rax, 0x63
jl 0x180032ae0
mov rcx, r15
mov qword [0x1800c77e0], rcx
mov rcx, r14
call qword [0x1800c76b8]
mov rbx, qword [0x1800c77b8]
mov r14, qword [rsp + 0x50]
test rbx, rbx
je 0x180032b72
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], r15d
mov edx, 8
mov r8d, 4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x180032b72
mov rax, qword [rbx]
lea r9, [rsp + 0x40]
mov r8d, dword [rsp + 0x40]
mov edx, 8
mov qword [0x1800c77c0], rax
mov rcx, rbx
lea rax, [0x1800328a0]
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rbx, qword [0x1800c77e0]
test rbx, rbx
je 0x180032bcc
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], r15d
mov edx, 8
mov r8d, 4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x180032bcc
mov rax, qword [rbx]
lea r9, [rsp + 0x40]
mov r8d, dword [rsp + 0x40]
mov edx, 8
mov qword [0x1800c77e8], rax
mov rcx, rbx
lea rax, [0x1800328f0]
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18003d810
add rsp, 0x58
pop r15
pop rbx
ret
movsxd rax, r8d
lea rcx, [rdx + rax*8]
jmp 0x180032ab3
movsxd rax, r8d
lea rcx, [rdx + rax*8]
jmp 0x180032b03