Function at 0x140066230
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov rdi, r9
mov r14, r8
mov r15, rdx
mov rsi, rcx
mov eax, dword [rsp + 0x128]
mov rcx, qword [0x140173028]
xor rcx, rsp
mov qword [rsp + 0xb0], rcx
movaps xmm0, xmmword [0x14014df90]
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm0
test r9, r9
cmove rdi, r8
mov r12d, dword [r8 + 4]
mov ecx, r12d
mov qword [rsp + 0x30], rcx
cmp eax, 0xffffffff
jne 0x14006653b
mov r13, qword [rsp + 0x120]
mov rbx, qword [rsi + 8]
mov rcx, rbx
call fcn.140064070
mov ebp, eax
dec ebp
and ebp, 7
mov rax, qword [rsi]
mov rax, qword [rax + 0x20]
test rax, rax
jne 0x140066579
mov rcx, rbx
call fcn.140064070
mov edx, eax
add edx, 7
shr edx, 3
mov qword [rsp + 0x28], rdi
movzx eax, byte [r13]
mov ecx, ebp
shr eax, cl
test eax, eax
jne 0x14006658a
mov rsi, r15
xor r15d, r15d
test ebp, ebp
sete r15b
mov ebx, edx
sub ebx, r15d
lea eax, [r12 + 2]
cmp ebx, eax
jl 0x140066510
mov rax, qword [rsp + 0x30]
add eax, r12d
add eax, 2
cmp ebx, eax
jl 0x140066510
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], rsi
add r13, r15
movsxd rax, ebx
cmp byte [rax + r13 - 1], 0xbc
jne 0x1400665bd
mov edi, r12d
not edi
add ebx, edi
movsxd r14, ebx
mov rcx, r14
call fcn.140066d50
test rax, rax
je 0x1400665e0
mov rsi, rax
lea r8, [r14 + r13]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x20], rax
mov rcx, rsi
mov rdx, r14
mov qword [rsp + 0x28], r8
mov r9, r12
call fcn.1401015e0
test eax, eax
je 0x140066537
test ebx, ebx
jle 0x1400663b7
mov eax, ebx
xor ecx, ecx
mov dl, byte [r13 + rcx]
xor byte [rsi + rcx], dl
inc rcx
cmp rax, rcx
jne 0x1400663a7
test ebp, ebp
je 0x1400663c9
mov cl, 8
sub cl, bpl
mov eax, 0xff
shr eax, cl
and byte [rsi], al
neg r15d
lea eax, [rbx - 1]
cdqe
xor ecx, ecx
mov dl, byte [rsi + rcx]
lea rbp, [rcx + 1]
test dl, dl
jne 0x1400663e6
cmp rcx, rax
mov rcx, rbp
jl 0x1400663d3
cmp dl, 1
jne 0x140066603
mov rax, qword [rsp + 0x30]
test eax, eax
js 0x14006640b
add r15d, dword [rsp + 0x38]
sub r15d, eax
add edi, r15d
cmp edi, ebp
jne 0x14006665a
lea rcx, [rsp + 0x50]
mov rdx, qword [rsp + 0x40]
call fcn.140030b70
test eax, eax
je 0x140066537
mov ebx, ebx
sub rbx, rbp
lea rdi, [rsp + 0x50]
mov rax, qword [rdi]
mov rax, qword [rax + 0x18]
lea rdx, [0x14015d311]
mov r8d, 8
mov rcx, rdi
call qword [0x140192010]
mov rax, qword [rdi]
mov rax, qword [rax + 0x18]
mov rcx, rdi
mov rdx, qword [rsp + 0x48]
mov r8, r12
call qword [0x140192010]
movsxd r8, ebx
mov rdx, rsi
add rdx, rbp
mov rax, qword [rdi]
mov rax, qword [rax + 0x18]
mov rcx, rdi
call qword [0x140192010]
mov rax, qword [rdi]
mov rax, qword [rax + 0x20]
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [0x140192010]
mov rax, qword [rdi]
mov rcx, qword [rdi + 8]
mov edx, dword [rax + 0x2c]
call fcn.140066dd0
cmp r12d, 0x20
jne 0x140066623
lea rcx, [rsp + 0x70]
mov r8d, 0x20
mov rdx, qword [rsp + 0x28]
call fcn.140085580
mov edi, 1
test eax, eax
jne 0x140066632
mov rcx, rsi
call fcn.140066d90
mov rcx, qword [rsp + 0x58]
call fcn.140066d90
mov rax, qword [rsp + 0x68]
test rax, rax
jne 0x1400665aa
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140083c00
mov eax, edi
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov dword [rsp + 0x20], 0x212
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
xor edi, edi
mov ecx, 4
xor edx, edx
mov r8d, 0x71
call fcn.14011e510
xor esi, esi
jmp 0x1400664ca
xor edi, edi
jmp 0x1400664ca
mov ecx, 0xfffffffe
mov qword [rsp + 0x30], rcx
cmp eax, 0xfffffffe
je 0x1400662b5
mov qword [rsp + 0x30], rax
jge 0x1400662b5
mov dword [rsp + 0x20], 0x202
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
xor edi, edi
mov ecx, 4
xor edx, edx
mov r8d, 0x8a
jmp 0x14006652e
mov rcx, rsi
call qword [0x140192010]
mov rdx, rax
jmp 0x1400662f0
mov dword [rsp + 0x20], 0x209
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
xor edi, edi
mov ecx, 4
xor edx, edx
mov r8d, 0x7a
jmp 0x14006652e
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
call qword [0x140192010]
jmp 0x1400664ea
mov dword [rsp + 0x20], 0x216
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
xor edi, edi
mov ecx, 4
xor edx, edx
mov r8d, 0x7f
jmp 0x14006652e
mov dword [rsp + 0x20], 0x21d
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
xor edi, edi
mov ecx, 4
xor edx, edx
mov r8d, 0x41
jmp 0x14006652e
mov dword [rsp + 0x20], 0x22d
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
xor edi, edi
mov ecx, 4
xor edx, edx
mov r8d, 0x8b
jmp 0x140066650
test r12d, r12d
jne 0x14006667a
mov edi, 1
jmp 0x1400664ca
mov dword [rsp + 0x20], 0x23c
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
xor edi, edi
mov ecx, 4
xor edx, edx
mov r8d, 0x69
call fcn.14011e510
jmp 0x1400664ca
mov dword [rsp + 0x20], 0x231
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
xor edi, edi
mov ecx, 4
xor edx, edx
mov r8d, 0x8a
jmp 0x140066650
mov r8, r12
lea rcx, [rsp + 0x70]
jmp 0x1400664b3