Function at 0x140213d60
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 qword [rsp + 0x48], rdx
mov eax, dword [rsp + 0x128]
mov rdx, qword [0x140418038]
xor rdx, rsp
mov qword [rsp + 0xb0], rdx
test r9, r9
cmove r9, r8
mov qword [rsp + 0x30], r9
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
mov r13d, dword [r8 + 4]
mov edx, r13d
mov dword [rsp + 0x2c], r13d
cmp eax, 0xffffffff
jne 0x1402141fa
mov rdi, qword [rsp + 0x120]
mov r12, qword [rcx + 8]
mov edx, dword [r12 + 8]
mov r9, rdx
mov qword [rsp + 0x40], r8
test r9d, r9d
jle 0x14021420c
mov rax, qword [r12]
lea r10, [r9 - 1]
cmp qword [rax + r9*8 - 8], 0
mov r9, r10
je 0x140213dd8
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 rbx, rsi
shr rbx, 8
xor r11d, r11d
cmp rsi, 0x100
cmovb rbx, rsi
setae r11b
mov rsi, rbx
shr rsi, 4
xor r14d, r14d
cmp rbx, 0x10
setae r14b
cmovb rsi, rbx
mov rbx, rsi
shr rbx, 2
xor r15d, r15d
cmp rsi, 4
setae r15b
cmovb rbx, rsi
add r15d, r15d
or r9d, eax
or r9d, r10d
lea eax, [r9 + r11*8]
lea ebp, [rax + r14*4]
add ebp, 0xffffffc0
or ebp, r15d
cmp rbx, 2
sbb ebp, 0xffffffff
dec ebp
and ebp, 7
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
test rax, rax
jne 0x14021421e
test edx, edx
jle 0x14021425c
mov rax, qword [r12]
lea rcx, [rdx - 1]
cmp qword [rax + rdx*8 - 8], 0
mov rdx, rcx
je 0x140213ebc
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
setne cl
cmove r9, r8
shl ecx, 5
mov r10, r9
shr r10, 0x10
xor edx, edx
cmp r9, 0x10000
setae dl
cmovb r10, r9
shl edx, 4
mov r9, r10
shr r9, 8
xor r8d, r8d
cmp r10, 0x100
setae r8b
cmovb r9, r10
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
cmovb r9, r10
setae sil
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
movzx edx, byte [rdi]
mov ecx, ebp
shr edx, cl
test edx, edx
jne 0x140214229
mov ebx, eax
xor r14d, r14d
test ebp, ebp
sete r14b
mov r12, rbx
sub r12, r14
lea rax, [r13 + 2]
cmp r12, rax
jb 0x1402141d2
mov ecx, dword [rsp + 0x2c]
mov edx, ecx
test ecx, ecx
js 0x140213fc4
add rax, rdx
cmp r12, rax
jb 0x1402141d2
mov qword [rsp + 0x38], rdx
add rdi, r14
cmp byte [r12 + rdi - 1], 0xbc
jne 0x14021426d
mov rsi, r13
not rsi
add r12, rsi
mov rcx, r12
call fcn.140212f10
test rax, rax
je 0x140214290
mov r15, rax
lea r8, [rdi + r12]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rcx, r15
mov rdx, r12
mov qword [rsp + 0x30], r8
mov r9, r13
call fcn.14014d6d0
test eax, eax
je 0x1402142b3
test r12, r12
je 0x140214034
xor eax, eax
mov cl, byte [rdi + rax]
xor byte [r15 + rax], cl
inc rax
cmp rax, r12
jb 0x140214025
test ebp, ebp
je 0x140214047
mov cl, 8
sub cl, bpl
mov eax, 0xff
shr eax, cl
and byte [r15], al
neg r14
lea rax, [r12 - 1]
xor ecx, ecx
mov dl, byte [r15 + rcx]
lea rdi, [rcx + 1]
test dl, dl
jne 0x140214065
cmp rcx, rax
mov rcx, rdi
jb 0x140214051
cmp dl, 1
jne 0x1402142ba
cmp dword [rsp + 0x2c], 0
js 0x140214089
add r14, rbx
sub r14, qword [rsp + 0x38]
add rsi, r14
cmp rsi, rdi
jne 0x140214322
movaps xmm0, xmmword [0x1403aa440]
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
mov rsi, qword [rsp + 0x40]
cmp qword [rsp + 0x50], rsi
je 0x1402140e1
mov ecx, dword [rsi + 0x2c]
call fcn.140212f10
test rax, rax
je 0x1402142fa
mov r14, rax
mov rcx, qword [rsp + 0x58]
call fcn.140212f50
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], rsi
sub r12, rdi
mov rax, qword [rsi + 0x10]
lea rbx, [rsp + 0x50]
mov rcx, rbx
call qword [case.0x1402bbc90.0]
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
lea rdx, [0x1403c24b1]
mov r8d, 8
mov rcx, rbx
call qword [case.0x1402bbc90.0]
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov rcx, rbx
mov rdx, qword [rsp + 0x48]
mov r8, r13
call qword [case.0x1402bbc90.0]
mov rdx, r15
add rdx, rdi
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov rcx, rbx
mov r8, r12
call qword [case.0x1402bbc90.0]
mov rax, qword [rbx]
mov rax, qword [rax + 0x20]
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [case.0x1402bbc90.0]
mov rax, qword [rbx]
mov rcx, qword [rbx + 8]
mov edx, dword [rax + 0x2c]
call fcn.140212f90
mov edi, 1
test r13d, r13d
je 0x14021418c
lea rcx, [rsp + 0x70]
mov rdx, qword [rsp + 0x30]
mov r8, r13
call fcn.140243db0
test eax, eax
jne 0x1402142da
mov rcx, r15
call fcn.140212f50
mov rcx, qword [rsp + 0x58]
call fcn.140212f50
mov rax, qword [rsp + 0x68]
test rax, rax
jne 0x140214249
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140242430
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], 0x211
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
xor edi, edi
mov ecx, 4
xor edx, edx
mov r8d, 0x71
call fcn.1403497b0
xor r15d, r15d
jmp 0x14021418c
cmp eax, 0xfffffffe
jne 0x140214342
mov dword [rsp + 0x2c], eax
jmp 0x140213dbf
test r9d, r9d
je 0x14021436f
mov rax, qword [r12]
jmp 0x140213dfa
call qword [case.0x1402bbc90.0]
jmp 0x140213f81
mov dword [rsp + 0x20], 0x207
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
xor edi, edi
mov ecx, 4
xor edx, edx
mov r8d, 0x7a
jmp 0x1402141f0
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
call qword [case.0x1402bbc90.0]
jmp 0x1402141ac
test edx, edx
je 0x140214376
mov rax, qword [r12]
jmp 0x140213edb
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, 0x7f
jmp 0x1402141f0
mov dword [rsp + 0x20], 0x21c
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
xor edi, edi
mov ecx, 4
xor edx, edx
mov r8d, 0x41
jmp 0x1402141f0
xor edi, edi
jmp 0x14021418c
mov dword [rsp + 0x20], 0x231
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
xor edi, edi
mov ecx, 4
xor edx, edx
mov r8d, 0x8b
jmp 0x140214318
mov dword [rsp + 0x20], 0x243
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
xor edi, edi
mov ecx, 4
xor edx, edx
mov r8d, 0x69
jmp 0x140214318
mov dword [rsp + 0x20], 0xd2
lea r9, str....._third_party_boringssl_srccrypto_fipsmoduledigestdigest.c
xor edi, edi
mov ecx, 0x1d
xor edx, edx
mov r8d, 0x41
call fcn.1403497b0
jmp 0x14021418c
mov dword [rsp + 0x20], 0x237
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
xor edi, edi
mov ecx, 4
xor edx, edx
mov r8d, 0x8a
jmp 0x140214318
mov dword [rsp + 0x2c], eax
jge 0x140213dbf
mov dword [rsp + 0x20], 0x200
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
xor edi, edi
mov ecx, 4
xor edx, edx
mov r8d, 0x8a
jmp 0x1402141f0
xor ebp, ebp
jmp 0x140213ea7
xor eax, eax
jmp 0x140213f81