Function at 0x14001b668
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x4c8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x440], 0xfffffffffffffffe
mov r14, r9
mov r15, r8
mov rdi, rdx
mov rsi, rcx
lea rbx, str.srccollectors_firefox.rs
mov edx, 1
mov rcx, rdi
mov r8, rbx
call fcn.14004007d
mov rcx, rax
xor edx, edx
mov r8, rbx
call fcn.14004007d
movzx ecx, byte [rax + 0x28]
add rcx, 0xfffffffffffffff9
cmp rcx, 1
ja 0x14001ba0e
mov qword [rbp + 0x3f0], rdi
mov qword [rbp + 0x438], r14
mov qword [rbp + 0x3f8], r15
mov qword [rbp + 0x418], rsi
add rax, 0x30
lea rcx, [rbp + 0x1a8]
mov rdx, rax
call fcn.14003d56a
pxor xmm0, xmm0
movdqa xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x50], 0
mov r10b, 1
lea r12, [0x14024c033]
xor r15d, r15d
lea r11, [0x1401a2488]
mov r8, r12
movzx r9d, byte [r15 + r11]
mov rcx, r15
or rcx, 1
movzx esi, byte [rcx + r11]
mov rcx, r15
or rcx, 2
movzx edi, byte [rcx + r11]
mov rcx, r15
or rcx, 3
movzx ecx, byte [rcx + r11]
mov rbx, r15
or rbx, 4
movzx ebx, byte [rbx + r11]
mov rdx, r15
or rdx, 5
movzx r14d, byte [rdx + r11]
mov rdx, r15
or rdx, 6
mov r13, r15
or r13, 7
movzx edx, byte [rdx + r11]
movzx eax, byte [r13 + r11]
shl rax, 0x38
shl rdx, 0x30
or rdx, rax
shl r14, 0x28
shl rbx, 0x20
shl rcx, 0x18
shl rdi, 0x10
shl rsi, 8
or rsi, r9
or rsi, rdi
or rsi, rcx
or rsi, rbx
or rsi, r14
or rsi, rdx
xor rsi, qword [r8]
mov qword [rbp + r15 - 0x60], rsi
lea r8, [r15 + r12]
add r8, 8
mov r15d, 8
test r10b, 1
mov r10d, 0
jne 0x14001b725
movzx eax, word [r8]
xor eax, 0x14c5
mov word [rbp - 0x50], ax
cmp qword [rbp + 0x1b8], 0x12
jne 0x14001ba26
lea rcx, [rbp + 0x1a8]
mov rax, qword [rcx]
movdqu xmm0, xmmword [rax]
movzx eax, word [rax + 0x10]
movzx edx, word [rbp - 0x50]
movd xmm1, eax
movd xmm2, edx
pcmpeqb xmm2, xmm1
pcmpeqb xmm0, xmmword [rbp - 0x60]
pand xmm0, xmm2
pmovmskb esi, xmm0
call fcn.14000759a
cmp esi, 0xffff
mov r15, qword [rbp + 0x418]
jne 0x14001ba39
lea rbx, str.srccollectors_firefox.rs
mov edx, 1
mov rdi, qword [rbp + 0x3f0]
mov rcx, rdi
mov r8, rbx
call fcn.14004007d
mov edx, 1
mov rcx, rax
mov r8, rbx
call fcn.14004007d
movzx ecx, byte [rax + 0x28]
cmp rcx, 0x1b
mov rbx, qword [rbp + 0x438]
ja 0x14001bc05
mov edx, 0x9c3c01c
bt rdx, rcx
jb 0x14001b895
mov edx, 0x303e00
bt rdx, rcx
jae 0x14001bc05
mov r13, qword [rax + 0x30]
mov rsi, qword [rax + 0x38]
lea r8, str.srccollectors_firefox.rs
mov edx, 2
mov rcx, rdi
call fcn.14004007d
movzx ecx, byte [rax + 0x28]
cmp rcx, 0x1b
ja 0x14001bc05
mov edx, 0x9c3c01c
bt rdx, rcx
jb 0x14001b8d9
mov edx, 0x303e00
bt rdx, rcx
jae 0x14001bc05
mov rcx, qword [rax + 0x30]
mov r12, qword [rax + 0x38]
cmp rbx, 0x17
jbe 0x14001bc32
cmp rsi, 8
jne 0x14001ba39
mov qword [rbp + 0x438], rcx
mov rdi, qword [rbp + 0x3f8]
mov rdx, qword [rdi]
bswap rdx
lea rcx, [rbp + 0x1a8]
call fcn.1400400ad
mov rdx, qword [rdi + 8]
bswap rdx
lea rsi, [rbp + 0x330]
mov rcx, rsi
call fcn.1400400ad
mov rdx, qword [rdi + 0x10]
bswap rdx
lea r14, [rbp + 0x128]
mov rcx, r14
call fcn.1400400ad
lea rdi, [rbp + 0x228]
mov ecx, 0x10
rep movsq qword [rdi], qword [rsi]
lea rbx, [rbp + 0x2a8]
mov ecx, 0x10
mov rdi, rbx
mov rsi, r14
rep movsq qword [rdi], qword [rsi]
mov rcx, r13
call fcn.1400018f6
mov rsi, rax
lea r14, [rbp - 0x60]
mov r8d, 0x180
mov rcx, r14
lea rdx, [rbp + 0x1a8]
call sub.VCRUNTIME140.dll_memcpy
lea rdi, [rbp + 0x1a8]
mov r8d, 0x180
mov rcx, rdi
mov rdx, r14
call sub.VCRUNTIME140.dll_memcpy
mov qword [rdi + 0x180], rsi
test r12b, 7
je 0x14001ba5c
movaps xmm0, xmmword [rbp + 0x3b0]
movaps xmmword [rbp + 0x3c0], xmm0
movups xmm0, xmmword [rbp + 0x128]
movups xmm1, xmmword [rbp + 0x138]
movaps xmmword [rbp + 0x330], xmm0
movaps xmmword [rbp + 0x340], xmm1
mov dword [r15 + 8], 4
movaps xmm0, xmmword [rbp + 0x3c0]
movups xmmword [r15 + 0x10], xmm0
movdqa xmm0, xmmword [rbp + 0x330]
movdqa xmm1, xmmword [rbp + 0x340]
movdqu xmmword [r15 + 0x20], xmm0
movdqu xmmword [r15 + 0x30], xmm1
jmp 0x14001ba41
mov dword [rsi + 8], 3
mov qword [rsi + 0xc], 0
mov qword [rsi], 1
jmp 0x14001ba48
lea rcx, [rbp + 0x1a8]
call fcn.14000759a
mov r15, qword [rbp + 0x418]
mov dword [r15 + 8], 4
mov qword [r15], 1
add rsp, 0x4c8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rdi, [rbp + 0x328]
mov rcx, r12
call fcn.14004338f
mov rsi, rax
mov qword [rbp + 0x3d8], rax
mov qword [rbp + 0x3e0], rdx
mov rcx, rax
mov rdx, qword [rbp + 0x438]
mov r8, r12
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp + 0x3e8], r12
mov rcx, rdi
call fcn.1400018f6
mov rdi, rax
mov rax, r12
shr rax, 3
mov qword [rbp + 0x410], rdi
je 0x14001bb4d
lea r12, [rsi + rax*8]
mov rcx, rsi
call fcn.1400018f6
mov rdi, rax
lea r13, [rsi + 8]
mov rdx, qword [rsi]
bswap rdx
mov rcx, rbx
call fcn.1400406e9
mov rcx, rax
call fcn.1400403af
lea r14, [rbp + 0x228]
mov rdx, qword [r14]
add r14, 8
mov rcx, rax
call fcn.1400404d4
cmp r14, rbx
jne 0x14001bae4
rol rax, 0x20
mov rcx, rax
call fcn.140040442
lea rcx, [rbp + 0x1a8]
mov rdx, rax
call fcn.1400406e9
bswap rax
mov qword [rsi], rax
xor ecx, ecx
xor al, byte [rbp + rcx + 0x410]
mov byte [rsi + rcx], al
cmp rcx, 7
je 0x14001bb33
inc rcx
mov al, byte [rsi + rcx]
jmp 0x14001bb1b
mov qword [rbp + 0x410], rdi
mov rsi, r13
cmp r13, r12
jne 0x14001bab8
mov r12, qword [rbp + 0x3e8]
lea rcx, [rbp + 0x3e0]
mov qword [rbp + 0x328], rdi
mov qword [rcx + 8], r12
mov rax, qword [rcx - 8]
mov rdx, qword [rcx]
mov qword [rbp + 0x400], rdx
mov rcx, qword [rcx + 8]
mov qword [rbp + 0x408], rcx
test rax, rax
je 0x14001b9b2
mov rcx, rax
shr rcx, 0x20
mov rdx, qword [rbp + 0x400]
mov rbx, qword [rbp + 0x408]
mov dword [rbp + 0x420], eax
mov dword [rbp + 0x424], ecx
mov qword [rbp + 0x428], rdx
mov qword [rbp + 0x430], rbx
mov rbx, qword [rbp + 0x430]
test rbx, rbx
je 0x14001bc12
mov rcx, qword [rbp + 0x420]
movzx edx, byte [rbx + rcx - 1]
xor ecx, ecx
mov rax, rbx
sub rax, rdx
cmovae rcx, rax
cmp rbx, rcx
jb 0x14001bbe0
mov qword [rbp + 0x430], rcx
mov rax, qword [rbp + 0x430]
mov qword [r15 + 0x18], rax
movdqu xmm0, xmmword [rbp + 0x420]
movdqu xmmword [r15 + 8], xmm0
mov qword [r15], 0
jmp 0x14001ba48
mov qword [r15 + 8], 3
jmp 0x14001ba41
mov dword [r15 + 8], 4
mov qword [r15], 1
lea rcx, [rbp + 0x420]
call fcn.14000759a
jmp 0x14001ba48
lea r8, str.srccollectors_firefox.rs
mov ecx, 0x18
mov rdx, rbx
call fcn.140031fc0
ud2