Function at 0x14004b960
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x330]
sub rsp, 0x430
mov rax, qword [0x140079010]
xor rax, rsp
mov qword [rbp + 0x320], rax
xor r10d, r10d
lea r11, [rsp + 0x10]
mov r9d, r10d
mov r15, rdx
mov rsi, rcx
nop word [rax + rax]
mov r8d, r9d
mov eax, r9d
xor r8d, 0x8ad30e
shr eax, 1
shr r8d, 1
test r9b, 1
cmovne eax, r8d
test al, 1
je 0x14004b9d3
xor eax, 0x8ad30e
shr eax, 1
test al, 1
je 0x14004b9de
xor eax, 0x8ad30e
shr eax, 1
test al, 1
je 0x14004b9e9
xor eax, 0x8ad30e
shr eax, 1
test al, 1
je 0x14004b9f4
xor eax, 0x8ad30e
shr eax, 1
test al, 1
je 0x14004b9ff
xor eax, 0x8ad30e
shr eax, 1
test al, 1
je 0x14004ba0a
xor eax, 0x8ad30e
shr eax, 1
test al, 1
je 0x14004ba15
xor eax, 0x8ad30e
shr eax, 1
inc r9d
mov dword [r11], eax
add r11, 4
cmp r9d, 0x100
jb 0x14004b9b0
mov r11, qword [0x14007b200]
mov r8d, 0xffffffff
mov r9, qword [0x14007ad00]
mov rax, r11
mov r14, qword [0x14007b1f8]
and eax, 0x3ff
mov ebx, dword [rcx + 0x28]
mov edi, r8d
mov qword [rsp], r14
add ebx, 0xffffff80
add ebx, dword [rcx + 0x2c]
mov r12d, 4
movzx eax, byte [rax + r9]
xor byte [rsp], al
lea rax, [r11 + 1]
and eax, 0x3ff
mov dword [rbp + 0x310], r8d
movzx eax, byte [rax + r9]
xor byte [rsp + 1], al
lea rax, [r11 + 2]
and eax, 0x3ff
movzx eax, byte [rax + r9]
xor byte [rsp + 2], al
lea rax, [r11 + 3]
and eax, 0x3ff
movzx eax, byte [rax + r9]
xor byte [rsp + 3], al
lea rax, [r11 + 4]
and eax, 0x3ff
movzx eax, byte [rax + r9]
xor byte [rsp + 4], al
lea rax, [r11 + 5]
and eax, 0x3ff
movzx eax, byte [rax + r9]
xor byte [rsp + 5], al
lea rax, [r11 + 6]
and eax, 0x3ff
movzx eax, byte [rax + r9]
xor byte [rsp + 6], al
lea rax, [r11 + 7]
and eax, 0x3ff
movzx eax, byte [rax + r9]
xor byte [rsp + 7], al
add rbx, qword [rsp]
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [rbp + 0x310]
movzx eax, byte [rbx]
xor rcx, rax
shr edi, 8
movzx eax, byte [rbx + 1]
xor edi, dword [rsp + rcx*4 + 0x10]
mov edx, edi
mov dword [rbp + 0x310], edx
shr edx, 8
movzx ecx, dil
xor rcx, rax
movzx eax, byte [rbx + 2]
xor edx, dword [rsp + rcx*4 + 0x10]
movzx ecx, dl
xor rcx, rax
mov dword [rbp + 0x310], edx
movzx eax, byte [rbx + 3]
shr edx, 8
xor edx, dword [rsp + rcx*4 + 0x10]
movzx ecx, dl
xor rcx, rax
mov dword [rbp + 0x310], edx
movzx eax, byte [rbx + 4]
shr edx, 8
xor edx, dword [rsp + rcx*4 + 0x10]
movzx ecx, dl
xor rcx, rax
mov dword [rbp + 0x310], edx
movzx eax, byte [rbx + 5]
shr edx, 8
xor edx, dword [rsp + rcx*4 + 0x10]
movzx ecx, dl
xor rcx, rax
mov dword [rbp + 0x310], edx
movzx eax, byte [rbx + 6]
shr edx, 8
xor edx, dword [rsp + rcx*4 + 0x10]
movzx ecx, dl
xor rcx, rax
mov dword [rbp + 0x310], edx
movzx eax, byte [rbx + 7]
shr edx, 8
xor edx, dword [rsp + rcx*4 + 0x10]
movzx ecx, dl
xor rcx, rax
mov dword [rbp + 0x310], edx
movzx eax, byte [rbx + 8]
shr edx, 8
xor edx, dword [rsp + rcx*4 + 0x10]
movzx ecx, dl
xor rcx, rax
mov dword [rbp + 0x310], edx
movzx eax, byte [rbx + 9]
shr edx, 8
xor edx, dword [rsp + rcx*4 + 0x10]
movzx ecx, dl
xor rcx, rax
mov dword [rbp + 0x310], edx
movzx eax, byte [rbx + 0xa]
shr edx, 8
xor edx, dword [rsp + rcx*4 + 0x10]
movzx ecx, dl
xor rcx, rax
mov dword [rbp + 0x310], edx
movzx eax, byte [rbx + 0xb]
shr edx, 8
xor edx, dword [rsp + rcx*4 + 0x10]
movzx ecx, dl
xor rcx, rax
mov dword [rbp + 0x310], edx
movzx eax, byte [rbx + 0xc]
shr edx, 8
xor edx, dword [rsp + rcx*4 + 0x10]
movzx ecx, dl
xor rcx, rax
mov dword [rbp + 0x310], edx
movzx eax, byte [rbx + 0xd]
shr edx, 8
xor edx, dword [rsp + rcx*4 + 0x10]
mov dword [rbp + 0x310], edx
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rbx + 0xe]
xor edx, dword [rsp + rcx*4 + 0x10]
movzx ecx, dl
xor rcx, rax
mov dword [rbp + 0x310], edx
movzx eax, byte [rbx + 0xf]
shr edx, 8
xor edx, dword [rsp + rcx*4 + 0x10]
movzx ecx, dl
xor rcx, rax
mov dword [rbp + 0x310], edx
movzx eax, byte [rbx + 0x10]
shr edx, 8
xor edx, dword [rsp + rcx*4 + 0x10]
movzx ecx, dl
xor rcx, rax
mov dword [rbp + 0x310], edx
movzx eax, byte [rbx + 0x11]
shr edx, 8
xor edx, dword [rsp + rcx*4 + 0x10]
movzx ecx, dl
xor rcx, rax
mov dword [rbp + 0x310], edx
adc byte [rbx], al
add byte [rax], al
movzx eax, byte [rbx + 0x12]
shr edx, 8
xor edx, dword [rsp + rcx*4 + 0x10]
movzx ecx, dl
xor rcx, rax
mov dword [rbp + 0x310], edx
movzx eax, byte [rbx + 0x13]
shr edx, 8
xor edx, dword [rsp + rcx*4 + 0x10]
movzx ecx, dl
xor rcx, rax
mov dword [rbp + 0x310], edx
movzx eax, byte [rbx + 0x14]
shr edx, 8
xor edx, dword [rsp + rcx*4 + 0x10]
movzx ecx, dl
xor rcx, rax
mov dword [rbp + 0x310], edx
movzx eax, byte [rbx + 0x15]
shr edx, 8
xor edx, dword [rsp + rcx*4 + 0x10]
movzx ecx, dl
xor rcx, rax
mov dword [rbp + 0x310], edx
movzx eax, byte [rbx + 0x16]
shr edx, 8
xor edx, dword [rsp + rcx*4 + 0x10]
movzx ecx, dl
xor rcx, rax
mov dword [rbp + 0x310], edx
movzx eax, byte [rbx + 0x17]
shr edx, 8
xor edx, dword [rsp + rcx*4 + 0x10]
movzx ecx, dl
xor rcx, rax
mov dword [rbp + 0x310], edx
movzx eax, byte [rbx + 0x18]
shr edx, 8
xor edx, dword [rsp + rcx*4 + 0x10]
movzx ecx, dl
xor rcx, rax
mov dword [rbp + 0x310], edx
movzx eax, byte [rbx + 0x19]
shr edx, 8
xor edx, dword [rsp + rcx*4 + 0x10]
movzx ecx, dl
xor rcx, rax
mov dword [rbp + 0x310], edx
movzx eax, byte [rbx + 0x1a]
shr edx, 8
xor edx, dword [rsp + rcx*4 + 0x10]
movzx ecx, dl
mov dword [rbp + 0x310], edx
xor rcx, rax
shr edx, 8
xor edx, dword [rsp + rcx*4 + 0x10]
movzx eax, byte [rbx + 0x1b]
lea rbx, [rbx + 0x20]
mov dword [rbp + 0x310], edx
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rbx - 4]
xor edx, dword [rsp + rcx*4 + 0x10]
mov dword [rbp + 0x310], edx
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rbx - 3]
xor edx, dword [rsp + rcx*4 + 0x10]
mov dword [rbp + 0x310], edx
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rbx - 2]
xor edx, dword [rsp + rcx*4 + 0x10]
mov dword [rbp + 0x310], edx
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rbx - 1]
xor edx, dword [rsp + rcx*4 + 0x10]
mov edi, edx
mov dword [rbp + 0x310], edi
shr edi, 8
movzx ecx, dl
xor rcx, rax
xor edi, dword [rsp + rcx*4 + 0x10]
mov dword [rbp + 0x310], edi
sub r12, 1
jne 0x14004bb00
lea rdx, [rsp + 0x10]
nop dword [rax + rax]
mov eax, r10d
mov ecx, r10d
xor eax, 0x8ad30e
shr ecx, 1
shr eax, 1
test r10b, 1
cmovne ecx, eax
test cl, 1
je 0x14004be21
xor ecx, 0x8ad30e
shr ecx, 1
test cl, 1
je 0x14004be2e
xor ecx, 0x8ad30e
shr ecx, 1
test cl, 1
je 0x14004be3b
xor ecx, 0x8ad30e
shr ecx, 1
test cl, 1
je 0x14004be48
xor ecx, 0x8ad30e
shr ecx, 1
test cl, 1
je 0x14004be55
xor ecx, 0x8ad30e
shr ecx, 1
test cl, 1
je 0x14004be62
xor ecx, 0x8ad30e
shr ecx, 1
test cl, 1
je 0x14004be6f
xor ecx, 0x8ad30e
shr ecx, 1
inc r10d
mov dword [rdx], ecx
add rdx, 4
cmp r10d, 0x100
jb 0x14004be00
mov r10, qword [rsi + 0x10]
mov rax, r11
and eax, 0x3ff
mov qword [rsp], r14
mov dword [rbp + 0x310], r8d
mov edx, dword [r10 + 0x78]
movzx eax, byte [rax + r9]
xor byte [rsp], al
lea rax, [r11 + 1]
and eax, 0x3ff
movzx eax, byte [rax + r9]
xor byte [rsp + 1], al
lea rax, [r11 + 2]
and eax, 0x3ff
movzx eax, byte [rax + r9]
xor byte [rsp + 2], al
lea rax, [r11 + 3]
and eax, 0x3ff
movzx eax, byte [rax + r9]
xor byte [rsp + 3], al
lea rax, [r11 + 4]
and eax, 0x3ff
movzx eax, byte [rax + r9]
xor byte [rsp + 4], al
lea rax, [r11 + 5]
and eax, 0x3ff
movzx eax, byte [rax + r9]
xor byte [rsp + 5], al
lea rax, [r11 + 6]
and eax, 0x3ff
movzx eax, byte [rax + r9]
xor byte [rsp + 6], al
lea rax, [r11 + 7]
and eax, 0x3ff
movzx eax, byte [rax + r9]
xor byte [rsp + 7], al
add rdx, qword [rsp]
mov eax, dword [r10 + 0x7c]
test eax, eax
je 0x14004bf67
mov r9d, eax
nop word [rax + rax]
movzx ecx, byte [rbp + 0x310]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
xor rcx, rax
shr r8d, 8
xor r8d, dword [rsp + rcx*4 + 0x10]
mov dword [rbp + 0x310], r8d
sub r9, 1
jne 0x14004bf40
not r8d
cmp r8d, dword [r15 + 0x20]
jne 0x14004bf81
mov eax, dword [r10 + 0xd4]
cmp eax, dword [r15 + 0x24]
jne 0x14004bf81
mov al, 1
jmp 0x14004bf83
xor al, al
mov rcx, qword [rbp + 0x320]
xor rcx, rsp
call fcn.140057410
invalid