Function at 0x1400175b4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
mov eax, 0x11f0
call fcn.14001d460
sub rsp, rax
mov rsi, qword [rcx + 0xa8]
mov rdi, rcx
mov r12, r8
mov rbp, rdx
lea rcx, [rsp + 0x1f1]
xor ebx, ebx
xor edx, edx
mov r8d, 0xfff
mov byte [rsp + 0x1f0], bl
call sub.msvcrt.dll_memset
cmp dword [rsi + 0x68], 0xbb8
jae 0x140017878
mov r8d, dword [rsi + 0x68]
lea rdx, [rsi + 0xa0]
lea rcx, [rsp + 0x1f0]
call sub.msvcrt.dll_memcpy
xor eax, eax
lea r8d, [rbx + 0x3f]
lea rcx, [rsp + 0xb1]
xor edx, edx
mov byte [rsp + 0x40], bl
mov qword [rsp + 0x41], rax
mov qword [rsp + 0x49], rax
mov word [rsp + 0x51], ax
mov byte [rsp + 0x53], al
mov byte [rsp + 0xb0], bl
call sub.msvcrt.dll_memset
movdqu xmm5, xmmword [rsi + 0x84]
lea rax, [rsp + 0xb0]
mov byte [rsp + 0x53], 1
movdqu xmmword [rsp + 0x40], xmm5
mov edx, dword [rsi + 0x98]
mov qword [rsp + 0x30], rax
mov eax, dword [rsi + 0x94]
mov dword [rsp + 0x28], eax
lea r9, [rsp + 0x40]
mov r8, r12
mov rcx, rdi
mov dword [rsp + 0x20], 0x14
call fcn.140016f54
lea r8d, [rbx + 0x20]
lea rcx, [rsp + 0x6c]
lea rdx, [rsp + 0xb0]
mov dword [rsp + 0x68], r8d
mov byte [rsp + 0x60], 8
mov dword [rsp + 0x64], 0x6610
mov byte [rsp + 0x61], 2
call sub.msvcrt.dll_memcpy
mov rdx, qword [rdi]
mov rcx, qword [rdi + 0xc0]
lea rax, [rsp + 0x1238]
mov qword [rsp + 0x30], rax
lea r9d, [rbx + 0x2c]
lea r8, [rsp + 0x60]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x1238], rbx
mov qword [rsp + 0x20], rbx
call fcn.140018608
mov rdx, qword [rsp + 0x1238]
cmp rdx, rbx
je 0x140017874
mov eax, dword [rsi + 0x68]
mov rcx, qword [rdi + 0xc0]
xor r9d, r9d
mov dword [rsp + 0x1220], eax
lea rax, [rsp + 0x1220]
xor r8d, r8d
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x1f0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
call fcn.1400186e8
mov rdx, qword [rsp + 0x1238]
mov rcx, qword [rdi + 0xc0]
call fcn.1400185c8
mov r11, rbx
mov al, byte [rsp + r11 + 0xd0]
add r11, 1
xor byte [rsp + r11 + 0x1ef], al
cmp r11, 0x10
jl 0x140017760
mov r13d, 0x7f
lea rcx, [rsp + 0xf1]
xor edx, edx
mov r8, r13
mov byte [rsp + 0xf0], bl
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x171]
mov r8, r13
xor edx, edx
mov byte [rsp + 0x170], bl
call sub.msvcrt.dll_memset
mov edx, dword [rsi + 0x98]
lea r11, [rsp + 0xf0]
mov qword [rsp + 0x38], r11
mov r9, r12
lea rax, [rsp + 0x1f0]
mov dword [rsp + 0x30], InitCommonControls
mov qword [rsp + 0x28], rax
lea r12d, [r13 + 1]
mov rcx, rdi
mov r8d, r12d
mov dword [rsp + 0x20], 0x14
call fcn.140016de4
mov edx, dword [rsi + 0x98]
lea r11, [rsp + 0x170]
mov qword [rsp + 0x38], r11
lea r13d, [r12 - 0x40]
lea rax, [rsp + 0x240]
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0xf0]
mov r8d, r12d
mov rcx, rdi
mov dword [rsp + 0x20], r13d
call fcn.140016de4
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0x170]
mov r8, r13
call sub.msvcrt.dll_memcmp
cmp eax, ebx
jne 0x140017874
lea r8, [rsp + 0x240]
mov r9d, r13d
mov edx, 0x8004
mov rcx, rdi
mov qword [rsp + 0x20], rbp
call fcn.140016804
lea ebx, [r12 - 0x7f]
mov eax, ebx
jmp 0x140017884
mov dword [rdi + 0x340], 0xfffffffe
xor eax, eax
mov rbx, qword [rsp + 0x1228]
add rsp, 0x11f0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret