Function at 0x512760
Capabilities:
Run powershell expression

Disassembly:
lea r12, [rsp - 0x8b0]
cmp r12, qword [r14 + 0x10]
jbe 0x513381
push rbp
mov rbp, rsp
sub rsp, 0x928
mov byte [rsp + 0xbc8], r9b
mov qword [rsp + 0x3a8], rax
mov qword [rsp + 0x2e8], r8
mov qword [rsp + 0xba8], rcx
mov qword [rsp + 0xba0], rbx
mov qword [rsp + 0xbb8], rsi
mov qword [rsp + 0xbb0], rdi
movups xmmword [rsp + 0xa40], xmm15
lea rdi, [rsp + 0xa48]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00467a3d
mov rbp, qword [rbp]
mov qword [rsp + 0xb88], 0
mov qword [rsp + 0xb8e], 0
movups xmmword [rsp + 0x3b0], xmm15
mov word [rsp + 0xa3a], 1
mov r11, qword [rsp + 0x938]
mov qword [rsp], r11
lea rdi, [rsp + 4]
lea rsi, [rsp + 0x93c]
nop dword [rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00467d60
mov rbp, qword [rbp]
mov eax, r10d
call fcn.00511740
nop dword [rax + rax]
test r10, r10
jne 0x512927
movzx edx, byte [rsp + 0xbc8]
test dl, dl
je 0x512889
movups xmmword [rsp + 0x3c0], xmm15
lea rdx, [0x00704526]
mov qword [rsp + 0x3c0], rdx
mov qword [rsp + 0x3c8], 3
lea rdx, [rsp + 0x3c0]
mov r10d, 1
jmp 0x5128df
movups xmmword [rsp + 0x3e8], xmm15
movups xmmword [rsp + 0x3f8], xmm15
lea rdx, [0x0070468e]
mov qword [rsp + 0x3e8], rdx
mov qword [rsp + 0x3f0], 3
lea rdx, [0x00704526]
mov qword [rsp + 0x3f8], rdx
mov qword [rsp + 0x400], 3
lea rdx, [rsp + 0x3e8]
mov r10d, 2
mov word [rsp + 0x296], ax
mov qword [rsp + 0x2b0], r8
mov qword [rsp + 0x2c0], r10
mov qword [rsp + 0x380], rsi
mov qword [rsp + 0x2b8], r9
mov qword [rsp + 0x378], rbx
mov qword [rsp + 0x2a0], rcx
mov qword [rsp + 0x2a8], rdi
xor r11d, r11d
jmp 0x512a00
movups xmmword [rsp + 0xa40], xmm15
lea rdi, [rsp + 0xa48]
nop dword [rax + rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00467a3d
mov rbp, qword [rbp]
mov qword [rsp + 0xb88], 0
mov qword [rsp + 0xb8e], 0
mov rax, qword [0x0096c7e0]
mov rcx, qword [0x0096c7e8]
mov qword [rsp + 0x3b0], rax
mov qword [rsp + 0x3b8], rcx
call fcn.00436380
mov rax, qword [rsp + 0x3b0]
mov rbx, qword [rsp + 0x3b8]
add rsp, 0x928
pop rbp
ret
mov rdx, qword [rsp + 0x3a0]
add rdx, 0x10
mov r11, qword [rsp + 0x2e0]
inc r11
movzx eax, word [rsp + 0x296]
mov rcx, qword [rsp + 0x2a0]
mov rbx, qword [rsp + 0x378]
mov rsi, qword [rsp + 0x380]
mov rdi, qword [rsp + 0x2a8]
mov r8, qword [rsp + 0x2b0]
mov r9, qword [rsp + 0x2b8]
mov r10, qword [rsp + 0x2c0]
nop
cmp r11, r10
jge 0x5132df
mov qword [rsp + 0x2e0], r11
mov qword [rsp + 0x3a0], rdx
mov rax, qword [rdx]
mov qword [rsp + 0x388], rax
mov rcx, qword [rdx + 8]
mov qword [rsp + 0x2c8], rcx
call fcn.004ba360
mov rdi, qword [rsp + 0x2e8]
nop dword [rax]
call fcn.004b9b40
mov rdi, rbx
mov rsi, rcx
xor r8d, r8d
xor r9d, r9d
mov rbx, qword [rsp + 0xba8]
mov rcx, rax
mov rax, qword [rsp + 0xba0]
call fcn.00504ea0
mov qword [rsp + 0x370], rbx
mov qword [rsp + 0x298], rax
mov rax, rcx
nop dword [rax]
call fcn.00435c60
test eax, eax
jne 0x5132c1
mov rax, qword [rsp + 0x3a8]
mov rbx, qword [rsp + 0x298]
mov rcx, qword [rsp + 0x370]
mov rdi, qword [rsp + 0x388]
mov rsi, qword [rsp + 0x2c8]
mov r8, qword [rsp + 0xbb0]
mov r9, qword [rsp + 0xbb8]
call fcn.00520560
test rcx, rcx
jne 0x513221
mov qword [rsp + 0x398], rbx
mov qword [rsp + 0x2d8], rax
mov rcx, qword [rsp + 0x298]
mov rcx, qword [rcx + 0x18]
mov rax, qword [rsp + 0x370]
call rcx
test dil, dil
je 0x512b7c
mov qword [rsp + 0x3d0], rax
mov qword [rsp + 0x3d8], rbx
mov qword [rsp + 0x3e0], rcx
mov rdx, qword [rsp + 0x3d0]
bt rdx, 0x3f
jae 0x512b3e
mov rsi, rdx
shl rdx, 1
shr rdx, 0x1f
movabs r8, 0xdd7b17f80
add rdx, r8
jmp 0x512b4e
mov rsi, rdx
movabs r8, 0xdd7b17f80
mov rdx, rbx
test rdx, rdx
jne 0x512b5d
and esi, 0x3fffffff
test esi, esi
je 0x512b7c
mov rdx, qword [rsp + 0x2d8]
mov rsi, qword [rdx + 0x38]
mov rdi, rcx
mov rcx, rbx
mov rbx, rax
mov rax, qword [rsp + 0x398]
call rsi
movups xmmword [rsp + 0x408], xmm15
lea rdi, [rsp + 0x410]
nop word [rax + rax]
nop word [rax + rax]
nop
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00467a3d
mov rbp, qword [rbp]
mov qword [rsp + 0x2f2], 0
mov qword [rsp + 0x2f8], 0
lea rax, [0x006d0f00]
mov rbx, qword [rsp + 0x2d8]
mov rcx, qword [rsp + 0x398]
call fcn.0040b1e0
test rax, rax
je 0x512d98
movups xmmword [rsp + 0x550], xmm15
lea rdi, [rsp + 0x558]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00467a3d
mov rbp, qword [rbp]
mov rdx, qword [rsp + 0x938]
mov qword [rsp], rdx
lea rdi, [rsp + 4]
lea rsi, [rsp + 0x93c]
nop word [rax + rax]
nop word [rax + rax]
nop
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00467d60
mov rbp, qword [rbp]
mov rax, qword [rsp + 0x2d8]
mov rbx, qword [rsp + 0x398]
movzx ecx, word [rsp + 0x296]
mov rdi, qword [rsp + 0x378]
mov rsi, qword [rsp + 0x2a0]
mov r8, qword [rsp + 0x2a8]
call fcn.00511c80
mov rdx, qword [rsp + 0x108]
mov qword [rsp + 0x550], rdx
lea rdi, [rsp + 0x558]
lea rsi, [rsp + 0x110]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00467d28
mov rbp, qword [rbp]
mov rdx, qword [rsp + 0x250]
mov r9, qword [rsp + 0x256]
mov qword [rsp + 0x346], rdx
mov qword [rsp + 0x34c], r9
mov rdx, qword [rsp + 0x550]
mov qword [rsp + 0x7e0], rdx
lea rdi, [rsp + 0x7e8]
lea rsi, [rsp + 0x558]
nop dword [rax + rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00467d28
mov rbp, qword [rbp]
mov rdx, qword [rsp + 0x346]
mov r9, qword [rsp + 0x34c]
mov qword [rsp + 0x362], rdx
mov qword [rsp + 0x368], r9
mov rdx, qword [rsp + 0x7e0]
mov qword [rsp + 0x408], rdx
lea rdi, [rsp + 0x410]
lea rsi, [rsp + 0x7e8]
nop word [rax + rax]
nop dword [rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00467d28
mov rbp, qword [rbp]
mov rdx, qword [rsp + 0x362]
mov r9, qword [rsp + 0x368]
mov qword [rsp + 0x2f2], rdx
mov qword [rsp + 0x2f8], r9
jmp 0x512f33
movups xmmword [rsp + 0x550], xmm15
lea rdi, [rsp + 0x558]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00467a3d
mov rbp, qword [rbp]
mov rdx, qword [rsp + 0x938]
mov qword [rsp], rdx
lea rdi, [rsp + 4]
lea rsi, [rsp + 0x93c]
nop word [rax + rax]
nop
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00467d60
mov rbp, qword [rbp]
mov rax, qword [rsp + 0x2d8]
mov rbx, qword [rsp + 0x398]
movzx ecx, word [rsp + 0x296]
mov rdi, qword [rsp + 0x380]
mov rsi, qword [rsp + 0x2b0]
mov r8, qword [rsp + 0x2b8]
call fcn.005120e0
mov rdx, qword [rsp + 0x108]
mov qword [rsp + 0x550], rdx
lea rdi, [rsp + 0x558]
lea rsi, [rsp + 0x110]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00467d28
mov rbp, qword [rbp]
mov rdx, qword [rsp + 0x250]
mov r9, qword [rsp + 0x256]
mov qword [rsp + 0x346], rdx
mov qword [rsp + 0x34c], r9
mov rdx, qword [rsp + 0x550]
mov qword [rsp + 0x698], rdx
lea rdi, [rsp + 0x6a0]
lea rsi, [rsp + 0x558]
nop dword [rax + rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00467d28
mov rbp, qword [rbp]
mov rdx, qword [rsp + 0x346]
mov r9, qword [rsp + 0x34c]
mov qword [rsp + 0x354], rdx
mov qword [rsp + 0x35a], r9
mov rdx, qword [rsp + 0x698]
mov qword [rsp + 0x408], rdx
lea rdi, [rsp + 0x410]
lea rsi, [rsp + 0x6a0]
nop word [rax + rax]
nop dword [rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00467d28
mov rbp, qword [rbp]
mov rdx, qword [rsp + 0x354]
mov r9, qword [rsp + 0x35a]
mov qword [rsp + 0x2f2], rdx
mov qword [rsp + 0x2f8], r9
mov qword [rsp + 0x390], rbx
mov qword [rsp + 0x2d0], rax
mov rcx, qword [rsp + 0x2d8]
mov rcx, qword [rcx + 0x18]
mov rax, qword [rsp + 0x398]
call rcx
mov rax, qword [rsp + 0x2d0]
test rax, rax
jne 0x513101
lea rax, [rsp + 0x408]
call fcn.005080e0
nop word [rax + rax]
cmp qword [0x0096cd80], rax
jne 0x51305e
mov rcx, qword [0x0096cd88]
call fcn.00404a60
nop dword [rax]
test al, al
je 0x51305e
cmp byte [rsp + 0x2f9], 0
jne 0x5129a7
mov rax, qword [rsp + 0x2f2]
mov rcx, qword [rsp + 0x2f8]
mov qword [rsp + 0x30e], rax
mov qword [rsp + 0x314], rcx
mov rax, qword [rsp + 0x408]
mov qword [rsp + 0xa40], rax
lea rdi, [rsp + 0xa48]
lea rsi, [rsp + 0x410]
nop word [rax + rax]
nop
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00467d28
mov rbp, qword [rbp]
mov rax, qword [rsp + 0x30e]
mov rcx, qword [rsp + 0x314]
mov qword [rsp + 0xb88], rax
mov qword [rsp + 0xb8e], rcx
movups xmmword [rsp + 0x3b0], xmm15
nop dword [rax]
call fcn.00436380
mov rax, qword [rsp + 0x3b0]
mov rbx, qword [rsp + 0x3b8]
add rsp, 0x928
pop rbp
ret
mov qword [rsp + 0x31c], 0
mov qword [rsp + 0x322], 0
mov rax, qword [0x0096c800]
mov rcx, qword [0x0096c808]
movups xmmword [rsp + 0xa40], xmm15
lea rdi, [rsp + 0xa48]
nop word [rax + rax]
nop
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00467a3d
mov rbp, qword [rbp]
mov rdx, qword [rsp + 0x31c]
mov rbx, qword [rsp + 0x322]
mov qword [rsp + 0xb88], rdx
mov qword [rsp + 0xb8e], rbx
mov qword [rsp + 0x3b0], rax
mov qword [rsp + 0x3b8], rcx
call fcn.00436380
mov rax, qword [rsp + 0x3b0]
mov rbx, qword [rsp + 0x3b8]
add rsp, 0x928
pop rbp
ret
cmp qword [0x0096c750], rax
jne 0x513140
mov rcx, qword [0x0096c758]
mov rbx, qword [rsp + 0x390]
call fcn.00404a60
nop
test al, al
je 0x513134
lea rax, [0x0078a6e0]
lea rbx, [0x009d90e0]
jmp 0x513184
mov rax, qword [rsp + 0x2d0]
nop dword [rax]
cmp qword [0x0096c760], rax
jne 0x51317c
mov rcx, qword [0x0096c768]
mov rbx, qword [rsp + 0x390]
call fcn.00404a60
nop dword [rax]
test al, al
je 0x513174
mov rax, qword [0x0096c860]
mov rbx, qword [0x0096c868]
jmp 0x513184
mov rax, qword [rsp + 0x2d0]
mov rbx, qword [rsp + 0x390]
mov qword [rsp + 0x32a], 0
mov qword [rsp + 0x330], 0
movups xmmword [rsp + 0xa40], xmm15
lea rdi, [rsp + 0xa48]
nop word [rax + rax]
nop word [rax + rax]
nop
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00467a3d
mov rbp, qword [rbp]
mov rcx, qword [rsp + 0x32a]
mov rdx, qword [rsp + 0x330]
mov qword [rsp + 0xb88], rcx
mov qword [rsp + 0xb8e], rdx
mov qword [rsp + 0x3b0], rax
mov qword [rsp + 0x3b8], rbx
call fcn.00436380
mov rax, qword [rsp + 0x3b0]
mov rbx, qword [rsp + 0x3b8]
add rsp, 0x928
pop rbp
ret
mov qword [rsp + 0x338], 0
mov qword [rsp + 0x33e], 0
movups xmmword [rsp + 0xa40], xmm15
mov rax, rdi
lea rdi, [rsp + 0xa48]
nop word [rax + rax]
nop word [rax + rax]
nop
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00467a3d
mov rbp, qword [rbp]
mov rdx, qword [rsp + 0x338]
mov rbx, qword [rsp + 0x33e]
mov qword [rsp + 0xb88], rdx
mov qword [rsp + 0xb8e], rbx
mov qword [rsp + 0x3b0], rcx
mov qword [rsp + 0x3b8], rax
call fcn.00436380
mov rax, qword [rsp + 0x3b0]
mov rbx, qword [rsp + 0x3b8]
add rsp, 0x928
pop rbp
ret
call fcn.00436380
mov rax, qword [rsp + 0x3b0]
mov rbx, qword [rsp + 0x3b8]
add rsp, 0x928
pop rbp
ret
mov qword [rsp + 0x300], 0
mov qword [rsp + 0x306], 0
mov rax, qword [0x0096c810]
mov rcx, qword [0x0096c818]
movups xmmword [rsp + 0xa40], xmm15
lea rdi, [rsp + 0xa48]
nop word [rax + rax]
nop
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00467a3d
mov rbp, qword [rbp]
mov rdx, qword [rsp + 0x300]
mov rbx, qword [rsp + 0x306]
mov qword [rsp + 0xb88], rdx
mov qword [rsp + 0xb8e], rbx
mov qword [rsp + 0x3b0], rax
mov qword [rsp + 0x3b8], rcx
call fcn.00436380
mov rax, qword [rsp + 0x3b0]
mov rbx, qword [rsp + 0x3b8]
add rsp, 0x928
pop rbp
ret
mov qword [rsp + 0x268], rax
mov qword [rsp + 0x270], rbx
mov qword [rsp + 0x278], rcx
mov qword [rsp + 0x280], rdi
mov qword [rsp + 0x288], rsi
mov qword [rsp + 0x290], r8
mov byte [rsp + 0x298], r9b
mov byte [rsp + 0x299], r10b
call fcn.004654a0
mov rax, qword [rsp + 0x268]
mov rbx, qword [rsp + 0x270]
mov rcx, qword [rsp + 0x278]
mov rdi, qword [rsp + 0x280]
mov rsi, qword [rsp + 0x288]
mov r8, qword [rsp + 0x290]
movzx r9d, byte [rsp + 0x298]
movzx r10d, byte [rsp + 0x299]
jmp fcn.00512760