Function at 0x58c720
Capabilities:
Run powershell expression

Disassembly:
lea r12, [rsp - 8]
cmp r12, qword [r14 + 0x10]
jbe 0x58ccf9
push rbp
mov rbp, rsp
add rsp, 0xffffffffffffff80
mov rcx, qword [rax + 0x30]
nop dword [rax + rax]
test rcx, rcx
je 0x58cb42
mov qword [rsp + 0x90], rax
mov rax, rcx
call fcn.0058c720
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rcx + 0x30]
cmp dword [0x009d9570], 0
je 0x58c77a
mov rsi, qword [rcx + 0x30]
call fcn.004673a0
mov qword [r11], rsi
mov qword [rcx + 0x30], 0
mov rsi, qword [rdx]
test rsi, rsi
jne 0x58cb18
mov rsi, qword [rdx + 0x18]
mov rdi, qword [rdx + 0x40]
mov r8, rsi
sub rsi, rdi
mov rax, qword [rdx + 0x38]
sub rsi, rax
test rsi, rsi
jl 0x58cce5
mov qword [rsp + 0x48], rdx
cmp byte [rdx + 0x48], 0
je 0x58cb0c
nop dword [rax + rax]
cmp rdi, 1
jne 0x58cccd
mov edi, 0xfffffffe
cmp rdi, rsi
jl 0x58cab8
nop dword [rax + rax]
cmp rsi, 0xffffff
jle 0x58c7f5
mov ebx, 0xffffff84
mov edi, 5
jmp 0x58c840
cmp rsi, 0xffff
jle 0x58c80a
mov ebx, 0xffffff83
mov edi, 4
jmp 0x58c840
cmp rsi, 0xff
jle 0x58c820
mov ebx, 0xffffff82
mov edi, 3
jmp 0x58c840
cmp rsi, 0x7f
jle 0x58c832
mov ebx, 0xffffff81
mov edi, 2
jmp 0x58c840
mov rbx, rsi
mov edi, 1
xor esi, esi
nop dword [rax]
cmp r8, rax
jbe 0x58ccc5
mov r8, qword [rdx + 0x10]
mov byte [r8 + rax], bl
dec edi
movzx ebx, dil
nop word [rax + rax]
test rbx, rbx
je 0x58caae
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rsi
lea rax, [0x006a5ea0]
mov rcx, rbx
nop dword [rax]
call fcn.0044bc20
mov rdx, qword [rsp + 0x48]
cmp qword [rdx], 0
jne 0x58ca1e
cmp qword [rdx + 0x30], 0
jne 0x58ccb2
mov qword [rsp + 0x58], rax
mov r8, qword [rdx + 0x18]
mov rdi, qword [rsp + 0x30]
add r8, rdi
cmp rdi, r8
jle 0x58c90d
lea rax, [0x006c0560]
nop dword [rax]
call fcn.0040d7c0
mov qword [rax + 8], 0x1b
lea rcx, [0x007116d9]
mov qword [rax], rcx
lea rcx, [0x00789ac0]
mov rdx, qword [rsp + 0x48]
mov qword [rdx], rcx
cmp dword [0x009d9570], 0
je 0x58c8ff
call fcn.004673c0
mov qword [r11], rax
mov r8, qword [rdx + 8]
mov qword [r11 + 8], r8
mov qword [rdx + 8], rax
mov rax, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x30]
cmp byte [rdx + 0x28], 0
je 0x58c979
mov r8, qword [rdx + 0x18]
add r8, rdi
nop word [rax + rax]
cmp qword [rdx + 0x20], r8
jge 0x58c979
lea rax, [0x006c0560]
call fcn.0040d7c0
mov qword [rax + 8], 0x36
lea rcx, [0x0071c2b7]
mov qword [rax], rcx
lea rcx, [0x00789ac0]
mov rdx, qword [rsp + 0x48]
mov qword [rdx], rcx
cmp dword [0x009d9570], 0
je 0x58c970
nop dword [rax]
call fcn.004673c0
mov qword [r11], rax
mov rsi, qword [rdx + 8]
mov qword [r11 + 8], rsi
mov qword [rdx + 8], rax
jmp 0x58ca1e
mov rcx, qword [rdx + 0x20]
mov r8, qword [rdx + 0x18]
lea rbx, [rdi + r8]
mov r9, qword [rdx + 0x10]
cmp rcx, rbx
jae 0x58c9b7
mov qword [rsp + 0x40], r8
mov rax, r9
lea rsi, [0x006a5ea0]
nop dword [rax]
call fcn.0044bd00
mov rdi, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
mov r9, rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rcx
lea rdx, [r9 + r8]
mov rsi, rax
mov rax, rdx
mov rbx, rsi
mov rcx, rdi
call fcn.00468160
mov rdx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov qword [rsi + 0x18], rdx
mov rdx, qword [rsp + 0x38]
mov qword [rsi + 0x20], rdx
cmp dword [0x009d9570], 0
jne 0x58ca02
mov rdx, qword [rsp + 0x50]
jmp 0x58ca17
call fcn.004673c0
mov rdx, qword [rsp + 0x50]
mov qword [r11], rdx
mov rdi, qword [rsi + 0x10]
mov qword [r11 + 8], rdi
mov qword [rsi + 0x10], rdx
mov rdx, rsi
mov rax, qword [rdx + 0x38]
add rax, qword [rdx + 0x40]
mov rcx, qword [rdx + 0x18]
mov rsi, qword [rsp + 0x30]
lea rdi, [rax + rsi]
cmp rcx, rdi
jb 0x58ccaa
mov r8, qword [rdx + 0x10]
mov r9, qword [rdx + 0x20]
mov r10, rdi
sub rdi, r9
sar rdi, 0x3f
and rdi, r10
mov r11, rcx
sub r11, r10
add rdi, r8
nop word [rax + rax]
cmp rcx, rax
jb 0x58cca5
sub rcx, rax
mov r10, rax
sub rax, r9
sar rax, 0x3f
and r10, rax
lea rbx, [r10 + r8]
cmp rcx, r11
cmovl r11, rcx
cmp rbx, rdi
je 0x58ca9e
mov rax, rdi
mov rcx, r11
call fcn.00468160
mov rdx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x90]
mov rbx, rsi
mov rsi, qword [rsp + 0x28]
inc qword [rdx + 0x38]
mov qword [rdx + 0x40], rbx
jmp 0x58cb0c
lea rax, [0x006c0560]
nop
call fcn.0040d7c0
mov qword [rax + 8], 0x1c
lea rcx, [0x0071223a]
mov qword [rax], rcx
lea rcx, [0x00789ac0]
mov rdx, qword [rsp + 0x90]
mov qword [rdx], rcx
cmp dword [0x009d9570], 0
je 0x58cb02
call fcn.004673c0
mov qword [r11], rax
mov rcx, qword [rdx + 8]
mov qword [r11 + 8], rcx
mov qword [rdx + 8], rax
sub rsp, 0xffffffffffffff80
pop rbp
ret
mov rdi, qword [rdx + 0x40]
dec rdi
mov rax, rsi
jmp 0x58cb57
mov rax, qword [rdx + 8]
mov qword [rcx], rsi
cmp dword [0x009d9570], 0
je 0x58cb38
call fcn.004673c0
mov qword [r11], rax
mov rdx, qword [rcx + 8]
mov qword [r11 + 8], rdx
mov qword [rcx + 8], rax
sub rsp, 0xffffffffffffff80
pop rbp
ret
sub rsp, 0xffffffffffffff80
pop rbp
ret
mov r8, qword [rdx + 0x10]
mov byte [r8 + r9], sil
dec rdi
sar rsi, 8
test rdi, rdi
jl 0x58cb71
mov r8, qword [rdx + 0x18]
mov r9, qword [rdx + 0x38]
add r9, rdi
cmp r8, r9
ja 0x58cb48
jmp 0x58cc9a
test rsi, rsi
jne 0x58cbe1
cmp byte [rcx + 0x28], 0
je 0x58cba9
cmp qword [rcx + 0x18], 0
jbe 0x58cc90
cmp qword [rdx + 0x18], 0
jbe 0x58cc86
mov rsi, qword [rcx + 0x10]
mov rdi, qword [rdx + 0x10]
nop word [rax + rax]
cmp rsi, rdi
jne 0x58cc73
mov rax, qword [rdx + 0x18]
mov rbx, qword [rdx + 0x20]
mov rdx, qword [rdx + 0x10]
mov qword [rcx + 0x18], rax
mov qword [rcx + 0x20], rbx
cmp dword [0x009d9570], 0
je 0x58cbd6
call fcn.004673c0
mov qword [r11], rdx
mov rax, qword [rcx + 0x10]
mov qword [r11 + 8], rax
mov qword [rcx + 0x10], rdx
sub rsp, 0xffffffffffffff80
pop rbp
nop
ret
movups xmmword [rsp + 0x60], xmm15
movups xmmword [rsp + 0x70], xmm15
call fcn.0040af00
lea rcx, [0x006a5ce0]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x48]
mov rax, qword [rdx + 0x40]
call fcn.0040af00
lea rcx, [0x006a5ce0]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rax
lea rax, [0x0071db31]
mov ebx, 0x41
lea rcx, [rsp + 0x60]
mov edi, 2
mov rsi, rdi
nop dword [rax + rax]
call fcn.004ccb40
mov rcx, qword [rsp + 0x90]
mov qword [rcx], rax
cmp dword [0x009d9570], 0
je 0x58cc69
call fcn.004673c0
mov qword [r11], rbx
mov rax, qword [rcx + 8]
mov qword [r11 + 8], rax
mov qword [rcx + 8], rbx
sub rsp, 0xffffffffffffff80
pop rbp
ret
lea rax, [0x006a5b60]
lea rbx, [0x00789670]
call fcn.00436ea0
xor eax, eax
mov rcx, rax
call fcn.00467760
xor eax, eax
mov rcx, rax
call fcn.00467760
mov rax, r9
mov rcx, r8
call fcn.00467760
call fcn.00467820
mov rax, rdi
call fcn.00467820
lea rax, [0x006a5b60]
lea rbx, [0x00789210]
call fcn.00436ea0
mov rcx, r8
call fcn.00467760
lea rax, [0x006a5b60]
lea rbx, [0x00789660]
nop dword [rax + rax]
call fcn.00436ea0
lea rax, [0x006a5b60]
lea rbx, [0x00789660]
call fcn.00436ea0
nop
mov qword [rsp + 8], rax
nop
call fcn.004654a0
mov rax, qword [rsp + 8]
jmp fcn.0058c720