Function at 0x4be000
Capabilities:
Run powershell expression

Disassembly:
lea r12, [rsp - 0x40]
cmp r12, qword [r14 + 0x10]
jbe 0x4be32e
push rbp
mov rbp, rsp
sub rsp, 0xb8
movq qword [rsp + 0xb0], xmm15
mov qword [rsp + 0xe0], rdi
mov qword [rsp + 0xd8], rcx
mov qword [rsp + 0xd0], rbx
mov qword [rsp + 0xc8], rax
mov byte [rsp + 0x3f], 0
movups xmmword [rsp + 0xa0], xmm15
movups xmmword [rsp + 0x90], xmm15
mov eax, 0x80000002
lea rbx, [0x0071c433]
mov ecx, 0x37
mov edi, 9
call fcn.004af740
test rbx, rbx
jne 0x4be119
mov qword [rsp + 0x58], rax
movups xmmword [rsp + 0x68], xmm15
lea rcx, [0x004be380]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0xb0], rcx
mov byte [rsp + 0x3f], 1
call fcn.004af820
test rdi, rdi
jne 0x4be0c5
mov qword [rsp + 0x48], rbx
xor ecx, ecx
nop
jmp 0x4be172
movups xmmword [rsp + 0xa0], xmm15
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x98], rsi
mov byte [rsp + 0x3f], 0
mov rdx, qword [rsp + 0xb0]
mov rax, qword [rdx]
call rax
mov rcx, qword [rsp + 0x90]
mov rbx, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0x98]
mov rax, qword [rsp + 0xa0]
add rsp, 0xb8
pop rbp
ret
movups xmmword [rsp + 0xa0], xmm15
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x98], rcx
mov rdx, qword [rsp + 0x90]
mov rbx, qword [rsp + 0xa8]
mov rax, qword [rsp + 0xa0]
mov rdi, rcx
mov rcx, rdx
add rsp, 0xb8
pop rbp
ret
mov rax, qword [rsp + 0x88]
add rax, 0x10
mov rcx, qword [rsp + 0x60]
inc rcx
mov rbx, qword [rsp + 0x48]
cmp rbx, rcx
jle 0x4be230
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x88], rax
mov rbx, qword [rax]
mov qword [rsp + 0x80], rbx
mov rcx, qword [rax + 8]
mov qword [rsp + 0x50], rcx
mov rdi, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0xd0]
mov r8, qword [rsp + 0xd8]
mov r9, qword [rsp + 0xe0]
mov rax, qword [rsp + 0x58]
call fcn.004bdc00
test rbx, rbx
jne 0x4be159
test al, al
je 0x4be159
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xa8], rax
movups xmmword [rsp + 0x90], xmm15
mov byte [rsp + 0x3f], 0
mov rdx, qword [rsp + 0xb0]
mov rax, qword [rdx]
call rax
mov rcx, qword [rsp + 0x90]
mov rbx, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0x98]
mov rax, qword [rsp + 0xa0]
add rsp, 0xb8
pop rbp
ret
xor eax, eax
lea rbx, [0x00711be2]
mov ecx, 0x1c
mov rdi, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0xd0]
lea r8, [0x0070e9b9]
mov r9d, 0x17
nop dword [rax + rax]
call fcn.0044fb40
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x78], rax
lea rax, [0x006c0560]
call fcn.0040d7c0
mov rdx, qword [rsp + 0x40]
mov qword [rax + 8], rdx
cmp dword [0x009d9570], 0
jne 0x4be294
mov rcx, qword [rsp + 0x78]
jmp 0x4be2a1
call fcn.004673a0
mov rcx, qword [rsp + 0x78]
mov qword [r11], rcx
mov qword [rax], rcx
movups xmmword [rsp + 0xa0], xmm15
lea rcx, [0x00789ac0]
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x98], rax
mov byte [rsp + 0x3f], 0
mov rdx, qword [rsp + 0xb0]
mov rax, qword [rdx]
call rax
mov rcx, qword [rsp + 0x90]
mov rax, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0x98]
add rsp, 0xb8
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.004654a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax + rax]
jmp fcn.004be000