Function at 0x14016f1f0
Capabilities:
Encode data using xor
Hash data using sha256

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov qword [rsp + 0x48], rdx
mov eax, dword [rsp + 0x128]
mov rdx, qword [0x14036e038]
xor rdx, rsp
mov qword [rsp + 0xb0], rdx
test r9, r9
cmove r9, r8
mov qword [rsp + 0x38], r9
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
mov edx, dword [r8 + 4]
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x2c], edx
cmp eax, 0xffffffff
jne 0x14016f6fb
mov r14, qword [rsp + 0x120]
mov rdx, qword [rcx + 8]
mov eax, dword [rdx + 8]
test eax, eax
mov qword [rsp + 0x40], r8
jle 0x14016f6d7
mov r12, qword [rdx]
mov r9d, eax
mov edx, r9d
cmp qword [r12 + rdx*8 - 8], 0
je 0x14016f6a7
movsxd rdx, r9d
shl r9d, 6
mov r10, qword [r12 + rdx*8 - 8]
xor edx, edx
test r10, r10
setne dl
or edx, r9d
xor r9d, r9d
mov r11, r10
shr r11, 0x20
setne r9b
cmove r11, r10
shl r9d, 5
mov rsi, r11
shr rsi, 0x10
xor r10d, r10d
cmp r11, 0x10000
setae r10b
cmovb rsi, r11
shl r10d, 4
mov rdi, rsi
shr rdi, 8
xor r11d, r11d
cmp rsi, 0x100
setae r11b
cmovb rdi, rsi
mov rsi, rdi
shr rsi, 4
xor ebx, ebx
cmp rdi, 0x10
setae bl
cmovb rsi, rdi
mov rdi, rsi
shr rdi, 2
xor r15d, r15d
cmp rsi, 4
setae r15b
cmovb rdi, rsi
add r15d, r15d
or r9d, edx
or r9d, r10d
lea edx, [r9 + r11*8]
lea ebp, [rdx + rbx*4]
or ebp, r15d
cmp rdi, 2
sbb ebp, 0xffffffff
add ebp, 0xffffffc0
dec ebp
and ebp, 7
mov rdx, qword [rcx]
mov rdx, qword [rdx + 0x20]
test rdx, rdx
jne 0x14016f6e8
test eax, eax
mov rdi, qword [rsp + 0x30]
jle 0x14016f6cf
mov ecx, eax
cmp qword [r12 + rcx*8 - 8], 0
je 0x14016f692
movsxd rcx, eax
shl eax, 6
mov rdx, qword [r12 + rcx*8 - 8]
xor ecx, ecx
test rdx, rdx
setne cl
or ecx, eax
xor eax, eax
mov r8, rdx
shr r8, 0x20
setne al
cmove r8, rdx
shl eax, 5
mov r9, r8
shr r9, 0x10
xor edx, edx
cmp r8, 0x10000
setae dl
cmovb r9, r8
shl edx, 4
mov r10, r9
shr r10, 8
xor r8d, r8d
cmp r9, 0x100
setae r8b
cmovb r10, r9
mov r9, r10
shr r9, 4
xor r11d, r11d
cmp r10, 0x10
setae r11b
cmovb r9, r10
mov r10, r9
shr r10, 2
xor esi, esi
cmp r9, 4
setae sil
cmovb r10, r9
add esi, esi
or eax, ecx
or eax, edx
lea eax, [rax + r8*8]
lea eax, [rax + r11*4]
or eax, esi
cmp r10, 2
sbb eax, 0xffffffff
add eax, 0xffffffc0
add eax, 7
shr eax, 3
movzx edx, byte [r14]
mov ecx, ebp
shr edx, cl
test edx, edx
jne 0x14016f733
mov ebx, eax
xor r13d, r13d
test ebp, ebp
sete r13b
mov r12, rbx
sub r12, r13
lea rax, [rdi + 2]
cmp r12, rax
jb 0x14016f773
mov ecx, dword [rsp + 0x2c]
mov esi, ecx
test ecx, ecx
js 0x14016f445
add rax, rsi
cmp r12, rax
jb 0x14016f773
add r14, r13
cmp byte [r14 + r12 - 1], 0xbc
jne 0x14016f753
mov rax, rdi
not rax
add r12, rax
mov rcx, r12
call fcn.140174220
mov r9, rdi
xor edi, edi
test rax, rax
je 0x14016f796
mov r15, rax
lea r8, [r14 + r12]
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov rcx, r15
mov rdx, r12
mov qword [rsp + 0x38], r8
call fcn.1400c7fd0
test eax, eax
je 0x14016f64c
test r12, r12
je 0x14016f4b3
xor eax, eax
mov cl, byte [r14 + rax]
xor byte [r15 + rax], cl
inc rax
cmp rax, r12
jb 0x14016f4a3
test ebp, ebp
je 0x14016f4c6
mov cl, 8
sub cl, bpl
mov eax, 0xff
shr eax, cl
and byte [r15], al
neg r13
lea rax, [r12 - 1]
xor ecx, ecx
mov dl, byte [r15 + rcx]
lea rbp, [rcx + 1]
test dl, dl
jne 0x14016f4e4
cmp rcx, rax
mov rcx, rbp
jb 0x14016f4d0
cmp dl, 1
jne 0x14016f7d1
cmp dword [rsp + 0x2c], 0
js 0x14016f50b
add r13, rbx
not rsi
add rsi, r13
sub rsi, qword [rsp + 0x30]
cmp rsi, rbp
jne 0x14016f7b1
movaps xmm0, xmmword [0x1402eb060]
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
xor edi, edi
mov rsi, qword [rsp + 0x40]
test rsi, rsi
je 0x14016f563
mov ecx, dword [rsi + 0x2c]
call fcn.140174220
test rax, rax
je 0x14016f64c
mov r14, rax
xor ecx, ecx
call fcn.140174280
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], rsi
mov rdi, r14
sub r12, rbp
mov rax, qword [rsi + 0x10]
lea rcx, [0x1402678f0]
cmp rax, rcx
jne 0x14016f6bf
xorps xmm0, xmm0
movups xmmword [rdi + 0x5c], xmm0
movups xmmword [rdi + 0x50], xmm0
movups xmmword [rdi + 0x40], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x20], xmm0
movaps xmm0, xmmword [0x1403149e0]
movups xmmword [rdi], xmm0
movaps xmm0, xmmword [0x1403149f0]
movups xmmword [rdi + 0x10], xmm0
mov dword [rdi + 0x6c], 0x20
lea rdi, [rsp + 0x50]
mov rax, qword [rdi]
mov rax, qword [rax + 0x18]
lea rdx, [0x1403150f0]
mov r8d, 8
mov rcx, rdi
call qword [0x14035cc68]
mov rax, qword [rdi]
mov rax, qword [rax + 0x18]
mov rcx, rdi
mov rdx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x30]
mov r8, rsi
call qword [0x14035cc68]
mov rdx, r15
add rdx, rbp
mov rax, qword [rdi]
mov rax, qword [rax + 0x18]
mov rcx, rdi
mov r8, r12
call qword [0x14035cc68]
mov rax, qword [rdi]
mov rax, qword [rax + 0x20]
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [0x14035cc68]
mov rax, qword [rdi]
mov rcx, qword [rdi + 8]
mov edx, dword [rax + 0x2c]
call fcn.1401742c0
mov edi, 1
test esi, esi
je 0x14016f64c
lea rcx, [rsp + 0x70]
mov rdx, qword [rsp + 0x38]
mov r8, rsi
call fcn.1401b1a20
test eax, eax
jne 0x14016f7f1
mov rcx, r15
call fcn.140174280
mov rcx, qword [rsp + 0x58]
call fcn.140174280
mov rax, qword [rsp + 0x68]
test rax, rax
jne 0x14016f79e
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1401b0080
mov eax, edi
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea ecx, [rax - 1]
cmp eax, 1
mov eax, ecx
jg 0x14016f34d
xor eax, eax
jmp 0x14016f3fb
lea edx, [r9 - 1]
cmp r9d, 1
mov r9d, edx
jg 0x14016f272
xor ebp, ebp
jmp 0x14016f32b
lea rcx, [rsp + 0x50]
call qword [0x14035cc68]
jmp 0x14016f5ad
jne 0x14016f35b
jmp 0x14016f6a0
je 0x14016f819
mov r12, qword [rdx]
mov r9d, eax
jmp 0x14016f281
mov rdi, qword [rsp + 0x30]
mov rax, rdx
call qword [0x14035cc68]
jmp 0x14016f401
cmp eax, 0xfffffffe
jne 0x14016f709
mov dword [rsp + 0x2c], eax
jmp 0x14016f250
mov dword [rsp + 0x2c], eax
jge 0x14016f250
mov dword [rsp + 0x20], 0xe9
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
xor edi, edi
mov ecx, 4
xor edx, edx
mov r8d, 0x8a
jmp 0x14016f791
mov dword [rsp + 0x20], 0xf0
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
xor edi, edi
mov ecx, 4
xor edx, edx
mov r8d, 0x7a
jmp 0x14016f791
mov dword [rsp + 0x20], 0xfe
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
xor edi, edi
mov ecx, 4
xor edx, edx
mov r8d, 0x7f
jmp 0x14016f791
mov dword [rsp + 0x20], 0xfa
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
xor edi, edi
mov ecx, 4
xor edx, edx
mov r8d, 0x71
call fcn.14028f7e0
xor r15d, r15d
jmp 0x14016f64c
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
call qword [0x14035cc68]
jmp 0x14016f66c
mov dword [rsp + 0x20], 0x11f
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
xor edi, edi
mov ecx, 4
xor edx, edx
mov r8d, 0x8a
jmp 0x14016f80f
mov dword [rsp + 0x20], 0x119
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
xor edi, edi
mov ecx, 4
xor edx, edx
mov r8d, 0x8b
jmp 0x14016f80f
mov dword [rsp + 0x20], 0x12b
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
xor edi, edi
mov ecx, 4
xor edx, edx
mov r8d, 0x69
call fcn.14028f7e0
jmp 0x14016f64c
mov rax, qword [rcx]
mov rdx, qword [rax + 0x20]
xor eax, eax
mov ebp, 7
test rdx, rdx
mov rdi, qword [rsp + 0x30]
je 0x14016f3fb
jmp 0x14016f6ed