Function at 0x45b640
Capabilities:
Run powershell expression

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45b8f8
push rbp
mov rbp, rsp
sub rsp, 0x58
mov rdx, qword [rax]
cmp dword [rdx + 0x10], 0
je 0x45b886
movzx r8d, byte [rdx + 0x28]
movzx r9d, byte [rdx + 0x29]
cmp r8b, 4
jne 0x45b673
and r9d, 0xfffffffd
test cl, cl
je 0x45b67b
and r9d, 0xfffffffd
mov qword [rsp + 0x68], rax
mov r10, qword [rax + 8]
cmp qword [rax + 0x30], 0
jne 0x45b7bf
mov byte [rsp + 0x70], bl
movzx r11d, byte [rax + 0x59]
nop dword [rax + rax]
test r11b, 8
je 0x45b76d
mov r11, qword [rax + 0x48]
mov r12, qword [r11 + 0x30]
cmp qword [r12], r11
jne 0x45b76d
mov r11, qword [r12 + 0x90]
test r11, r11
je 0x45b76d
cmp qword [r11 + 0x30], r12
jne 0x45b76d
cmp r8b, 0xd
je 0x45b70e
nop dword [rax]
cmp r8b, 0x14
jne 0x45b76d
mov r8, r11
nop
mov qword [rax + 0x48], r11
mov r11, qword [r8 + 0x38]
mov qword [rax + 0x28], r11
mov r8, qword [r8 + 0x148]
dec r8
mov qword [rax + 0x50], r8
and r9d, 0xfffffffd
jmp 0x45b76d
mov qword [rsp + 0x50], r11
mov rcx, r11
nop
mov qword [rax + 0x48], r11
mov rdx, qword [rcx + 0x40]
mov qword [rax + 0x10], rdx
mov rax, rdx
call sym.runtime.findfunc
mov rcx, qword [rsp + 0x68]
mov qword [rcx], rax
mov qword [rcx + 8], rbx
mov rdx, qword [rsp + 0x50]
mov rsi, qword [rdx + 0x60]
movzx r9d, byte [rax + 0x29]
mov qword [rcx + 0x20], rsi
mov rsi, qword [rdx + 0x38]
mov qword [rcx + 0x28], rsi
mov rdx, qword [rdx + 0x148]
dec rdx
mov qword [rcx + 0x50], rdx
mov rdx, rax
mov r10, rbx
mov rax, rcx
movzx ebx, byte [rsp + 0x70]
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x40], rdx
mov byte [rsp + 0x2f], r9b
mov rdi, qword [rax + 0x10]
mov ecx, dword [rdx + 0x10]
mov rbx, r10
mov esi, 1
mov rax, rdx
call sym.runtime.pcvalue
movsxd rdx, eax
mov r8, qword [rsp + 0x68]
add rdx, qword [r8 + 0x28]
add rdx, 8
mov qword [r8 + 0x30], rdx
mov rax, r8
movzx ebx, byte [rsp + 0x70]
movzx r9d, byte [rsp + 0x2f]
mov rdx, qword [rsp + 0x40]
mov r10, qword [rsp + 0x38]
nop
test r9b, 1
je 0x45b7d0
mov qword [rax + 0x20], 0
jmp 0x45b818
test r9b, 2
je 0x45b802
test bl, bl
je 0x45b7e5
movzx ecx, byte [rax + 0x59]
nop
test cl, 3
je 0x45b802
movzx ecx, byte [rax + 0x59]
test cl, 3
jne 0x45b7f6
test bl, bl
je 0x45b891
mov qword [rax + 0x20], 0
nop
jmp 0x45b818
cmp qword [rax + 0x20], 0
jne 0x45b818
mov rcx, qword [rax + 0x30]
add rcx, 0xfffffffffffffff8
mov rcx, qword [rcx]
mov qword [rax + 0x20], rcx
mov rcx, qword [rax + 0x30]
lea rdx, [rcx - 8]
mov qword [rax + 0x38], rdx
cmp qword [rax + 0x28], rdx
jae 0x45b832
add rcx, 0xfffffffffffffff0
mov qword [rax + 0x38], rcx
mov rcx, qword [rax + 0x30]
mov qword [rax + 0x40], rcx
mov rcx, qword [rax + 0x10]
mov qword [rax + 0x18], rcx
cmp byte [rax + 0x58], 0x13
jne 0x45b880
mov rcx, qword [rax]
cmp dword [rcx + 0xc], 0
jne 0x45b85b
mov qword [rax + 0x18], 0
jmp 0x45b880
mov rdx, qword [rax + 8]
mov ebx, dword [rcx]
mov rax, rdx
call sym.runtime._moduledata_.textAddr
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rcx]
mov edx, dword [rdx + 0xc]
lea rdx, [rdx + rax]
lea rdx, [rdx + 1]
mov qword [rcx + 0x18], rdx
add rsp, 0x58
pop rbp
ret
call sym.runtime._unwinder_.finishInternal
add rsp, 0x58
pop rbp
ret
test rdx, rdx
jne 0x45b8e5
xor eax, eax
xor ecx, ecx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x48], rcx
call sym.runtime.printlock
lea rax, [0x004e07a6]
mov ebx, 0x27
call sym.runtime.printstring
mov rax, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x30]
call sym.runtime.printstring
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x004d8f4f]
mov ebx, 9
nop
call sym.runtime.throw
mov ebx, dword [rdx + 4]
mov rax, r10
call sym.runtime._moduledata_.funcName
mov rcx, rax
mov rax, rbx
jmp 0x45b89a
mov qword [rsp + 8], rax
mov byte [rsp + 0x10], bl
mov byte [rsp + 0x11], cl
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
movzx ebx, byte [rsp + 0x10]
movzx ecx, byte [rsp + 0x11]
jmp sym.runtime._unwinder_.resolveInternal