Function at 0x140120d70
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rbx, rcx
mov rbp, qword [rsp + 0xd0]
mov rax, qword [0x140183028]
xor rax, rsp
test rbp, rbp
cmove rbp, r9
mov qword [rsp + 0x60], rax
mov rcx, qword [rcx + 8]
movsxd rax, dword [rcx + 8]
test rax, rax
je 0x140120e48
mov r12, r9
mov r15, rdx
mov r13d, dword [rsp + 0xd8]
mov edi, dword [r9 + 4]
mov rdx, qword [rcx]
xor r10d, r10d
xor r9d, r9d
or r9, qword [rdx + r10*8]
inc r10
cmp rax, r10
jne 0x140120dcd
test r9, r9
je 0x140120e48
mov qword [rsp + 0x38], r8
call fcn.14004b100
add eax, 7
mov r14d, eax
and r14d, 7
mov rcx, qword [rbx]
mov rdx, qword [rcx + 0x20]
test rdx, rdx
je 0x140120ecf
mov rcx, rbx
mov rax, rdx
call qword [0x1401ab008]
mov esi, eax
test r14d, r14d
jne 0x140120e1f
mov byte [r15], 0
inc r15
dec rsi
lea rax, [rdi + 2]
cmp rsi, rax
jae 0x140120e95
mov dword [rsp + 0x20], 0x26e
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
xor esi, esi
mov ecx, 4
xor edx, edx
mov r8d, 0x72
jmp 0x140120e66
mov dword [rsp + 0x20], 0x261
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
xor esi, esi
mov ecx, 4
xor edx, edx
mov r8d, pe_nt_image_headers64
call fcn.140139cc0
xor ebx, ebx
mov rcx, rbx
call fcn.140092880
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400b0a80
mov eax, esi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x28], r15
mov r15, rdi
cmp r13d, 0xffffffff
je 0x140120eb3
cmp r13d, 0xfffffffe
jne 0x140120f04
mov r15, rsi
sub r15, rdi
add r15, 0xfffffffffffffffe
mov r13, rsi
sub r13, rdi
lea rax, [r13 - 2]
cmp rax, r15
jae 0x140120ed7
mov dword [rsp + 0x20], 0x283
jmp 0x140120e30
shr eax, 3
jmp 0x140120e0e
test r15, r15
je 0x140120f12
mov rcx, r15
call fcn.140092840
test rax, rax
je 0x1401210c3
mov rbx, rax
lea r8, [0x14016b9a0]
mov rcx, rax
mov rdx, r15
call fcn.140118f00
jmp 0x140120f14
test r13d, r13d
js 0x14012106a
mov r15d, r13d
jmp 0x140120eb3
xor ebx, ebx
xorps xmm0, xmm0
lea rcx, [rsp + 0x40]
movaps xmmword [rcx + 0x10], xmm0
movaps xmmword [rcx], xmm0
mov rdx, r12
call fcn.14004d6e0
test eax, eax
je 0x14012108d
mov rax, qword [rsp + 0x28]
add rax, r13
dec rax
mov qword [rsp + 0x30], rax
dec r13
lea r12, [rsp + 0x40]
mov rax, qword [r12]
mov rax, qword [rax + 0x18]
lea rdx, [0x14016ba41]
mov r8d, 8
mov rcx, r12
call qword [0x1401ab008]
mov rax, qword [r12]
mov rax, qword [rax + 0x18]
mov rcx, r12
mov rdx, qword [rsp + 0x38]
mov r8, rdi
call qword [0x1401ab008]
mov rax, qword [r12]
mov rax, qword [rax + 0x18]
mov rcx, r12
mov rdx, rbx
mov r8, r15
call qword [0x1401ab008]
mov rax, qword [r12]
mov rax, qword [rax + 0x20]
mov rcx, r12
mov rdx, qword [rsp + 0x30]
call qword [0x1401ab008]
mov rax, qword [r12]
mov rcx, qword [r12 + 8]
mov edx, dword [rax + 0x2c]
call fcn.1400928c0
mov rcx, qword [r12 + 8]
call fcn.140092880
mov rax, qword [r12 + 0x18]
test rax, rax
je 0x140120fe2
mov rax, qword [rax]
mov rcx, qword [rsp + 0x50]
call qword [0x1401ab008]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x20], rbp
mov r12, qword [rsp + 0x28]
mov rcx, r12
mov rdx, r13
mov r8, qword [rsp + 0x30]
mov r9, rdi
call fcn.1400503d0
test eax, eax
je 0x1401210bc
add rdi, r15
mov rax, rsi
sub rax, rdi
xor byte [rax + r12 - 2], 1
test r15, r15
je 0x140121043
mov rcx, qword [rsp + 0x28]
add rax, rcx
dec rax
xor ecx, ecx
mov dl, byte [rbx + rcx]
xor byte [rax + rcx], dl
inc rcx
cmp r15, rcx
jne 0x140121035
test r14d, r14d
mov rdx, qword [rsp + 0x28]
je 0x14012105b
mov cl, 8
sub cl, r14b
mov eax, 0xff
shr eax, cl
and byte [rdx], al
mov byte [rsi + rdx - 1], 0xbc
mov esi, 1
jmp 0x140120e6d
mov dword [rsp + 0x20], 0x27c
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
xor esi, esi
mov ecx, 4
xor edx, edx
mov r8d, 0x8a
jmp 0x140120e66
mov rcx, qword [rsp + 0x48]
call fcn.140092880
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1401210af
mov rax, qword [rax]
mov rcx, qword [rsp + 0x50]
call qword [0x1401ab008]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
xor esi, esi
jmp 0x140120e6d
mov dword [rsp + 0x20], 0x28a
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
xor esi, esi
mov ecx, 4
xor edx, edx
mov r8d, 0x41
jmp 0x140120e66