Function at 0x140151cb0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x140
mov rdi, r9
mov rbx, r8
mov r14, rdx
mov rsi, rcx
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0x138], rax
test r9, r9
mov rax, qword [rcx]
cmove rdi, rax
test rdx, rdx
jne 0x140151cf4
cmp rdi, rax
je 0x140151f07
movaps xmm0, xmmword [0x140270690]
movaps xmmword [rsp + 0x120], xmm0
movaps xmmword [rsp + 0x110], xmm0
movaps xmmword [rsp + 0x100], xmm0
movaps xmmword [rsp + 0xf0], xmm0
movaps xmmword [rsp + 0xe0], xmm0
movaps xmmword [rsp + 0xd0], xmm0
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
mov eax, dword [rdi + 0x28]
cmp rax, rbx
jb 0x140151fc6
cmp rbx, 0x20
jne 0x140151f3a
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
movaps xmmword [rsp + 0x40], xmm1
movaps xmmword [rsp + 0x30], xmm0
cmp ebx, 0x80
je 0x140151db7
mov eax, ebx
mov r8d, 0x80
sub r8, rax
lea rcx, [rsp + rax]
add rcx, 0x30
xor edx, edx
call fcn.1401808d0
mov eax, 0x10
movaps xmm0, xmmword [str.6666666666666666UUUUUUUUUUUUUUUU3333333333333333]
movaps xmm1, xmmword [rsp + rax + 0x20]
xorps xmm1, xmm0
movaps xmm2, xmmword [rsp + rax + 0x30]
xorps xmm2, xmm0
movaps xmmword [rsp + rax + 0xa0], xmm1
movaps xmmword [rsp + rax + 0xb0], xmm2
add rax, 0x20
cmp rax, 0x90
jne 0x140151dc3
cmp qword [rsi + 0x28], rdi
je 0x140151e30
mov r14d, dword [rdi + 0x2c]
lea rcx, [r14 + 8]
call fcn.14017b340
test rax, rax
je 0x140151f9e
mov rbx, rax
mov qword [rax], r14
add rbx, 8
je 0x140151f9e
mov r14, qword [rsi + 0x30]
test r14, r14
jne 0x140151f58
mov qword [rsi + 0x30], rbx
mov qword [rsi + 0x28], rdi
lea rbx, [rsi + 0x28]
mov rax, qword [rdi + 0x10]
mov rcx, rbx
call qword [case.0x1401e7f70.0]
mov r8d, dword [rdi + 0x28]
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
lea rdx, [rsp + 0xb0]
mov rcx, rbx
call qword [case.0x1401e7f70.0]
mov eax, 0x10
movaps xmm0, xmmword [0x14027d210]
movaps xmm1, xmmword [rsp + rax + 0x20]
xorps xmm1, xmm0
movaps xmm2, xmmword [rsp + rax + 0x30]
xorps xmm2, xmm0
movaps xmmword [rsp + rax + 0xa0], xmm1
movaps xmmword [rsp + rax + 0xb0], xmm2
add rax, 0x20
cmp rax, 0x90
jne 0x140151e69
cmp qword [rsi + 0x48], rdi
je 0x140151ed6
mov r14d, dword [rdi + 0x2c]
lea rcx, [r14 + 8]
call fcn.14017b340
test rax, rax
je 0x140151f9e
mov rbx, rax
mov qword [rax], r14
add rbx, 8
je 0x140151f9e
mov r14, qword [rsi + 0x50]
test r14, r14
jne 0x140151f7b
mov qword [rsi + 0x50], rbx
mov qword [rsi + 0x48], rdi
lea rbx, [rsi + 0x48]
mov rax, qword [rdi + 0x10]
mov rcx, rbx
call qword [case.0x1401e7f70.0]
mov r8d, dword [rdi + 0x28]
mov rax, qword [rsi + 0x48]
mov rax, qword [rax + 0x18]
lea rdx, [rsp + 0xb0]
mov rcx, rbx
call qword [case.0x1401e7f70.0]
mov qword [rsi], rdi
lea rdx, [rsi + 0x28]
add rsi, 8
mov rcx, rsi
call fcn.14001d170
mov esi, eax
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.14017e7b0
mov eax, esi
add rsp, 0x140
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
test rbx, rbx
je 0x140151d95
lea rcx, [rsp + 0x30]
mov rdx, r14
mov r8, rbx
call fcn.140180220
jmp 0x140151d95
mov r8, qword [r14 - 8]
add r14, 0xfffffffffffffff8
add r8, 8
mov rcx, r14
xor edx, edx
call fcn.1401808d0
mov rcx, r14
call fcn.14017b220
jmp 0x140151e28
mov r8, qword [r14 - 8]
add r14, 0xfffffffffffffff8
add r8, 8
mov rcx, r14
xor edx, edx
call fcn.1401808d0
mov rcx, r14
call fcn.14017b220
jmp 0x140151ece
mov dword [rsp + 0x20], 0xd2
lea r9, str....._third_party_boringssl_srccrypto_fipsmoduledigestdigest.c
mov ecx, 0x1d
xor edx, edx
mov r8d, 0x41
call fcn.1401bd2d0
xor esi, esi
jmp 0x140151f19
lea r15, [rsi + 8]
mov rcx, r15
mov rdx, rdi
call fcn.140076a80
test eax, eax
je 0x140151fbf
mov rax, qword [rsi + 8]
mov rax, qword [rax + 0x18]
mov rcx, r15
mov rdx, r14
mov r8, rbx
call qword [case.0x1401e7f70.0]
mov rax, qword [rsi + 8]
mov rax, qword [rax + 0x20]
lea rdx, [rsp + 0x30]
mov rcx, r15
call qword [case.0x1401e7f70.0]
mov rax, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
mov ebx, dword [rax + 4]
mov r8d, dword [rax + 0x2c]
xor edx, edx
call fcn.1401808d0
jmp 0x140151d95