Function at 0x140240880
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
movzx eax, byte [rdx + 0xa]
mov r15, rcx
movzx edi, byte [rdx + 0xb]
mov r14, r8
movzx esi, byte [rdx + 0xf]
mov r13d, 2
movzx ebp, byte [rdx + 7]
shl edi, 8
lea r12, [r15 + 0x1140]
or edi, eax
shl esi, 8
movzx eax, byte [rdx + 9]
shl ebp, 8
shl edi, 8
or edi, eax
movzx eax, byte [rdx + 8]
shl edi, 8
or edi, eax
movzx eax, byte [rdx + 0xe]
xor edi, dword [rcx + 0x10c8]
or esi, eax
movzx eax, byte [rdx + 0xd]
shl esi, 8
or esi, eax
movzx eax, byte [rdx + 0xc]
shl esi, 8
or esi, eax
movzx eax, byte [rdx + 3]
xor esi, dword [rcx + 0x10cc]
movzx ecx, byte [rdx + 2]
shl eax, 8
or eax, ecx
movzx ecx, byte [rdx + 1]
shl eax, 8
or eax, ecx
movzx ecx, byte [rdx]
shl eax, 8
or eax, ecx
movzx ecx, byte [rdx + 6]
xor eax, dword [r15 + 0x10c0]
or ebp, ecx
movzx ecx, byte [rdx + 5]
shl ebp, 8
or ebp, ecx
movzx ecx, byte [rdx + 4]
shl ebp, 8
or ebp, ecx
xor ebp, dword [r15 + 0x10c4]
nop dword [rax]
nop dword [rax + rax]
mov r10d, dword [r12 + 0xc]
mov ecx, ebp
shr ecx, 0x10
movzx edx, cl
mov ecx, ebp
shr ecx, 8
movzx ecx, cl
mov r11d, dword [r12 + 4]
mov r9d, dword [r15 + rdx*4 + 0xcb0]
mov edx, eax
xor r9d, dword [r15 + rcx*4 + 0x8b0]
shr rdx, 0x18
mov ecx, ebp
shr rcx, 0x18
rol edi, 1
mov r8d, dword [r15 + rdx*4 + 0xcb0]
xor r9d, dword [r15 + rcx*4 + 0xb0]
movzx ecx, bpl
xor r9d, dword [r15 + rcx*4 + 0x4b0]
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
xor r8d, dword [r15 + rcx*4 + 0x8b0]
mov ecx, eax
shr ecx, 8
movzx edx, cl
movzx ecx, al
rol eax, 1
xor r8d, dword [r15 + rdx*4 + 0x4b0]
xor r8d, dword [r15 + rcx*4 + 0xb0]
mov ecx, dword [r12 + 8]
add r8d, r9d
add ecx, r8d
add r10d, r8d
xor edi, ecx
add r10d, r9d
xor r10d, esi
ror r10d, 1
mov ecx, r10d
shr ecx, 0x10
movzx edx, cl
mov ecx, r10d
shr ecx, 8
movzx ecx, cl
mov r9d, dword [r15 + rdx*4 + 0xcb0]
mov edx, edi
xor r9d, dword [r15 + rcx*4 + 0x8b0]
shr rdx, 0x18
mov ecx, r10d
shr rcx, 0x18
mov r8d, dword [r15 + rdx*4 + 0xcb0]
xor r9d, dword [r15 + rcx*4 + 0xb0]
movzx ecx, r10b
xor r9d, dword [r15 + rcx*4 + 0x4b0]
mov ecx, edi
shr ecx, 0x10
movzx ecx, cl
xor r8d, dword [r15 + rcx*4 + 0x8b0]
mov ecx, edi
shr ecx, 8
movzx edx, cl
movzx ecx, dil
xor r8d, dword [r15 + rdx*4 + 0x4b0]
xor r8d, dword [r15 + rcx*4 + 0xb0]
mov edx, dword [r12]
add r8d, r9d
add r11d, r8d
add edx, r8d
add r11d, r9d
xor eax, edx
xor r11d, ebp
ror r11d, 1
mov ecx, r11d
shr ecx, 0x10
movzx edx, cl
mov ecx, r11d
shr ecx, 8
movzx ecx, cl
mov r9d, dword [r15 + rdx*4 + 0xcb0]
xor r9d, dword [r15 + rcx*4 + 0x8b0]
mov ecx, r11d
shr rcx, 0x18
mov ebx, dword [r12 - 4]
mov edx, eax
shr rdx, 0x18
xor r9d, dword [r15 + rcx*4 + 0xb0]
movzx ecx, r11b
rol edi, 1
mov r8d, dword [r15 + rdx*4 + 0xcb0]
xor r9d, dword [r15 + rcx*4 + 0x4b0]
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
xor r8d, dword [r15 + rcx*4 + 0x8b0]
mov ecx, eax
shr ecx, 8
movzx edx, cl
movzx ecx, al
rol eax, 1
xor r8d, dword [r15 + rdx*4 + 0x4b0]
xor r8d, dword [r15 + rcx*4 + 0xb0]
mov ecx, dword [r12 - 8]
add r8d, r9d
add ecx, r8d
add ebx, r8d
xor edi, ecx
add ebx, r9d
xor ebx, r10d
mov r10d, dword [r12 - 0xc]
ror ebx, 1
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov r9d, dword [r15 + rdx*4 + 0xcb0]
mov edx, edi
xor r9d, dword [r15 + rcx*4 + 0x8b0]
shr rdx, 0x18
mov ecx, ebx
shr rcx, 0x18
mov r8d, dword [r15 + rdx*4 + 0xcb0]
xor r9d, dword [r15 + rcx*4 + 0xb0]
movzx ecx, bl
xor r9d, dword [r15 + rcx*4 + 0x4b0]
mov ecx, edi
shr ecx, 0x10
movzx ecx, cl
xor r8d, dword [r15 + rcx*4 + 0x8b0]
mov ecx, edi
shr ecx, 8
movzx edx, cl
movzx ecx, dil
xor r8d, dword [r15 + rdx*4 + 0x4b0]
xor r8d, dword [r15 + rcx*4 + 0xb0]
mov edx, dword [r12 - 0x10]
add r8d, r9d
add edx, r8d
add r10d, r8d
add r10d, r9d
xor eax, edx
xor r10d, r11d
ror r10d, 1
mov ecx, r10d
shr ecx, 0x10
movzx edx, cl
mov ecx, r10d
shr ecx, 8
movzx ecx, cl
mov r9d, dword [r15 + rdx*4 + 0xcb0]
mov edx, eax
xor r9d, dword [r15 + rcx*4 + 0x8b0]
mov ecx, r10d
shr rcx, 0x18
shr rdx, 0x18
xor r9d, dword [r15 + rcx*4 + 0xb0]
movzx ecx, r10b
xor r9d, dword [r15 + rcx*4 + 0x4b0]
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
mov r8d, dword [r15 + rdx*4 + 0xcb0]
xor r8d, dword [r15 + rcx*4 + 0x8b0]
mov ecx, eax
shr ecx, 8
movzx edx, cl
mov r11d, dword [r12 - 0x14]
movzx ecx, al
rol edi, 1
xor r8d, dword [r15 + rdx*4 + 0x4b0]
rol eax, 1
xor r8d, dword [r15 + rcx*4 + 0xb0]
mov ecx, dword [r12 - 0x18]
add r8d, r9d
add ecx, r8d
add r11d, r8d
xor edi, ecx
add r11d, r9d
xor r11d, ebx
mov ebx, dword [r12 - 0x1c]
ror r11d, 1
mov ecx, r11d
shr ecx, 0x10
movzx edx, cl
mov ecx, r11d
shr ecx, 8
movzx ecx, cl
mov r9d, dword [r15 + rdx*4 + 0xcb0]
mov edx, edi
xor r9d, dword [r15 + rcx*4 + 0x8b0]
shr rdx, 0x18
mov ecx, r11d
shr rcx, 0x18
mov r8d, dword [r15 + rdx*4 + 0xcb0]
xor r9d, dword [r15 + rcx*4 + 0xb0]
movzx ecx, r11b
xor r9d, dword [r15 + rcx*4 + 0x4b0]
mov ecx, edi
shr ecx, 0x10
movzx ecx, cl
xor r8d, dword [r15 + rcx*4 + 0x8b0]
mov ecx, edi
shr ecx, 8
movzx edx, cl
movzx ecx, dil
xor r8d, dword [r15 + rdx*4 + 0x4b0]
xor r8d, dword [r15 + rcx*4 + 0xb0]
mov edx, dword [r12 - 0x20]
add r8d, r9d
add edx, r8d
add ebx, r8d
xor eax, edx
add ebx, r9d
xor ebx, r10d
ror ebx, 1
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov r9d, dword [r15 + rdx*4 + 0xcb0]
mov edx, eax
xor r9d, dword [r15 + rcx*4 + 0x8b0]
shr rdx, 0x18
mov ecx, ebx
shr rcx, 0x18
mov r8d, dword [r15 + rdx*4 + 0xcb0]
xor r9d, dword [r15 + rcx*4 + 0xb0]
movzx ecx, bl
xor r9d, dword [r15 + rcx*4 + 0x4b0]
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
xor r8d, dword [r15 + rcx*4 + 0x8b0]
mov ecx, eax
shr ecx, 8
movzx edx, cl
movzx ecx, al
xor r8d, dword [r15 + rdx*4 + 0x4b0]
xor r8d, dword [r15 + rcx*4 + 0xb0]
add r8d, r9d
mov ecx, dword [r12 - 0x28]
mov esi, dword [r12 - 0x24]
add ecx, r8d
mov ebp, dword [r12 - 0x2c]
lea r12, [r12 - 0x40]
add esi, r8d
rol edi, 1
xor edi, ecx
rol eax, 1
add esi, r9d
xor esi, r11d
ror esi, 1
mov ecx, esi
shr ecx, 0x10
movzx edx, cl
mov ecx, esi
shr ecx, 8
movzx ecx, cl
mov r9d, dword [r15 + rdx*4 + 0xcb0]
mov edx, edi
xor r9d, dword [r15 + rcx*4 + 0x8b0]
shr rdx, 0x18
mov ecx, esi
shr rcx, 0x18
mov r8d, dword [r15 + rdx*4 + 0xcb0]
xor r9d, dword [r15 + rcx*4 + 0xb0]
movzx ecx, sil
xor r9d, dword [r15 + rcx*4 + 0x4b0]
mov ecx, edi
shr ecx, 0x10
movzx ecx, cl
xor r8d, dword [r15 + rcx*4 + 0x8b0]
mov ecx, edi
shr ecx, 8
movzx edx, cl
movzx ecx, dil
xor r8d, dword [r15 + rdx*4 + 0x4b0]
xor r8d, dword [r15 + rcx*4 + 0xb0]
mov edx, dword [r12 + 0x10]
add r8d, r9d
add ebp, r8d
add edx, r8d
add ebp, r9d
xor eax, edx
xor ebp, ebx
ror ebp, 1
sub r13, 1
jne 0x140240950
xor eax, dword [r15 + 0x10b8]
xor edi, dword [r15 + 0x10b0]
xor esi, dword [r15 + 0x10b4]
mov ecx, edi
xor ebp, dword [r15 + 0x10bc]
mov rbx, qword [rsp + 0x28]
shr ecx, 0x18
mov byte [r14 + 3], cl
mov ecx, edi
shr ecx, 0x10
mov byte [r14 + 2], cl
mov ecx, edi
shr ecx, 8
mov byte [r14 + 1], cl
mov ecx, esi
shr ecx, 0x18
mov byte [r14 + 7], cl
mov ecx, esi
shr ecx, 0x10
mov byte [r14 + 6], cl
mov ecx, esi
shr ecx, 8
mov byte [r14 + 5], cl
mov ecx, eax
shr ecx, 0x18
mov byte [r14 + 8], al
mov byte [r14 + 0xb], cl
mov ecx, eax
shr ecx, 0x10
mov byte [r14 + 0xa], cl
mov ecx, eax
mov eax, ebp
shr ecx, 8
shr eax, 0x18
mov byte [r14 + 0xf], al
mov eax, ebp
shr eax, 0x10
mov byte [r14 + 0xe], al
mov eax, ebp
shr eax, 8
mov byte [r14], dil
mov rdi, qword [rsp + 0x40]
mov byte [r14 + 4], sil
mov rsi, qword [rsp + 0x38]
mov byte [r14 + 0xc], bpl
mov rbp, qword [rsp + 0x30]
mov byte [r14 + 0xd], al
mov byte [r14 + 9], cl
pop r15
pop r14
pop r13
pop r12
ret