Function at 0x1402154a0
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, 0xc8
mov qword [rsp + 0x58], rdx
mov eax, dword [rsp + 0x138]
mov rdx, qword [0x140448038]
xor rdx, rsp
mov qword [rsp + 0xc0], rdx
test r9, r9
cmove r9, r8
mov qword [rsp + 0x38], r9
xorps xmm0, xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov edx, dword [r8 + 4]
mov qword [rsp + 0x40], rdx
mov dword [rsp + 0x34], edx
cmp eax, 0xffffffff
jne 0x14021599b
mov r14, qword [rsp + 0x130]
mov r12, qword [rcx + 8]
mov edx, dword [r12 + 8]
mov r9, rdx
mov qword [rsp + 0x50], r8
test r9d, r9d
jle 0x1402159ad
mov rax, qword [r12]
lea r10, [r9 - 1]
cmp qword [rax + r9*8 - 8], 0
mov r9, r10
je 0x140215519
inc r10d
mov r9d, r10d
movsxd r10, r9d
shl r9d, 6
mov r10, qword [rax + r10*8 - 8]
xor eax, eax
test r10, r10
setne al
or eax, r9d
xor r9d, r9d
mov r11, r10
shr r11, 0x20
cmove r11, r10
setne r9b
shl r9d, 5
mov rsi, r11
shr rsi, 0x10
xor r10d, r10d
cmp r11, 0x10000
cmovb rsi, r11
setae r10b
shl r10d, 4
mov rdi, rsi
shr rdi, 8
xor r11d, r11d
cmp rsi, 0x100
cmovb rdi, rsi
setae r11b
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, eax
or r9d, r10d
lea eax, [r9 + r11*8]
lea ebp, [rax + rbx*4]
add ebp, 0xffffffc0
or ebp, r15d
cmp rdi, 2
sbb ebp, 0xffffffff
dec ebp
and ebp, 7
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
test rax, rax
jne 0x1402159bf
test edx, edx
jle 0x1402159fd
mov rax, qword [r12]
lea rcx, [rdx - 1]
cmp qword [rax + rdx*8 - 8], 0
mov rdx, rcx
je 0x1402155fa
inc ecx
mov edx, ecx
movsxd rcx, edx
shl edx, 6
mov r8, qword [rax + rcx*8 - 8]
xor eax, eax
test r8, r8
setne al
or eax, edx
xor ecx, ecx
mov r9, r8
shr r9, 0x20
cmove r9, r8
setne cl
shl ecx, 5
mov r10, r9
shr r10, 0x10
xor edx, edx
cmp r9, 0x10000
cmovb r10, r9
setae dl
shl edx, 4
mov r9, r10
shr r9, 8
xor r8d, r8d
cmp r10, 0x100
cmovb r9, r10
setae r8b
mov r10, r9
shr r10, 4
xor r11d, r11d
cmp r9, 0x10
setae r11b
cmovb r10, r9
mov r9, r10
shr r9, 2
xor esi, esi
cmp r10, 4
setae sil
cmovb r9, r10
add esi, esi
or ecx, eax
or ecx, edx
lea eax, [rcx + r8*8]
lea eax, [rax + r11*4]
add eax, 0xffffffc0
or eax, esi
cmp r9, 2
sbb eax, 0xffffffff
add eax, 7
shr eax, 3
mov rsi, qword [rsp + 0x40]
movzx edx, byte [r14]
mov ecx, ebp
shr edx, cl
test edx, edx
jne 0x1402159ca
mov ebx, eax
xor r13d, r13d
test ebp, ebp
sete r13b
mov r12, rbx
sub r12, r13
lea rax, [rsi + 2]
cmp r12, rax
jb 0x140215973
mov ecx, dword [rsp + 0x34]
mov edx, ecx
test ecx, ecx
js 0x140215708
add rax, rdx
cmp r12, rax
jb 0x140215973
mov qword [rsp + 0x48], rdx
add r14, r13
cmp byte [r12 + r14 - 1], 0xbc
jne 0x140215a0e
mov rdi, rsi
not rdi
add r12, rdi
mov rcx, r12
call fcn.14021c180
test rax, rax
je 0x140215a31
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
mov r9, rsi
call fcn.140153cd0
test eax, eax
je 0x140215a34
test r12, r12
je 0x140215779
xor eax, eax
mov cl, byte [r14 + rax]
xor byte [r15 + rax], cl
inc rax
cmp rax, r12
jb 0x140215769
test ebp, ebp
je 0x14021578c
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 r14, [rcx + 1]
test dl, dl
jne 0x1402157aa
cmp rcx, rax
mov rcx, r14
jb 0x140215796
cmp dl, 1
jne 0x140215a3b
cmp dword [rsp + 0x34], 0
js 0x1402157ce
add r13, rbx
sub r13, qword [rsp + 0x48]
add rdi, r13
cmp rdi, r14
jne 0x140215a83
movaps xmm0, xmmword [0x1403d47c0]
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
mov rbx, qword [rsp + 0x50]
cmp qword [rsp + 0x60], rbx
mov rsi, qword [rsp + 0x40]
je 0x14021582e
mov ecx, dword [rbx + 0x2c]
call fcn.14021c180
test rax, rax
je 0x140215a34
mov rdi, rax
mov rcx, qword [rsp + 0x68]
call fcn.14021c1e0
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x60], rbx
sub r12, r14
mov rax, qword [rbx + 0x10]
lea rcx, [0x140155190]
cmp rax, rcx
jne 0x140215963
mov rax, qword [rsp + 0x68]
xorps xmm0, xmm0
movups xmmword [rax + 0x5c], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x20], xmm0
movaps xmm0, xmmword [0x140422410]
movups xmmword [rax], xmm0
movaps xmm0, xmmword [0x140422420]
movups xmmword [rax + 0x10], xmm0
mov dword [rax + 0x6c], 0x20
lea rdi, [rsp + 0x60]
mov rax, qword [rdi]
mov rax, qword [rax + 0x18]
lea rdx, [0x140422ba0]
mov r8d, 8
mov rcx, rdi
call qword [case.0x1402ceef0.0]
mov rax, qword [rdi]
mov rax, qword [rax + 0x18]
mov rcx, rdi
mov rdx, qword [rsp + 0x58]
mov r8, rsi
call qword [case.0x1402ceef0.0]
mov rdx, r15
add rdx, r14
mov rax, qword [rdi]
mov rax, qword [rax + 0x18]
mov rcx, rdi
mov r8, r12
call qword [case.0x1402ceef0.0]
mov rax, qword [rdi]
mov rax, qword [rax + 0x20]
lea rdx, [rsp + 0x80]
mov rcx, rdi
call qword [case.0x1402ceef0.0]
mov rax, qword [rdi]
mov rcx, qword [rdi + 8]
mov edx, dword [rax + 0x2c]
call fcn.14021c220
mov edi, 1
test esi, esi
je 0x14021591d
lea rcx, [rsp + 0x80]
mov rdx, qword [rsp + 0x38]
mov r8, rsi
call fcn.140255520
test eax, eax
jne 0x140215a5b
mov rcx, r15
call fcn.14021c1e0
mov rcx, qword [rsp + 0x68]
call fcn.14021c1e0
mov rax, qword [rsp + 0x78]
test rax, rax
jne 0x1402159ea
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140253b80
mov eax, edi
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0x60]
call qword [case.0x1402ceef0.0]
jmp 0x14021587d
mov dword [rsp + 0x20], 0x215
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
xor edi, edi
mov ecx, 4
xor edx, edx
mov r8d, 0x71
call fcn.140363cb0
xor r15d, r15d
jmp 0x14021591d
cmp eax, 0xfffffffe
jne 0x140215aa3
mov dword [rsp + 0x34], eax
jmp 0x140215500
test r9d, r9d
je 0x140215ad0
mov rax, qword [r12]
jmp 0x14021553b
call qword [case.0x1402ceef0.0]
jmp 0x1402156bf
mov dword [rsp + 0x20], 0x20b
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
xor edi, edi
mov ecx, 4
xor edx, edx
mov r8d, 0x7a
jmp 0x140215991
mov rax, qword [rax]
mov rcx, qword [rsp + 0x70]
call qword [case.0x1402ceef0.0]
jmp 0x14021593d
test edx, edx
je 0x140215ad7
mov rax, qword [r12]
jmp 0x140215619
mov dword [rsp + 0x20], 0x219
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
xor edi, edi
mov ecx, 4
xor edx, edx
mov r8d, 0x7f
jmp 0x140215991
xor r15d, r15d
xor edi, edi
jmp 0x14021591d
mov dword [rsp + 0x20], 0x234
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
xor edi, edi
mov ecx, 4
xor edx, edx
mov r8d, 0x8b
jmp 0x140215a79
mov dword [rsp + 0x20], 0x246
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
xor edi, edi
mov ecx, 4
xor edx, edx
mov r8d, 0x69
call fcn.140363cb0
jmp 0x14021591d
mov dword [rsp + 0x20], 0x23a
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
xor edi, edi
mov ecx, 4
xor edx, edx
mov r8d, 0x8a
jmp 0x140215a79
mov dword [rsp + 0x34], eax
jge 0x140215500
mov dword [rsp + 0x20], 0x204
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
xor edi, edi
mov ecx, 4
xor edx, edx
mov r8d, 0x8a
jmp 0x140215991
xor ebp, ebp
jmp 0x1402155e5
xor eax, eax
jmp 0x1402156b9