Function at 0x140001770
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x18], r8
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, qword [rcx + 8]
lea r13, [0x140000000]
movzx eax, byte [rdx + 2]
mov r14, r8
movzx ebx, byte [rdx + 3]
movzx r15d, byte [rdx + 7]
movzx r12d, byte [rdx + 0xb]
movzx r8d, byte [rdx + 0xf]
shl ebx, 8
or ebx, eax
shl r15d, 8
movzx eax, byte [rdx + 1]
shl r12d, 8
shl r8d, 8
shl ebx, 8
or ebx, eax
movzx eax, byte [rdx]
shl ebx, 8
or ebx, eax
movzx eax, byte [rdx + 6]
xor ebx, dword [rbp]
or r15d, eax
movzx eax, byte [rdx + 5]
shl r15d, 8
or r15d, eax
movzx eax, byte [rdx + 4]
shl r15d, 8
or r15d, eax
movzx eax, byte [rdx + 0xa]
xor r15d, dword [rbp + 4]
or r12d, eax
movzx eax, byte [rdx + 9]
shl r12d, 8
or r12d, eax
movzx eax, byte [rdx + 8]
shl r12d, 8
or r12d, eax
movzx eax, byte [rdx + 0xe]
xor r12d, dword [rbp + 8]
or r8d, eax
movzx eax, byte [rdx + 0xd]
shl r8d, 8
or r8d, eax
movzx eax, byte [rdx + 0xc]
shl r8d, 8
or r8d, eax
mov eax, dword [rcx + 4]
xor r8d, dword [rbp + 0xc]
add rbp, 0x10
sar eax, 1
dec eax
cmp dword [rcx], 0
jne 0x140001cdb
test eax, eax
jle 0x140001a81
mov r14d, eax
mov edi, ebx
mov esi, r8d
mov eax, r12d
shr rax, 0x10
movzx edx, al
mov eax, r8d
shr rax, 8
movzx ecx, al
mov ebx, dword [r13 + rdx*4 + 0x143640]
mov eax, r15d
shr rax, 0x18
xor ebx, dword [r13 + rcx*4 + 0x142640]
mov r10d, r15d
shr r10, 0x10
xor ebx, dword [r13 + rax*4 + 0x141900]
movzx eax, dil
mov r11d, r12d
shr r11, 8
xor ebx, dword [r13 + rax*4 + 0x142a40]
mov eax, edi
xor ebx, dword [rbp]
shr rax, 8
movzx edx, al
mov eax, r8d
shr rax, 0x10
movzx ecx, al
mov r9d, dword [r13 + rdx*4 + 0x142640]
mov eax, r12d
shr rax, 0x18
xor r9d, dword [r13 + rcx*4 + 0x143640]
xor r9d, dword [r13 + rax*4 + 0x141900]
movzx eax, r15b
xor r9d, dword [r13 + rax*4 + 0x142a40]
mov eax, edi
xor r9d, dword [rbp + 4]
shr rax, 0x10
movzx edx, al
shr rdi, 0x18
mov eax, r15d
shr rax, 8
mov r8d, dword [r13 + rdx*4 + 0x143640]
movzx ecx, al
mov eax, esi
shr rax, 0x18
xor r8d, dword [r13 + rcx*4 + 0x142640]
xor r8d, dword [r13 + rax*4 + 0x141900]
movzx ecx, r10b
movzx eax, r12b
mov edx, dword [r13 + rcx*4 + 0x143640]
xor r8d, dword [r13 + rax*4 + 0x142a40]
xor r8d, dword [rbp + 8]
movzx eax, r11b
mov r11d, ebx
mov r10d, r8d
mov r8d, r9d
xor edx, dword [r13 + rax*4 + 0x142640]
xor edx, dword [r13 + rdi*4 + 0x141900]
movzx eax, sil
xor edx, dword [r13 + rax*4 + 0x142a40]
mov eax, r10d
xor edx, dword [rbp + 0xc]
shr rax, 0x10
mov edi, edx
movzx edx, al
mov eax, edi
shr rax, 8
movzx ecx, al
mov eax, r9d
mov ebx, dword [r13 + rdx*4 + 0x143640]
shr rax, 0x18
xor ebx, dword [r13 + rcx*4 + 0x142640]
xor ebx, dword [r13 + rax*4 + 0x141900]
movzx eax, r11b
xor ebx, dword [r13 + rax*4 + 0x142a40]
mov eax, r11d
xor ebx, dword [rbp + 0x10]
shr rax, 8
movzx edx, al
mov eax, edi
shr rax, 0x10
movzx ecx, al
mov r15d, dword [r13 + rdx*4 + 0x142640]
mov eax, r10d
xor r15d, dword [r13 + rcx*4 + 0x143640]
dec r14d
shr rax, 0x18
shr r8, 0x10
xor r15d, dword [r13 + rax*4 + 0x141900]
movzx eax, r9b
xor r15d, dword [r13 + rax*4 + 0x142a40]
mov eax, r11d
xor r15d, dword [rbp + 0x14]
shr rax, 0x10
movzx edx, al
shr r11, 0x18
mov eax, r9d
shr rax, 8
mov r12d, dword [r13 + rdx*4 + 0x143640]
movzx ecx, al
mov eax, edi
shr rax, 0x18
xor r12d, dword [r13 + rcx*4 + 0x142640]
xor r12d, dword [r13 + rax*4 + 0x141900]
movzx ecx, r8b
movzx eax, r10b
shr r10, 8
mov r8d, dword [r13 + rcx*4 + 0x143640]
xor r12d, dword [r13 + rax*4 + 0x142a40]
xor r12d, dword [rbp + 0x18]
movzx eax, r10b
xor r8d, dword [r13 + rax*4 + 0x142640]
xor r8d, dword [r13 + r11*4 + 0x141900]
movzx eax, dil
xor r8d, dword [r13 + rax*4 + 0x142a40]
xor r8d, dword [rbp + 0x1c]
add rbp, 0x20
test r14d, r14d
jg 0x140001855
mov r14, qword [rsp + 0x48]
mov esi, r8d
mov eax, r12d
shr rax, 0x10
movzx edx, al
mov eax, r8d
shr rax, 8
movzx ecx, al
mov edi, dword [r13 + rdx*4 + 0x143640]
mov eax, r15d
shr rax, 0x18
xor edi, dword [r13 + rcx*4 + 0x142640]
mov r10d, r15d
shr r10, 0x10
xor edi, dword [r13 + rax*4 + 0x141900]
movzx eax, bl
mov r11d, r12d
shr r11, 8
xor edi, dword [r13 + rax*4 + 0x142a40]
mov rax, rbx
xor edi, dword [rbp]
shr rax, 8
movzx edx, al
mov eax, r8d
shr rax, 0x10
movzx ecx, al
mov r9d, dword [r13 + rdx*4 + 0x142640]
mov eax, r12d
shr rax, 0x18
xor r9d, dword [r13 + rcx*4 + 0x143640]
xor r9d, dword [r13 + rax*4 + 0x141900]
movzx eax, r15b
xor r9d, dword [r13 + rax*4 + 0x142a40]
mov rax, rbx
xor r9d, dword [rbp + 4]
shr rax, 0x10
movzx edx, al
shr rbx, 0x18
mov eax, r15d
shr rax, 8
mov r8d, dword [r13 + rdx*4 + 0x143640]
movzx ecx, al
mov eax, esi
shr rax, 0x18
xor r8d, dword [r13 + rcx*4 + 0x142640]
xor r8d, dword [r13 + rax*4 + 0x141900]
movzx ecx, r10b
movzx eax, r12b
mov edx, dword [r13 + rcx*4 + 0x143640]
xor r8d, dword [r13 + rax*4 + 0x142a40]
xor r8d, dword [rbp + 8]
movzx eax, r11b
mov r10d, r8d
mov r8d, r9d
xor edx, dword [r13 + rax*4 + 0x142640]
xor edx, dword [r13 + rbx*4 + 0x141900]
movzx eax, sil
xor edx, dword [r13 + rax*4 + 0x142a40]
mov eax, r10d
xor edx, dword [rbp + 0xc]
shr rax, 0x10
movzx ecx, al
mov eax, r8d
shr rax, 0x18
mov r9d, edx
mov edx, edi
movzx ebx, byte [rcx + r13 + 0x141d00]
movzx eax, byte [rax + r13 + 0x141d00]
shl eax, 8
xor ebx, eax
mov eax, r9d
shr rax, 8
movzx ecx, al
shl ebx, 8
movzx eax, byte [rcx + r13 + 0x141d00]
xor ebx, eax
movzx eax, dil
shl ebx, 8
movzx eax, byte [rax + r13 + 0x141d00]
xor ebx, eax
mov eax, r9d
xor ebx, dword [rbp + 0x10]
shr rax, 0x10
movzx ecx, al
mov eax, r10d
shr rax, 0x18
movzx edi, byte [rcx + r13 + 0x141d00]
movzx eax, byte [rax + r13 + 0x141d00]
shl eax, 8
xor edi, eax
mov eax, edx
shr rax, 8
movzx ecx, al
shl edi, 8
movzx eax, byte [rcx + r13 + 0x141d00]
xor edi, eax
movzx eax, r8b
shl edi, 8
movzx eax, byte [rax + r13 + 0x141d00]
xor edi, eax
mov eax, edx
xor edi, dword [rbp + 0x14]
shr rax, 0x10
movzx ecx, al
mov eax, r9d
shr rax, 0x18
shr rdx, 0x18
movzx esi, byte [rcx + r13 + 0x141d00]
movzx eax, byte [rax + r13 + 0x141d00]
shl eax, 8
xor esi, eax
mov eax, r8d
shr rax, 8
movzx ecx, al
shl esi, 8
shr r8, 0x10
movzx eax, byte [rcx + r13 + 0x141d00]
movzx ecx, byte [rdx + r13 + 0x141d00]
xor esi, eax
movzx eax, r10b
shl ecx, 8
shl esi, 8
shr r10, 8
movzx eax, byte [rax + r13 + 0x141d00]
xor esi, eax
movzx eax, r8b
movzx eax, byte [rax + r13 + 0x141d00]
xor ecx, eax
movzx eax, r10b
shl ecx, 8
movzx eax, byte [rax + r13 + 0x141d00]
xor ecx, eax
movzx eax, r9b
movzx eax, byte [rax + r13 + 0x141d00]
jmp 0x140002174
test eax, eax
jle 0x140001f1a
mov r14d, eax
mov r10d, ebx
mov edi, r8d
mov eax, r15d
shr rax, 8
movzx edx, al
mov eax, r12d
shr rax, 0x10
movzx ecx, al
mov ebx, dword [r13 + rdx*4 + 0x142e40]
mov eax, r8d
shr rax, 0x18
xor ebx, dword [r13 + rcx*4 + 0x142240]
mov r11d, r15d
shr r11, 0x10
xor ebx, dword [r13 + rax*4 + 0x141e30]
movzx eax, r10b
mov esi, r12d
shr rsi, 0x18
xor ebx, dword [r13 + rax*4 + 0x143240]
xor ebx, dword [rbp]
mov eax, r12d
shr rax, 8
movzx edx, al
mov eax, r8d
shr rax, 0x10
movzx ecx, al
mov eax, r10d
mov r9d, dword [r13 + rdx*4 + 0x142e40]
shr rax, 0x18
xor r9d, dword [r13 + rcx*4 + 0x142240]
xor r9d, dword [r13 + rax*4 + 0x141e30]
movzx eax, r15b
xor r9d, dword [r13 + rax*4 + 0x143240]
mov eax, r10d
xor r9d, dword [rbp + 4]
shr rax, 0x10
movzx edx, al
mov eax, r8d
shr rax, 8
movzx ecx, al
mov r8d, dword [r13 + rdx*4 + 0x142240]
shr r10, 8
mov eax, r15d
xor r8d, dword [r13 + rcx*4 + 0x142e40]
shr rax, 0x18
movzx ecx, r10b
mov r10d, r9d
xor r8d, dword [r13 + rax*4 + 0x141e30]
mov edx, dword [r13 + rcx*4 + 0x142e40]
movzx eax, r12b
xor r8d, dword [r13 + rax*4 + 0x143240]
xor r8d, dword [rbp + 8]
movzx eax, r11b
mov r11d, r8d
mov r8d, ebx
xor edx, dword [r13 + rax*4 + 0x142240]
xor edx, dword [r13 + rsi*4 + 0x141e30]
movzx eax, dil
xor edx, dword [r13 + rax*4 + 0x143240]
mov eax, r10d
xor edx, dword [rbp + 0xc]
shr rax, 8
mov r9d, edx
movzx edx, al
mov eax, r11d
shr rax, 0x10
movzx ecx, al
mov eax, r9d
shr rax, 0x18
mov ebx, dword [r13 + rdx*4 + 0x142e40]
xor ebx, dword [r13 + rcx*4 + 0x142240]
xor ebx, dword [r13 + rax*4 + 0x141e30]
movzx eax, r8b
xor ebx, dword [r13 + rax*4 + 0x143240]
mov eax, r9d
xor ebx, dword [rbp + 0x10]
shr rax, 0x10
movzx edx, al
mov eax, r11d
shr rax, 8
movzx ecx, al
mov r15d, dword [r13 + rdx*4 + 0x142240]
mov eax, r8d
xor r15d, dword [r13 + rcx*4 + 0x142e40]
dec r14d
shr rax, 0x18
xor r15d, dword [r13 + rax*4 + 0x141e30]
movzx eax, r10b
xor r15d, dword [r13 + rax*4 + 0x143240]
mov eax, r9d
xor r15d, dword [rbp + 0x14]
shr rax, 8
movzx edx, al
mov eax, r8d
shr rax, 0x10
movzx ecx, al
mov eax, r10d
shr r8, 8
mov r12d, dword [r13 + rdx*4 + 0x142e40]
shr rax, 0x18
xor r12d, dword [r13 + rcx*4 + 0x142240]
movzx ecx, r8b
shr r10, 0x10
xor r12d, dword [r13 + rax*4 + 0x141e30]
movzx eax, r11b
mov r8d, dword [r13 + rcx*4 + 0x142e40]
shr r11, 0x18
xor r12d, dword [r13 + rax*4 + 0x143240]
xor r12d, dword [rbp + 0x18]
movzx eax, r10b
xor r8d, dword [r13 + rax*4 + 0x142240]
xor r8d, dword [r13 + r11*4 + 0x141e30]
movzx eax, r9b
xor r8d, dword [r13 + rax*4 + 0x143240]
xor r8d, dword [rbp + 0x1c]
add rbp, 0x20
test r14d, r14d
jg 0x140001ce6
mov r14, qword [rsp + 0x48]
mov r10d, ebx
mov edi, r8d
mov eax, r15d
shr rax, 8
movzx edx, al
mov eax, r12d
shr rax, 0x10
movzx ecx, al
mov ebx, dword [r13 + rdx*4 + 0x142e40]
mov eax, r8d
shr rax, 0x18
xor ebx, dword [r13 + rcx*4 + 0x142240]
mov r11d, r15d
shr r11, 0x10
xor ebx, dword [r13 + rax*4 + 0x141e30]
movzx eax, r10b
mov esi, r12d
shr rsi, 0x18
xor ebx, dword [r13 + rax*4 + 0x143240]
xor ebx, dword [rbp]
mov eax, r12d
shr rax, 8
movzx edx, al
mov eax, r8d
shr rax, 0x10
movzx ecx, al
mov eax, r10d
mov r9d, dword [r13 + rdx*4 + 0x142e40]
shr rax, 0x18
xor r9d, dword [r13 + rcx*4 + 0x142240]
xor r9d, dword [r13 + rax*4 + 0x141e30]
movzx eax, r15b
xor r9d, dword [r13 + rax*4 + 0x143240]
mov eax, r10d
xor r9d, dword [rbp + 4]
shr rax, 0x10
movzx edx, al
mov eax, r8d
shr rax, 8
movzx ecx, al
mov r8d, dword [r13 + rdx*4 + 0x142240]
shr r10, 8
mov eax, r15d
xor r8d, dword [r13 + rcx*4 + 0x142e40]
shr rax, 0x18
movzx ecx, r10b
mov edx, r9d
xor r8d, dword [r13 + rax*4 + 0x141e30]
movzx eax, r12b
xor r8d, dword [r13 + rax*4 + 0x143240]
xor r8d, dword [rbp + 8]
movzx eax, r11b
mov r11d, dword [r13 + rcx*4 + 0x142e40]
mov r10d, r8d
mov r8d, ebx
xor r11d, dword [r13 + rax*4 + 0x142240]
xor r11d, dword [r13 + rsi*4 + 0x141e30]
movzx eax, dil
xor r11d, dword [r13 + rax*4 + 0x143240]
mov eax, r10d
xor r11d, dword [rbp + 0xc]
shr rax, 0x10
movzx ecx, al
mov eax, r11d
shr rax, 0x18
movzx ebx, byte [rcx + r13 + 0x141800]
movzx eax, byte [rax + r13 + 0x141800]
shl eax, 8
xor ebx, eax
mov eax, r9d
shr rax, 8
movzx ecx, al
shl ebx, 8
movzx eax, byte [rcx + r13 + 0x141800]
xor ebx, eax
movzx eax, r8b
shl ebx, 8
movzx eax, byte [rax + r13 + 0x141800]
xor ebx, eax
mov eax, r11d
xor ebx, dword [rbp + 0x10]
shr rax, 0x10
movzx ecx, al
mov eax, r8d
shr rax, 0x18
shr rdx, 0x10
movzx edi, byte [rcx + r13 + 0x141800]
movzx eax, byte [rax + r13 + 0x141800]
shl eax, 8
xor edi, eax
mov eax, r10d
shr rax, 8
movzx ecx, al
shl edi, 8
movzx eax, byte [rcx + r13 + 0x141800]
xor edi, eax
movzx eax, r9b
shl edi, 8
movzx eax, byte [rax + r13 + 0x141800]
xor edi, eax
mov eax, r8d
xor edi, dword [rbp + 0x14]
shr rax, 0x10
movzx ecx, al
mov eax, r9d
shr rax, 0x18
shr r8, 8
movzx esi, byte [rcx + r13 + 0x141800]
movzx eax, byte [rax + r13 + 0x141800]
shl eax, 8
xor esi, eax
mov eax, r11d
shr rax, 8
movzx ecx, al
shl esi, 8
movzx eax, byte [rcx + r13 + 0x141800]
xor esi, eax
movzx eax, r10b
shl esi, 8
shr r10, 0x18
movzx eax, byte [rax + r13 + 0x141800]
xor esi, eax
movzx eax, dl
movzx ecx, byte [rax + r13 + 0x141800]
movzx eax, byte [r10 + r13 + 0x141800]
shl eax, 8
xor ecx, eax
movzx eax, r8b
shl ecx, 8
movzx eax, byte [rax + r13 + 0x141800]
xor ecx, eax
movzx eax, r11b
movzx eax, byte [rax + r13 + 0x141800]
xor esi, dword [rbp + 0x18]
shl ecx, 8
xor ecx, eax
mov eax, ebx
xor ecx, dword [rbp + 0x1c]
mov rbp, qword [rsp + 0x50]
shr eax, 8
mov byte [r14 + 1], al
mov eax, ebx
shr eax, 0x10
mov byte [r14 + 2], al
mov eax, edi
shr eax, 8
mov byte [r14 + 5], al
mov eax, edi
shr eax, 0x10
mov byte [r14 + 6], al
mov eax, esi
shr eax, 8
mov byte [r14 + 9], al
mov eax, esi
shr eax, 0x10
mov byte [r14 + 0xa], al
mov eax, ecx
shr eax, 8
mov byte [r14 + 0xd], al
mov eax, ecx
mov byte [r14], bl
shr ebx, 0x18
shr eax, 0x10
mov byte [r14 + 4], dil
shr edi, 0x18
mov byte [r14 + 8], sil
shr esi, 0x18
mov byte [r14 + 0xc], cl
shr ecx, 0x18
mov byte [r14 + 0xe], al
xor eax, eax
mov byte [r14 + 3], bl
mov rbx, qword [rsp + 0x40]
mov byte [r14 + 7], dil
mov byte [r14 + 0xb], sil
mov byte [r14 + 0xf], cl
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret