Function at 0x1800097c0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
push r13
push r14
sub rsp, 0x70
mov rax, qword [0x1801772b8]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov r14, qword [rsp + 0xc0]
mov r13, r9
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
test r8b, 0xf
je 0x18000980d
lea r8, str._length___AES_BLOCK_SIZE___0
mov edx, 0x56
lea rcx, str.________________________________________C:LibreSS5crypto_aes_aes_ige.c
call sym.version.dll_OpenSSLDie
mov qword [rsp + 0xb0], rbp
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x60], r15
shr rsi, 4
cmp dword [rsp + 0xc8], 1
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm7
jne 0x18000996c
cmp rbx, rdi
je 0x18000990a
movzx eax, r14b
or al, dil
or al, bl
test al, 3
jne 0x18000990a
lea rax, [r14 + 0x10]
mov rcx, r14
mov r12, rax
test rsi, rsi
je 0x1800098f6
mov edx, dword [r14]
lea r15, [rdi + 8]
lea rbp, [rbx + 8]
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rbp - 8]
mov r8, r13
xor eax, edx
lea rdx, [r15 - 8]
mov dword [r15 - 8], eax
mov eax, dword [rbp - 4]
xor eax, dword [rcx + 4]
mov dword [r15 - 4], eax
mov eax, dword [rcx + 8]
xor eax, dword [rbp]
mov dword [r15], eax
mov eax, dword [rbp + 4]
xor eax, dword [rcx + 0xc]
lea rcx, [r15 - 8]
mov dword [r15 + 4], eax
call sym.version.dll_AES_encrypt
mov eax, dword [r12]
lea rcx, [r15 - 8]
xor dword [r15 - 8], eax
mov eax, dword [r12 + 4]
xor dword [r15 - 4], eax
mov eax, dword [r12 + 8]
xor dword [r15], eax
mov eax, dword [r12 + 0xc]
lea r12, [rbp - 8]
xor dword [r15 + 4], eax
lea rbp, [rbp + 0x10]
mov edx, dword [r15 - 8]
lea r15, [r15 + 0x10]
sub rsi, 1
jne 0x180009880
lea rax, [r14 + 0x10]
movups xmm0, xmmword [rcx]
movups xmmword [r14], xmm0
movups xmm0, xmmword [r12]
movups xmmword [rax], xmm0
jmp 0x180009a8a
movups xmm0, xmmword [r14]
movups xmm7, xmmword [r14 + 0x10]
test rsi, rsi
je 0x18000995e
nop dword [rax + rax]
movups xmm6, xmmword [rbx]
mov r8, r13
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x20]
pxor xmm0, xmm6
movdqa xmmword [rsp + 0x20], xmm0
call sym.version.dll_AES_encrypt
lea rdi, [rdi + 0x10]
movdqa xmm0, xmm7
pxor xmm0, xmmword [rsp + 0x20]
movaps xmm7, xmm6
lea rbx, [rbx + 0x10]
movups xmmword [rdi - 0x10], xmm0
sub rsi, 1
jne 0x180009920
movups xmmword [r14], xmm0
movups xmmword [r14 + 0x10], xmm7
jmp 0x180009a8a
cmp rbx, rdi
je 0x180009a2b
movzx eax, r14b
or al, dil
or al, bl
test al, 3
jne 0x180009a2b
lea rax, [r14 + 0x10]
mov r12, r14
mov r15, rax
test rsi, rsi
je 0x180009a19
mov ecx, dword [rax]
lea rbp, [rbx + 8]
add rdi, 8
mov eax, dword [rbp - 8]
mov r8, r13
xor eax, ecx
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
mov eax, dword [rbp - 4]
xor eax, dword [r15 + 4]
mov dword [rsp + 0x24], eax
mov eax, dword [r15 + 8]
xor eax, dword [rbp]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 4]
xor eax, dword [r15 + 0xc]
lea r15, [rdi - 8]
mov rdx, r15
mov dword [rsp + 0x2c], eax
call sym.version.dll_AES_decrypt
mov eax, dword [r12]
lea rdi, [rdi + 0x10]
xor dword [r15], eax
mov eax, dword [r12 + 4]
xor dword [rdi - 0x14], eax
mov eax, dword [r12 + 8]
xor dword [rdi - 0x10], eax
mov eax, dword [r12 + 0xc]
lea r12, [rbp - 8]
xor dword [rdi - 0xc], eax
lea rbp, [rbp + 0x10]
mov ecx, dword [r15]
sub rsi, 1
jne 0x1800099a3
lea rax, [r14 + 0x10]
movups xmm0, xmmword [r12]
movups xmmword [r14], xmm0
movups xmm0, xmmword [r15]
movups xmmword [rax], xmm0
jmp 0x180009a8a
movups xmm7, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
test rsi, rsi
je 0x180009a81
nop dword [rax]
movups xmm0, xmmword [rbx]
mov r8, r13
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x20]
pxor xmm1, xmm0
movups xmm6, xmm0
movdqa xmmword [rsp + 0x20], xmm1
call sym.version.dll_AES_decrypt
lea rdi, [rdi + 0x10]
movdqa xmm1, xmm7
pxor xmm1, xmmword [rsp + 0x20]
movaps xmm7, xmm6
lea rbx, [rbx + 0x10]
movups xmmword [rdi - 0x10], xmm1
sub rsi, 1
jne 0x180009a40
movups xmmword [r14], xmm7
movups xmmword [r14 + 0x10], xmm1
movaps xmm7, xmmword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x50]
mov r15, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
mov rbp, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800d61c0
add rsp, 0x70
pop r14
pop r13
pop rdi
pop rsi
pop rbx
ret