Function at 0x1400171c4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x21f0
call fcn.14001d460
sub rsp, rax
mov r13, qword [rcx + 0xa8]
mov rbp, rcx
mov r15, r8
mov r14, rdx
mov ebx, 0xfff
lea rcx, [rsp + 0x11f1]
xor esi, esi
mov r8, rbx
xor edx, edx
mov byte [rsp + 0x11f0], sil
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x1f1]
mov r8, rbx
xor edx, edx
mov byte [rsp + 0x1f0], sil
call sub.msvcrt.dll_memset
cmp dword [r13 + 0x68], 0xbb8
jae 0x140017583
mov ebx, dword [r13 + 0x68]
lea rdx, [r13 + 0xa0]
lea rcx, [rsp + 0x11f0]
mov r8, rbx
call sub.msvcrt.dll_memcpy
lea rdx, [r13 + 0xa0]
lea rcx, [rsp + 0x1f0]
mov r8, rbx
call sub.msvcrt.dll_memcpy
xor eax, eax
lea r8d, [rsi + 0x3f]
lea rcx, [rsp + 0x61]
xor edx, edx
mov byte [rsp + 0x40], sil
mov qword [rsp + 0x41], rax
mov qword [rsp + 0x49], rax
mov word [rsp + 0x51], ax
mov byte [rsp + 0x53], al
mov byte [rsp + 0x60], sil
call sub.msvcrt.dll_memset
movdqu xmm5, xmmword [r13 + 0x84]
lea rax, [rsp + 0x60]
mov byte [rsp + 0x53], 1
movdqu xmmword [rsp + 0x40], xmm5
mov qword [rsp + 0x30], rax
mov eax, dword [r13 + 0x94]
lea edi, [rsi + 0x14]
mov dword [rsp + 0x28], eax
mov ebx, 0x8004
lea r9, [rsp + 0x40]
mov r8, r15
mov rcx, rbp
mov edx, ebx
mov dword [rsp + 0x20], edi
call fcn.140016f54
lea rax, [rsp + 0x74]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x53], 2
mov eax, dword [r13 + 0x94]
mov dword [rsp + 0x28], eax
lea r9, [rsp + 0x40]
mov r8, r15
mov edx, ebx
mov rcx, rbp
mov dword [rsp + 0x20], edi
call fcn.140016f54
lea r8d, [rsi + 0x18]
lea rcx, [rsp + 0xac]
lea rdx, [rsp + 0x60]
mov dword [rsp + 0xa8], r8d
mov byte [rsp + 0xa0], 8
mov dword [rsp + 0xa4], 0x6603
mov byte [rsp + 0xa1], 2
call sub.msvcrt.dll_memcpy
mov rdx, qword [rbp]
mov rcx, qword [rbp + 0xc0]
lea rax, [rsp + 0x2248]
mov qword [rsp + 0x30], rax
lea r9d, [rsi + 0x24]
lea r8, [rsp + 0xa0]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x2248], rsi
mov qword [rsp + 0x20], rsi
call fcn.140018608
mov rdx, qword [rsp + 0x2248]
cmp rdx, rsi
je 0x14001757f
mov r12d, esi
lea rdi, [rsp + 0x1f0]
mov rcx, qword [rbp + 0xc0]
mov eax, r12d
xor r9d, r9d
lea rbx, [rsp + rax + 0x1f0]
mov rax, qword [rsp + rax + 0x11f0]
xor r8d, r8d
mov qword [rbx], rax
lea rax, [rsp + 0x58]
mov dword [rsp + 0x2230], 8
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x58], rsi
call fcn.140018578
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rbp + 0xc0]
lea r11, [rsp + 0x2230]
mov qword [rsp + 0x30], r11
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], esi
call fcn.1400186e8
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rbp + 0xc0]
call fcn.1400185c8
cmp r12d, esi
lea r11, [rsp + 0x78]
jbe 0x140017438
lea eax, [r12 - 8]
lea r11, [rsp + rax + 0x11f0]
mov ecx, 8
mov al, byte [r11]
add r11, 1
xor byte [rdi], al
add rdi, 1
sub rcx, 1
jne 0x14001743d
mov rdx, qword [rsp + 0x2248]
add r12d, 8
cmp r12d, dword [r13 + 0x68]
jb 0x1400173a1
mov rcx, qword [rbp + 0xc0]
call fcn.1400185c8
mov ebx, 0x7f
lea rcx, [rsp + 0x171]
mov r8, rbx
xor edx, edx
mov byte [rsp + 0x170], sil
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0xf1]
mov r8, rbx
xor edx, edx
mov byte [rsp + 0xf0], sil
call sub.msvcrt.dll_memset
lea r12d, [rbx - 0x6b]
lea r11, [rsp + 0x170]
mov qword [rsp + 0x38], r11
lea rax, [rsp + 0x1f0]
mov dword [rsp + 0x30], InitCommonControls
mov qword [rsp + 0x28], rax
lea ebx, [r12 + 0x2c]
mov edi, 0x8004
mov r9, r15
mov rcx, rbp
mov r8d, ebx
mov edx, edi
mov dword [rsp + 0x20], r12d
call fcn.140016de4
lea r11, [rsp + 0xf0]
lea rax, [rsp + 0x218]
mov qword [rsp + 0x38], r11
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x170]
mov r8d, ebx
mov edx, edi
mov rcx, rbp
mov dword [rsp + 0x20], r12d
call fcn.140016de4
lea r11, [rsp + 0xf0]
lea rax, [rsp + 0x200]
mov rcx, qword [r11]
cmp rcx, qword [rax]
jne 0x140017557
mov rcx, qword [r11 + 8]
cmp rcx, qword [rax + 8]
jne 0x140017557
mov ecx, dword [r11 + 0x10]
cmp ecx, dword [rax + 0x10]
jne 0x140017557
mov eax, esi
jmp 0x14001755c
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x14001757f
lea r8, [rsp + 0x218]
mov r9d, ebx
mov edx, edi
mov rcx, rbp
mov esi, 1
mov qword [rsp + 0x20], r14
call fcn.140016804
mov eax, esi
jmp 0x14001758f
mov dword [rbp + 0x340], 0xfffffffe
xor eax, eax
mov rbx, qword [rsp + 0x2238]
add rsp, 0x21f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret