Function at 0x4e4d40
Capabilities:
Run powershell expression

Disassembly:
lea r12, [rsp - 0x28]
cmp r12, qword [r14 + 0x10]
jbe 0x4e5438
push rbp
mov rbp, rsp
sub rsp, 0xa0
mov qword [rsp + 0xb8], rbx
mov qword [rsp + 0xc0], rcx
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x60], rdi
mov rax, rbx
mov rbx, rcx
mov rcx, rdi
xor edi, edi
call fcn.004e4860
nop word [rax + rax]
test rax, rax
jne 0x4e5083
test rcx, rcx
jne 0x4e4f92
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x80], r8
mov rcx, r9
and r9d, 0x1f
nop
cmp r9, 0x11
je 0x4e4de6
cmp r9, 0x14
je 0x4e4df2
nop dword [rax + rax]
cmp r9, 0x17
jne 0x4e4e1e
mov qword [rsp + 0x60], r9
xor eax, eax
jmp 0x4e511a
mov rax, rsi
mov rbx, r8
call fcn.0049bec0
nop dword [rax]
test rax, rax
je 0x4e4f03
mov rcx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
nop
test rcx, rcx
je 0x4e4e37
bt ecx, 9
jb 0x4e4e37
lea rax, [0x0078ef68]
mov rbx, rsi
jmp 0x4e4e45
mov rax, rsi
mov rbx, r8
nop dword [rax]
call fcn.0049d680
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x30], rax
lea rax, [0x006e4cc0]
call fcn.0040d7c0
mov qword [rax + 8], 5
lea rcx, [0x00704c05]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
cmp dword [0x009d9570], 0
jne 0x4e4e86
mov rdx, qword [rsp + 0x68]
jmp 0x4e4e93
call fcn.004673a0
mov rdx, qword [rsp + 0x68]
mov qword [r11], rdx
mov qword [rax + 0x18], rdx
mov rdx, qword [rsp + 0xb0]
mov rsi, qword [rdx + 0x18]
mov qword [rax + 0x20], rsi
cmp qword [rdx + 0x70], 0
jne 0x4e4eee
lea rbx, [0x00789ca0]
mov rcx, rax
mov rax, rdx
nop dword [rax + rax]
call fcn.004e40e0
mov rdx, qword [rsp + 0xb0]
mov qword [rdx + 0x70], rax
cmp dword [0x009d9570], 0
je 0x4e4eea
call fcn.004673c0
mov qword [r11], rbx
mov rcx, qword [rdx + 0x78]
mov qword [r11 + 8], rcx
mov qword [rdx + 0x78], rbx
mov rax, rdx
call fcn.004e4220
xor eax, eax
xor ebx, ebx
add rsp, 0xa0
pop rbp
ret
mov rax, qword [rsp + 0xb0]
call fcn.004e93a0
call fcn.0040b020
lea rcx, [0x006a3fa0]
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x4e4f56
movzx edx, byte [rcx + 0x17]
mov r9d, edx
and edx, 0x1f
mov r10, rdx
bts rdx, 7
nop
test r9b, 0x20
cmove r10, rdx
jmp 0x4e4f5d
xor r10d, r10d
xor ecx, ecx
xor eax, eax
mov rbx, qword [rsp + 0x80]
mov rdi, rcx
mov rsi, rax
mov r8, r10
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x50]
nop dword [rax + rax]
call fcn.0049c200
xor eax, eax
xor ebx, ebx
add rsp, 0xa0
pop rbp
ret
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x4e4fb3
bt ecx, 9
jb 0x4e4fb3
lea rax, [0x0078ef68]
mov rbx, qword [rsp + 0x88]
jmp 0x4e4fc8
mov rax, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x80]
call fcn.0049d680
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x38], rax
lea rax, [0x006e4cc0]
call fcn.0040d7c0
mov qword [rax + 8], 5
lea rcx, [0x00704c05]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x10], rcx
cmp dword [0x009d9570], 0
jne 0x4e5009
mov rdx, qword [rsp + 0x70]
jmp 0x4e5016
call fcn.004673a0
mov rdx, qword [rsp + 0x70]
mov qword [r11], rdx
mov qword [rax + 0x18], rdx
mov rdx, qword [rsp + 0xb0]
mov rsi, qword [rdx + 0x18]
mov qword [rax + 0x20], rsi
cmp qword [rdx + 0x70], 0
jne 0x4e506e
lea rbx, [0x00789ca0]
mov rcx, rax
mov rax, rdx
nop
call fcn.004e40e0
mov rdx, qword [rsp + 0xb0]
mov qword [rdx + 0x70], rax
cmp dword [0x009d9570], 0
je 0x4e506a
call fcn.004673c0
mov qword [r11], rbx
mov rcx, qword [rdx + 0x78]
mov qword [r11 + 8], rcx
mov qword [rdx + 0x78], rbx
mov rax, rdx
call fcn.004e4220
xor eax, eax
xor ebx, ebx
add rsp, 0xa0
pop rbp
ret
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x40], rax
nop
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rax + 0x18]
mov qword [rsp + 0x58], rcx
nop
call fcn.004e4220
mov rcx, qword [rsp + 0xb0]
mov rdx, qword [rcx + 0x10]
mov rbx, qword [rcx + 0x18]
cmp rdx, rbx
jb 0x4e510f
mov rax, qword [rsp + 0x58]
lea rsi, [rax - 1]
cmp rbx, rsi
jb 0x4e5104
mov r8, qword [rsp + 0x40]
mov r8, qword [r8 + 0x18]
mov r9, qword [rcx]
sub rdx, rax
sub rbx, rax
lea rdi, [rdx + 1]
mov rdx, rdi
neg rdx
lea rcx, [rbx + 1]
sar rdx, 0x3f
and rsi, rdx
lea rbx, [r9 + rsi]
mov rax, qword [rsp + 0x78]
call r8
add rsp, 0xa0
pop rbp
ret
mov rax, rsi
mov rcx, rbx
call fcn.00467820
mov rcx, rbx
call fcn.004677e0
mov rax, rsi
mov qword [rsp + 0x48], rax
mov ebx, 9
mov rax, qword [rsp + 0xb0]
call fcn.004e4380
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x20], 8
nop
je 0x4e52c1
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x17
jne 0x4e51de
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x80]
cmp qword [rbx + 0x10], rdi
jg 0x4e5199
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x50]
mov edi, 1
call fcn.0049dac0
mov rax, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x48]
cmp qword [rbx + 8], rdi
jle 0x4e51a5
cmp rdx, 0x17
jmp 0x4e51eb
lea rdx, [rdi + 1]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x50]
mov rdi, rdx
call fcn.0049ca60
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x17
mov rax, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x48]
jmp 0x4e51eb
mov rbx, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x48]
jne 0x4e51f3
mov rsi, qword [rbx + 8]
jmp 0x4e5222
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x50]
call fcn.0049b400
mov rdx, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x48]
mov rsi, rax
mov rax, qword [rsp + 0xb0]
cmp rdi, rsi
jge 0x4e5256
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x50]
call fcn.0049ae20
mov rdi, rcx
mov rcx, rbx
mov rbx, rax
mov rax, qword [rsp + 0xb0]
call fcn.004e4600
test rax, rax
je 0x4e526a
jmp 0x4e52af
xor ebx, ebx
xor ecx, ecx
xor edi, edi
nop dword [rax]
call fcn.004e4600
test rax, rax
jne 0x4e52b8
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x20], 9
jne 0x4e528d
mov ebx, 9
nop
call fcn.004e4380
mov rax, qword [rsp + 0xb0]
mov rdx, qword [rax + 0x20]
mov rsi, qword [rsp + 0x48]
inc rsi
cmp rdx, 8
je 0x4e52c6
nop
cmp rdx, 7
je 0x4e5117
jmp 0x4e5424
add rsp, 0xa0
pop rbp
ret
add rsp, 0xa0
pop rbp
ret
mov rsi, qword [rsp + 0x48]
mov qword [rsp + 0x48], rsi
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x17
jne 0x4e52e4
mov rbx, qword [rsp + 0x80]
mov r8, qword [rbx + 8]
jmp 0x4e5313
mov rax, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x50]
call fcn.0049b400
mov rdx, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x48]
mov r8, rax
cmp rsi, r8
jge 0x4e5346
nop dword [rax + rax]
cmp rdx, 0x11
je 0x4e53fe
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x50]
mov rdi, rsi
call fcn.0049ca60
mov rax, qword [rsp + 0x48]
jmp 0x4e53ba
test rsi, rsi
jne 0x4e53ad
cmp rdx, 0x17
jne 0x4e53ad
mov rcx, qword [rsp + 0x50]
bt ecx, 9
jb 0x4e536d
lea rax, [0x0078ef68]
mov rdx, qword [rsp + 0x88]
jmp 0x4e537d
mov rax, qword [rsp + 0x88]
call fcn.0049d680
mov rdx, rbx
mov rbx, rdx
xor ecx, ecx
mov rdi, rcx
call fcn.0049e540
mov rdi, rax
mov rsi, rbx
mov r8, rcx
mov rax, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x50]
call fcn.0049c200
xor eax, eax
xor ebx, ebx
add rsp, 0xa0
pop rbp
ret
mov rdx, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x80]
mov rsi, rax
jmp 0x4e5346
mov rax, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x50]
call fcn.0049ae20
call fcn.0049b120
mov rsi, qword [rsp + 0x48]
inc rsi
mov rbx, qword [rsp + 0x80]
mov qword [rsp + 0x48], rsi
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x50]
call fcn.0049b400
mov rdi, qword [rsp + 0x48]
cmp rax, rdi
jg 0x4e53cf
mov rax, rdi
jmp 0x4e53ba
lea rax, [0x006a5b60]
lea rbx, [0x007887b0]
call fcn.00436ea0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.004654a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.004e4d40