Function at 0x140091170
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1d8
mov rbx, qword [rsp + 0x288]
mov rax, qword [0x140192040]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
add rbx, qword [rsp + 0x270]
jb 0x140091573
cmp rbx, qword [rsp + 0x240]
ja 0x140091593
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x48], r9
mov rsi, qword [rsp + 0x250]
test rsi, rsi
je 0x1400915b3
mov rdi, r8
mov r15, rcx
mov r12, qword [rsp + 0x280]
mov rbp, qword [rsp + 0x248]
lea rcx, [rsp + 0x50]
mov r8d, 0x180
xor edx, edx
call fcn.1400e6710
lea rdx, [r15 + 0xf8]
lea r14, [rsp + 0xa0]
mov r8d, 0x120
mov rcx, r14
call fcn.1400e6070
mov r13, qword [r14 + 0x100]
xorps xmm0, xmm0
movaps xmmword [r14 - 0x50], xmm0
mov dword [r14 + 0x120], 0
movaps xmmword [r14 - 0x20], xmm0
movaps xmmword [r14 - 0x10], xmm0
cmp rsi, 0xc
jne 0x1400914c0
mov eax, dword [rbp + 8]
mov dword [rsp + 0x58], eax
mov rax, qword [rbp]
mov qword [rsp + 0x50], rax
mov byte [rsp + 0x5f], 1
mov ebp, 2
lea rdx, [rsp + 0x70]
mov rax, qword [rdx + 0x140]
lea rsi, [rsp + 0x50]
mov rcx, rsi
mov r8, r15
call qword [0x140185010]
bswap ebp
mov dword [rsi + 0xc], ebp
test r12, r12
je 0x14009132d
xor ebp, ebp
cmp qword [rsp + 0x88], 0
jne 0x140091455
mov rcx, qword [rsp + 0x80]
add rcx, r12
setb al
movabs rdx, 0x2000000000000000
cmp rcx, rdx
ja 0x140091455
test al, al
jne 0x140091455
mov r13, qword [rsp + 0x278]
mov rax, qword [rsp + 0x1a0]
mov rbp, qword [rsp + 0x1a8]
mov qword [rsp + 0x80], rcx
mov edx, dword [rsp + 0x1c4]
test edx, edx
jne 0x14009147b
mov rsi, r12
mov r12, rsi
and r12, 0xfffffffffffffff0
jne 0x140091621
test rsi, rsi
je 0x14009156c
xor eax, eax
mov cl, byte [r13 + rax]
xor byte [rsp + rax + 0x90], cl
inc rax
cmp rsi, rax
jne 0x140091310
mov edx, esi
mov dword [rsp + 0x1c4], edx
mov rax, qword [rsp + 0x260]
mov r8, qword [rsp + 0x258]
mov rcx, qword [r15 + 0x218]
test rcx, rcx
mov r13, qword [rsp + 0x270]
je 0x1400915eb
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x50]
mov rdx, r15
mov r9, qword [rsp + 0x40]
call fcn.14008fe20
test eax, eax
je 0x140091565
test r13, r13
je 0x1400913b8
mov r8, qword [rsp + 0x268]
mov rax, qword [r15 + 0x218]
test rax, rax
je 0x140091607
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea rcx, [rsp + 0x50]
mov rdx, r15
mov r9, rdi
call fcn.14008fe20
test eax, eax
je 0x140091565
mov r12, qword [rsp + 0x1a0]
mov eax, dword [rsp + 0x1c0]
or eax, dword [rsp + 0x1c4]
je 0x1400913e4
lea rcx, [rsp + 0x90]
mov rdx, r14
mov rax, r12
call qword [0x140185010]
lea r15, [rsp + 0x90]
mov rax, qword [r15 - 0x10]
shl rax, 3
bswap rax
mov rcx, qword [r15 - 8]
shl rcx, 3
bswap rcx
xor qword [r15], rax
xor qword [r15 + 8], rcx
mov rcx, r15
mov rdx, r14
mov rax, r12
call qword [0x140185010]
mov rax, qword [r15 - 0x20]
mov rcx, qword [r15 - 0x18]
xor qword [r15], rax
xor qword [r15 + 8], rcx
mov r8, qword [rsp + 0x288]
test r8, r8
mov rsi, qword [rsp + 0x48]
je 0x14009144d
add rdi, r13
cmp r8, 0x10
jb 0x1400915db
movups xmm0, xmmword [r15]
movups xmmword [rdi], xmm0
mov qword [rsi], rbx
mov ebp, 1
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1400b4010
mov eax, ebp
add rsp, 0x1d8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0x90]
mov r8b, byte [r13]
mov r9d, edx
xor byte [rsp + r9 + 0x90], r8b
inc r13
lea rsi, [r12 - 1]
inc edx
and edx, 0xf
je 0x1400914aa
cmp r12, 1
mov r12, rsi
jne 0x140091483
test edx, edx
jne 0x140091326
mov rdx, r14
call qword [0x140185010]
jmp 0x1400912f8
cmp rsi, 0x10
jb 0x140091510
mov qword [rsp + 0x38], rsi
mov rax, qword [rbp]
xor qword [rsp + 0x50], rax
mov rax, qword [rbp + 8]
xor qword [rsp + 0x58], rax
lea rcx, [rsp + 0x50]
mov rdx, r14
mov rax, r13
call qword [0x140185010]
add rbp, 0x10
mov rax, qword [rsp + 0x38]
add rax, 0xfffffffffffffff0
mov qword [rsp + 0x38], rax
cmp rax, 0xf
ja 0x1400914cb
cmp qword [rsp + 0x38], 0
jne 0x140091515
jmp 0x14009153a
mov qword [rsp + 0x38], rsi
xor eax, eax
mov cl, byte [rbp + rax]
xor byte [rsp + rax + 0x50], cl
inc rax
cmp qword [rsp + 0x38], rax
jne 0x140091517
lea rcx, [rsp + 0x50]
mov rdx, r14
mov rax, r13
call qword [0x140185010]
shl rsi, 3
bswap rsi
lea rbp, [rsp + 0x50]
xor qword [rbp + 8], rsi
mov rcx, rbp
mov rdx, r14
mov rax, r13
call qword [0x140185010]
mov ebp, dword [rbp + 0xc]
bswap ebp
inc ebp
jmp 0x140091261
xor ebp, ebp
jmp 0x140091455
xor edx, edx
jmp 0x140091326
mov dword [rsp + 0x20], 0x3b9
lea r9, str....._third_party_boringssl_srccrypto_fipsmoduleciphere_aes.c
xor ebp, ebp
mov ecx, 0x1e
xor edx, edx
mov r8d, 0x75
jmp 0x1400915d1
mov dword [rsp + 0x20], 0x3bd
lea r9, str....._third_party_boringssl_srccrypto_fipsmoduleciphere_aes.c
xor ebp, ebp
mov ecx, 0x1e
xor edx, edx
mov r8d, 0x67
jmp 0x1400915d1
mov dword [rsp + 0x20], 0x3c1
lea r9, str....._third_party_boringssl_srccrypto_fipsmoduleciphere_aes.c
xor ebp, ebp
mov ecx, 0x1e
xor edx, edx
mov r8d, 0x6f
call fcn.140135f70
jmp 0x140091455
mov rcx, rdi
mov rdx, r15
call fcn.1400e6070
jmp 0x14009144d
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x50]
mov rdx, r15
mov r9, qword [rsp + 0x40]
call fcn.140124450
jmp 0x140091371
mov qword [rsp + 0x20], r13
lea rcx, [rsp + 0x50]
mov rdx, r15
mov r9, rdi
call fcn.140124450
jmp 0x1400913b0
lea rcx, [rsp + 0x90]
mov rdx, r14
mov r8, r13
mov r9, r12
mov rax, rbp
call qword [0x140185010]
add r13, r12
and esi, 0xf
jmp 0x140091305