Function at 0x140012170
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x908
mov ebx, r9d
mov rsi, r8
mov rdi, rcx
lea rcx, [rsp + 0x108]
mov r8d, 0x400
call fcn.140051c00
mov eax, 6
nop word cs:[rax + rax]
movups xmm0, xmmword [rdi + rax*8 - 0x30]
movups xmm1, xmmword [rdi + rax*8 - 0x20]
movups xmm2, xmmword [rsp + rax*8 + 0xd8]
xorps xmm2, xmm0
movups xmm0, xmmword [rsp + rax*8 + 0xe8]
xorps xmm0, xmm1
movups xmm1, xmmword [rsp + rax*8 + 0xf8]
movups xmm3, xmmword [rsp + rax*8 + 0x108]
movups xmmword [rsp + rax*8 + 0xd8], xmm2
movups xmmword [rsp + rax*8 + 0xe8], xmm0
movups xmm0, xmmword [rdi + rax*8 - 0x10]
xorps xmm0, xmm1
movups xmm1, xmmword [rdi + rax*8]
xorps xmm1, xmm3
movups xmmword [rsp + rax*8 + 0xf8], xmm0
movups xmmword [rsp + rax*8 + 0x108], xmm1
add rax, 8
cmp rax, 0x86
jne 0x1400121b0
lea rcx, [rsp + 0x508]
lea rdx, [rsp + 0x108]
mov r8d, 0x400
call fcn.140051c00
test bl, bl
je 0x1400122ab
xor eax, eax
nop dword [rax]
movups xmm0, xmmword [rsi + rax*8]
movups xmm1, xmmword [rsi + rax*8 + 0x10]
movups xmm2, xmmword [rsp + rax*8 + 0x508]
xorps xmm2, xmm0
movups xmm0, xmmword [rsp + rax*8 + 0x518]
xorps xmm0, xmm1
movups xmm1, xmmword [rsp + rax*8 + 0x528]
movups xmm3, xmmword [rsp + rax*8 + 0x538]
movups xmmword [rsp + rax*8 + 0x508], xmm2
movups xmmword [rsp + rax*8 + 0x518], xmm0
movups xmm0, xmmword [rsi + rax*8 + 0x20]
xorps xmm0, xmm1
movups xmm1, xmmword [rsi + rax*8 + 0x30]
xorps xmm1, xmm3
movups xmmword [rsp + rax*8 + 0x528], xmm0
movups xmmword [rsp + rax*8 + 0x538], xmm1
add rax, 8
cmp rax, 0x80
jne 0x140012240
mov r12d, pe_nt_image_headers64
lea rdx, [rsp + 0x100]
lea r8, [rsp + 0xf8]
lea r9, [rsp + 0xf0]
lea r10, [rsp + 0xe8]
lea r11, [rsp + 0xe0]
lea rbx, [rsp + 0xd8]
nop word cs:[rax + rax]
mov rax, qword [rsp + r12 + 0x90]
mov rcx, qword [rsp + r12 + 0x98]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rcx
mov rax, qword [rsp + r12 + 0xa0]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + r12 + 0xa8]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + r12 + 0xb0]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + r12 + 0xb8]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + r12 + 0xc0]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + r12 + 0xc8]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + r12 + 0xd0]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + r12 + 0xd8]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + r12 + 0xe0]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + r12 + 0xe8]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + r12 + 0xf0]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + r12 + 0xf8]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + r12 + 0x100]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + r12 + 0x108]
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x70], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x60], r10
mov qword [rsp + 0x58], r11
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea rcx, [rsp + 0x88]
mov r14, rdx
lea rdx, [rsp + 0x90]
mov r13, r8
lea r8, [rsp + 0x98]
mov rbp, r9
lea r9, [rsp + 0xa0]
mov r15, r10
mov rdi, r11
call fcn.140012900
mov r11, rdi
mov r10, r15
mov r9, rbp
mov r8, r13
mov rdx, r14
mov rax, qword [rsp + 0x88]
mov qword [rsp + r12 + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + r12 + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + r12 + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + r12 + 0xa8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + r12 + 0xb0], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + r12 + 0xb8], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + r12 + 0xc0], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + r12 + 0xc8], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + r12 + 0xd0], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + r12 + 0xd8], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + r12 + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + r12 + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + r12 + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + r12 + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + r12 + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + r12 + 0x108], rax
sub r12, 0xffffffffffffff80
cmp r12, 0x478
jne 0x1400122f0
mov r12d, 0x388
nop word cs:[rax + rax]
mov rax, qword [rsp + r12 - 0x280]
mov rcx, qword [rsp + r12 - 0x278]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rcx
mov rax, qword [rsp + r12 - 0x200]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + r12 - 0x1f8]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + r12 - 0x180]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + r12 - 0x178]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + r12 - 0x100]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + r12 - 0xf8]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + r12 - 0x80]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + r12 - 0x78]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + r12]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + r12 + 8]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + r12 + 0x80]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + r12 + 0x88]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + r12 + 0x100]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + r12 + 0x108]
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x70], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x60], r10
mov qword [rsp + 0x58], r11
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea rcx, [rsp + 0x88]
lea rdx, [rsp + 0x90]
lea r8, [rsp + 0x98]
lea r9, [rsp + 0xa0]
call fcn.140012900
mov r11, rdi
mov r10, r15
mov r9, rbp
mov r8, r13
mov rdx, r14
mov rax, qword [rsp + 0x88]
mov qword [rsp + r12 - 0x280], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + r12 - 0x278], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + r12 - 0x200], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + r12 - 0x1f8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + r12 - 0x180], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + r12 - 0x178], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + r12 - 0x100], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + r12 - 0xf8], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + r12 - 0x80], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + r12 - 0x78], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + r12], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + r12 + 8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + r12 + 0x80], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + r12 + 0x88], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + r12 + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + r12 + 0x108], rax
add r12, 0x10
cmp r12, 0x408
jne 0x1400125c0
lea rdx, [rsp + 0x508]
mov r8d, 0x400
mov rcx, rsi
call fcn.140051c00
mov eax, 6
nop word cs:[rax + rax]
movups xmm0, xmmword [rsp + rax*8 + 0xd8]
movups xmm1, xmmword [rsp + rax*8 + 0xe8]
movups xmm2, xmmword [rsi + rax*8 - 0x30]
xorps xmm2, xmm0
movups xmm0, xmmword [rsi + rax*8 - 0x20]
xorps xmm0, xmm1
movups xmm1, xmmword [rsi + rax*8 - 0x10]
movups xmm3, xmmword [rsi + rax*8]
movups xmmword [rsi + rax*8 - 0x30], xmm2
movups xmmword [rsi + rax*8 - 0x20], xmm0
movups xmm0, xmmword [rsp + rax*8 + 0xf8]
xorps xmm0, xmm1
movups xmm1, xmmword [rsp + rax*8 + 0x108]
xorps xmm1, xmm3
movups xmmword [rsi + rax*8 - 0x10], xmm0
movups xmmword [rsi + rax*8], xmm1
add rax, 8
cmp rax, 0x86
jne 0x140012880
add rsp, 0x908
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret