Function at 0x140085150
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 rbp, r9
mov qword [rsp + 0x48], rdx
mov rsi, rcx
mov eax, dword [rsp + 0x128]
mov rcx, qword [0x1401ab040]
xor rcx, rsp
mov qword [rsp + 0xb0], rcx
test r9, r9
cmove rbp, r8
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x40], r8
mov edi, dword [r8 + 4]
mov ecx, edi
mov dword [rsp + 0x34], edi
cmp eax, 0xffffffff
jne 0x140085411
mov r13, qword [rsp + 0x120]
mov rcx, qword [rsi + 8]
call fcn.14007f700
add eax, 7
mov ebx, eax
and ebx, 7
mov rcx, qword [rsi]
mov rdx, qword [rcx + 0x20]
test rdx, rdx
jne 0x1400854b3
shr eax, 3
movzx edx, byte [r13]
mov ecx, ebx
shr edx, cl
test edx, edx
jne 0x140085493
mov edx, eax
xor r14d, r14d
test ebx, ebx
sete r14b
mov r12, rdx
sub r12, r14
lea rax, [rdi + 2]
cmp r12, rax
jb 0x140085469
mov ecx, dword [rsp + 0x34]
mov r15d, ecx
test ecx, ecx
js 0x140085225
add rax, r15
cmp r12, rax
jb 0x140085469
mov qword [rsp + 0x38], rdx
add r13, r14
cmp byte [r13 + r12 - 1], 0xbc
jne 0x140085449
mov rax, rdi
not rax
add r12, rax
mov rcx, r12
call fcn.140052420
test rax, rax
je 0x14008540b
mov rsi, rax
lea rax, [r12 + r13]
mov qword [rsp + 0x20], rbp
mov rbp, rax
mov rcx, rsi
mov rdx, r12
mov r8, rax
mov r9, rdi
call fcn.140084fb0
test eax, eax
je 0x14008540d
test r12, r12
je 0x140085292
xor eax, eax
mov cl, byte [r13 + rax]
xor byte [rsi + rax], cl
inc rax
cmp rax, r12
jb 0x140085282
test ebx, ebx
je 0x1400852a3
mov cl, 8
sub cl, bl
mov eax, 0xff
shr eax, cl
and byte [rsi], al
neg r14
lea rax, [r12 - 1]
xor ecx, ecx
mov dl, byte [rsi + rcx]
lea r13, [rcx + 1]
test dl, dl
jne 0x1400852c0
cmp rcx, rax
mov rcx, r13
jb 0x1400852ad
cmp dl, 1
jne 0x140085515
cmp dword [rsp + 0x34], 0
js 0x1400852e7
add r14, qword [rsp + 0x38]
not r15
add r15, r14
sub r15, rdi
cmp r15, r13
jne 0x1400854f5
movaps xmm0, xmmword [0x140178510]
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x50]
mov rdx, qword [rsp + 0x40]
call fcn.1400826a0
test eax, eax
je 0x14008540d
sub r12, r13
lea rbx, [rsp + 0x50]
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
lea rdx, [0x14018d690]
mov r8d, 8
mov rcx, rbx
call qword [0x14019aa20]
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov rcx, rbx
mov rdx, qword [rsp + 0x48]
mov r8, rdi
call qword [0x14019aa20]
mov rdx, rsi
add rdx, r13
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov rcx, rbx
mov r8, r12
call qword [0x14019aa20]
mov rax, qword [rbx]
mov rax, qword [rax + 0x20]
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [0x14019aa20]
mov rax, qword [rbx]
mov rcx, qword [rbx + 8]
mov edx, dword [rax + 0x2c]
call fcn.1400524c0
cmp edi, 0x20
jne 0x1400854d7
lea rcx, [rsp + 0x70]
mov r8d, 0x20
mov rdx, rbp
call fcn.1400dc880
mov edi, 1
test eax, eax
jne 0x140085535
mov rcx, rsi
call fcn.140052480
mov rcx, qword [rsp + 0x58]
call fcn.140052480
mov rax, qword [rsp + 0x68]
test rax, rax
jne 0x1400854c4
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400a7ab0
mov eax, edi
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor esi, esi
xor edi, edi
jmp 0x1400853c5
cmp eax, 0xfffffffe
jne 0x14008541f
mov dword [rsp + 0x34], eax
jmp 0x1400851b3
mov dword [rsp + 0x34], eax
jge 0x1400851b3
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 0x140085487
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 0x140085487
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.14014a0d0
xor esi, esi
jmp 0x1400853c5
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 0x140085487
mov rcx, rsi
mov rax, rdx
call qword [0x14019aa20]
jmp 0x1400851df
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
call qword [0x14019aa20]
jmp 0x1400853e5
test edi, edi
jne 0x1400854e5
mov edi, 1
jmp 0x1400853c5
lea rcx, [rsp + 0x70]
mov rdx, rbp
mov r8, rdi
jmp 0x1400853b3
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 0x140085553
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 0x140085553
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.14014a0d0
jmp 0x1400853c5