Function at 0x642660
Capabilities:
Run powershell expression

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x642a37
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rsp + 0x80], rax
mov qword [rsp + 0xb8], r10
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x98], rdi
mov byte [rsp + 0xa0], sil
mov qword [rsp + 0xa8], r8
mov qword [rsp + 0xb0], r9
test r10, r10
je 0x6426fb
cmp qword [r10 + 0x18], 0
je 0x6426fb
mov rcx, qword [rax + 0x68]
mov ebx, 1
mov rax, rcx
call fcn.00483300
test rdi, rdi
jne 0x6426eb
cmp rbx, 1
jne 0x6426eb
mov rax, qword [rsp + 0xb8]
mov rdx, qword [rax + 0x18]
mov rcx, qword [rdx]
call rcx
mov rax, qword [rsp + 0x80]
mov r10, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xa8]
xor edx, edx
jmp 0x642710
mov rax, r8
mov rdx, rcx
mov rcx, rdi
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x40], rcx
mov rsi, qword [rax + 0x68]
mov rbx, qword [rsp + 0x88]
mov rax, rsi
call fcn.0062eda0
test rbx, rbx
jne 0x642a31
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], rbx
mov rsi, qword [rax + 0x10]
mov rdi, qword [rsp + 0x40]
test rdi, rdi
je 0x6427cc
mov qword [rsp + 0x10], rsi
cmp rsi, 0x64
je 0x642789
nop
cmp rsi, 0xc8
jl 0x6427cc
mov rax, rdi
call fcn.00406180
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x10]
xor edi, edi
jmp 0x6427cc
mov r8, qword [rsp + 0xb8]
test r8, r8
je 0x6427a9
mov rdx, qword [r8 + 0x20]
test rdx, rdx
je 0x6427a9
mov rax, qword [rdx]
call rax
mov rdi, qword [rsp + 0x40]
mov rax, rdi
lea rbx, [rsp + 0x10]
call fcn.004058c0
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x10]
xor edi, edi
lea r8, [rsi - 0x64]
cmp r8, 0x63
ja 0x6428c3
nop word [rax + rax]
cmp rsi, 0x65
je 0x6428c3
mov rcx, qword [rsp + 0x18]
inc rcx
cmp rcx, 5
jg 0x642893
mov r8, qword [rsp + 0x80]
mov r9, qword [r8 + 0x10]
mov r9, qword [r9 + 0x100]
test r9, r9
mov r10d, 0xa00000
cmovne r10, r9
mov qword [r8 + 0xa0], r10
mov r9, qword [rsp + 0xb8]
test r9, r9
je 0x642707
mov rdx, qword [r9 + 0x28]
nop dword [rax + rax]
test rdx, rdx
je 0x642707
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x60], rdi
mov rcx, qword [rdx]
mov rbx, qword [rax + 0x38]
mov rax, rsi
call rcx
nop
test rax, rax
jne 0x642885
mov rcx, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x60]
mov r8, qword [rsp + 0x80]
mov r9, qword [rsp + 0xb8]
nop
jmp 0x642707
mov rcx, rbx
mov rbx, rax
xor eax, eax
add rsp, 0x70
pop rbp
ret
lea rax, [0x006c0560]
call fcn.0040d7c0
mov qword [rax + 8], 0x2e
lea rcx, [0x00719e6d]
mov qword [rax], rcx
lea rbx, [0x00789ac0]
mov rcx, rax
xor eax, eax
add rsp, 0x70
pop rbp
ret
cmp qword [rax + 0x10], 0x65
je 0x6428ce
xor edx, edx
jmp 0x6428eb
mov rcx, qword [rax + 0x38]
mov rax, rcx
call fcn.0062f420
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x28]
mov edx, eax
mov rax, qword [rsp + 0x38]
test dl, dl
je 0x6429fc
mov rcx, qword [rsp + 0x80]
mov rbx, qword [rcx + 0x50]
mov rdx, qword [rcx + 0x68]
mov qword [rsp + 0x48], rdx
mov rsi, qword [rcx + 0x58]
mov qword [rsp + 0x30], rsi
lea rax, [0x006c01e0]
call fcn.0040b0e0
mov qword [rsp + 0x58], rax
lea rax, [0x006e2d40]
call fcn.0040d7c0
cmp dword [0x009d9570], 0
je 0x642942
mov rcx, qword [rax]
call fcn.004673a0
mov qword [r11], rcx
mov qword [rax], 0
mov rcx, qword [rsp + 0x58]
mov qword [rax + 8], rcx
cmp dword [0x009d9570], 0
jne 0x642962
mov rcx, qword [rsp + 0x30]
jmp 0x642977
call fcn.004673c0
mov rcx, qword [rsp + 0x30]
mov qword [r11], rcx
mov rdx, qword [rax + 0x10]
mov qword [r11 + 8], rdx
mov qword [rsp + 0x50], rax
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rcx + 0x30]
cmp qword [rcx + 0x28], rdx
je 0x6429aa
cmp dword [0x009d9570], 0
je 0x6429a7
call fcn.004673c0
mov qword [r11], rcx
mov rdx, qword [rax]
mov qword [r11 + 8], rdx
mov qword [rax], rcx
lea rax, [0x006beb20]
lea rbx, [0x0078ba90]
call fcn.0040b0e0
mov rcx, qword [rsp + 0x38]
mov qword [rcx + 0x40], rax
cmp dword [0x009d9570], 0
jne 0x6429d6
mov rdx, qword [rsp + 0x50]
jmp 0x6429eb
call fcn.004673c0
mov rdx, qword [rsp + 0x50]
mov qword [r11], rdx
mov rsi, qword [rcx + 0x48]
mov qword [r11 + 8], rsi
mov qword [rcx + 0x48], rdx
mov rax, rcx
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x80]
mov rdx, qword [rdx + 0x60]
cmp dword [0x009d9570], 0
je 0x642a24
call fcn.004673c0
mov qword [r11], rdx
mov rsi, qword [rax + 0x88]
mov qword [r11 + 8], rsi
mov qword [rax + 0x88], rdx
add rsp, 0x70
pop rbp
ret
add rsp, 0x70
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov byte [rsp + 0x28], sil
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x40], r10
nop
call fcn.004654a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
movzx esi, byte [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
mov r10, qword [rsp + 0x40]
jmp fcn.00642660