Function at 0x14002d234
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
mov rbp, rsp
sub rsp, 0x50
mov r13, qword [rcx + 0x10]
and qword [rbp + 0x50], 0
mov eax, reloc.Mso20Win32Client.dll_Ordinal_255
mov r10d, dword [r13 + 9]
inc r13
lea r9, [0x140000000]
mov r8d, dword [r13]
and r10, rax
mov r14, rcx
shr r8, 1
mov rcx, r9
add r10, r9
and r8, rax
mov rax, qword [0x140043058]
mov rdi, rdx
sub rcx, rax
mov qword [rbp - 0x10], r13
mov qword [rbp - 0x30], rcx
jne reloc.Mso20Win32Client.dll_Ordinal_255
xor r9d, r9d
test r8, r8
je reloc.Mso20Win32Client.dll_Ordinal_255
mov ecx, dword [rbp + 0x54]
mov edx, dword [rbp + 0x50]
movzx eax, byte [r9 + r10]
inc r9
add eax, reloc.Mso20Win32Client.dll_Ordinal_255
add edx, eax
add eax, ecx
imul ecx, eax, reloc.Mso20Win32Client.dll_Ordinal_255
ror ecx, 0x13
imul eax, ecx, reloc.Mso20Win32Client.dll_Ordinal_255
xor ecx, eax
add edx, ecx
cmp r9, r8
jb reloc.Mso20Win32Client.dll_Ordinal_255
mov dword [rbp + 0x54], ecx
mov dword [rbp + 0x50], edx
jmp reloc.Mso20Win32Client.dll_Ordinal_255
movsxd rdx, dword [0x14000003c]
lea rax, [r10 + r8]
lea rcx, [0x140000000]
mov qword [rbp - 0x18], rax
lea rax, [0x1400000b0]
add rdx, rax
mov eax, r10d
mov r12d, dword [rdx + 4]
sub eax, r9d
lea rsi, [rax + r8]
mov r8d, dword [rdx]
mov r9d, eax
mov rdi, rsi
and r9, reloc.Mso20Win32Client.dll_Ordinal_255
mov r11d, eax
and rdi, reloc.Mso20Win32Client.dll_Ordinal_255
add r8, rcx
sub r11, r9
sub rsi, rdi
mov qword [rbp - 0x28], rdi
add r12, r8
mov qword [rbp - 0x20], rsi
jmp reloc.Mso20Win32Client.dll_Ordinal_255
mov eax, dword [r8]
cmp rax, r9
jae reloc.Mso20Win32Client.dll_Ordinal_255
mov eax, dword [r8 + 4]
add r8, rax
cmp r8, r12
jne reloc.Mso20Win32Client.dll_Ordinal_255
xor ebx, ebx
cmp r8, r12
je reloc.Mso20Win32Client.dll_Ordinal_255
mov eax, dword [r8]
cmp rax, r9
jne reloc.Mso20Win32Client.dll_Ordinal_255
mov ecx, dword [r8 + 4]
sub rcx, 8
shr rcx, 1
je reloc.Mso20Win32Client.dll_Ordinal_255
lea rdx, [r8 + 8]
movzx eax, word [rdx]
and eax, reloc.Mso20Win32Client.dll_Ordinal_255
cmp rax, r11
jae reloc.Mso20Win32Client.dll_Ordinal_255
inc rbx
add rdx, 2
cmp rbx, rcx
jne reloc.Mso20Win32Client.dll_Ordinal_255
mov edx, dword [rbp + 0x54]
mov r11d, dword [rbp + 0x50]
mov r14, qword [rbp - 0x30]
lea r13, [0x140000000]
cmp r8, r12
je reloc.Mso20Win32Client.dll_Ordinal_255
mov eax, dword [r8]
cmp rax, rdi
ja reloc.Mso20Win32Client.dll_Ordinal_255
mov ecx, dword [r8 + 4]
lea rax, [rcx - 8]
shr rax, 1
cmp rbx, rax
jne reloc.Mso20Win32Client.dll_Ordinal_255
add r8, rcx
cmp r8, r12
je reloc.Mso20Win32Client.dll_Ordinal_255
mov eax, dword [r8]
cmp rax, rdi
ja reloc.Mso20Win32Client.dll_Ordinal_255
xor ebx, ebx
jmp reloc.Mso20Win32Client.dll_Ordinal_255
mov eax, dword [r8]
cmp rax, rdi
jne reloc.Mso20Win32Client.dll_Ordinal_255
movzx eax, word [r8 + rbx*2 + 8]
and eax, reloc.Mso20Win32Client.dll_Ordinal_255
cmp rax, rsi
jae reloc.Mso20Win32Client.dll_Ordinal_255
mov rax, rbx
mov ecx, reloc.Mso20Win32Client.dll_Ordinal_255
inc rbx
test word [r8 + rax*2 + 8], cx
je reloc.Mso20Win32Client.dll_Ordinal_255
movzx ecx, word [r8 + rax*2 + 8]
mov r9d, 0
mov esi, ecx
and esi, reloc.Mso20Win32Client.dll_Ordinal_255
add esi, dword [r8]
add rsi, r13
mov rdi, rsi
sub rdi, r10
je reloc.Mso20Win32Client.dll_Ordinal_255
movzx eax, byte [r9 + r10]
inc r9
add eax, reloc.Mso20Win32Client.dll_Ordinal_255
add r11d, eax
add eax, edx
imul edx, eax, reloc.Mso20Win32Client.dll_Ordinal_255
ror edx, 0x13
imul eax, edx, reloc.Mso20Win32Client.dll_Ordinal_255
xor edx, eax
add r11d, edx
cmp r9, rdi
jb reloc.Mso20Win32Client.dll_Ordinal_255
shr ecx, 0xc
cmp ecx, 3
je reloc.Mso20Win32Client.dll_Ordinal_255
sub ecx, 0xa
neg ecx
sbb r9d, r9d
add r9d, 3
jmp reloc.Mso20Win32Client.dll_Ordinal_255
mov r9d, 2
mov rax, qword [rsi]
mov r10, r14
neg r10
mov qword [rbp + 0x58], rax
sub r9d, 2
je reloc.Mso20Win32Client.dll_Ordinal_255
dec r9d
je reloc.Mso20Win32Client.dll_Ordinal_255
or r9, reloc.Mso20Win32Client.dll_Ordinal_255
jmp reloc.Mso20Win32Client.dll_Ordinal_255
add rax, r10
mov r9d, 8
mov qword [rbp + 0x58], rax
jmp reloc.Mso20Win32Client.dll_Ordinal_255
add dword [rbp + 0x58], r10d
mov r9d, 4
xor ecx, ecx
movzx eax, byte [rbp + rcx + 0x58]
inc rcx
add eax, reloc.Mso20Win32Client.dll_Ordinal_255
add r11d, eax
add eax, edx
imul edx, eax, reloc.Mso20Win32Client.dll_Ordinal_255
ror edx, 0x13
imul eax, edx, reloc.Mso20Win32Client.dll_Ordinal_255
xor edx, eax
add r11d, edx
cmp rcx, r9
jb reloc.Mso20Win32Client.dll_Ordinal_255
mov rdi, qword [rbp - 0x28]
lea r10, [r9 + rsi]
mov rsi, qword [rbp - 0x20]
mov dword [rbp + 0x54], edx
mov dword [rbp + 0x50], r11d
jmp reloc.Mso20Win32Client.dll_Ordinal_255
mov rsi, qword [rbp - 0x18]
mov r14, qword [rbp + 0x40]
mov r13, qword [rbp - 0x10]
mov ecx, 0
sub rsi, r10
je reloc.Mso20Win32Client.dll_Ordinal_255
movzx eax, byte [rcx + r10]
inc rcx
add eax, reloc.Mso20Win32Client.dll_Ordinal_255
add r11d, eax
add eax, edx
imul edx, eax, reloc.Mso20Win32Client.dll_Ordinal_255
ror edx, 0x13
imul eax, edx, reloc.Mso20Win32Client.dll_Ordinal_255
xor edx, eax
add r11d, edx
cmp rcx, rsi
jb reloc.Mso20Win32Client.dll_Ordinal_255
mov dword [rbp + 0x54], edx
mov dword [rbp + 0x50], r11d
mov rdi, qword [rbp + 0x48]
add qword [r14 + 0x10], 0xd
mov eax, dword [r13 + 4]
lea rcx, [0x140000000]
and eax, reloc.Mso20Win32Client.dll_Ordinal_255
mov rax, qword [rax + rcx]
cmp qword [rbp + 0x50], rax
je reloc.Mso20Win32Client.dll_Ordinal_255
call fcn.1400264d8
lea r8, [r14 + 0x18]
lea rsi, [fcn.140036e40]
and r8, reloc.Mso20Win32Client.dll_Ordinal_255
mov rbx, rax
mov qword [r14 + 0x10], rsi
mov rcx, qword [0x140049ce8]
lea r10, [r8 + 0xfff]
and rbx, reloc.Mso20Win32Client.dll_Ordinal_255
and r10, reloc.Mso20Win32Client.dll_Ordinal_255
xor r9d, r9d
mov r11d, reloc.Mso20Win32Client.dll_Ordinal_255
imul rcx, rcx, reloc.Mso20Win32Client.dll_Ordinal_255
shl r9, 0x10
shr r11, 0x10
add rcx, reloc.Mso20Win32Client.dll_Ordinal_255
mov rax, rcx
shr rax, 0x10
movzx edx, ax
or r9, rdx
test r11, r11
jne reloc.Mso20Win32Client.dll_Ordinal_255
mov qword [0x140049ce8], rcx
movabs rax, reloc.Mso20Win32Client.dll_Ordinal_255
mov qword [rdi + 0x98], rbx
mul r9
shr rdx, 0xf
imul rax, rdx, reloc.Mso20Win32Client.dll_Ordinal_255
sub r9, rax
inc r9
mov qword [rdi + 0xb0], r9
mov qword [rbp + 0x40], r11
jmp reloc.Mso20Win32Client.dll_Ordinal_255
mov rax, qword [rbp + 0x40]
mov qword [r8], rax
add r8, 8
cmp r8, r10
jb reloc.Mso20Win32Client.dll_Ordinal_255
mov qword [r14 + 0x10], rsi
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret