Function at 0x140070c40
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 [0x140186028]
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 0x140071000
mov r13, qword [rsp + 0x120]
mov rcx, qword [rsi + 8]
call fcn.14006b2f0
add eax, 7
mov ebx, eax
and ebx, 7
mov rcx, qword [rsi]
mov rdx, qword [rcx + 0x20]
test rdx, rdx
jne 0x14007103b
shr eax, 3
movzx edx, byte [r13]
mov ecx, ebx
shr edx, cl
test edx, edx
jne 0x140070f9c
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 0x140070f0d
mov ecx, dword [rsp + 0x34]
mov r15d, ecx
test ecx, ecx
js 0x140070d15
add rax, r15
cmp r12, rax
jb 0x140070f0d
mov qword [rsp + 0x38], rdx
add r13, r14
cmp byte [r13 + r12 - 1], 0xbc
jne 0x140070f7c
mov rax, rdi
not rax
add r12, rax
mov rcx, r12
call fcn.14004e1d0
test rax, rax
je 0x140070ef7
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.140070aa0
test eax, eax
je 0x140070ef9
test r12, r12
je 0x140070d82
xor eax, eax
mov cl, byte [r13 + rax]
xor byte [rsi + rax], cl
inc rax
cmp rax, r12
jb 0x140070d72
test ebx, ebx
je 0x140070d93
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 0x140070db0
cmp rcx, rax
mov rcx, r13
jb 0x140070d9d
cmp dl, 1
jne 0x140070f34
cmp dword [rsp + 0x34], 0
js 0x140070dd7
add r14, qword [rsp + 0x38]
not r15
add r15, r14
sub r15, rdi
cmp r15, r13
jne 0x140070fdd
movaps xmm0, xmmword [0x140157be0]
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.14006e1c0
test eax, eax
je 0x140070ef9
sub r12, r13
lea rbx, [rsp + 0x50]
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
lea rdx, [0x140163e30]
mov r8d, 8
mov rcx, rbx
call qword [0x1401af008]
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov rcx, rbx
mov rdx, qword [rsp + 0x48]
mov r8, rdi
call qword [0x1401af008]
mov rdx, rsi
add rdx, r13
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov rcx, rbx
mov r8, r12
call qword [0x1401af008]
mov rax, qword [rbx]
mov rax, qword [rax + 0x20]
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [0x1401af008]
mov rax, qword [rbx]
mov rcx, qword [rbx + 8]
mov edx, dword [rax + 0x2c]
call fcn.14004e270
cmp edi, 0x20
jne 0x140070fbf
lea rcx, [rsp + 0x70]
mov r8d, 0x20
mov rdx, rbp
call fcn.14009dcf0
mov edi, 1
test eax, eax
jne 0x140070f5c
mov rcx, rsi
call fcn.14004e230
mov rcx, qword [rsp + 0x58]
call fcn.14004e230
mov rax, qword [rsp + 0x68]
test rax, rax
jne 0x140070efd
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14009c350
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 0x140070eb5
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
call qword [0x1401af008]
jmp 0x140070ed1
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.14007cd30
xor esi, esi
jmp 0x140070eb5
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
call fcn.14007cd30
jmp 0x140070eb5
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
jmp 0x140070f52
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 0x140070f2b
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 0x140070f2b
test edi, edi
jne 0x140070fcd
mov edi, 1
jmp 0x140070eb5
lea rcx, [rsp + 0x70]
mov rdx, rbp
mov r8, rdi
jmp 0x140070ea3
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 0x140070f52
cmp eax, 0xfffffffe
jne 0x14007100e
mov dword [rsp + 0x34], eax
jmp 0x140070ca3
mov dword [rsp + 0x34], eax
jge 0x140070ca3
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 0x140070f2b
mov rcx, rsi
mov rax, rdx
call qword [0x1401af008]
jmp 0x140070ccf