Function at 0x511740
Capabilities:
Run powershell expression

Disassembly:
lea r12, [rsp - 0x208]
cmp r12, qword [r14 + 0x10]
jbe 0x511ad4
push rbp
mov rbp, rsp
sub rsp, 0x280
mov byte [rsp + 0x398], al
nop
call 0x4633c0
mov qword [rsp + 0x130], rax
mov ebx, 2
mov ecx, 0x202
lea rax, [0x006a5ea0]
call fcn.0044bc20
mov qword [rsp], 0
mov qword [rsp + 6], 0
mov rcx, qword [rsp + 0x130]
shr rcx, 1
mov qword [rsp + 0x130], rcx
mov word [rsp], cx
mov byte [rsp + 8], 1
movzx edx, byte [rsp + 0x398]
mov byte [rsp + 0xa], dl
mov ebx, 2
mov ecx, 0x202
call fcn.005087a0
mov rax, qword [rsp + 0x10]
mov qword [rsp + 0x248], rax
movups xmm0, xmmword [rsp + 0x18]
movups xmmword [rsp + 0x250], xmm0
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsp + 0x260], xmm0
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsp + 0x270], xmm0
movzx eax, byte [rsp + 0x260]
test al, al
ja 0x511822
mov rdx, qword [0x0096cd70]
mov r12, qword [0x0096cd78]
nop
jmp 0x511840
cmp al, 2
jbe 0x511836
mov rdx, qword [0x0096cd80]
mov r12, qword [0x0096cd88]
jmp 0x511840
xor edx, edx
xor r12d, r12d
nop dword [rax + rax]
test rdx, rdx
jne 0x511852
mov byte [rsp + 0x260], 2
xor edx, edx
xor r12d, r12d
test rdx, rdx
jne 0x511aa5
mov rcx, qword [rsp + 0x290]
mov qword [rsp], rcx
lea rdi, [rsp + 4]
lea rsi, [rsp + 0x294]
nop word [rax + rax]
nop dword [rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00467d60
mov rbp, qword [rbp]
lea rax, [rsp + 0x248]
nop dword [rax + rax]
call fcn.00508a00
test rax, rax
jne 0x511a84
movzx edx, byte [rsp + 0x260]
test dl, dl
ja 0x5118ca
mov rdx, qword [0x0096cd70]
mov r12, qword [0x0096cd78]
jmp 0x5118e4
cmp dl, 5
jbe 0x5118df
mov rdx, qword [0x0096cd80]
mov r12, qword [0x0096cd88]
jmp 0x5118e4
xor edx, edx
xor r12d, r12d
test rdx, rdx
jne 0x5118f6
mov byte [rsp + 0x260], 5
xor edx, edx
xor r12d, r12d
test rdx, rdx
jne 0x511a63
movups xmmword [rsp + 0x13c], xmm15
lea rdi, [rsp + 0x148]
nop word [rax + rax]
nop dword [rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00467a54
mov rbp, qword [rbp]
nop
lea rdi, [rsp + 0x13c]
lea rsi, [0x0078ea00]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00467d60
mov rbp, qword [rbp]
mov dword [rsp + 0x23c], 0x4d00029
mov dword [rsp + 0x240], 0
movups xmm0, xmmword [rsp + 0x13c]
movups xmmword [rsp], xmm0
lea rdi, [rsp + 0xc]
lea rsi, [rsp + 0x148]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00467d60
mov rbp, qword [rbp]
lea rax, [rsp + 0x248]
xor ebx, ebx
xor ecx, ecx
mov rdi, rcx
call fcn.00508ba0
test rax, rax
jne 0x511a42
lea rax, [rsp + 0x248]
nop dword [rax]
call fcn.005090c0
test rdi, rdi
jne 0x511a21
cmp rbx, 2
jb 0x511ac6
lea rdx, [rbx - 2]
lea rdi, [rcx - 2]
mov r12, rdi
neg r12
sar r12, 0x3f
and r12d, 2
add r12, rax
mov r13, rdx
sar rdx, 8
mov byte [rax], dl
mov byte [rax + 1], r13b
mov rsi, rax
mov r8, rbx
mov r9, rcx
xor r10d, r10d
xor r11d, r11d
mov rax, qword [rsp + 0x130]
mov rbx, r12
mov rcx, r13
add rsp, 0x280
pop rbp
nop
ret
xor eax, eax
xor ebx, ebx
xor ecx, ecx
mov r8, rcx
mov r9, rcx
mov r10, rdi
mov r11, rsi
mov rdi, rcx
mov rsi, rbx
add rsp, 0x280
pop rbp
ret
xor ecx, ecx
mov rdi, rcx
xor esi, esi
mov r8, rcx
mov r9, rcx
mov r10, rax
mov r11, rbx
xor eax, eax
mov rbx, rsi
add rsp, 0x280
pop rbp
ret
xor eax, eax
xor ebx, ebx
xor ecx, ecx
mov rdi, rcx
mov rsi, rbx
mov r8, rcx
mov r9, rcx
mov r10, rdx
mov r11, r12
add rsp, 0x280
pop rbp
ret
xor ecx, ecx
mov rdi, rcx
xor esi, esi
mov r8, rcx
mov r9, rcx
mov r10, rax
mov r11, rbx
xor eax, eax
mov rbx, rsi
add rsp, 0x280
pop rbp
ret
xor eax, eax
xor ebx, ebx
xor ecx, ecx
mov rdi, rcx
mov rsi, rbx
mov r8, rcx
mov r9, rcx
mov r10, rdx
mov r11, r12
add rsp, 0x280
pop rbp
ret
mov eax, 2
mov rcx, rbx
call fcn.00467820
nop
mov byte [rsp + 0x110], al
nop dword [rax + rax]
call fcn.004654a0
movzx eax, byte [rsp + 0x110]
jmp fcn.00511740