Function at 0x1400adf40
Capabilities:
Encode data using xor

Disassembly:
test rdx, rdx
je 0x1400ae7dc
mov rax, rsp
mov dword [rax + 0x18], r8d
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r14
lea rbp, [rax - 0xc8]
sub rsp, 0x1a8
mov esi, r8d
mov r14, rdx
mov rdi, rcx
test r8d, r8d
je 0x1400ae7d0
mov qword [rax - 0x28], rbx
mov qword [rax - 0x30], r12
mov qword [rax - 0x38], r13
mov qword [rax - 0x40], r15
nop dword [rax]
mov edx, dword [rdi + 0x24]
test edx, edx
jne 0x1400ae754
cmp esi, 0x40
jb 0x1400ae754
movups xmm0, xmmword [r14]
movups xmmword [rdi + 0x28], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rdi + 0x38], xmm1
movups xmm0, xmmword [r14 + 0x20]
movups xmmword [rdi + 0x48], xmm0
movups xmm1, xmmword [r14 + 0x30]
movups xmmword [rdi + 0x58], xmm1
movzx eax, byte [rdi + 0x28]
movzx ecx, byte [rdi + 0x29]
shl eax, 8
or ecx, eax
movzx eax, byte [rdi + 0x2a]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x2b]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x2d]
mov dword [rsp + 0x40], ecx
movzx ecx, byte [rdi + 0x2c]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x2e]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x2f]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x31]
mov dword [rsp + 0x44], ecx
movzx ecx, byte [rdi + 0x30]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x32]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x33]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x35]
mov dword [rsp + 0x48], ecx
movzx ecx, byte [rdi + 0x34]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x36]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x37]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x39]
mov dword [rsp + 0x4c], ecx
movzx ecx, byte [rdi + 0x38]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x3a]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x3b]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x3d]
mov dword [rsp + 0x50], ecx
movzx ecx, byte [rdi + 0x3c]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x3e]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x3f]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x41]
mov dword [rsp + 0x54], ecx
movzx ecx, byte [rdi + 0x40]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x42]
shl ecx, 8
or ecx, eax
shl ecx, 8
movzx eax, byte [rdi + 0x43]
or ecx, eax
movzx eax, byte [rdi + 0x45]
mov dword [rsp + 0x58], ecx
movzx ecx, byte [rdi + 0x44]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x46]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x47]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x49]
mov dword [rsp + 0x5c], ecx
movzx ecx, byte [rdi + 0x48]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x4a]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x4b]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x4d]
mov dword [rsp + 0x60], ecx
movzx ecx, byte [rdi + 0x4c]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x4e]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x4f]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x51]
mov dword [rsp + 0x64], ecx
movzx ecx, byte [rdi + 0x50]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x52]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x53]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x55]
mov dword [rsp + 0x68], ecx
movzx ecx, byte [rdi + 0x54]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x56]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x57]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x59]
mov dword [rsp + 0x6c], ecx
movzx ecx, byte [rdi + 0x58]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x5a]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x5b]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x5d]
mov dword [rsp + 0x70], ecx
movzx ecx, byte [rdi + 0x5c]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x5e]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x5f]
shl ecx, 8
or ecx, eax
mov dword [rsp + 0x74], ecx
movzx eax, byte [rdi + 0x61]
mov r11d, 2
movzx ecx, byte [rdi + 0x60]
shl ecx, 8
or ecx, eax
mov dword [rbp + 0xe8], r11d
movzx eax, byte [rdi + 0x62]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x63]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x65]
mov dword [rsp + 0x78], ecx
movzx ecx, byte [rdi + 0x64]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x66]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x67]
shl ecx, 8
or ecx, eax
mov eax, dword [rdi + 0x10]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x34], eax
mov eax, dword [rdi + 0x14]
mov dword [rsp + 0x30], eax
mov eax, dword [rdi + 0x18]
mov dword [rsp + 0x24], eax
mov eax, dword [rdi + 0x1c]
mov dword [rsp + 0x28], eax
mov eax, dword [rdi + 0x20]
mov dword [rsp + 0x2c], eax
mov dword [rsp + 0x7c], ecx
nop dword [rax + rax]
mov eax, r11d
lea esi, [r11 + 8]
lea r9, [rsp + 0x40]
lea r13, [rsp + 0x40]
lea r14, [rsp + 0x40]
mov edx, dword [rsp + rax*4 + 0x40]
lea rdi, [rsp + 0x40]
lea eax, [r11 + 6]
mov r8d, dword [rsp + rax*4 + 0x40]
lea eax, [r11 + 0xb]
mov r15d, dword [rsp + rax*4 + 0x40]
lea eax, [r11 - 2]
mov dword [rsp + 0x20], r8d
mov ebx, r15d
xor ebx, dword [rsp + rax*4 + 0x40]
lea eax, [r11 + 0xe]
xor ebx, r8d
lea r8, [rsp + 0x40]
xor ebx, edx
rol ebx, 1
mov dword [rsp + rax*4 + 0x40], ebx
lea eax, [r11 + 1]
lea r9, [r9 + rax*4]
lea eax, [r11 + 7]
lea r13, [r13 + rax*4]
lea eax, [r11 + 0xc]
lea r14, [r14 + rax*4]
lea eax, [r11 - 1]
mov r12d, dword [rsp + rax*4 + 0x40]
lea eax, [r11 + 0xf]
xor r12d, dword [r9]
xor r12d, dword [r13]
xor r12d, dword [r14]
rol r12d, 1
mov dword [rsp + rax*4 + 0x40], r12d
lea eax, [r11 + 2]
mov r10d, dword [rsp + rsi*4 + 0x40]
lea r8, [r8 + rax*4]
lea eax, [r11 + 0xd]
xor r10d, dword [rdi + rax*4]
lea rdi, [rdi + rax*4]
lea eax, [r11 + 0x10]
xor r10d, edx
xor r10d, dword [r8]
lea rdx, [rsp + 0x40]
rol r10d, 1
mov dword [rsp + rax*4 + 0x40], r10d
lea eax, [r11 + 3]
lea rdx, [rdx + rax*4]
lea eax, [r11 + 9]
mov r11d, dword [rsp + rax*4 + 0x40]
xor r11d, dword [rdx]
xor r11d, ebx
mov ebx, dword [rbp + 0xe8]
xor r11d, dword [r9]
lea r9, [rsp + 0x40]
rol r11d, 1
lea eax, [rbx + 0x11]
mov dword [rsp + rax*4 + 0x40], r11d
lea eax, [rbx + 4]
xor r11d, dword [rsp + 0x20]
lea r9, [r9 + rax*4]
lea eax, [rbx + 0xa]
xor r12d, dword [rsp + rax*4 + 0x40]
lea eax, [rbx + 0x12]
xor r12d, dword [r9]
xor r12d, dword [r8]
lea r8, [rsp + 0x40]
rol r12d, 1
mov dword [rsp + rax*4 + 0x40], r12d
lea eax, [rbx + 5]
mov edx, dword [rdx]
lea r8, [r8 + rax*4]
xor edx, dword [r8]
lea eax, [rbx + 0x13]
xor edx, r10d
xor edx, r15d
rol edx, 1
mov dword [rsp + rax*4 + 0x40], edx
xor r11d, dword [r9]
xor r11d, dword [r14]
rol r11d, 1
lea eax, [rbx + 0x14]
mov dword [rsp + rax*4 + 0x40], r11d
lea eax, [rbx + 0x15]
xor r12d, dword [r8]
mov r11d, esi
xor r12d, dword [rdi]
xor r12d, dword [r13]
rol r12d, 1
mov dword [rsp + rax*4 + 0x40], r12d
lea eax, [rsi + 0xe]
mov dword [rbp + 0xe8], esi
cmp eax, 0x50
jb 0x1400ae230
mov r9d, dword [rsp + 0x24]
xor eax, eax
mov r10d, dword [rsp + 0x28]
mov r11d, dword [rsp + 0x2c]
mov ebx, dword [rsp + 0x30]
mov edi, dword [rsp + 0x34]
nop word [rax + rax]
mov edx, edi
mov ecx, r10d
xor ecx, r9d
rol edx, 5
and ecx, ebx
rol ebx, 0x1e
xor ecx, r10d
add ecx, 0x5a827999
add edx, ecx
mov ecx, r9d
add edx, dword [rsp + rax*4 + 0x40]
xor ecx, ebx
and ecx, edi
add r11d, edx
xor ecx, r9d
rol edi, 0x1e
add ecx, 0x5a827999
inc eax
mov edx, r11d
rol edx, 5
add edx, ecx
mov ecx, ebx
add edx, dword [rsp + rax*4 + 0x40]
xor ecx, edi
add r10d, edx
and ecx, r11d
xor ecx, ebx
rol r11d, 0x1e
add ecx, 0x5a827999
inc eax
mov edx, r10d
rol edx, 5
add edx, ecx
mov ecx, r11d
add edx, dword [rsp + rax*4 + 0x40]
xor ecx, edi
add r9d, edx
and ecx, r10d
xor ecx, edi
rol r10d, 0x1e
add ecx, 0x5a827999
inc eax
mov edx, r9d
add edi, 0x5a827999
rol edx, 5
add edx, ecx
mov ecx, r11d
add edx, dword [rsp + rax*4 + 0x40]
xor ecx, r10d
add ebx, edx
and ecx, r9d
inc eax
rol r9d, 0x1e
xor ecx, r11d
mov edx, ebx
rol edx, 5
add edx, ecx
add edx, dword [rsp + rax*4 + 0x40]
inc eax
add edi, edx
cmp eax, 0x14
jb 0x1400ae3c0
cmp eax, 0x28
jae 0x1400ae547
nop word [rax + rax]
mov edx, edi
mov ecx, r10d
xor ecx, r9d
rol edx, 5
add edx, dword [rsp + rax*4 + 0x40]
xor ecx, ebx
add ecx, r11d
rol ebx, 0x1e
inc eax
lea r11d, [rdx + 0x6ed9eba1]
add r11d, ecx
mov ecx, r9d
xor ecx, ebx
mov edx, r11d
xor ecx, edi
rol edx, 5
add edx, dword [rsp + rax*4 + 0x40]
add ecx, r10d
inc eax
rol edi, 0x1e
lea r10d, [rdx + 0x6ed9eba1]
add r10d, ecx
mov ecx, r11d
xor ecx, ebx
rol r11d, 0x1e
xor ecx, edi
mov edx, r10d
add ecx, r9d
rol edx, 5
add edx, dword [rsp + rax*4 + 0x40]
inc eax
lea r9d, [rdx + 0x6ed9eba1]
add r9d, ecx
mov ecx, r11d
xor ecx, r10d
mov edx, r9d
xor ecx, edi
rol edx, 5
add edx, dword [rsp + rax*4 + 0x40]
add ecx, ebx
inc eax
rol r10d, 0x1e
lea ebx, [rdx + 0x6ed9eba1]
add ebx, ecx
mov ecx, r11d
xor ecx, r10d
mov edx, ebx
xor ecx, r9d
rol edx, 5
add edx, dword [rsp + rax*4 + 0x40]
add ecx, edi
inc eax
rol r9d, 0x1e
lea edi, [rdx + 0x6ed9eba1]
add edi, ecx
cmp eax, 0x28
jb 0x1400ae490
cmp eax, 0x3c
jae 0x1400ae634
mov edx, r9d
mov ecx, r9d
or edx, ebx
and ecx, ebx
and edx, r10d
rol ebx, 0x1e
or edx, ecx
mov r8d, edi
add edx, dword [rsp + rax*4 + 0x40]
mov ecx, ebx
add edx, r11d
rol r8d, 5
and ecx, edi
inc eax
lea r11d, [r8 - 0x70e44324]
add r11d, edx
mov edx, ebx
or edx, edi
mov r8d, r11d
and edx, r9d
rol r8d, 5
or edx, ecx
rol edi, 0x1e
add edx, dword [rsp + rax*4 + 0x40]
mov ecx, r11d
add edx, r10d
and ecx, edi
lea r10d, [r8 - 0x70e44324]
inc eax
add r10d, edx
mov edx, r11d
or edx, edi
rol r11d, 0x1e
and edx, ebx
mov r8d, r10d
or edx, ecx
rol r8d, 5
add edx, dword [rsp + rax*4 + 0x40]
mov ecx, r11d
add edx, r9d
inc eax
and ecx, r10d
lea r9d, [r8 - 0x70e44324]
add r9d, edx
mov edx, r11d
or edx, r10d
mov r8d, r9d
and edx, edi
rol r8d, 5
or edx, ecx
rol r10d, 0x1e
add edx, dword [rsp + rax*4 + 0x40]
mov ecx, r10d
add edx, ebx
inc eax
lea ebx, [r8 - 0x70e44324]
and ecx, r9d
add ebx, edx
mov edx, r10d
or edx, r9d
mov r8d, ebx
and edx, r11d
rol r8d, 5
or edx, ecx
rol r9d, 0x1e
add edx, dword [rsp + rax*4 + 0x40]
inc eax
add edx, edi
lea edi, [r8 - 0x70e44324]
add edi, edx
cmp eax, 0x3c
jb 0x1400ae550
cmp eax, 0x50
jae 0x1400ae70a
nop dword [rax]
mov ecx, dword [rsp + rax*4 + 0x40]
mov edx, r10d
xor edx, r9d
inc eax
xor edx, ebx
mov r8d, edi
add ecx, edx
rol r8d, 5
add ecx, r11d
rol ebx, 0x1e
mov edx, r9d
xor edx, ebx
xor edx, edi
lea r11d, [r8 - 0x359d3e2a]
add r11d, ecx
rol edi, 0x1e
mov ecx, dword [rsp + rax*4 + 0x40]
mov r8d, r11d
add ecx, edx
rol r8d, 5
add ecx, r10d
inc eax
mov edx, r11d
rol r11d, 0x1e
xor edx, ebx
xor edx, edi
lea r10d, [r8 - 0x359d3e2a]
add r10d, ecx
mov ecx, dword [rsp + rax*4 + 0x40]
add ecx, edx
inc eax
add ecx, r9d
mov r8d, r10d
rol r8d, 5
mov edx, r11d
xor edx, r10d
rol r10d, 0x1e
xor edx, edi
lea r9d, [r8 - 0x359d3e2a]
add r9d, ecx
mov ecx, dword [rsp + rax*4 + 0x40]
add ecx, edx
inc eax
add ecx, ebx
mov r8d, r9d
rol r8d, 5
mov edx, r11d
xor edx, r10d
xor edx, r9d
rol r9d, 0x1e
lea ebx, [r8 - 0x359d3e2a]
add ebx, ecx
mov ecx, dword [rsp + rax*4 + 0x40]
add ecx, edx
mov r8d, ebx
add ecx, edi
rol r8d, 5
inc eax
lea edi, [r8 - 0x359d3e2a]
add edi, ecx
cmp eax, 0x50
jb 0x1400ae640
mov r14, qword [rbp + 0xd8]
mov esi, dword [rbp + 0xe0]
add r14, 0x40
mov eax, dword [rsp + 0x38]
add eax, edi
mov qword [rbp + 0xd8], r14
mov rdi, qword [rbp + 0xd0]
add dword [rdi + 0x14], ebx
add dword [rdi + 0x18], r9d
add dword [rdi + 0x1c], r10d
add dword [rdi + 0x20], r11d
mov dword [rdi + 0x10], eax
add qword [rdi + 8], 0x200
add esi, 0xffffffc0
mov dword [rbp + 0xe0], esi
jmp 0x1400ae7a8
mov ecx, 0x40
mov eax, esi
sub ecx, edx
cmp esi, ecx
cmovae eax, ecx
lea rcx, [rdx + 0x28]
add rcx, rdi
mov r8d, eax
mov rdx, r14
mov ebx, eax
call sub.VCRUNTIME140.dll_memcpy
add dword [rdi + 0x24], ebx
add r14, rbx
sub esi, ebx
mov qword [rbp + 0xd8], r14
cmp dword [rdi + 0x24], 0x40
mov dword [rbp + 0xe0], esi
jne 0x1400ae7a8
mov rcx, rdi
call fcn.1400ad150
add qword [rdi + 8], 0x200
mov dword [rdi + 0x24], 0
test esi, esi
jne 0x1400adf90
mov r15, qword [rsp + 0x188]
mov r13, qword [rsp + 0x190]
mov r12, qword [rsp + 0x198]
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x1a8
pop r14
pop rdi
pop rsi
pop rbp
ret