Function at 0x14002df10
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x58
mov rax, qword [0x140049d10]
test rax, rax
je reloc.Mso20Win32Client.dll_Ordinal_255
mov r13, qword [0x140049d10]
xor eax, eax
test byte [r13], 4
mov qword [rbp - 0x18], r13
mov qword [rbp + 0x48], rax
je reloc.Mso20Win32Client.dll_Ordinal_255
xor r12d, r12d
mov qword [rbp + 0x60], r12
cmp dword [r13 + 4], eax
jbe reloc.Mso20Win32Client.dll_Ordinal_255
lea rsi, [r13 + 0xc]
lea r11, [0x140000000]
mov edi, reloc.Mso20Win32Client.dll_Ordinal_255
mov qword [rbp - 0x38], rsi
mov r10d, dword [rsi]
mov rax, qword [0x140043058]
mov r8d, dword [rsi - 4]
and r10d, reloc.Mso20Win32Client.dll_Ordinal_255
mov rcx, r11
and r8d, reloc.Mso20Win32Client.dll_Ordinal_255
add r10, r11
sub rcx, rax
mov qword [rbp + 0x50], rcx
jne reloc.Mso20Win32Client.dll_Ordinal_255
xor r11d, r11d
test r8, r8
je reloc.Mso20Win32Client.dll_Ordinal_255
mov eax, dword [rbp + 0x4c]
mov r9d, dword [rbp + 0x48]
movzx edx, byte [r11 + r10]
inc r11
add edx, reloc.Mso20Win32Client.dll_Ordinal_255
add r9d, edx
add edx, eax
imul ecx, edx, reloc.Mso20Win32Client.dll_Ordinal_255
ror edx, 4
mov eax, edx
rol ecx, 4
xor rcx, rax
imul rax, rcx, reloc.Mso20Win32Client.dll_Ordinal_255
mov qword [rbp + 0x50], rax
shr rax, 0x20
add eax, dword [rbp + 0x50]
mov ecx, eax
imul rax, rcx, reloc.Mso20Win32Client.dll_Ordinal_255
mov qword [rbp + 0x50], rax
mov ecx, dword [rbp + 0x50]
shr rax, 0x20
lea edx, [rcx - 0x7fffffff]
sar ecx, 0x1f
lea edx, [rdx + rax*2]
and ecx, edi
sub edx, ecx
mov eax, edx
sar eax, 0x1f
and eax, edi
add eax, edx
add r9d, eax
cmp r11, r8
jb reloc.Mso20Win32Client.dll_Ordinal_255
mov dword [rbp + 0x4c], eax
mov dword [rbp + 0x48], r9d
jmp reloc.Mso20Win32Client.dll_Ordinal_255
movsxd rdx, dword [0x14000003c]
lea rax, [r10 + r8]
mov qword [rbp - 0x20], rax
lea rax, [0x1400000b0]
add rdx, rax
mov eax, r10d
mov r15d, dword [rdx + 4]
sub eax, r11d
lea rsi, [rax + r8]
mov r8d, dword [rdx]
mov r9d, eax
mov rdi, rsi
and r9, reloc.Mso20Win32Client.dll_Ordinal_255
mov ebx, eax
and rdi, reloc.Mso20Win32Client.dll_Ordinal_255
add r8, r11
sub rbx, r9
sub rsi, rdi
mov qword [rbp - 0x30], rdi
add r15, r8
mov qword [rbp - 0x28], 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, r15
jne reloc.Mso20Win32Client.dll_Ordinal_255
xor r11d, r11d
cmp r8, r15
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, rbx
jae reloc.Mso20Win32Client.dll_Ordinal_255
inc r11
add rdx, 2
cmp r11, rcx
jne reloc.Mso20Win32Client.dll_Ordinal_255
mov ebx, dword [rbp + 0x4c]
mov r14d, dword [rbp + 0x48]
mov r13, qword [rbp + 0x50]
cmp r8, r15
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 r11, rax
jne reloc.Mso20Win32Client.dll_Ordinal_255
add r8, rcx
cmp r8, r15
je reloc.Mso20Win32Client.dll_Ordinal_255
mov eax, dword [r8]
cmp rax, rdi
ja reloc.Mso20Win32Client.dll_Ordinal_255
xor r11d, r11d
jmp reloc.Mso20Win32Client.dll_Ordinal_255
mov eax, dword [r8]
cmp rax, rdi
jne reloc.Mso20Win32Client.dll_Ordinal_255
movzx eax, word [r8 + r11*2 + 8]
and eax, reloc.Mso20Win32Client.dll_Ordinal_255
cmp rax, rsi
jae reloc.Mso20Win32Client.dll_Ordinal_255
mov rax, r11
mov ecx, reloc.Mso20Win32Client.dll_Ordinal_255
inc r11
test word [r8 + rax*2 + 8], cx
je reloc.Mso20Win32Client.dll_Ordinal_255
movzx r9d, word [r8 + rax*2 + 8]
lea rax, [0x140000000]
mov r12d, 0
mov edi, r9d
and edi, reloc.Mso20Win32Client.dll_Ordinal_255
add edi, dword [r8]
add rdi, rax
mov rsi, rdi
sub rsi, r10
je reloc.Mso20Win32Client.dll_Ordinal_255
movzx edx, byte [r12 + r10]
inc r12
add edx, reloc.Mso20Win32Client.dll_Ordinal_255
add r14d, edx
add edx, ebx
imul ecx, edx, reloc.Mso20Win32Client.dll_Ordinal_255
ror edx, 4
mov eax, edx
rol ecx, 4
xor rcx, rax
imul rax, rcx, reloc.Mso20Win32Client.dll_Ordinal_255
mov qword [rbp + 0x50], rax
shr rax, 0x20
add eax, dword [rbp + 0x50]
mov ecx, eax
imul rax, rcx, reloc.Mso20Win32Client.dll_Ordinal_255
mov qword [rbp + 0x50], rax
mov ecx, dword [rbp + 0x50]
shr rax, 0x20
lea edx, [rcx - 0x7fffffff]
sar ecx, 0x1f
lea edx, [rdx + rax*2]
mov eax, reloc.Mso20Win32Client.dll_Ordinal_255
and ecx, eax
sub edx, ecx
mov ebx, edx
sar ebx, 0x1f
and ebx, eax
add ebx, edx
add r14d, ebx
cmp r12, rsi
jb reloc.Mso20Win32Client.dll_Ordinal_255
shr r9d, 0xc
cmp r9d, 3
je reloc.Mso20Win32Client.dll_Ordinal_255
sub r9d, 0xa
neg r9d
sbb edx, edx
add edx, 3
jmp reloc.Mso20Win32Client.dll_Ordinal_255
mov edx, 2
mov rax, qword [rdi]
mov r9, r13
neg r9
mov qword [rbp + 0x50], rax
sub edx, 2
je reloc.Mso20Win32Client.dll_Ordinal_255
dec edx
je reloc.Mso20Win32Client.dll_Ordinal_255
or r9, reloc.Mso20Win32Client.dll_Ordinal_255
jmp reloc.Mso20Win32Client.dll_Ordinal_255
add rax, r9
mov r9d, 8
mov qword [rbp + 0x50], rax
jmp reloc.Mso20Win32Client.dll_Ordinal_255
add dword [rbp + 0x50], r9d
mov r9d, 4
xor r10d, r10d
movzx edx, byte [rbp + r10 + 0x50]
inc r10
add edx, reloc.Mso20Win32Client.dll_Ordinal_255
add r14d, edx
add edx, ebx
imul ecx, edx, reloc.Mso20Win32Client.dll_Ordinal_255
ror edx, 4
mov eax, edx
rol ecx, 4
xor rcx, rax
imul rax, rcx, reloc.Mso20Win32Client.dll_Ordinal_255
mov qword [rbp + 0x58], rax
shr rax, 0x20
add eax, dword [rbp + 0x58]
mov ecx, eax
imul rax, rcx, reloc.Mso20Win32Client.dll_Ordinal_255
mov qword [rbp + 0x58], rax
shr rax, 0x20
mov ecx, dword [rbp + 0x58]
lea edx, [rcx - 0x7fffffff]
sar ecx, 0x1f
lea edx, [rdx + rax*2]
mov eax, reloc.Mso20Win32Client.dll_Ordinal_255
and ecx, eax
sub edx, ecx
mov ebx, edx
sar ebx, 0x1f
and ebx, eax
add ebx, edx
add r14d, ebx
cmp r10, r9
jb reloc.Mso20Win32Client.dll_Ordinal_255
mov rsi, qword [rbp - 0x28]
lea r10, [r9 + rdi]
mov rdi, qword [rbp - 0x30]
mov dword [rbp + 0x4c], ebx
mov dword [rbp + 0x48], r14d
jmp reloc.Mso20Win32Client.dll_Ordinal_255
mov r12, qword [rbp - 0x20]
mov r13, qword [rbp - 0x18]
mov r8d, 0
mov edi, reloc.Mso20Win32Client.dll_Ordinal_255
sub r12, r10
je reloc.Mso20Win32Client.dll_Ordinal_255
movzx edx, byte [r8 + r10]
inc r8
add edx, reloc.Mso20Win32Client.dll_Ordinal_255
add r14d, edx
add edx, ebx
imul ecx, edx, reloc.Mso20Win32Client.dll_Ordinal_255
ror edx, 4
mov eax, edx
rol ecx, 4
xor rcx, rax
imul rax, rcx, reloc.Mso20Win32Client.dll_Ordinal_255
mov qword [rbp + 0x50], rax
shr rax, 0x20
add eax, dword [rbp + 0x50]
mov ecx, eax
imul rax, rcx, reloc.Mso20Win32Client.dll_Ordinal_255
mov qword [rbp + 0x50], rax
mov ecx, dword [rbp + 0x50]
shr rax, 0x20
lea edx, [rcx - 0x7fffffff]
sar ecx, 0x1f
and ecx, edi
lea edx, [rdx + rax*2]
sub edx, ecx
mov ebx, edx
sar ebx, 0x1f
and ebx, edi
add ebx, edx
add r14d, ebx
cmp r8, r12
jb reloc.Mso20Win32Client.dll_Ordinal_255
mov dword [rbp + 0x4c], ebx
mov dword [rbp + 0x48], r14d
mov r12, qword [rbp + 0x60]
mov rsi, qword [rbp - 0x38]
mov eax, dword [r13 + 4]
inc r12
add rsi, 8
mov qword [rbp + 0x60], r12
mov qword [rbp - 0x38], rsi
lea r11, [0x140000000]
cmp r12, rax
jb reloc.Mso20Win32Client.dll_Ordinal_255
mov rax, qword [rbp + 0x48]
cmp rax, qword [0x140049cc0]
je reloc.Mso20Win32Client.dll_Ordinal_255
mov rax, qword [0x140049ce8]
xor ebx, ebx
mov r8d, reloc.Mso20Win32Client.dll_Ordinal_255
imul rax, rax, reloc.Mso20Win32Client.dll_Ordinal_255
shl rbx, 0x10
shr r8, 0x10
add rax, reloc.Mso20Win32Client.dll_Ordinal_255
mov rcx, rax
shr rcx, 0x10
movzx edx, cx
or rbx, rdx
test r8, r8
jne reloc.Mso20Win32Client.dll_Ordinal_255
mov qword [0x140049ce8], rax
call fcn.1400264d8
mov r9, rax
movabs rax, reloc.Mso20Win32Client.dll_Ordinal_255
and r9, reloc.Mso20Win32Client.dll_Ordinal_255
mul rbx
shr rdx, 0xf
imul r8, rdx, reloc.Mso20Win32Client.dll_Ordinal_255
mov rdx, r9
sub rbx, r8
lea rcx, [rbx + 1]
call fcn.140036e40
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret