Function at 0x40e340
Capabilities:
Run powershell expression

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40e85e
add rsp, 0xffffffffffffff80
mov qword [rsp + 0x78], rbp
lea rbp, [rsp + 0x78]
nop dword [rax + rax]
test rbx, rbx
je 0x40e84a
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x70], rcx
movzx esi, byte [rbx + 8]
test sil, 4
je 0x40e3ae
lea rax, [0x004f9f25]
mov ebx, 0x15
call fcn.00435e80
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x90]
mov rdx, qword [rax + 0x48]
mov rsi, qword [rdx]
mov edi, dword [rbx + 0xc]
mov rax, rcx
mov rbx, rdi
nop
call rsi
mov qword [rsp + 0x28], rax
mov rbx, qword [rsp + 0x90]
movzx ecx, byte [rbx + 8]
xor ecx, 4
mov byte [rbx + 8], cl
cmp qword [rbx + 0x10], 0
nop
jne 0x40e431
mov rdx, qword [rsp + 0x88]
mov rbx, qword [rdx + 0x40]
mov rax, qword [rbx]
mov ecx, 1
call fcn.0040c540
cmp dword [0x0061c170], 0
jne 0x40e412
mov rbx, qword [rsp + 0x90]
mov qword [rbx + 0x10], rax
jmp 0x40e42c
mov rdi, qword [rsp + 0x90]
lea rsi, [rdi + 0x10]
mov rcx, rdi
mov rdi, rsi
call fcn.00461840
mov rbx, rcx
mov rax, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x88]
jmp 0x40e465
mov rax, rsi
nop
call fcn.0040f040
mov rax, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
mov rsi, qword [rsp + 0x88]
movzx ecx, byte [rbx + 9]
mov edi, 1
shl rdi, cl
lea rcx, [rdi - 1]
and rcx, rax
cmp qword [rbx + 0x18], 0
je 0x40e4a6
mov qword [rsp + 0x30], rcx
mov rax, rsi
call fcn.0040f260
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x88]
movzx edi, word [rsi + 0x52]
imul rcx, rdi
add rcx, qword [rbx + 0x10]
mov rdi, rax
shr rax, 0x38
cmp al, 5
jae 0x40e4c0
add eax, 5
mov byte [rsp + 0x1f], al
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x40e552
mov rcx, r11
cmp qword [rbx + 0x18], 0
jne 0x40e6c6
mov r10, qword [rbx]
inc r10
movzx r11d, byte [rbx + 9]
cmp r10, 8
jle 0x40e517
mov r12, rcx
mov ecx, r11d
mov r13d, 1
shl r13, cl
shr r13, 1
lea r15, [r13 + r13*2]
lea r13, [r13 + r15*4]
cmp r13, r10
jb 0x40e43b
jmp 0x40e51d
mov r12, rcx
mov ecx, r11d
movzx r10d, word [rbx + 0xa]
cmp cl, 0xf
jbe 0x40e52c
mov ecx, 0xf
and ecx, 0xf
mov r11d, 1
shl r11d, cl
nop dword [rax + rax]
cmp r10w, r11w
jae 0x40e43b
jmp 0x40e6c9
mov rcx, r10
mov qword [rsp + 0x58], rcx
xor r10d, r10d
jmp 0x40e580
movzx r10d, word [rsi + 0x52]
mov r11, rcx
lea r10, [rcx + r10]
lea r10, [r10 - 8]
mov r10, qword [r10]
test r10, r10
jne 0x40e54f
jmp 0x40e4d1
inc r10
nop dword [rax]
cmp r10, 8
jae 0x40e55c
test byte [rcx], al
movzx r11d, byte [rcx + r10]
lea r12, [rcx + r10]
cmp al, r11b
je 0x40e5ea
cmp r11b, 1
ja 0x40e5e0
nop dword [rax]
test rdx, rdx
jne 0x40e5e0
movzx r13d, byte [rsi + 0x50]
mov r15, r10
imul r10, r13
mov rdx, rdi
movzx edi, byte [rsi + 0x51]
imul rdi, r15
lea rdi, [rdi + r13*8]
mov r13, rcx
lea r8, [r10 + rcx]
lea r8, [r8 + 8]
lea r9, [rdi + rcx]
lea r9, [r9 + 8]
mov rcx, r13
mov rdi, rdx
mov r10, r15
mov rdx, r12
nop
test r11b, r11b
jne 0x40e579
jmp 0x40e4d4
mov qword [rsp + 0x20], r10
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x48], rdx
movzx r11d, byte [rsi + 0x50]
imul r11, r10
lea rcx, [r11 + rcx]
lea rcx, [rcx + 8]
mov r11d, dword [rsi + 0x54]
bt r11d, 0
jae 0x40e61d
mov rcx, qword [rcx]
mov qword [rsp + 0x38], rcx
mov rdi, qword [rsi + 0x30]
mov rdx, qword [rdi + 0x18]
mov rdi, qword [rdx]
mov rax, qword [rsp + 0x70]
mov rbx, rcx
call rdi
test al, al
jne 0x40e673
movzx eax, byte [rsp + 0x1f]
mov rcx, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x28]
mov r10, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
mov r9, qword [rsp + 0x50]
jmp 0x40e579
mov rdx, qword [rsp + 0x88]
mov esi, dword [rdx + 0x54]
bt esi, 3
jae 0x40e69f
mov rax, qword [rdx + 0x30]
mov rbx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
call fcn.004122a0
mov rdx, qword [rsp + 0x88]
movzx ecx, byte [rdx + 0x50]
movzx esi, byte [rdx + 0x51]
mov rdi, qword [rsp + 0x20]
imul rsi, rdi
lea rcx, [rsi + rcx*8]
mov rsi, qword [rsp + 0x58]
lea rcx, [rsi + rcx]
lea rcx, [rcx + 8]
jmp 0x40e7ea
mov r12, rcx
test rdx, rdx
jne 0x40e70a
mov rax, rbx
mov rbx, rsi
mov rcx, r12
call fcn.0040d740
test byte [rax], al
nop
mov rdx, qword [rsp + 0x88]
movzx esi, byte [rdx + 0x50]
lea r8, [rax + 8]
lea r9, [rax + rsi*8]
lea r9, [r9 + 8]
mov rbx, qword [rsp + 0x90]
mov rsi, rdx
mov rdx, rax
movzx eax, byte [rsp + 0x1f]
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x48], rdx
mov edi, dword [rsi + 0x54]
bt edi, 0
jae 0x40e76f
mov qword [rsp + 0x68], r8
mov rbx, qword [rsi + 0x30]
mov rax, qword [rbx]
mov ecx, 1
call fcn.0040c540
mov rdi, qword [rsp + 0x68]
test byte [rdi], al
cmp dword [0x0061c170], 0
jne 0x40e748
mov qword [rdi], rax
jmp 0x40e74d
call fcn.00461840
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x88]
mov r9, qword [rsp + 0x50]
mov r8, rax
movzx eax, byte [rsp + 0x1f]
mov edi, dword [rsi + 0x54]
bt edi, 1
jae 0x40e7b5
mov qword [rsp + 0x40], r8
mov rbx, qword [rsi + 0x38]
mov rax, qword [rbx]
mov ecx, 1
call fcn.0040c540
mov rdi, qword [rsp + 0x50]
test byte [rdi], al
cmp dword [0x0061c170], 0
jne 0x40e7a3
mov qword [rdi], rax
jmp 0x40e7a8
call fcn.00461840
mov rsi, qword [rsp + 0x88]
mov r8, qword [rsp + 0x40]
mov rax, qword [rsi + 0x30]
mov rbx, r8
mov rcx, qword [rsp + 0x70]
call fcn.004122a0
movzx edx, byte [rsp + 0x1f]
mov rsi, qword [rsp + 0x48]
mov byte [rsi], dl
mov rdx, qword [rsp + 0x90]
inc qword [rdx]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x90]
movzx edi, byte [rsi + 8]
test dil, 4
jne 0x40e827
mov qword [rsp + 0x60], rcx
lea rax, [0x004f9f25]
mov ebx, 0x15
call fcn.00435e80
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x90]
movzx ebx, byte [rsi + 8]
and ebx, 0xfffffffb
mov byte [rsi + 8], bl
mov edx, dword [rdx + 0x54]
bt edx, 1
jae 0x40e83d
mov rcx, qword [rcx]
mov rax, rcx
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
lea rax, [0x004dfd80]
lea rbx, [0x00527be8]
call fcn.004355e0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.0045f600
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.0040e340