Function at 0x1400967f4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x140240028]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov r14d, r8d
lea rsi, [rcx + 4]
mov rdi, rdx
mov dword [rsp + 0x20], r14d
xor edx, edx
mov rbx, rcx
lea rcx, [rbp + 0x20]
lea r8d, [rdx + 0x40]
call fcn.14014276a
xor edx, edx
mov r8d, 0x110
mov rcx, rsi
call fcn.14014276a
mov eax, r14d
mov r8d, pe_nt_image_headers64
sub eax, r8d
je 0x140096635
sub eax, 0x40
je 0x1400965cd
cmp eax, 0x40
je 0x1400965cd
mov eax, 0xffffffdc
jmp 0x140096b76
lea rcx, [0x1401d7814]
mov qword [rsp + 0x58], 0xb0
mov qword [rsp + 0x30], rcx
lea r15, [0x1401d75d0]
lea rcx, [0x1401d75d7]
mov eax, 4
mov qword [rsp + 0x38], rcx
lea r12, [0x1401d7800]
lea rcx, [0x1401d7828]
mov qword [rsp + 0x40], rcx
lea r13, [0x1401d75d3]
lea rcx, [0x1401d75db]
mov qword [rsp + 0x48], rcx
lea rcx, [0x1401d783c]
mov qword [rsp + 0x50], rcx
lea rcx, [0x1401d563c]
jmp 0x140096697
lea rcx, [0x1401d77c4]
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x30], rcx
lea rdx, [0x1401d77d8]
lea rcx, [0x1401d75c7]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rcx
lea rdx, [0x1401d77ec]
lea rcx, [0x1401d75cb]
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rcx
lea r15, [0x1401d75c0]
lea rcx, [0x1401d5628]
mov eax, 3
lea r12, [0x1401d77b0]
lea r13, [0x1401d75c3]
mov r8, r14
mov dword [rbx], eax
shr r8, 3
xor ebx, ebx
mov qword [rsp + 0x28], rcx
test r8, r8
je 0x1400966b8
mov rdx, rdi
lea rcx, [rbp + 0x20]
call fcn.140142a0b
cmp r14d, 0xc0
jne 0x1400966d7
mov rcx, rbx
mov al, byte [rbp + rcx + 0x30]
not al
mov byte [rbp + rcx + 0x38], al
inc rcx
cmp rcx, 8
jb 0x1400966c4
mov rdx, rbx
lea r8, [0x1401d7490]
movzx eax, byte [rdx + r8 + 1]
movzx ecx, byte [rdx + r8]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + r8 + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + r8 + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + r8 + 5]
mov dword [rbp + rdx - 0x10], ecx
movzx ecx, byte [rdx + r8 + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + r8 + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + r8 + 7]
shl ecx, 8
or ecx, eax
mov dword [rbp + rdx - 0xc], ecx
add rdx, 8
cmp rdx, 0x30
jb 0x1400966e1
xor edx, edx
lea rcx, [rbp - 0x50]
lea r8d, [rdx + 0x40]
call fcn.14014276a
mov rdx, rbx
movzx eax, byte [rbp + rdx + 0x21]
movzx ecx, byte [rbp + rdx + 0x20]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbp + rdx + 0x22]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbp + rdx + 0x23]
shl ecx, 8
or ecx, eax
mov dword [rbp + rdx - 0x50], ecx
add rdx, 4
cmp rdx, 0x20
jb 0x140096752
mov rcx, rbx
mov eax, dword [rbp + rcx*4 - 0x50]
xor eax, dword [rbp + rcx*4 - 0x40]
mov dword [rbp + rcx*4 - 0x30], eax
inc rcx
cmp rcx, 4
jb 0x140096786
lea r8, [rbp - 0x28]
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x30]
call fcn.14009644c
lea r8, [rbp - 0x30]
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x28]
call fcn.14009644c
movdqu xmm0, xmmword [rbp - 0x50]
lea r8, [rbp - 0x28]
pxor xmm0, xmmword [rbp - 0x30]
lea rdx, [rbp]
lea rcx, [rbp - 0x30]
movdqu xmmword [rbp - 0x30], xmm0
call fcn.14009644c
lea r8, [rbp - 0x30]
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x28]
call fcn.14009644c
cmp r14d, 0x80
jbe 0x140096831
mov rcx, rbx
mov eax, dword [rbp + rcx*4 - 0x40]
xor eax, dword [rbp + rcx*4 - 0x30]
mov dword [rbp + rcx*4 - 0x20], eax
inc rcx
cmp rcx, 4
jb 0x1400967fa
lea r8, [rbp - 0x18]
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x20]
call fcn.14009644c
lea r8, [rbp - 0x20]
lea rdx, [rbp + 0x18]
lea rcx, [rbp - 0x18]
call fcn.14009644c
movups xmm0, xmmword [rbp - 0x50]
lea rdi, [rsp + 0x74]
mov r11d, 1
movups xmmword [rsp + 0x60], xmm0
lea r10d, [r11 + 0xe]
cmp byte [r15 + r11 - 1], bl
je 0x1400968b8
mov edx, dword [rsp + 0x60]
mov r9, r10
mov eax, dword [rsp + 0x64]
and r9d, 0x1f
mov ecx, r9d
mov r8d, 0x20
shl edx, cl
sub r8, r9
mov rcx, r8
shr eax, cl
mov ecx, r9d
xor edx, eax
mov dword [rdi - 4], edx
mov edx, dword [rsp + 0x64]
mov eax, dword [rsp + 0x68]
shl edx, cl
mov rcx, r8
shr eax, cl
mov ecx, r9d
xor edx, eax
mov dword [rdi], edx
mov edx, dword [rsp + 0x68]
mov eax, dword [rsp + 0x6c]
shl edx, cl
mov rcx, r8
shr eax, cl
xor edx, eax
mov dword [rdi + 4], edx
mov edx, dword [rsp + 0x60]
mov eax, dword [rsp + 0x6c]
shr edx, cl
mov ecx, r9d
shl eax, cl
xor edx, eax
mov dword [rdi + 8], edx
inc r11
add r10, 0xf
add rdi, 0x10
cmp r10, 0x3c
jbe 0x140096849
mov rdx, rbx
cmp byte [r12 + rdx], 0xff
je 0x1400968df
movsx rcx, byte [r12 + rdx]
mov eax, dword [rsp + rdx*4 + 0x60]
mov dword [rsi + rcx*4], eax
inc rdx
cmp rdx, 0x14
jb 0x1400968cc
cmp r14d, 0x80
jbe 0x1400969ad
movups xmm0, xmmword [rbp - 0x40]
lea rdi, [rsp + 0x74]
mov r11d, 1
movups xmmword [rsp + 0x60], xmm0
lea r10d, [r11 + 0xe]
cmp byte [r11 + r13], bl
je 0x140096978
mov edx, dword [rsp + 0x64]
mov r9, r10
mov eax, dword [rsp + 0x60]
and r9d, 0x1f
mov r8d, 0x20
sub r8, r9
mov rcx, r8
shr edx, cl
mov ecx, r9d
shl eax, cl
mov rcx, r8
xor edx, eax
mov dword [rdi - 4], edx
mov edx, dword [rsp + 0x68]
mov eax, dword [rsp + 0x64]
shr edx, cl
mov ecx, r9d
shl eax, cl
xor edx, eax
mov dword [rdi], edx
mov edx, dword [rsp + 0x68]
mov eax, dword [rsp + 0x6c]
shl edx, cl
mov rcx, r8
shr eax, cl
xor edx, eax
mov dword [rdi + 4], edx
mov edx, dword [rsp + 0x60]
mov eax, dword [rsp + 0x6c]
shr edx, cl
mov ecx, r9d
shl eax, cl
xor edx, eax
mov dword [rdi + 8], edx
inc r11
add r10, 0xf
add rdi, 0x10
cmp r10, 0x3c
jbe 0x14009690d
mov r14, qword [rsp + 0x30]
mov rdx, rbx
cmp byte [r14 + rdx], 0xff
je 0x1400969a4
movsx rcx, byte [r14 + rdx]
mov eax, dword [rsp + rdx*4 + 0x60]
mov dword [rsi + rcx*4], eax
inc rdx
cmp rdx, 0x14
jb 0x140096991
movups xmm0, xmmword [rbp - 0x30]
lea r11, [rsp + 0x74]
mov r15, qword [rsp + 0x38]
mov edi, 1
movups xmmword [rsp + 0x60], xmm0
lea r10d, [rdi + 0xe]
cmp byte [r15 + rdi], bl
je 0x140096a38
mov edx, dword [rsp + 0x60]
mov r8, r10
mov eax, dword [rsp + 0x64]
and r8d, 0x1f
mov ecx, r8d
mov r9d, 0x20
shl edx, cl
sub r9, r8
mov rcx, r9
shr eax, cl
mov ecx, r8d
xor edx, eax
mov dword [r11 - 4], edx
mov edx, dword [rsp + 0x64]
mov eax, dword [rsp + 0x68]
shl edx, cl
mov rcx, r9
shr eax, cl
xor edx, eax
mov dword [r11], edx
mov edx, dword [rsp + 0x6c]
mov eax, dword [rsp + 0x68]
shr edx, cl
mov ecx, r8d
shl eax, cl
xor edx, eax
mov dword [r11 + 4], edx
mov edx, dword [rsp + 0x6c]
mov eax, dword [rsp + 0x60]
shl edx, cl
mov rcx, r9
shr eax, cl
xor edx, eax
mov dword [r11 + 8], edx
inc rdi
add r10, 0xf
add r11, 0x10
cmp r10, 0x3c
jbe 0x1400969c9
mov r14, qword [rsp + 0x40]
mov rdx, rbx
mov r15b, 0xff
cmp byte [r14 + rdx], r15b
je 0x140096a66
movsx rcx, byte [r14 + rdx]
mov eax, dword [rsp + rdx*4 + 0x60]
mov dword [rsi + rcx*4], eax
inc rdx
cmp rdx, 0x14
jb 0x140096a54
cmp dword [rsp + 0x20], 0x80
jbe 0x140096b45
movups xmm0, xmmword [rbp - 0x20]
lea r11, [rsp + 0x74]
mov r14, qword [rsp + 0x48]
mov edi, 1
movups xmmword [rsp + 0x60], xmm0
lea r10d, [rdi + 0xe]
cmp byte [r14 + rdi], bl
je 0x140096b0b
mov edx, dword [rsp + 0x64]
mov r8, r10
mov eax, dword [rsp + 0x60]
and r8d, 0x1f
mov r9d, 0x20
sub r9, r8
mov rcx, r9
shr edx, cl
mov ecx, r8d
shl eax, cl
mov rcx, r9
xor edx, eax
mov dword [r11 - 4], edx
mov edx, dword [rsp + 0x68]
mov eax, dword [rsp + 0x64]
shr edx, cl
mov ecx, r8d
shl eax, cl
mov rcx, r9
xor edx, eax
mov dword [r11], edx
mov edx, dword [rsp + 0x6c]
mov eax, dword [rsp + 0x68]
shr edx, cl
mov ecx, r8d
shl eax, cl
xor edx, eax
mov dword [r11 + 4], edx
mov edx, dword [rsp + 0x6c]
mov eax, dword [rsp + 0x60]
shl edx, cl
mov rcx, r9
shr eax, cl
xor edx, eax
mov dword [r11 + 8], edx
inc rdi
add r10, 0xf
add r11, 0x10
cmp r10, 0x3c
jbe 0x140096a99
mov rdx, rbx
mov rbx, qword [rsp + 0x50]
cmp byte [rbx + rdx], r15b
je 0x140096b3a
movsx rcx, byte [rbx + rdx]
mov eax, dword [rsp + rdx*4 + 0x60]
mov dword [rsi + rcx*4], eax
inc rdx
cmp rdx, 0x14
jb 0x140096b28
xor ebx, ebx
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x28]
add rdx, rsi
cmp byte [rax + rbx], r15b
je 0x140096b67
movsx rax, byte [rax + rbx]
mov ecx, dword [rsi + rax*4]
mov rax, qword [rsp + 0x28]
mov dword [rdx], ecx
inc rbx
add rdx, 4
cmp rbx, 0x14
jb 0x140096b52
xor eax, eax
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140140c70
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret