Function at 0x140170dd0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x68]
sub rsp, 0x168
movzx eax, byte [rcx + 0x29]
mov r8, rcx
movzx edx, byte [rcx + 0x28]
shl edx, 8
or edx, eax
movzx eax, byte [rcx + 0x2a]
shl edx, 8
or edx, eax
movzx eax, byte [rcx + 0x2b]
movzx ecx, byte [rcx + 0x2c]
shl ecx, 8
shl edx, 8
or edx, eax
movzx eax, byte [r8 + 0x2d]
or ecx, eax
mov dword [rsp + 0x20], edx
shl ecx, 8
movzx eax, byte [r8 + 0x2e]
or ecx, eax
movzx eax, byte [r8 + 0x2f]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x31]
mov dword [rsp + 0x24], ecx
movzx ecx, byte [r8 + 0x30]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x32]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x33]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x35]
mov dword [rsp + 0x28], ecx
movzx ecx, byte [r8 + 0x34]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x36]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x37]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x39]
mov dword [rsp + 0x2c], ecx
movzx ecx, byte [r8 + 0x38]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x3a]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x3b]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x3d]
mov dword [rsp + 0x30], ecx
movzx ecx, byte [r8 + 0x3c]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x3e]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x3f]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x41]
mov dword [rsp + 0x34], ecx
movzx ecx, byte [r8 + 0x40]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x42]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x43]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x45]
mov dword [rsp + 0x38], ecx
movzx ecx, byte [r8 + 0x44]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x46]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x47]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x49]
mov dword [rsp + 0x3c], ecx
movzx ecx, byte [r8 + 0x48]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x4a]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x4b]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x4d]
mov dword [rsp + 0x40], ecx
movzx ecx, byte [r8 + 0x4c]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x4e]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x4f]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x51]
mov dword [rsp + 0x44], ecx
movzx ecx, byte [r8 + 0x50]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x52]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x53]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x55]
mov dword [rsp + 0x48], ecx
movzx ecx, byte [r8 + 0x54]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x56]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x57]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x59]
mov dword [rsp + 0x4c], ecx
movzx ecx, byte [r8 + 0x58]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x5a]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x5b]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x5d]
mov dword [rsp + 0x50], ecx
movzx ecx, byte [r8 + 0x5c]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x5e]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x5f]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x61]
mov dword [rsp + 0x54], ecx
movzx ecx, byte [r8 + 0x60]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x62]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x63]
mov r11d, 2
shl ecx, 8
or ecx, eax
mov dword [rbp + 0xb8], r11d
movzx eax, byte [r8 + 0x65]
mov dword [rsp + 0x58], ecx
movzx ecx, byte [r8 + 0x64]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x66]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x67]
shl ecx, 8
or ecx, eax
mov eax, dword [r8 + 0x10]
mov dword [rsp + 0x10], eax
mov dword [rsp + 0xc], eax
mov eax, dword [r8 + 0x14]
mov dword [rsp + 8], eax
mov eax, dword [r8 + 0x18]
mov dword [rbp + 0xc8], eax
mov eax, dword [r8 + 0x1c]
mov dword [rsp], eax
mov eax, dword [r8 + 0x20]
mov dword [rsp + 4], eax
mov dword [rsp + 0x5c], ecx
nop word [rax + rax]
mov eax, r11d
lea r14d, [r11 + 8]
lea r9, [rsp + 0x20]
lea r12, [rsp + 0x20]
lea rsi, [rsp + 0x20]
mov edx, dword [rsp + rax*4 + 0x20]
lea rdi, [rsp + 0x20]
lea eax, [r11 + 6]
mov r8d, dword [rsp + rax*4 + 0x20]
lea eax, [r11 + 0xb]
mov r15d, dword [rsp + rax*4 + 0x20]
lea eax, [r11 - 2]
mov dword [rbp + 0xc0], r8d
mov ebx, r15d
xor ebx, dword [rsp + rax*4 + 0x20]
lea eax, [r11 + 0xe]
xor ebx, r8d
lea r8, [rsp + 0x20]
xor ebx, edx
rol ebx, 1
mov dword [rsp + rax*4 + 0x20], ebx
lea eax, [r11 + 1]
lea r9, [r9 + rax*4]
lea eax, [r11 + 7]
lea r12, [r12 + rax*4]
lea eax, [r11 + 0xc]
lea rsi, [rsi + rax*4]
lea eax, [r11 - 1]
mov r13d, dword [rsp + rax*4 + 0x20]
lea eax, [r11 + 0xf]
xor r13d, dword [rsi]
xor r13d, dword [r9]
xor r13d, dword [r12]
rol r13d, 1
mov dword [rsp + rax*4 + 0x20], r13d
lea eax, [r11 + 2]
mov r10d, dword [rsp + r14*4 + 0x20]
lea r8, [r8 + rax*4]
xor r10d, dword [r8]
lea eax, [r11 + 0xd]
xor r10d, edx
lea rdi, [rdi + rax*4]
xor r10d, dword [rdi]
lea eax, [r11 + 0x10]
rol r10d, 1
lea rdx, [rsp + 0x20]
mov dword [rsp + rax*4 + 0x20], r10d
lea eax, [r11 + 3]
lea rdx, [rdx + rax*4]
lea eax, [r11 + 9]
mov r11d, dword [rsp + rax*4 + 0x20]
xor r11d, dword [rdx]
xor r11d, ebx
mov ebx, dword [rbp + 0xb8]
xor r11d, dword [r9]
lea r9, [rsp + 0x20]
rol r11d, 1
lea eax, [rbx + 0x11]
mov dword [rsp + rax*4 + 0x20], r11d
lea eax, [rbx + 4]
lea r9, [r9 + rax*4]
lea eax, [rbx + 0xa]
xor r13d, dword [rsp + rax*4 + 0x20]
lea eax, [rbx + 0x12]
xor r13d, dword [r8]
lea r8, [rsp + 0x20]
xor r13d, dword [r9]
rol r13d, 1
mov dword [rsp + rax*4 + 0x20], r13d
lea eax, [rbx + 5]
mov edx, dword [rdx]
lea r8, [r8 + rax*4]
xor edx, dword [r8]
lea eax, [rbx + 0x13]
xor edx, r10d
xor edx, r15d
rol edx, 1
mov dword [rsp + rax*4 + 0x20], edx
xor r11d, dword [rsi]
xor r11d, dword [rbp + 0xc0]
xor r11d, dword [r9]
rol r11d, 1
lea eax, [rbx + 0x14]
mov dword [rsp + rax*4 + 0x20], r11d
lea eax, [rbx + 0x15]
xor r13d, dword [r8]
mov r11d, r14d
xor r13d, dword [r12]
xor r13d, dword [rdi]
rol r13d, 1
mov dword [rsp + rax*4 + 0x20], r13d
lea eax, [r14 + 0xe]
mov dword [rbp + 0xb8], r14d
cmp eax, 0x50
jb 0x1401710a0
mov r9d, dword [rbp + 0xc8]
xor eax, eax
mov r10d, dword [rsp]
mov r11d, dword [rsp + 4]
mov ebx, dword [rsp + 8]
mov edi, dword [rsp + 0xc]
nop dword [rax + rax]
mov edx, edi
mov ecx, r10d
xor ecx, r9d
rol edx, 5
and ecx, ebx
rol ebx, 0x1e
xor ecx, r10d
add ecx, 0x5a827999
add edx, ecx
mov ecx, r9d
add edx, dword [rsp + rax*4 + 0x20]
xor ecx, ebx
and ecx, edi
add r11d, edx
xor ecx, r9d
rol edi, 0x1e
add ecx, 0x5a827999
inc eax
mov edx, r11d
rol edx, 5
add edx, ecx
mov ecx, ebx
add edx, dword [rsp + rax*4 + 0x20]
xor ecx, edi
add r10d, edx
and ecx, r11d
xor ecx, ebx
rol r11d, 0x1e
add ecx, 0x5a827999
inc eax
mov edx, r10d
rol edx, 5
add edx, ecx
mov ecx, r11d
add edx, dword [rsp + rax*4 + 0x20]
xor ecx, edi
add r9d, edx
and ecx, r10d
xor ecx, edi
rol r10d, 0x1e
add ecx, 0x5a827999
inc eax
mov edx, r9d
add edi, 0x5a827999
rol edx, 5
add edx, ecx
mov ecx, r11d
add edx, dword [rsp + rax*4 + 0x20]
xor ecx, r10d
add ebx, edx
and ecx, r9d
inc eax
rol r9d, 0x1e
xor ecx, r11d
mov edx, ebx
rol edx, 5
add edx, ecx
add edx, dword [rsp + rax*4 + 0x20]
inc eax
add edi, edx
cmp eax, 0x14
jb 0x140171230
cmp eax, 0x28
jae 0x1401713b7
nop word [rax + rax]
mov edx, edi
mov ecx, r10d
xor ecx, r9d
rol edx, 5
add edx, dword [rsp + rax*4 + 0x20]
xor ecx, ebx
add ecx, r11d
rol ebx, 0x1e
inc eax
lea r11d, [rdx + 0x6ed9eba1]
add r11d, ecx
mov ecx, r9d
xor ecx, ebx
mov edx, r11d
xor ecx, edi
rol edx, 5
add edx, dword [rsp + rax*4 + 0x20]
add ecx, r10d
inc eax
rol edi, 0x1e
lea r10d, [rdx + 0x6ed9eba1]
add r10d, ecx
mov ecx, r11d
xor ecx, ebx
rol r11d, 0x1e
xor ecx, edi
mov edx, r10d
add ecx, r9d
rol edx, 5
add edx, dword [rsp + rax*4 + 0x20]
inc eax
lea r9d, [rdx + 0x6ed9eba1]
add r9d, ecx
mov ecx, r11d
xor ecx, r10d
mov edx, r9d
xor ecx, edi
rol edx, 5
add edx, dword [rsp + rax*4 + 0x20]
add ecx, ebx
inc eax
rol r10d, 0x1e
lea ebx, [rdx + 0x6ed9eba1]
add ebx, ecx
mov ecx, r11d
xor ecx, r10d
mov edx, ebx
xor ecx, r9d
rol edx, 5
add edx, dword [rsp + rax*4 + 0x20]
add ecx, edi
inc eax
rol r9d, 0x1e
lea edi, [rdx + 0x6ed9eba1]
add edi, ecx
cmp eax, 0x28
jb 0x140171300
cmp eax, 0x3c
jae 0x1401714a4
mov edx, r9d
mov ecx, r9d
or edx, ebx
and ecx, ebx
and edx, r10d
rol ebx, 0x1e
or edx, ecx
mov r8d, edi
add edx, dword [rsp + rax*4 + 0x20]
mov ecx, ebx
add edx, r11d
rol r8d, 5
and ecx, edi
inc eax
lea r11d, [r8 - 0x70e44324]
add r11d, edx
mov edx, ebx
or edx, edi
mov r8d, r11d
and edx, r9d
rol r8d, 5
or edx, ecx
rol edi, 0x1e
add edx, dword [rsp + rax*4 + 0x20]
mov ecx, r11d
add edx, r10d
and ecx, edi
lea r10d, [r8 - 0x70e44324]
inc eax
add r10d, edx
mov edx, r11d
or edx, edi
rol r11d, 0x1e
and edx, ebx
mov r8d, r10d
or edx, ecx
rol r8d, 5
add edx, dword [rsp + rax*4 + 0x20]
mov ecx, r11d
add edx, r9d
inc eax
and ecx, r10d
lea r9d, [r8 - 0x70e44324]
add r9d, edx
mov edx, r11d
or edx, r10d
mov r8d, r9d
and edx, edi
rol r8d, 5
or edx, ecx
rol r10d, 0x1e
add edx, dword [rsp + rax*4 + 0x20]
mov ecx, r10d
add edx, ebx
inc eax
lea ebx, [r8 - 0x70e44324]
and ecx, r9d
add ebx, edx
mov edx, r10d
or edx, r9d
mov r8d, ebx
and edx, r11d
rol r8d, 5
or edx, ecx
rol r9d, 0x1e
add edx, dword [rsp + rax*4 + 0x20]
inc eax
add edx, edi
lea edi, [r8 - 0x70e44324]
add edi, edx
cmp eax, 0x3c
jb 0x1401713c0
cmp eax, 0x50
jae 0x14017157a
nop dword [rax]
mov ecx, dword [rsp + rax*4 + 0x20]
mov edx, r10d
xor edx, r9d
inc eax
xor edx, ebx
mov r8d, edi
add ecx, edx
rol r8d, 5
add ecx, r11d
rol ebx, 0x1e
mov edx, r9d
xor edx, ebx
xor edx, edi
lea r11d, [r8 - 0x359d3e2a]
add r11d, ecx
rol edi, 0x1e
mov ecx, dword [rsp + rax*4 + 0x20]
mov r8d, r11d
add ecx, edx
rol r8d, 5
add ecx, r10d
inc eax
mov edx, r11d
rol r11d, 0x1e
xor edx, ebx
xor edx, edi
lea r10d, [r8 - 0x359d3e2a]
add r10d, ecx
mov ecx, dword [rsp + rax*4 + 0x20]
add ecx, edx
inc eax
add ecx, r9d
mov r8d, r10d
rol r8d, 5
mov edx, r11d
xor edx, r10d
rol r10d, 0x1e
xor edx, edi
lea r9d, [r8 - 0x359d3e2a]
add r9d, ecx
mov ecx, dword [rsp + rax*4 + 0x20]
add ecx, edx
inc eax
add ecx, ebx
mov r8d, r9d
rol r8d, 5
mov edx, r11d
xor edx, r10d
xor edx, r9d
rol r9d, 0x1e
lea ebx, [r8 - 0x359d3e2a]
add ebx, ecx
mov ecx, dword [rsp + rax*4 + 0x20]
add ecx, edx
mov r8d, ebx
add ecx, edi
rol r8d, 5
inc eax
lea edi, [r8 - 0x359d3e2a]
add edi, ecx
cmp eax, 0x50
jb 0x1401714b0
mov rcx, qword [rbp + 0xb0]
mov eax, dword [rsp + 0x10]
add eax, edi
add dword [rcx + 0x14], ebx
add dword [rcx + 0x18], r9d
add dword [rcx + 0x1c], r10d
add dword [rcx + 0x20], r11d
mov dword [rcx + 0x10], eax
add rsp, 0x168
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret