Function at 0x509c60
Capabilities:
Run powershell expression

Disassembly:
lea r12, [rsp - 0x18]
cmp r12, qword [r14 + 0x10]
jbe 0x50a148
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rsp + 0xa8], rbx
movzx edx, byte [rax + 0xff]
cmp dl, 0xfe
ja 0x509d67
test dl, dl
je 0x509d44
lea r9d, [rdx - 1]
movzx r9d, r9b
movzx r9d, byte [r9 + rax]
cmp r9b, 0x2e
jne 0x509d44
cmp byte [rax], 0x2e
jne 0x509d03
cmp dl, 1
jne 0x509d03
lea rdx, [rcx + 1]
nop
cmp rdi, rdx
jae 0x509ce8
mov rax, rbx
mov rbx, rdx
mov rcx, rdi
mov edi, 1
lea rsi, [0x006a5ea0]
call fcn.0044bd00
mov rdx, rbx
mov rbx, rax
mov rdi, rcx
mov byte [rdx + rbx - 1], 0
mov rax, rbx
mov rbx, rdx
mov rcx, rdi
xor edi, edi
xor esi, esi
add rsp, 0x90
pop rbp
ret
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xc8], r8
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0xc0], rsi
mov rdx, rdi
mov r9, rbx
mov r10, rcx
xor r11d, r11d
xor r12d, r12d
jmp 0x509d88
mov rdx, qword [0x0096ce80]
mov rsi, qword [0x0096ce88]
mov rax, rbx
mov rbx, rcx
mov rcx, rdi
mov rdi, rdx
add rsp, 0x90
pop rbp
ret
mov rdi, qword [0x0096ce10]
mov rsi, qword [0x0096ce18]
xor eax, eax
xor ebx, ebx
mov rcx, rbx
add rsp, 0x90
pop rbp
ret
inc r11
movzx r13d, byte [rax + 0xff]
cmp r11, r13
jge 0x50a036
nop dword [rax]
cmp r11, 0xff
jae 0x50a13a
mov qword [rsp + 0x58], r11
mov qword [rsp + 0x60], r12
movzx r13d, byte [r11 + rax]
nop dword [rax]
cmp r13b, 0x2e
jne 0x509e65
mov r13, r11
sub r11, r12
cmp r11, 0x40
jge 0x509faa
nop word [rax + rax]
cmp r12, r13
je 0x509f8a
lea r15, [rcx + 1]
cmp rdi, r15
jae 0x509e59
mov qword [rsp + 0x78], r11
mov rax, rbx
mov rbx, r15
mov rcx, rdi
mov edi, 1
lea rsi, [0x006a5ea0]
call fcn.0044bd00
mov rdx, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xc0]
mov r8, qword [rsp + 0xc8]
mov r9, qword [rsp + 0xa8]
mov r10, qword [rsp + 0xb0]
mov r11, qword [rsp + 0x78]
mov r12, qword [rsp + 0x60]
mov r13, qword [rsp + 0x58]
mov r15, rbx
mov rbx, rax
mov rdi, rcx
mov rax, qword [rsp + 0xa0]
mov byte [r15 + rbx - 1], r11b
nop
jmp 0x50a088
test r11, r11
je 0x509e80
movzx r13d, byte [r11 + rax - 1]
cmp r13b, 0x2e
jne 0x509d85
nop word [rax + rax]
test rsi, rsi
je 0x509d85
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x88], rbx
lea rdi, [r11 - 0xff]
mov rdx, rdi
sar rdx, 0x3f
and rdx, r11
lea rcx, [rax + rdx]
mov qword [rsp + 0x80], rcx
neg rdi
mov qword [rsp + 0x78], rdi
mov rbx, rsi
lea rax, [0x006b5f00]
call fcn.00412920
test bl, bl
jne 0x509fca
mov rdx, qword [rsp + 0x68]
nop dword [rax]
cmp rdx, 0x3fff
jle 0x509ef6
mov rsi, qword [rsp + 0xc8]
mov rdi, rdx
jmp 0x509f3b
xor eax, eax
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x78]
call fcn.0044fe20
mov rcx, rax
mov rdi, rbx
lea rax, [0x006b5f00]
mov rbx, qword [rsp + 0xc0]
nop
call fcn.00412d00
mov rdx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0xc8]
mov rdi, rdx
sub rdx, rsi
mov qword [rax], rdx
mov rax, qword [rsp + 0xa0]
mov rcx, rdi
mov rdx, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0x88]
mov rsi, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0x70]
mov r8, qword [rsp + 0xc8]
mov r9, qword [rsp + 0xa8]
mov r10, qword [rsp + 0xb0]
mov r11, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
jmp 0x509d85
mov rdi, qword [0x0096ce20]
mov rsi, qword [0x0096ce28]
mov rax, r9
mov rbx, r10
mov rcx, rdx
add rsp, 0x90
pop rbp
ret
mov rdi, qword [0x0096ce00]
mov rsi, qword [0x0096ce08]
mov rax, r9
mov rbx, r10
mov rcx, rdx
add rsp, 0x90
pop rbp
ret
mov rbx, qword [rsp + 0x68]
add rbx, 2
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x70]
nop dword [rax + rax]
cmp rcx, rbx
jb 0x509fef
mov rax, qword [rsp + 0x88]
jmp 0x50a012
mov qword [rsp + 0x48], rdx
mov rax, qword [rsp + 0x88]
mov edi, 2
lea rsi, [0x006a5ea0]
call fcn.0044bd00
mov rdx, qword [rsp + 0x48]
mov r8, rdx
sar rdx, 8
or rdx, 0xc0
mov byte [rbx + rax - 2], dl
mov byte [rbx + rax - 1], r8b
xor edi, edi
xor esi, esi
add rsp, 0x90
pop rbp
ret
lea rdx, [rcx + 1]
cmp rdi, rdx
jae 0x50a062
mov rax, rbx
mov rbx, rdx
mov rcx, rdi
mov edi, 1
lea rsi, [0x006a5ea0]
call fcn.0044bd00
mov rdx, rbx
mov rbx, rax
mov rdi, rcx
mov byte [rdx + rbx - 1], 0
mov rax, rbx
mov rbx, rdx
mov rcx, rdi
xor edi, edi
xor esi, esi
add rsp, 0x90
pop rbp
ret
mov byte [r11 + rbx - 1], r15b
inc r12
mov r15, r11
cmp r12, r13
jge 0x50a11e
cmp r12, 0xff
jae 0x50a12d
lea r11, [r15 + 1]
movzx r15d, byte [r12 + rax]
cmp rdi, r11
jae 0x50a07d
mov qword [rsp + 0x50], r12
mov byte [rsp + 0x47], r15b
mov rax, rbx
mov rbx, r11
mov rcx, rdi
mov edi, 1
lea rsi, [0x006a5ea0]
call fcn.0044bd00
mov rdx, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xc0]
mov r8, qword [rsp + 0xc8]
mov r9, qword [rsp + 0xa8]
mov r10, qword [rsp + 0xb0]
mov r12, qword [rsp + 0x50]
mov r13, qword [rsp + 0x58]
movzx r15d, byte [rsp + 0x47]
mov r11, rbx
mov rbx, rax
mov rdi, rcx
mov rax, qword [rsp + 0xa0]
jmp 0x50a07d
lea r12, [r13 + 1]
mov r11, r13
mov rcx, r15
jmp 0x509d85
mov rax, r12
mov ecx, 0xff
call fcn.00467760
mov rax, r11
mov ecx, 0xff
call fcn.00467760
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
call fcn.004654a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
jmp fcn.00509c60