Function at 0x140012e80
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
mov eax, dword [rdx]
lea r14, [0x140000000]
mov r9d, dword [rdx + 4]
mov rbx, rcx
bswap eax
mov edx, eax
mov rdi, r8
shr edx, 4
mov esi, 2
bswap r9d
xor edx, r9d
and edx, 0xf0f0f0f
xor r9d, edx
shl edx, 4
xor eax, edx
mov ecx, eax
shr ecx, 0x10
xor ecx, r9d
movzx edx, cx
xor r9d, edx
shl edx, 0x10
xor eax, edx
mov ecx, r9d
shr ecx, 2
xor ecx, eax
and ecx, 0x33333333
xor eax, ecx
lea ecx, [rcx*4]
xor r9d, ecx
mov ecx, r9d
shr ecx, 8
xor ecx, eax
and ecx, 0xff00ff
xor eax, ecx
shl ecx, 8
xor r9d, ecx
mov r11d, r9d
shr r11d, 0x1f
lea ecx, [r9 + r9]
or r11d, ecx
mov ecx, r11d
xor ecx, eax
and ecx, 0xaaaaaaaa
xor r11d, ecx
xor eax, ecx
ror eax, 0x1f
nop dword [rax + rax]
mov r10d, r11d
mov ecx, r11d
xor r10d, dword [rbx]
ror ecx, 4
xor ecx, dword [rbx + 4]
mov r9d, ecx
mov edx, ecx
shr rcx, 0x10
and ecx, 0x3f
shr rdx, 0x18
and edx, 0x3f
mov r8d, dword [r14 + rdx*4 + 0x43e70]
xor r8d, dword [r14 + rcx*4 + 0x445d0]
mov ecx, r9d
shr rcx, 8
and r9d, 0x3f
and ecx, 0x3f
xor r8d, dword [r14 + rcx*4 + 0x43d50]
mov ecx, r10d
shr rcx, 0x18
and ecx, 0x3f
xor r8d, dword [r14 + rcx*4 + 0x43f70]
mov ecx, r10d
shr rcx, 0x10
and ecx, 0x3f
xor r8d, dword [r14 + rcx*4 + 0x444d0]
mov ecx, r10d
shr rcx, 8
and r10d, 0x3f
and ecx, 0x3f
xor r8d, dword [r14 + rcx*4 + 0x441a0]
xor r8d, dword [r14 + r9*4 + 0x443b0]
xor r8d, dword [r14 + r10*4 + 0x442b0]
xor eax, r8d
mov r10d, eax
mov ecx, eax
xor r10d, dword [rbx + 8]
ror ecx, 4
xor ecx, dword [rbx + 0xc]
mov r9d, ecx
mov edx, ecx
shr rcx, 0x10
and ecx, 0x3f
shr rdx, 0x18
and edx, 0x3f
mov r8d, dword [r14 + rdx*4 + 0x43e70]
xor r8d, dword [r14 + rcx*4 + 0x445d0]
mov ecx, r9d
shr rcx, 8
and r9d, 0x3f
and ecx, 0x3f
xor r8d, dword [r14 + rcx*4 + 0x43d50]
mov ecx, r10d
shr rcx, 0x18
and ecx, 0x3f
xor r8d, dword [r14 + rcx*4 + 0x43f70]
mov ecx, r10d
shr rcx, 0x10
and ecx, 0x3f
xor r8d, dword [r14 + rcx*4 + 0x444d0]
mov ecx, r10d
shr rcx, 8
and r10d, 0x3f
and ecx, 0x3f
xor r8d, dword [r14 + rcx*4 + 0x441a0]
xor r8d, dword [r14 + r9*4 + 0x443b0]
xor r8d, dword [r14 + r10*4 + 0x442b0]
xor r11d, r8d
mov ecx, r11d
mov r10d, r11d
xor r10d, dword [rbx + 0x10]
ror ecx, 4
xor ecx, dword [rbx + 0x14]
mov edx, ecx
shr rdx, 0x18
mov r9d, ecx
and edx, 0x3f
shr rcx, 0x10
and ecx, 0x3f
mov r8d, dword [r14 + rdx*4 + 0x43e70]
xor r8d, dword [r14 + rcx*4 + 0x445d0]
mov ecx, r9d
and r9d, 0x3f
shr rcx, 8
and ecx, 0x3f
xor r8d, dword [r14 + rcx*4 + 0x43d50]
mov ecx, r10d
shr rcx, 0x18
and ecx, 0x3f
xor r8d, dword [r14 + rcx*4 + 0x43f70]
mov ecx, r10d
shr rcx, 0x10
and ecx, 0x3f
xor r8d, dword [r14 + rcx*4 + 0x444d0]
mov ecx, r10d
shr rcx, 8
and r10d, 0x3f
and ecx, 0x3f
xor r8d, dword [r14 + rcx*4 + 0x441a0]
xor r8d, dword [r14 + r9*4 + 0x443b0]
xor r8d, dword [r14 + r10*4 + 0x442b0]
xor eax, r8d
mov r10d, eax
mov ecx, eax
xor r10d, dword [rbx + 0x18]
ror ecx, 4
xor ecx, dword [rbx + 0x1c]
mov r9d, ecx
mov edx, ecx
shr rcx, 0x10
and ecx, 0x3f
shr rdx, 0x18
and edx, 0x3f
mov r8d, dword [r14 + rdx*4 + 0x43e70]
xor r8d, dword [r14 + rcx*4 + 0x445d0]
mov ecx, r9d
shr rcx, 8
and r9d, 0x3f
and ecx, 0x3f
xor r8d, dword [r14 + rcx*4 + 0x43d50]
mov ecx, r10d
shr rcx, 0x18
and ecx, 0x3f
xor r8d, dword [r14 + rcx*4 + 0x43f70]
mov ecx, r10d
shr rcx, 0x10
and ecx, 0x3f
xor r8d, dword [r14 + rcx*4 + 0x444d0]
mov ecx, r10d
shr rcx, 8
and r10d, 0x3f
and ecx, 0x3f
xor r8d, dword [r14 + rcx*4 + 0x441a0]
xor r8d, dword [r14 + r9*4 + 0x443b0]
xor r8d, dword [r14 + r10*4 + 0x442b0]
xor r11d, r8d
mov r10d, r11d
mov ecx, r11d
xor r10d, dword [rbx + 0x20]
ror ecx, 4
xor ecx, dword [rbx + 0x24]
mov edx, ecx
mov r9d, ecx
shr rcx, 0x10
and ecx, 0x3f
shr rdx, 0x18
and edx, 0x3f
mov r8d, dword [r14 + rdx*4 + 0x43e70]
xor r8d, dword [r14 + rcx*4 + 0x445d0]
mov ecx, r9d
shr rcx, 8
and ecx, 0x3f
xor r8d, dword [r14 + rcx*4 + 0x43d50]
mov ecx, r10d
shr rcx, 0x18
and ecx, 0x3f
xor r8d, dword [r14 + rcx*4 + 0x43f70]
mov ecx, r10d
shr rcx, 0x10
and ecx, 0x3f
xor r8d, dword [r14 + rcx*4 + 0x444d0]
mov ecx, r10d
shr rcx, 8
and r10d, 0x3f
and ecx, 0x3f
and r9d, 0x3f
xor r8d, dword [r14 + rcx*4 + 0x441a0]
xor r8d, dword [r14 + r9*4 + 0x443b0]
xor r8d, dword [r14 + r10*4 + 0x442b0]
xor eax, r8d
mov r10d, eax
mov ecx, eax
xor r10d, dword [rbx + 0x28]
ror ecx, 4
xor ecx, dword [rbx + 0x2c]
mov r9d, ecx
mov edx, ecx
shr rcx, 0x10
and ecx, 0x3f
shr rdx, 0x18
and edx, 0x3f
mov r8d, dword [r14 + rdx*4 + 0x43e70]
xor r8d, dword [r14 + rcx*4 + 0x445d0]
mov ecx, r9d
shr rcx, 8
and r9d, 0x3f
and ecx, 0x3f
xor r8d, dword [r14 + rcx*4 + 0x43d50]
mov ecx, r10d
shr rcx, 0x18
and ecx, 0x3f
xor r8d, dword [r14 + rcx*4 + 0x43f70]
mov ecx, r10d
shr rcx, 0x10
and ecx, 0x3f
xor r8d, dword [r14 + rcx*4 + 0x444d0]
mov ecx, r10d
shr rcx, 8
and r10d, 0x3f
and ecx, 0x3f
xor r8d, dword [r14 + rcx*4 + 0x441a0]
xor r8d, dword [r14 + r9*4 + 0x443b0]
xor r8d, dword [r14 + r10*4 + 0x442b0]
xor r11d, r8d
mov r10d, r11d
mov ecx, r11d
xor r10d, dword [rbx + 0x30]
ror ecx, 4
xor ecx, dword [rbx + 0x34]
mov r9d, ecx
mov edx, ecx
shr rcx, 0x10
and ecx, 0x3f
shr rdx, 0x18
and edx, 0x3f
mov r8d, dword [r14 + rdx*4 + 0x43e70]
xor r8d, dword [r14 + rcx*4 + 0x445d0]
mov ecx, r9d
shr rcx, 8
and r9d, 0x3f
and ecx, 0x3f
xor r8d, dword [r14 + rcx*4 + 0x43d50]
mov ecx, r10d
shr rcx, 0x18
and ecx, 0x3f
xor r8d, dword [r14 + rcx*4 + 0x43f70]
mov ecx, r10d
shr rcx, 0x10
and ecx, 0x3f
xor r8d, dword [r14 + rcx*4 + 0x444d0]
mov ecx, r10d
shr rcx, 8
and r10d, 0x3f
and ecx, 0x3f
xor r8d, dword [r14 + rcx*4 + 0x441a0]
xor r8d, dword [r14 + r9*4 + 0x443b0]
xor r8d, dword [r14 + r10*4 + 0x442b0]
xor eax, r8d
mov r10d, eax
mov ecx, eax
xor r10d, dword [rbx + 0x38]
ror ecx, 4
xor ecx, dword [rbx + 0x3c]
mov r9d, ecx
lea rbx, [rbx + 0x40]
mov edx, ecx
shr rcx, 0x10
and ecx, 0x3f
shr rdx, 0x18
and edx, 0x3f
mov r8d, dword [r14 + rdx*4 + 0x43e70]
xor r8d, dword [r14 + rcx*4 + 0x445d0]
mov ecx, r9d
shr rcx, 8
and r9d, 0x3f
and ecx, 0x3f
xor r8d, dword [r14 + rcx*4 + 0x43d50]
mov ecx, r10d
shr rcx, 0x18
and ecx, 0x3f
xor r8d, dword [r14 + rcx*4 + 0x43f70]
mov ecx, r10d
shr rcx, 0x10
and ecx, 0x3f
xor r8d, dword [r14 + rcx*4 + 0x444d0]
mov ecx, r10d
shr rcx, 8
and r10d, 0x3f
and ecx, 0x3f
xor r8d, dword [r14 + rcx*4 + 0x441a0]
xor r8d, dword [r14 + r9*4 + 0x443b0]
xor r8d, dword [r14 + r10*4 + 0x442b0]
xor r11d, r8d
sub rsi, 1
jne 0x140012f30
mov rbx, qword [rsp + 8]
mov r8d, r11d
mov rsi, qword [rsp + 0x10]
mov r14, qword [rsp + 0x20]
shl r8d, 0x1f
shr r11d, 1
or r8d, r11d
mov ecx, r8d
xor ecx, eax
and ecx, 0xaaaaaaaa
xor eax, ecx
xor r8d, ecx
mov edx, eax
shr eax, 1
shl edx, 0x1f
or edx, eax
mov eax, edx
shr eax, 8
xor eax, r8d
and eax, 0xff00ff
xor r8d, eax
shl eax, 8
xor edx, eax
mov eax, edx
shr eax, 2
xor eax, r8d
and eax, 0x33333333
xor r8d, eax
lea eax, [rax*4]
xor edx, eax
mov eax, r8d
shr eax, 0x10
xor eax, edx
movzx ecx, ax
xor edx, ecx
shl ecx, 0x10
xor r8d, ecx
mov eax, r8d
shr eax, 4
xor eax, edx
and eax, 0xf0f0f0f
xor edx, eax
shl eax, 4
xor r8d, eax
xor eax, eax
bswap r8d
bswap edx
mov dword [rdi], r8d
mov dword [rdi + 4], edx
mov rdi, qword [rsp + 0x18]
ret