Function at 0x18003a020
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
push r15
mov r10d, dword [rdx]
mov rbx, rcx
mov r14, r8
rol r10d, 4
mov esi, 8
lea rdi, [0x18011d040]
mov eax, r10d
xor eax, dword [rdx + 4]
and eax, 0xf0f0f0f0
xor r10d, eax
xor eax, dword [rdx + 4]
mov ecx, r10d
rol eax, 0x14
xor ecx, eax
and ecx, 0xfff0000f
xor r10d, ecx
xor ecx, eax
mov eax, r10d
rol ecx, 0xe
xor eax, ecx
and eax, 0x33333333
xor ecx, eax
xor eax, r10d
rol eax, 0x16
mov r10d, eax
xor r10d, ecx
and r10d, 0x3fc03fc
xor ecx, r10d
xor r10d, eax
rol r10d, 9
mov r11d, r10d
xor r11d, ecx
and r11d, 0xaaaaaaaa
xor r10d, r11d
xor r11d, ecx
rol r11d, 1
test r9d, r9d
je 0x18003a1f2
lea rbp, [rbx + 4]
mov ebx, 0xfc
mov ecx, dword [rbp - 4]
mov r9d, r10d
xor r9d, dword [rbp]
xor ecx, r10d
lea rbp, [rbp + 0x10]
mov r8d, ecx
ror r9d, 4
shr rcx, 0x18
and rcx, rbx
mov eax, r8d
mov edx, dword [rcx + rdi + 0x600]
mov ecx, dword [rbp - 0xc]
shr rax, 0x10
and rax, rbx
xor edx, dword [rax + rdi + 0x400]
mov eax, r8d
and r8, rbx
shr rax, 8
and rax, rbx
xor edx, dword [rax + rdi + 0x200]
mov eax, r9d
shr rax, 0x18
and rax, rbx
xor edx, dword [rax + rdi + 0x700]
mov eax, r9d
shr rax, 0x10
and rax, rbx
xor edx, dword [rax + rdi + 0x500]
mov eax, r9d
and r9, rbx
shr rax, 8
and rax, rbx
xor edx, dword [rax + rdi + 0x300]
xor edx, dword [r8 + rdi]
xor edx, dword [r9 + rdi + 0x100]
mov r9d, dword [rbp - 8]
xor r11d, edx
xor r9d, r11d
xor ecx, r11d
mov r8d, ecx
ror r9d, 4
shr rcx, 0x18
and rcx, rbx
mov eax, r8d
mov edx, dword [rcx + rdi + 0x600]
shr rax, 0x10
and rax, rbx
xor edx, dword [rax + rdi + 0x400]
mov eax, r8d
and r8, rbx
shr rax, 8
and rax, rbx
xor edx, dword [rax + rdi + 0x200]
mov eax, r9d
shr rax, 0x18
and rax, rbx
xor edx, dword [rax + rdi + 0x700]
mov eax, r9d
shr rax, 0x10
and rax, rbx
xor edx, dword [rax + rdi + 0x500]
mov eax, r9d
and r9, rbx
shr rax, 8
and rax, rbx
xor edx, dword [rax + rdi + 0x300]
xor edx, dword [r8 + rdi]
xor edx, dword [r9 + rdi + 0x100]
xor r10d, edx
dec rsi
jne 0x18003a0c8
jmp 0x18003a321
lea r15, [rbx + 0x78]
mov ebx, 0xfc
mov r9d, dword [r15 + 4]
mov ecx, dword [r15]
lea r15, [r15 - 0x10]
xor r9d, r10d
xor ecx, r10d
mov r8d, ecx
ror r9d, 4
shr rcx, 0x18
and rcx, rbx
mov eax, r8d
mov edx, dword [rcx + rdi + 0x600]
mov ecx, dword [r15 + 8]
shr rax, 0x10
and rax, rbx
xor edx, dword [rax + rdi + 0x400]
mov eax, r8d
and r8, rbx
shr rax, 8
and rax, rbx
xor edx, dword [rax + rdi + 0x200]
mov eax, r9d
shr rax, 0x18
and rax, rbx
xor edx, dword [rax + rdi + 0x700]
mov eax, r9d
shr rax, 0x10
and rax, rbx
xor edx, dword [rax + rdi + 0x500]
mov eax, r9d
and r9, rbx
shr rax, 8
and rax, rbx
xor edx, dword [rax + rdi + 0x300]
xor edx, dword [r8 + rdi]
xor edx, dword [r9 + rdi + 0x100]
mov r9d, dword [r15 + 0xc]
xor r11d, edx
xor r9d, r11d
xor ecx, r11d
mov r8d, ecx
ror r9d, 4
shr rcx, 0x18
and rcx, rbx
mov eax, r8d
mov edx, dword [rcx + rdi + 0x600]
shr rax, 0x10
and rax, rbx
xor edx, dword [rax + rdi + 0x400]
mov eax, r8d
and r8, rbx
shr rax, 8
and rax, rbx
xor edx, dword [rax + rdi + 0x200]
mov eax, r9d
shr rax, 0x18
and rax, rbx
xor edx, dword [rax + rdi + 0x700]
mov eax, r9d
shr rax, 0x10
and rax, rbx
xor edx, dword [rax + rdi + 0x500]
mov eax, r9d
and r9, rbx
shr rax, 8
and rax, rbx
xor edx, dword [rax + rdi + 0x300]
xor edx, dword [r8 + rdi]
xor edx, dword [r9 + rdi + 0x100]
xor r10d, edx
dec rsi
jne 0x18003a1fb
ror r10d, 1
mov rbx, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov eax, r10d
xor eax, r11d
and eax, 0xaaaaaaaa
xor r10d, eax
xor eax, r11d
mov r8d, r10d
ror eax, 9
xor r8d, eax
and r8d, 0x3fc03fc
xor r10d, r8d
xor r8d, eax
mov eax, r10d
ror r8d, 0x16
xor eax, r8d
and eax, 0x33333333
xor r8d, eax
xor eax, r10d
ror eax, 0xe
mov edx, eax
xor edx, r8d
and edx, 0xfff0000f
xor r8d, edx
xor edx, eax
ror edx, 0x14
mov ecx, edx
xor ecx, r8d
and ecx, 0xf0f0f0f0
mov eax, ecx
xor eax, r8d
ror eax, 4
xor ecx, edx
mov dword [r14 + 4], ecx
mov dword [r14], eax
pop r15
pop r14
ret