Function at 0x140087920
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x1400f9b40]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r14d, dword [rdx]
mov edi, dword [rdx + 4]
mov r10d, dword [rdx + 8]
mov ebp, dword [rdx + 0xc]
mov rax, qword [rcx + 8]
mov esi, dword [rcx]
lea rax, [rcx + rax*4]
mov dword [rsp + 0x50], r14d
xor r14d, dword [rax + 0x10]
mov dword [rsp + 0x54], edi
mov dword [rsp + 0x50], r14d
xor edi, dword [rax + 0x14]
mov dword [rsp + 0x54], edi
mov r9d, edi
xor r10d, dword [rax + 0x18]
mov r11d, edi
mov qword [rsp + 0x48], r8
mov ebx, edi
sar esi, 1
mov r15d, r10d
mov dword [rsp + 0x58], r10d
mov r12d, r10d
xor ebp, dword [rax + 0x1c]
mov r8d, r10d
mov edx, ebp
shr r9d, 0x10
shr edx, 0x10
mov r13d, ebp
mov dword [rsp + 0x20], edx
add rax, 0x20
mov edx, ebp
shr r11d, 0x18
shr edx, 0x18
dec esi
shr ebx, 8
shr r15d, 0x18
shr r12d, 8
shr r8d, 0x10
shr r13d, 8
mov dword [rsp + 0x5c], ebp
mov dword [rsp + 0x24], edx
test esi, esi
jle 0x140087ca5
nop dword [rax]
nop dword [rax + rax]
movzx ecx, r8b
lea r9, [0x140000000]
movzx edx, bl
mov r8d, edi
shr r8, 0x18
mov ebx, dword [r9 + rdx*4 + 0xfc1c0]
xor ebx, dword [r9 + rcx*4 + 0xfc5c0]
movzx ecx, byte [rsp + 0x24]
mov edx, r14d
shr rdx, 0x18
xor ebx, dword [r9 + rcx*4 + 0xfc9c0]
movzx ecx, r14b
mov r11d, dword [r9 + rdx*4 + 0xfc9c0]
xor ebx, dword [r9 + rcx*4 + 0xfbdc0]
xor ebx, dword [rax]
movzx ecx, byte [rsp + 0x20]
xor r11d, dword [r9 + rcx*4 + 0xfc5c0]
movzx ecx, r12b
lea r12, [0x140000000]
mov r9d, dword [r12 + r8*4 + 0xfc9c0]
xor r11d, dword [r12 + rcx*4 + 0xfc1c0]
movzx ecx, dil
shr edi, 0x10
xor r11d, dword [r12 + rcx*4 + 0xfbdc0]
mov ecx, r14d
xor r11d, dword [rax + 4]
shr ecx, 0x10
movzx edx, cl
shr r14d, 8
movzx ecx, r10b
xor r9d, dword [r12 + rdx*4 + 0xfc5c0]
movzx edx, dil
xor r9d, dword [r12 + rcx*4 + 0xfbdc0]
movzx ecx, r13b
mov r8d, dword [r12 + rdx*4 + 0xfc5c0]
xor r9d, dword [r12 + rcx*4 + 0xfc1c0]
xor r9d, dword [rax + 8]
movzx ecx, r14b
mov r10d, r9d
xor r8d, dword [r12 + rcx*4 + 0xfc1c0]
movzx ecx, r15b
xor r8d, dword [r12 + rcx*4 + 0xfc9c0]
movzx ecx, bpl
xor r8d, dword [r12 + rcx*4 + 0xfbdc0]
mov ecx, r10d
xor r8d, dword [rax + 0xc]
shr ecx, 0x10
movzx edx, cl
mov ecx, r11d
shr ecx, 8
mov r9d, r8d
shr r8, 0x18
mov r14d, dword [r12 + r8*4 + 0xfc9c0]
xor r14d, dword [r12 + rdx*4 + 0xfc5c0]
movzx edx, cl
movzx ecx, bl
xor r14d, dword [r12 + rdx*4 + 0xfc1c0]
xor r14d, dword [r12 + rcx*4 + 0xfbdc0]
mov ecx, r9d
xor r14d, dword [rax + 0x10]
shr ecx, 0x10
movzx r8d, cl
mov ecx, r10d
shr ecx, 8
movzx edx, cl
mov ecx, ebx
shr rcx, 0x18
mov edi, dword [r12 + r8*4 + 0xfc5c0]
mov dword [rsp + 0x50], r14d
xor edi, dword [r12 + rdx*4 + 0xfc1c0]
xor edi, dword [r12 + rcx*4 + 0xfc9c0]
movzx ecx, r11b
xor edi, dword [r12 + rcx*4 + 0xfbdc0]
xor edi, dword [rax + 0x14]
mov ecx, edi
mov dword [rsp + 0x54], edi
shr ecx, 0x10
mov dword [rsp + 0x40], ecx
mov ecx, edi
shr ecx, 0x18
mov dword [rsp + 0x38], ecx
mov ecx, r9d
mov r8d, edi
shr ecx, 8
dec esi
movzx edx, cl
mov ecx, r11d
shr rcx, 0x18
shr r11d, 0x10
shr r8d, 8
mov ebp, dword [r12 + rdx*4 + 0xfc1c0]
xor ebp, dword [r12 + rcx*4 + 0xfc9c0]
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
movzx ecx, r10b
shr r10, 0x18
shr ebx, 8
xor ebp, dword [r12 + rdx*4 + 0xfc5c0]
xor ebp, dword [r12 + rcx*4 + 0xfbdc0]
xor ebp, dword [rax + 0x18]
movzx ecx, r11b
mov r15d, ebp
lea r11, [0x140000000]
mov dword [rsp + 0x58], ebp
mov edx, dword [r11 + r10*4 + 0xfc9c0]
mov r12d, ebp
mov r13d, ebp
shr r15d, 0x18
xor edx, dword [r11 + rcx*4 + 0xfc5c0]
movzx r10d, bpl
shr r13d, 0x10
movzx ecx, bl
movzx ebx, r8b
shr r12d, 8
mov dword [rsp + 0x28], r8d
movzx r8d, r13b
mov dword [rsp + 0x34], ebp
xor edx, dword [r11 + rcx*4 + 0xfc1c0]
movzx ecx, r9b
mov dword [rsp + 0x2c], r13d
mov dword [rsp + 0x44], r15d
mov dword [rsp + 0x30], r12d
xor edx, dword [r11 + rcx*4 + 0xfbdc0]
xor edx, dword [rax + 0x1c]
add rax, 0x20
mov ecx, edx
mov dword [rsp + 0x3c], edx
shr ecx, 8
mov r9d, edx
shr r9d, 0x10
mov r11d, edx
shr r11d, 0x18
movzx r13d, cl
mov dword [rsp + 0x5c], edx
movzx ebp, dl
mov byte [rsp + 0x24], r11b
mov byte [rsp + 0x20], r9b
test esi, esi
jg 0x1400879f0
movzx ebx, byte [rsp + 0x28]
movzx edx, r11b
movzx r11d, byte [rsp + 0x38]
movzx r8d, byte [rsp + 0x2c]
movzx r10d, byte [rsp + 0x34]
movzx ebp, byte [rsp + 0x3c]
mov byte [rsp + 0x20], r9b
movzx r9d, byte [rsp + 0x40]
movzx ecx, r8b
lea rsi, [0x140000000]
movzx edx, dl
mov r8d, dword [rsi + rdx*4 + 0xfc9c0]
xor r8d, dword [rsi + rcx*4 + 0xfc5c0]
movzx ecx, bl
lea rbx, [0x140000000]
mov edx, r14d
shr rdx, 0x18
xor r8d, dword [rbx + rcx*4 + 0xfc1c0]
movzx ecx, r14b
xor r8d, dword [rbx + rcx*4 + 0xfbdc0]
xor r8d, dword [rax]
movzx ecx, byte [rsp + 0x20]
mov esi, r8d
mov r8d, dword [rbx + rdx*4 + 0xfc9c0]
mov dword [rsp + 0x60], esi
xor r8d, dword [rbx + rcx*4 + 0xfc5c0]
movzx ecx, r12b
lea r12, [0x140000000]
xor r8d, dword [r12 + rcx*4 + 0xfc1c0]
movzx ecx, dil
xor r8d, dword [r12 + rcx*4 + 0xfbdc0]
mov ecx, r14d
xor r8d, dword [rax + 4]
shr ecx, 0x10
movzx edx, cl
movzx ecx, r11b
mov edi, r8d
mov dword [rsp + 0x64], edi
mov ebx, dword [r12 + rdx*4 + 0xfc5c0]
xor ebx, dword [r12 + rcx*4 + 0xfc9c0]
movzx ecx, r13b
shr r14d, 8
movzx edx, r14b
xor ebx, dword [r12 + rcx*4 + 0xfc1c0]
movzx ecx, r10b
mov r8d, dword [r12 + rdx*4 + 0xfc1c0]
xor ebx, dword [r12 + rcx*4 + 0xfbdc0]
xor ebx, dword [rax + 8]
movzx ecx, r15b
mov dword [rsp + 0x68], ebx
xor r8d, dword [r12 + rcx*4 + 0xfc9c0]
movzx ecx, r9b
xor r8d, dword [r12 + rcx*4 + 0xfc5c0]
movzx ecx, bpl
xor r8d, dword [r12 + rcx*4 + 0xfbdc0]
xor r8d, dword [rax + 0xc]
mov ecx, r8d
shr rcx, 0x18
mov r10d, r8d
mov dword [rsp + 0x6c], r10d
movzx r11d, byte [rcx + r12 + 0xfbcc0]
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
shl r11d, 8
movzx ecx, byte [rdx + r12 + 0xfbcc0]
xor r11d, ecx
mov ecx, edi
shr ecx, 8
movzx edx, cl
shl r11d, 8
movzx ecx, byte [rdx + r12 + 0xfbcc0]
xor r11d, ecx
movzx ecx, sil
shl r11d, 8
movzx ecx, byte [rcx + r12 + 0xfbcc0]
xor r11d, ecx
mov ecx, esi
xor r11d, dword [rax + 0x10]
shr rcx, 0x18
mov dword [rsp + 0x50], r11d
movzx r9d, byte [rcx + r12 + 0xfbcc0]
mov ecx, r8d
shr ecx, 0x10
shl r9d, 8
movzx edx, cl
movzx ecx, byte [rdx + r12 + 0xfbcc0]
xor r9d, ecx
shl r9d, 8
mov ecx, ebx
shr ecx, 8
movzx edx, cl
movzx ecx, byte [rdx + r12 + 0xfbcc0]
xor r9d, ecx
movzx ecx, dil
shl r9d, 8
movzx ecx, byte [rcx + r12 + 0xfbcc0]
xor r9d, ecx
mov ecx, edi
xor r9d, dword [rax + 0x14]
shr rcx, 0x18
mov dword [rsp + 0x54], r9d
shr edi, 0x10
movzx r8d, byte [rcx + r12 + 0xfbcc0]
mov ecx, esi
shr ecx, 0x10
movzx edx, cl
shl r8d, 8
shr esi, 8
movzx ecx, byte [rdx + r12 + 0xfbcc0]
xor r8d, ecx
mov ecx, r10d
shr ecx, 8
movzx edx, cl
shl r8d, 8
movzx ecx, byte [rdx + r12 + 0xfbcc0]
xor r8d, ecx
movzx ecx, bl
shl r8d, 8
shr rbx, 0x18
movzx ecx, byte [rcx + r12 + 0xfbcc0]
xor r8d, ecx
movzx ecx, dil
xor r8d, dword [rax + 0x18]
movzx edx, byte [rbx + r12 + 0xfbcc0]
shl edx, 8
movzx ecx, byte [rcx + r12 + 0xfbcc0]
xor edx, ecx
mov dword [rsp + 0x58], r8d
shl edx, 8
movzx ecx, sil
movzx ecx, byte [rcx + r12 + 0xfbcc0]
xor edx, ecx
movzx ecx, r10b
shl edx, 8
movzx ecx, byte [rcx + r12 + 0xfbcc0]
xor edx, ecx
lea rcx, [rsp + 0x50]
xor edx, dword [rax + 0x1c]
mov rax, qword [rsp + 0x48]
mov dword [rsp + 0x5c], edx
mov dword [rax + 0xc], edx
mov edx, 0x20
mov dword [rax], r11d
mov dword [rax + 4], r9d
mov dword [rax + 8], r8d
call fcn.140071030
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14009a250
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret