Function at 0x140016aa8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, reloc.Mso20Win32Client.dll_Ordinal_255
mov rax, qword [0x1400398a8]
xor rax, rsp
mov qword [rbp + 0x70], rax
lea r14, [rcx + 0x18]
mov qword [rsp + 0x68], rcx
lea rcx, [0x140000000]
mov rax, qword [r14]
mov qword [rsp + 0x48], rdx
mov edx, reloc.Mso20Win32Client.dll_Ordinal_255
mov ebx, dword [rax + 1]
mov esi, dword [rax + 9]
lea r9, [rax + 0xd]
and rbx, rdx
and rsi, rdx
lea rdi, [r9 - 1]
add rbx, rcx
mov ecx, dword [rax + 5]
mov rax, qword [0x140049d40]
and rcx, rdx
xor r10d, r10d
mov qword [rsp + 0x40], r14
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x68], rcx
cmp rdi, rax
jb reloc.Mso20Win32Client.dll_Ordinal_255
mov ecx, dword [0x140042fc0]
mov eax, dword [0x140042fbc]
imul ecx, eax
mov rax, qword [0x140049d40]
add rcx, rax
cmp rdi, rcx
jae reloc.Mso20Win32Client.dll_Ordinal_255
mov rcx, qword [0x140049d40]
mov rax, rdi
sub rax, rcx
mov ecx, dword [0x140042fbc]
cqo
idiv rcx
mov edx, dword [0x140042fbc]
mov r8, qword [0x140049d40]
imul rdx, rax
add r8, rdx
jmp reloc.Mso20Win32Client.dll_Ordinal_255
mov r8, r10
test r8, r8
jne reloc.Mso20Win32Client.dll_Ordinal_255
mov r8, rdi
and r8, reloc.Mso20Win32Client.dll_Ordinal_255
sub r9, r8
lea rax, [r9 - 0x40]
test rax, rax
cmovs rax, r10
lea rdi, [r8 + rax]
xor eax, eax
lea r11d, [rax + 0x40]
mov ecx, r11d
rep stosb byte [rdi], al
mov r9d, dword [0x140042fbc]
sub r9, rsi
inc r9
mov rdi, r9
je reloc.Mso20Win32Client.dll_Ordinal_255
mov rcx, qword [0x140049ce8]
imul rcx, rcx, reloc.Mso20Win32Client.dll_Ordinal_255
shl rax, 0x10
shr rdi, 0x10
add rcx, reloc.Mso20Win32Client.dll_Ordinal_255
mov rdx, rcx
shr rdx, 0x10
movzx edx, dx
or rax, rdx
test rdi, rdi
jne reloc.Mso20Win32Client.dll_Ordinal_255
mov qword [0x140049ce8], rcx
xor edx, edx
mov dil, r10b
mov byte [rsp + 0x20], r10b
div r9
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x50], rbx
lea r12, [rdx + r8]
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x38], r12
test rsi, rsi
je reloc.Mso20Win32Client.dll_Ordinal_255
movups xmm0, xmmword [rsi + rbx]
mov r14, r12
mov qword [rbp + 8], r10
mov qword [rbp + 0x10], r10
movq r8, xmm0
movups xmmword [rbp - 0x60], xmm0
psrldq xmm0, 8
movq rax, xmm0
movd dword [rbp - 4], xmm0
movd dword [rbp + 0x24], xmm0
mov rdx, r8
mov dword [rbp - 0xc], r8d
mov dword [rbp + 0x1c], r8d
shr rax, 0x20
shr rdx, 0x20
mov dword [rbp], eax
mov dword [rbp + 0x28], eax
mov eax, dword [0x140043080]
mov dword [rbp - 0x10], eax
mov eax, dword [0x140043084]
mov dword [rbp - 8], edx
mov dword [rbp + 4], eax
mov eax, dword [0x140043088]
mov dword [rbp + 0x20], edx
mov dword [rbp + 0x18], eax
mov eax, dword [0x14004308c]
mov dword [rbp + 0x2c], eax
lea rax, [rbp + 0x30]
sub r14, rax
mov rax, rbx
sub rax, r12
mov qword [rbp - 0x70], rax
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x50]
mov r8, r11
mov qword [rsp + 0x78], r14
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rbp - 0x3c]
mov ecx, dword [rbp - 0x14]
mov edx, dword [rbp - 0x18]
mov r8d, dword [rbp - 0x1c]
mov r9d, dword [rbp - 0x20]
mov r10d, dword [rbp - 0x24]
mov r11d, dword [rbp - 0x28]
mov esi, dword [rbp - 0x2c]
mov r12d, dword [rbp - 0x30]
mov ebx, dword [rbp - 0x34]
mov r13d, dword [rbp - 0x38]
mov r14d, dword [rbp - 0x40]
mov edi, dword [rbp - 0x44]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp - 0x48]
mov r15d, dword [rsp + 0x30]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp - 0x4c]
mov qword [rsp + 0x70], 3
mov dword [rsp + 0x24], eax
mov eax, dword [rbp - 0x50]
mov dword [rsp + 0x2c], eax
add eax, r9d
rol eax, 7
xor r14d, eax
mov eax, dword [rsp + 0x2c]
add eax, r14d
rol eax, 9
xor r12d, eax
lea eax, [r12 + r14]
rol eax, 0xd
xor r9d, eax
mov dword [rsp + 0x30], r9d
lea eax, [r12 + r9]
mov r9d, dword [rsp + 0x2c]
ror eax, 0xe
xor r9d, eax
mov eax, dword [rsp + 0x24]
add eax, r15d
mov dword [rsp + 0x2c], r9d
rol eax, 7
xor esi, eax
lea eax, [rsi + r15]
rol eax, 9
xor r8d, eax
lea eax, [r8 + rsi]
rol eax, 0xd
xor dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
add eax, r8d
ror eax, 0xe
xor r15d, eax
lea eax, [r11 + r13]
rol eax, 7
xor edx, eax
lea eax, [rdx + r11]
rol eax, 9
xor dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
add eax, edx
rol eax, 0xd
xor r13d, eax
mov eax, dword [rsp + 0x28]
add eax, r13d
ror eax, 0xe
xor r11d, eax
lea eax, [r10 + rcx]
rol eax, 7
xor edi, eax
lea eax, [rdi + rcx]
rol eax, 9
xor ebx, eax
lea eax, [rbx + rdi]
rol eax, 0xd
xor r10d, eax
lea eax, [rbx + r10]
ror eax, 0xe
xor ecx, eax
lea eax, [rdi + r9]
rol eax, 7
xor dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
mov dword [rbp - 0x4c], eax
add eax, r9d
rol eax, 9
xor dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov dword [rbp - 0x48], eax
add eax, dword [rsp + 0x24]
rol eax, 0xd
xor edi, eax
mov eax, dword [rsp + 0x28]
add eax, edi
ror eax, 0xe
xor r9d, eax
lea eax, [r15 + r14]
rol eax, 7
mov dword [rsp + 0x2c], r9d
mov dword [rbp - 0x50], r9d
xor r13d, eax
lea eax, [r15 + r13]
rol eax, 9
xor ebx, eax
mov r9d, dword [rsp + 0x30]
lea eax, [rbx + r13]
rol eax, 0xd
xor r14d, eax
lea eax, [rbx + r14]
ror eax, 0xe
xor r15d, eax
lea eax, [r11 + rsi]
rol eax, 7
xor r10d, eax
lea eax, [r10 + r11]
rol eax, 9
xor r12d, eax
lea eax, [r10 + r12]
rol eax, 0xd
xor esi, eax
lea eax, [rsi + r12]
ror eax, 0xe
xor r11d, eax
lea eax, [rcx + rdx]
rol eax, 7
xor r9d, eax
mov dword [rbp - 0x20], r9d
lea eax, [rcx + r9]
rol eax, 9
xor r8d, eax
lea eax, [r8 + r9]
rol eax, 0xd
xor edx, eax
lea eax, [rdx + r8]
ror eax, 0xe
xor ecx, eax
dec qword [rsp + 0x70]
mov eax, dword [rsp + 0x2c]
jne reloc.Mso20Win32Client.dll_Ordinal_255
mov dword [rbp - 0x14], ecx
mov dword [rbp - 0x30], r12d
mov r12, qword [rsp + 0x58]
mov dword [rbp - 0x38], r13d
mov r13, qword [rsp + 0x50]
mov dword [rbp - 0x3c], r15d
mov r15, qword [rsp + 0x60]
mov dword [rbp - 0x40], r14d
mov r14, qword [rsp + 0x78]
mov dword [rbp - 0x44], edi
mov dil, byte [rsp + 0x20]
xor ecx, ecx
mov dword [rbp - 0x18], edx
mov dword [rbp - 0x1c], r8d
mov dword [rbp - 0x24], r10d
mov dword [rbp - 0x28], r11d
mov dword [rbp - 0x2c], esi
mov dword [rbp - 0x34], ebx
mov eax, dword [rbp + rcx - 0x10]
add rcx, 4
add dword [rbp + rcx - 0x54], eax
cmp rcx, 0x40
jl reloc.Mso20Win32Client.dll_Ordinal_255
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x30]
mov r8d, 0x40
call sub.VCRUNTIME140.dll_memcpy
inc dword [rbp + 0x10]
mov r11d, 0x40
cmp r15, r11
jbe reloc.Mso20Win32Client.dll_Ordinal_255
mov rsi, qword [rbp - 0x70]
lea rdx, [rbp + 0x30]
mov r8d, r11d
lea rax, [rsi + r14]
mov cl, byte [rax + rdx]
xor cl, byte [rdx]
mov byte [r14 + rdx], cl
inc rdx
xor dil, cl
dec r8
jne reloc.Mso20Win32Client.dll_Ordinal_255
add qword [rsp + 0x38], r11
sub r15, r11
add r14, r11
add r13, r11
mov byte [rsp + 0x20], dil
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x50], r13
jmp reloc.Mso20Win32Client.dll_Ordinal_255
mov rbx, qword [rbp - 0x78]
mov rsi, qword [rbp - 0x80]
xor r10d, r10d
mov edx, r10d
test r15, r15
je reloc.Mso20Win32Client.dll_Ordinal_255
mov r8, qword [rsp + 0x38]
mov ecx, r10d
mov al, byte [rcx + r13]
inc edx
xor al, byte [rbp + rcx + 0x30]
mov byte [rcx + r8], al
mov ecx, edx
xor dil, al
cmp rcx, r15
jb reloc.Mso20Win32Client.dll_Ordinal_255
mov r14, qword [rsp + 0x40]
cmp dil, byte [rsi + rbx + 0x10]
je reloc.Mso20Win32Client.dll_Ordinal_255
call fcn.1400264d8
mov rsi, qword [rsp + 0x68]
mov r8, r14
mov r11, rax
mov rax, reloc.Mso20Win32Client.dll_Ordinal_255
and r8, reloc.Mso20Win32Client.dll_Ordinal_255
and r11, rax
lea r10, [fcn.140036e40]
lea r9, [r8 + 0xfff]
and r9, rax
mov qword [rsi + 0x10], r10
mov rax, qword [0x140049ce8]
xor edi, edi
mov ebx, reloc.Mso20Win32Client.dll_Ordinal_255
imul rax, rax, reloc.Mso20Win32Client.dll_Ordinal_255
shl rdi, 0x10
shr rbx, 0x10
add rax, reloc.Mso20Win32Client.dll_Ordinal_255
mov rcx, rax
shr rcx, 0x10
movzx edx, cx
or rdi, rdx
test rbx, rbx
jne reloc.Mso20Win32Client.dll_Ordinal_255
mov qword [0x140049ce8], rax
movabs rax, reloc.Mso20Win32Client.dll_Ordinal_255
mul rdi
shr rdx, 0xf
imul rax, rdx, reloc.Mso20Win32Client.dll_Ordinal_255
sub rdi, rax
mov rax, qword [rsp + 0x48]
inc rdi
mov qword [rax + 0x98], r11
mov qword [rax + 0xb0], rdi
mov qword [rsp + 0x48], rbx
jmp reloc.Mso20Win32Client.dll_Ordinal_255
mov rax, qword [rsp + 0x48]
mov qword [r8], rax
add r8, 8
cmp r8, r9
jb reloc.Mso20Win32Client.dll_Ordinal_255
jmp reloc.Mso20Win32Client.dll_Ordinal_255
mov rax, qword [0x140043058]
lea rcx, [0x140000000]
mov r11, rbx
mov r14, rcx
sub r11, r12
sub r14, rax
jne reloc.Mso20Win32Client.dll_Ordinal_255
test r11, r11
je reloc.Mso20Win32Client.dll_Ordinal_255
mov r10, r12
sub r10, rbx
sub ebx, ecx
lea r13d, [rbx + rsi]
mov rsi, qword [0x140049d50]
test rsi, rsi
je reloc.Mso20Win32Client.dll_Ordinal_255
mov r15d, dword [rsi]
xor edi, edi
lea r8d, [r15 - 1]
test r8d, r8d
js reloc.Mso20Win32Client.dll_Ordinal_255
lea eax, [r8 + rdi]
cdq
sub eax, edx
sar eax, 1
movsxd rcx, eax
mov edx, dword [rsi + rcx*4 + 4]
and edx, reloc.Mso20Win32Client.dll_Ordinal_255
cmp ebx, edx
jae reloc.Mso20Win32Client.dll_Ordinal_255
lea r8d, [rax - 1]
jmp reloc.Mso20Win32Client.dll_Ordinal_255
jbe reloc.Mso20Win32Client.dll_Ordinal_255
lea edi, [rax + 1]
cmp r8d, edi
jge reloc.Mso20Win32Client.dll_Ordinal_255
movsxd r9, edi
cmp r9, r15
jae reloc.Mso20Win32Client.dll_Ordinal_255
lea rbx, [rsi + 4]
mov r15d, reloc.Mso20Win32Client.dll_Ordinal_255
lea r12, [0x140000000]
lea rbx, [rbx + r9*4]
mov ecx, dword [rbx]
mov eax, ecx
and eax, r15d
cmp eax, r13d
jae reloc.Mso20Win32Client.dll_Ordinal_255
mov edx, ecx
mov edi, ecx
sar ecx, 0x1d
sar edx, 0x1b
and rdi, r15
and ecx, 7
and edx, 3
add rdi, r12
xor r8d, r8d
dec edx
je reloc.Mso20Win32Client.dll_Ordinal_255
dec edx
je reloc.Mso20Win32Client.dll_Ordinal_255
dec edx
jne reloc.Mso20Win32Client.dll_Ordinal_255
mov r8, r14
jmp reloc.Mso20Win32Client.dll_Ordinal_255
movsxd r9, eax
jmp reloc.Mso20Win32Client.dll_Ordinal_255
mov r8, r11
jmp reloc.Mso20Win32Client.dll_Ordinal_255
mov r8, r14
sub r8, r11
sub ecx, 2
je reloc.Mso20Win32Client.dll_Ordinal_255
dec ecx
jne reloc.Mso20Win32Client.dll_Ordinal_255
add qword [rdi + r10], r8
jmp reloc.Mso20Win32Client.dll_Ordinal_255
add dword [rdi + r10], r8d
mov eax, dword [rsi]
inc r9
add rbx, 4
cmp r9, rax
jb reloc.Mso20Win32Client.dll_Ordinal_255
mov r12, qword [rsp + 0x58]
mov r10, qword [rbp - 0x68]
mov eax, dword [0x140042fbc]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x68]
add r10, r12
mov qword [rsi + 0x10], r10
add qword [r14], 0xd
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140003dd0
mov rbx, qword [rsp + 0x1d0]
add rsp, reloc.Mso20Win32Client.dll_Ordinal_255
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret