Function at 0x180178160
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xf0
mov r15, r9
mov rsi, r8
mov r14, rdx
mov r9, rcx
xor r12d, r12d
mov rcx, r8
lea rdi, [r8 + 0x18]
cmp qword [r8 + 0x18], 0xf
jbe 0x1801781ab
mov rcx, qword [r8]
mov r8d, 0x84222325
movzx eax, byte [rcx]
test al, al
je 0x1801781dc
nop dword [rax + rax]
movsx eax, al
xor eax, r8d
imul r8d, eax, 0x1b3
lea rcx, [rcx + 1]
movzx eax, byte [rcx]
test al, al
jne 0x1801781c0
lea rdi, [rsi + 0x18]
lea rdx, [rsp + 0x28]
mov rcx, r9
call fcn.18017a2a0
nop
cmp qword [rsp + 0x38], 0
jne 0x180178333
lea rbx, [r15 + 0x10]
mov rdx, qword [rbx]
mov qword [rbx], r12
lea rdi, [r15 + 8]
mov rcx, qword [rdi]
mov qword [rdi], r12
mov rax, qword [r15]
mov qword [r15], r12
mov qword [r14], rax
mov qword [r14 + 8], rcx
mov qword [r14 + 0x10], rdx
mov r14, rdi
mov r12, rbx
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x180178266
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180178261
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801787ca
lea r14, [r15 + 8]
lea r12, [r15 + 0x10]
call fcn.180182790
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], al
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x1801782ba
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x1801782af
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1801787b2
mov rcx, r8
call fcn.180182790
mov rdi, r14
mov rbx, r12
xor r14d, r14d
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 0xf
mov byte [rsi], r14b
mov rcx, qword [r15]
test rcx, rcx
je 0x180178311
mov rdx, qword [rbx]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x180178303
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1801787b8
mov rcx, r8
call fcn.180182790
mov qword [r15], r14
mov qword [rdi], r14
mov qword [rbx], r14
mov r13, qword [rbp + 0x6f]
mov rax, r13
mov rbx, qword [rsp + 0x130]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
movabs rax, 0x8e992bf3704ee832
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rbp - 0x49], rax
movabs rdx, 0x93e8cbcb24d100b0
mov qword [rsp + 0x20], rdx
mov rax, qword [rsp + 0x20]
mov qword [rbp - 0x41], rax
movabs rax, 0x8e992baa241ea577
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rbp - 0x29], rax
mov qword [rsp + 0x20], rdx
mov rax, qword [rsp + 0x20]
mov qword [rbp - 0x21], rax
vmovdqu xmm0, xmmword [rbp - 0x49]
vpxor xmm1, xmm0, xmmword [rbp - 0x29]
vmovdqu xmmword [rbp - 0x49], xmm1
lea rcx, [rbp - 0x49]
mov rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x1801783a6
lea rcx, [rsp + 0x28]
mov r14, qword [rsp + 0x28]
mov r13, qword [rsp + 0x40]
cmp r13, 0xf
jbe 0x1801783cb
mov rcx, r14
lea rdi, [rsi + 0x18]
mov r8, qword [rsp + 0x38]
cmp r8, rax
jne 0x1801784e9
lea rdx, [rbp - 0x49]
call fcn.180184e00
test eax, eax
jne 0x1801784df
mov rax, qword [rbp + 0x6f]
mov qword [rax], r12
mov qword [rax + 8], r12
mov qword [rax + 0x10], r12
cmp r13, 0xf
jbe 0x180178434
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x18017842c
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801787ca
lea rdi, [rsi + 0x18]
mov rcx, r14
call fcn.180182790
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], 0
mov rdx, qword [rdi]
cmp rdx, 0xf
jbe 0x180178480
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x18017847b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1801787b2
mov rcx, r8
call fcn.180182790
mov qword [rsi + 0x10], r12
mov qword [rdi], 0xf
mov byte [rsi], 0
mov rcx, qword [r15]
test rcx, rcx
je 0x180178311
mov rdx, qword [r15 + 0x10]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x1801784ca
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1801787b8
mov rcx, r8
call fcn.180182790
mov qword [r15], r12
mov qword [r15 + 8], r12
mov qword [r15 + 0x10], r12
jmp 0x180178311
movabs rdx, 0x93e8cbcb24d100b0
movabs rax, 0x8e992baa241ea54c
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rbp - 0x49], rax
mov qword [rsp + 0x20], rdx
mov rax, qword [rsp + 0x20]
mov qword [rbp - 0x41], rax
movabs rax, 0x8e992baa241ea577
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rbp + 7], rax
mov qword [rsp + 0x20], rdx
mov rax, qword [rsp + 0x20]
mov qword [rbp + 0xf], rax
vmovdqu xmm0, xmmword [rbp - 0x49]
vpxor xmm1, xmm0, xmmword [rbp + 7]
vmovdqu xmmword [rbp - 0x49], xmm1
vpxor xmm2, xmm2, xmm2
vmovups xmmword [rbp - 0x29], xmm2
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [rbp - 0x19], xmm0
lea rax, [rbp - 0x49]
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x180178560
mov r8, rbx
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x29]
call fcn.1800db380
nop
lea r8, [rbp - 0x29]
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x79]
call fcn.18017b670
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x1801785c8
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801785c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801787be
call fcn.180182790
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [rbp - 0x61], xmm0
mov r14, r12
mov qword [rbp - 0x51], r12
mov r12, qword [rbp - 0x71]
mov rbx, qword [rbp - 0x79]
mov rdi, qword [rbp - 0x59]
cmp rbx, r12
je 0x180178660
xor r13d, r13d
nop dword [rax]
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1801785fd
mov rcx, qword [rbx]
mov r8d, 0xa
lea rdx, [rbp - 1]
call fcn.1801850f0
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x180178619
mov rcx, qword [rbx]
cmp rcx, qword [rbp - 1]
cmove eax, r13d
mov dword [rsp + 0x48], eax
cmp rdi, r14
je 0x180178636
mov dword [rdi], eax
add rdi, 4
mov qword [rbp - 0x59], rdi
jmp 0x18017864f
lea r8, [rsp + 0x48]
mov rdx, rdi
lea rcx, [rbp - 0x61]
call fcn.180177650
mov r14, qword [rbp - 0x51]
mov rdi, qword [rbp - 0x59]
add rbx, 0x20
cmp rbx, r12
jne 0x1801785f0
mov r12, qword [rbp - 0x71]
mov rbx, qword [rbp - 0x79]
mov rax, qword [rbp - 0x61]
mov r13, qword [rbp + 0x6f]
mov qword [r13], rax
mov qword [r13 + 8], rdi
mov qword [r13 + 0x10], r14
test rbx, rbx
je 0x1801786d0
lea r8, [rbp - 0x79]
mov rdx, r12
mov rcx, rbx
call fcn.1801775c0
mov rdx, qword [rbp - 0x69]
mov rcx, qword [rbp - 0x79]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801786bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801787c4
call fcn.180182790
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [rbp - 0x79], xmm0
xor ebx, ebx
mov qword [rbp - 0x69], rbx
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x18017870d
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180178708
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801787ca
call fcn.180182790
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x180178756
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x180178751
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1801787b2
mov rcx, r8
call fcn.180182790
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rcx, qword [r15]
test rcx, rcx
je 0x180178315
mov rdx, qword [r15 + 0x10]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x18017879d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1801787b8
mov rcx, r8
call fcn.180182790
mov qword [r15], rbx
mov qword [r15 + 8], rbx
mov qword [r15 + 0x10], rbx
jmp 0x180178315
call fcn.1800e6e30
nop
call fcn.1800e6e30
nop
call fcn.1800e6e30
nop
call fcn.1800e6e30
nop
call fcn.1800e6e30
int3