Function at 0x18007ff48
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x148]
sub rsp, 0x220
call fcn.18008df40
xor r12d, r12d
test rax, rax
je 0x18007ff89
call fcn.18008e174
mov rbx, qword [rax + 0x98]
jmp 0x18007ff8c
mov rbx, r12
cmp qword [rbx], r12
je 0x180080953
cmp qword [rbx + 0x48], r12
je 0x18007ffa0
call fcn.180080e78
mov ecx, 0x379
call fcn.1800d1e88
mov rdi, rax
mov edx, 6
xor eax, eax
mov rcx, rdi
mov byte [rdi + 0x378], al
lea r8d, [rdx + 0x7a]
lea rax, [0x1800dcca0]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax + 0x70]
add rax, r8
movups xmmword [rcx + 0x60], xmm0
add rcx, r8
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x18007ffc8
movups xmm0, xmmword [rax]
mov r14d, 0x378
lea r15d, [rdx + 1]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
mov rax, qword [rax + 0x70]
movups xmmword [rcx + 0x50], xmm1
movups xmmword [rcx + 0x60], xmm0
mov qword [rcx + 0x70], rax
mov rax, rdi
mov ecx, r14d
xor byte [rax], 0xeb
add rax, r15
sub rcx, r15
jne 0x180080060
mov eax, dword [0x1800f7b8c]
mov rsi, qword [rbx]
mov r9d, dword [0x1800dcc10]
test r15b, al
jne 0x180080095
or eax, r15d
mov dword [0x1800f7b88], r9d
mov dword [0x1800f7b8c], eax
mov r8d, r9d
jmp 0x18008009c
mov r8d, dword [0x1800f7b88]
mov r13d, 5
mov r11d, 0xa0ff
mov r10d, 0x20ff
cmp r8d, r9d
jne 0x18008012f
mov rdx, qword [0x1800f6278]
lea rax, [0x18007fdcc]
cmp rax, rdx
jbe 0x1800800d2
add rdx, qword [0x1800f6280]
cmp rax, rdx
jb 0x1800800e8
lea rcx, [rax - 0x10000]
movabs rdx, 0x7ffffffdfffe
cmp rcx, rdx
ja 0x18008012f
mov edx, 0x60ff
cmp word [rax + 3], dx
jne 0x1800800fa
movzx r8d, byte [rax + r13]
jmp 0x180080105
cmp word [rax + 3], r11w
jne 0x18008010e
mov r8d, dword [rax + r13]
mov dword [0x1800f7b88], r8d
jmp 0x18008011f
cmp word [rax + 3], r10w
jne 0x18008011f
mov r8d, r12d
mov dword [0x1800f7b88], r12d
cmp r8d, r9d
je 0x180080132
shr r8d, 3
mov dword [0x1800f7b88], r8d
mov r9d, r8d
mov rax, qword [rsi]
mov ecx, r9d
mov rcx, qword [rax + rcx*8]
call fcn.1800d2a24
lea rcx, [rbx + 0x28]
xor r9d, r9d
mov qword [rsp + 0x20], rcx
mov r8, r14
mov rcx, rsi
mov rdx, rdi
call rax
test eax, eax
jne 0x180080953
xorps xmm0, xmm0
lea rdx, [rsp + 0x30]
movups xmmword [rbp - 0x20], xmm0
movabs r14, 0xdb02b55603ab8686
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x38], r14
movabs rax, 0x26df338fc654763d
mov qword [rsp + 0x30], rax
movabs rsi, 0x68907adb8f07396d
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], r14
movdqa xmm0, xmmword [rsp + 0x40]
xorps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
call fcn.18007fd58
xorps xmm0, xmm0
mov qword [rsp + 0x38], r14
movups xmmword [rbp - 0x10], xmm0
movabs rax, 0x2cc23594cc5f7c39
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
movdqa xmm0, xmmword [rsp + 0x30]
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x48], r14
xorps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
call fcn.18007fd58
xorps xmm0, xmm0
mov qword [rsp + 0x38], r14
movups xmmword [rbp], xmm0
movabs rax, 0x68907a89c04b762e
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x48], r14
lea rcx, [rbp]
movdqa xmm0, xmmword [rsp + 0x40]
xorps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
call fcn.18007fd58
mov rsi, qword [rbx]
lea rax, [rbp - 0x20]
mov r9d, dword [0x1800dcc10]
mov qword [rbp - 0x80], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x60], rax
lea rax, [rbp]
mov qword [rbp - 0x40], rax
mov eax, dword [0x1800f7b94]
mov dword [rbp - 0x78], r12d
mov qword [rbp - 0x74], 0x10
mov qword [rbp - 0x6c], r12
mov dword [rbp - 0x64], r12d
mov dword [rbp - 0x58], r12d
mov qword [rbp - 0x54], 0x10
mov qword [rbp - 0x4c], 8
mov dword [rbp - 0x44], r12d
mov dword [rbp - 0x38], r12d
mov qword [rbp - 0x34], 0x1c
mov qword [rbp - 0x2c], 0x10
mov dword [rbp - 0x24], r12d
test r15b, al
jne 0x1800802c6
or eax, r15d
mov dword [0x1800f7b90], r9d
mov dword [0x1800f7b94], eax
mov r8d, r9d
jmp 0x1800802cd
mov r8d, dword [0x1800f7b90]
cmp r8d, r9d
jne 0x18008035e
mov rdx, qword [0x1800f6278]
lea rax, [0x18007fdc4]
cmp rax, rdx
jbe 0x1800802f5
add rdx, qword [0x1800f6280]
cmp rax, rdx
jb 0x18008030b
lea rcx, [rax - 0x10000]
movabs rdx, 0x7ffffffdfffe
cmp rcx, rdx
ja 0x18008035e
mov edx, 0x60ff
mov r14d, 0x20ff
cmp word [rax + 3], dx
jne 0x180080323
movzx r8d, byte [rax + r13]
jmp 0x180080332
mov edx, 0xa0ff
cmp word [rax + 3], dx
jne 0x18008033b
mov r8d, dword [rax + r13]
mov dword [0x1800f7b90], r8d
jmp 0x18008034c
cmp word [rax + 3], r14w
jne 0x18008034c
mov r8d, r12d
mov dword [0x1800f7b90], r12d
cmp r8d, r9d
je 0x180080367
shr r8d, 3
mov dword [0x1800f7b90], r8d
jmp 0x180080364
mov r14d, 0x20ff
mov r9d, r8d
mov rax, qword [rsi]
mov ecx, r9d
mov rcx, qword [rax + rcx*8]
call fcn.1800d2a24
lea rdx, [rbx + 0x30]
mov r9, rdi
mov qword [rsp + 0x28], rdx
mov r8d, 3
lea rdx, [rbp - 0x80]
mov qword [rsp + 0x20], 0x378
mov rcx, rsi
call rax
test eax, eax
jne 0x180080953
mov rcx, rdi
call fcn.1800d1c18
mov eax, dword [0x1800f7ae4]
mov rdi, qword [rbx]
mov r9d, dword [0x1800dcc10]
mov dword [rsp + 0x40], 0x40
mov dword [rsp + 0x44], 2
mov dword [rsp + 0x48], 4
mov qword [rsp + 0x4c], 0x10000
test r15b, al
jne 0x1800803f5
or eax, r15d
mov dword [0x1800f7ae0], r9d
mov dword [0x1800f7ae4], eax
mov r8d, r9d
jmp 0x1800803fc
mov r8d, dword [0x1800f7ae0]
cmp r8d, r9d
jne 0x180080485
mov rdx, qword [0x1800f6278]
lea rax, [0x18007fdac]
cmp rax, rdx
jbe 0x180080424
add rdx, qword [0x1800f6280]
cmp rax, rdx
jb 0x18008043a
lea rcx, [rax - 0x10000]
movabs rdx, 0x7ffffffdfffe
cmp rcx, rdx
ja 0x180080485
mov edx, 0x60ff
cmp word [rax + 3], dx
jne 0x18008044c
movzx r8d, byte [rax + r13]
jmp 0x18008045b
mov edx, 0xa0ff
cmp word [rax + 3], dx
jne 0x180080464
mov r8d, dword [rax + r13]
mov dword [0x1800f7ae0], r8d
jmp 0x180080475
cmp word [rax + 3], r14w
jne 0x180080475
mov r8d, r12d
mov dword [0x1800f7ae0], r12d
cmp r8d, r9d
je 0x180080488
shr r8d, 3
mov dword [0x1800f7ae0], r8d
mov r9d, r8d
mov rax, qword [rdi]
mov ecx, r9d
mov rcx, qword [rax + rcx*8]
call fcn.1800d2a24
lea r9, [rbx + 0x38]
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, rdi
call rax
mov ecx, 0x2a1
call fcn.1800d1e88
mov rdi, rax
lea rcx, [0x1800dd020]
xor eax, eax
mov rdx, r13
mov r8d, 0x80
mov byte [rdi + 0x2a0], al
mov rax, rdi
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax], xmm0
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x10], xmm1
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x30], xmm1
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x40], xmm0
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x50], xmm1
movups xmm1, xmmword [rcx + 0x70]
add rcx, r8
movups xmmword [rax + 0x60], xmm0
add rax, r8
movups xmmword [rax - 0x10], xmm1
sub rdx, r15
jne 0x1800804d0
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea ecx, [rdx + 0x2a]
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm1
mov rax, rdi
movdqa xmm1, xmmword [0x1800df4c0]
movdqu xmm0, xmmword [rax]
xorps xmm1, xmm0
movdqu xmmword [rax], xmm1
lea rax, [rax + 0x10]
sub rcx, r15
jne 0x18008052d
mov eax, dword [0x1800f7b9c]
mov rsi, qword [rbx]
mov r9d, dword [0x1800dcc10]
test r15b, al
jne 0x180080573
or eax, r15d
mov dword [0x1800f7b98], r9d
mov dword [0x1800f7b9c], eax
mov r8d, r9d
jmp 0x18008057a
mov r8d, dword [0x1800f7b98]
cmp r8d, r9d
jne 0x180080603
mov rdx, qword [0x1800f6278]
lea rax, [0x18007fdd4]
cmp rax, rdx
jbe 0x1800805a2
add rdx, qword [0x1800f6280]
cmp rax, rdx
jb 0x1800805b8
lea rcx, [rax - 0x10000]
movabs rdx, 0x7ffffffdfffe
cmp rcx, rdx
ja 0x180080603
mov edx, 0x60ff
cmp word [rax + 3], dx
jne 0x1800805ca
movzx r8d, byte [rax + r13]
jmp 0x1800805d9
mov edx, 0xa0ff
cmp word [rax + 3], dx
jne 0x1800805e2
mov r8d, dword [rax + r13]
mov dword [0x1800f7b98], r8d
jmp 0x1800805f3
cmp word [rax + 3], r14w
jne 0x1800805f3
mov r8d, r12d
mov dword [0x1800f7b98], r12d
cmp r8d, r9d
je 0x180080606
shr r8d, 3
mov dword [0x1800f7b98], r8d
mov r9d, r8d
mov rax, qword [rsi]
mov ecx, r9d
mov rcx, qword [rax + rcx*8]
call fcn.1800d2a24
lea rdx, [rbx + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rdx
mov r8d, 0x2a0
mov rdx, rdi
mov rcx, rsi
call rax
test eax, eax
jne 0x180080953
mov rcx, rdi
call fcn.1800d1c18
xor edx, edx
lea rcx, [rbp + 0x10]
mov r8d, 0x108
call fcn.1800d1f24
movdqa xmm0, xmmword [0x1800df4b0]
mov eax, dword [0x1800f7ba4]
mov rdi, qword [rbx]
mov r9d, dword [0x1800dcc10]
movdqu xmmword [rbp + 0x20], xmm0
mov dword [rbp + 0x18], r15d
mov dword [rbp + 0x1c], r13d
mov dword [rbp + 0x30], r15d
mov byte [rbp + 0x34], 0xf
test r15b, al
jne 0x180080697
or eax, r15d
mov dword [0x1800f7ba0], r9d
mov dword [0x1800f7ba4], eax
mov r8d, r9d
jmp 0x18008069e
mov r8d, dword [0x1800f7ba0]
cmp r8d, r9d
jne 0x180080729
mov rdx, qword [0x1800f6278]
lea rax, [0x18007fddc]
cmp rax, rdx
jbe 0x1800806c6
add rdx, qword [0x1800f6280]
cmp rax, rdx
jb 0x1800806dc
lea rcx, [rax - 0x10000]
movabs rdx, 0x7ffffffdfffe
cmp rcx, rdx
ja 0x180080729
mov esi, 0x60ff
cmp word [rax + 3], si
jne 0x1800806ee
movzx r8d, byte [rax + r13]
jmp 0x1800806fd
mov edx, 0xa0ff
cmp word [rax + 3], dx
jne 0x180080706
mov r8d, dword [rax + r13]
mov dword [0x1800f7ba0], r8d
jmp 0x180080717
cmp word [rax + 3], r14w
jne 0x180080717
mov r8d, r12d
mov dword [0x1800f7ba0], r12d
cmp r8d, r9d
je 0x180080731
shr r8d, 3
mov dword [0x1800f7ba0], r8d
jmp 0x18008072e
mov esi, 0x60ff
mov r9d, r8d
mov rax, qword [rdi]
mov ecx, r9d
mov rcx, qword [rax + rcx*8]
call fcn.1800d2a24
lea r8, [rbx + 0x60]
mov rcx, rdi
lea rdx, [rbp + 0x10]
call rax
mov eax, dword [0x1800f7bac]
xorps xmm0, xmm0
mov rdi, qword [rbx]
mov r9d, dword [0x1800dcc10]
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x40], 3
mov dword [rsp + 0x44], r15d
mov dword [rsp + 0x5c], r15d
mov dword [rsp + 0x58], r15d
movdqu xmmword [rsp + 0x48], xmm0
test r15b, al
jne 0x18008079c
or eax, r15d
mov dword [0x1800f7ba8], r9d
mov dword [0x1800f7bac], eax
mov r8d, r9d
jmp 0x1800807a3
mov r8d, dword [0x1800f7ba8]
cmp r8d, r9d
jne 0x180080823
mov rdx, qword [0x1800f6278]
lea rax, [0x18007fdf4]
cmp rax, rdx
jbe 0x1800807c7
add rdx, qword [0x1800f6280]
cmp rax, rdx
jb 0x1800807dd
lea rcx, [rax - 0x10000]
movabs rdx, 0x7ffffffdfffe
cmp rcx, rdx
ja 0x180080823
cmp word [rax + 3], si
jne 0x1800807ea
movzx r8d, byte [rax + r13]
jmp 0x1800807f9
mov edx, 0xa0ff
cmp word [rax + 3], dx
jne 0x180080802
mov r8d, dword [rax + r13]
mov dword [0x1800f7ba8], r8d
jmp 0x180080813
cmp word [rax + 3], r14w
jne 0x180080813
mov r8d, r12d
mov dword [0x1800f7ba8], r12d
cmp r8d, r9d
je 0x180080826
shr r8d, 3
mov dword [0x1800f7ba8], r8d
mov r9d, r8d
mov rax, qword [rdi]
mov ecx, r9d
mov rcx, qword [rax + rcx*8]
call fcn.1800d2a24
lea r8, [rbx + 0x58]
mov rcx, rdi
lea rdx, [rsp + 0x40]
call rax
movdqa xmm0, xmmword [0x1800df490]
mov eax, dword [0x1800f7bb4]
mov rdi, qword [rbx]
mov r9d, dword [0x1800dcc10]
mov dword [rsp + 0x5c], r15d
mov dword [rsp + 0x58], r15d
mov dword [rsp + 0x54], r15d
mov dword [rsp + 0x60], 8
mov dword [rsp + 0x50], r12d
movdqu xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [rsp + 0x54]
movdqu xmmword [rsp + 0x64], xmm0
test r15b, al
jne 0x1800808a2
or eax, r15d
mov dword [0x1800f7bb0], r9d
mov dword [0x1800f7bb4], eax
mov r8d, r9d
jmp 0x1800808a9
mov r8d, dword [0x1800f7bb0]
cmp r8d, r9d
jne 0x180080929
mov rdx, qword [0x1800f6278]
lea rax, [0x18007fde8]
cmp rax, rdx
jbe 0x1800808cd
add rdx, qword [0x1800f6280]
cmp rax, rdx
jb 0x1800808e3
lea rcx, [rax - 0x10000]
movabs rdx, 0x7ffffffdfffe
cmp rcx, rdx
ja 0x180080929
cmp word [rax + 3], si
jne 0x1800808f0
movzx r8d, byte [rax + r13]
jmp 0x1800808ff
mov edx, 0xa0ff
cmp word [rax + 3], dx
jne 0x180080908
mov r8d, dword [rax + r13]
mov dword [0x1800f7bb0], r8d
jmp 0x180080919
cmp word [rax + 3], r14w
jne 0x180080919
mov r8d, r12d
mov dword [0x1800f7bb0], r12d
cmp r8d, r9d
je 0x18008092c
shr r8d, 3
mov dword [0x1800f7bb0], r8d
mov r9d, r8d
mov rdx, qword [rdi]
mov ecx, r9d
mov rcx, qword [rdx + rcx*8]
call fcn.1800d2a24
lea r8, [rbx + 0x68]
mov rcx, rdi
lea rdx, [rsp + 0x40]
call rax
call fcn.180080978
mov al, r15b
jmp 0x180080955
xor al, al
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret