Function at 0x180070980
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.18007eba4
xor r12d, r12d
test rax, rax
je 0x1800709c1
call fcn.18007edd8
mov rbx, qword [rax + 0x98]
jmp 0x1800709c4
mov rbx, r12
cmp qword [rbx], r12
je 0x180071337
cmp qword [rbx + 0x48], r12
je 0x1800709d8
call fcn.180071804
mov ecx, 0x379
call fcn.1800c2270
mov rdi, rax
mov edx, 6
xor eax, eax
mov rcx, rdi
mov byte [rdi + 0x378], al
lea r8d, [rdx + 0x7a]
lea rax, [0x1800d7150]
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 0x180070a00
movups xmm0, xmmword [rax]
mov esi, 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, esi
xor byte [rax], 0xeb
add rax, r15
sub rcx, r15
jne 0x180070a96
mov eax, dword [0x1800e605c]
mov r11, qword [rbx]
mov r9d, dword [0x1800d70a8]
test r15b, al
jne 0x180070acb
or eax, r15d
mov dword [0x1800e6058], r9d
mov dword [0x1800e605c], eax
mov r8d, r9d
jmp 0x180070ad2
mov r8d, dword [0x1800e6058]
mov r13d, 5
mov r14d, 0xa0ff
mov r10d, 0x20ff
cmp r8d, r9d
jne 0x180070b65
mov rdx, qword [0x1800e4b90]
lea rax, [0x180070804]
cmp rax, rdx
jbe 0x180070b08
add rdx, qword [0x1800e4b98]
cmp rax, rdx
jb 0x180070b1e
lea rcx, [rax - 0x10000]
movabs rdx, 0x7ffffffdfffe
cmp rcx, rdx
ja 0x180070b65
mov edx, 0x60ff
cmp word [rax + 3], dx
jne 0x180070b30
movzx r8d, byte [rax + r13]
jmp 0x180070b3b
cmp word [rax + 3], r14w
jne 0x180070b44
mov r8d, dword [rax + r13]
mov dword [0x1800e6058], r8d
jmp 0x180070b55
cmp word [rax + 3], r10w
jne 0x180070b55
mov r8d, r12d
mov dword [0x1800e6058], r12d
cmp r8d, r9d
je 0x180070b68
shr r8d, 3
mov dword [0x1800e6058], r8d
mov r9d, r8d
mov rax, qword [r11]
mov r8, rsi
mov ecx, r9d
mov rdx, rdi
xor r9d, r9d
mov r10, qword [rax + rcx*8]
lea rax, [rbx + 0x28]
mov rcx, r11
mov qword [rsp + 0x20], rax
call r10
test eax, eax
jne 0x180071337
xorps xmm0, xmm0
lea rdx, [rsp + 0x30]
movups xmmword [rbp - 0x20], xmm0
movabs r14, 0x90f31434aa91d9be
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x38], r14
movabs rax, 0x647ea3511dca0595
mov qword [rsp + 0x30], rax
movabs rsi, 0x2a31ea0554994ac5
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.180070790
xorps xmm0, xmm0
mov qword [rsp + 0x38], r14
movups xmmword [rbp - 0x10], xmm0
movabs rax, 0x6e63a54a17c10f91
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.180070790
xorps xmm0, xmm0
mov qword [rsp + 0x38], r14
movups xmmword [rbp], xmm0
movabs rax, 0x2a31ea571bd50586
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.180070790
mov r11, qword [rbx]
lea rax, [rbp - 0x20]
mov r9d, dword [0x1800d70a8]
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 [0x1800e6064]
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 0x180070cf8
or eax, r15d
mov dword [0x1800e6060], r9d
mov dword [0x1800e6064], eax
mov r8d, r9d
jmp 0x180070cff
mov r8d, dword [0x1800e6060]
cmp r8d, r9d
jne 0x180070d90
mov rdx, qword [0x1800e4b90]
lea rax, [0x1800707fc]
cmp rax, rdx
jbe 0x180070d27
add rdx, qword [0x1800e4b98]
cmp rax, rdx
jb 0x180070d3d
lea rcx, [rax - 0x10000]
movabs rdx, 0x7ffffffdfffe
cmp rcx, rdx
ja 0x180070d90
mov edx, 0x60ff
mov r14d, 0xa0ff
mov esi, 0x20ff
cmp word [rax + 3], dx
jne 0x180070d5a
movzx r8d, byte [rax + r13]
jmp 0x180070d65
cmp word [rax + 3], r14w
jne 0x180070d6e
mov r8d, dword [rax + r13]
mov dword [0x1800e6060], r8d
jmp 0x180070d7e
cmp word [rax + 3], si
jne 0x180070d7e
mov r8d, r12d
mov dword [0x1800e6060], r12d
cmp r8d, r9d
je 0x180070d9e
shr r8d, 3
mov dword [0x1800e6060], r8d
jmp 0x180070d9b
mov r14d, 0xa0ff
mov esi, 0x20ff
mov r9d, r8d
mov rax, qword [r11]
mov r8d, 3
mov edx, r9d
mov rcx, r11
mov r9, rdi
mov r10, qword [rax + rdx*8]
lea rax, [rbx + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, [rbp - 0x80]
mov qword [rsp + 0x20], 0x378
call r10
test eax, eax
jne 0x180071337
mov rcx, rdi
call fcn.1800c2034
mov eax, dword [0x1800e5fb4]
mov r11, qword [rbx]
mov r9d, dword [0x1800d70a8]
mov dword [rsp + 0x40], 0x40
mov dword [rsp + 0x44], 2
mov dword [rsp + 0x48], 4
mov qword [rsp + 0x4c], 0x10000
test r15b, al
jne 0x180070e28
or eax, r15d
mov dword [0x1800e5fb0], r9d
mov dword [0x1800e5fb4], eax
mov r8d, r9d
jmp 0x180070e2f
mov r8d, dword [0x1800e5fb0]
cmp r8d, r9d
jne 0x180070eaf
mov rdx, qword [0x1800e4b90]
lea rax, [0x1800707e4]
cmp rax, rdx
jbe 0x180070e53
add rdx, qword [0x1800e4b98]
cmp rax, rdx
jb 0x180070e69
lea rcx, [rax - 0x10000]
movabs rdx, 0x7ffffffdfffe
cmp rcx, rdx
ja 0x180070eaf
mov edx, 0x60ff
cmp word [rax + 3], dx
jne 0x180070e7b
movzx r8d, byte [rax + r13]
jmp 0x180070e86
cmp word [rax + 3], r14w
jne 0x180070e8f
mov r8d, dword [rax + r13]
mov dword [0x1800e5fb0], r8d
jmp 0x180070e9f
cmp word [rax + 3], si
jne 0x180070e9f
mov r8d, r12d
mov dword [0x1800e5fb0], r12d
cmp r8d, r9d
je 0x180070eb2
shr r8d, 3
mov dword [0x1800e5fb0], r8d
mov r9d, r8d
mov rax, qword [r11]
lea rdx, [rsp + 0x40]
mov r10d, r9d
xor r8d, r8d
lea r9, [rbx + 0x38]
mov rcx, r11
call qword [rax + r10*8]
mov ecx, 0x2a1
call fcn.1800c2270
mov rdi, rax
lea rcx, [0x1800d74d0]
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 0x180070ef3
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
movdqu xmm0, xmmword [rax]
xorps xmm0, xmmword [0x1800cc5c0]
movdqu xmmword [rax], xmm0
lea rax, [rax + 0x10]
sub rcx, r15
jne 0x180070f50
mov eax, dword [0x1800e606c]
mov r11, qword [rbx]
mov r9d, dword [0x1800d70a8]
test r15b, al
jne 0x180070f92
or eax, r15d
mov dword [0x1800e6068], r9d
mov dword [0x1800e606c], eax
mov r8d, r9d
jmp 0x180070f99
mov r8d, dword [0x1800e6068]
cmp r8d, r9d
jne 0x180071019
mov rdx, qword [0x1800e4b90]
lea rax, [0x18007080c]
cmp rax, rdx
jbe 0x180070fbd
add rdx, qword [0x1800e4b98]
cmp rax, rdx
jb 0x180070fd3
lea rcx, [rax - 0x10000]
movabs rdx, 0x7ffffffdfffe
cmp rcx, rdx
ja 0x180071019
mov edx, 0x60ff
cmp word [rax + 3], dx
jne 0x180070fe5
movzx r8d, byte [rax + r13]
jmp 0x180070ff0
cmp word [rax + 3], r14w
jne 0x180070ff9
mov r8d, dword [rax + r13]
mov dword [0x1800e6068], r8d
jmp 0x180071009
cmp word [rax + 3], si
jne 0x180071009
mov r8d, r12d
mov dword [0x1800e6068], r12d
cmp r8d, r9d
je 0x18007101c
shr r8d, 3
mov dword [0x1800e6068], r8d
mov r9d, r8d
mov rax, qword [r11]
mov r8d, 0x2a0
mov edx, r9d
mov rcx, r11
xor r9d, r9d
mov r10, qword [rax + rdx*8]
lea rax, [rbx + 0x40]
mov rdx, rdi
mov qword [rsp + 0x20], rax
call r10
test eax, eax
jne 0x180071337
mov rcx, rdi
call fcn.1800c2034
xor edx, edx
lea rcx, [rbp + 0x10]
mov r8d, 0x108
call fcn.1800c230c
movdqa xmm0, xmmword [0x1800cc5b0]
mov eax, dword [0x1800e6074]
mov r10, qword [rbx]
mov r9d, dword [0x1800d70a8]
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 0x1800710a9
or eax, r15d
mov dword [0x1800e6070], r9d
mov dword [0x1800e6074], eax
mov r8d, r9d
jmp 0x1800710b0
mov r8d, dword [0x1800e6070]
cmp r8d, r9d
jne 0x180071132
mov rdx, qword [0x1800e4b90]
lea rax, [0x180070814]
cmp rax, rdx
jbe 0x1800710d4
add rdx, qword [0x1800e4b98]
cmp rax, rdx
jb 0x1800710ea
lea rcx, [rax - 0x10000]
movabs rdx, 0x7ffffffdfffe
cmp rcx, rdx
ja 0x180071132
mov edi, 0x60ff
cmp word [rax + 3], di
jne 0x1800710fc
movzx r8d, byte [rax + r13]
jmp 0x180071107
cmp word [rax + 3], r14w
jne 0x180071110
mov r8d, dword [rax + r13]
mov dword [0x1800e6070], r8d
jmp 0x180071120
cmp word [rax + 3], si
jne 0x180071120
mov r8d, r12d
mov dword [0x1800e6070], r12d
cmp r8d, r9d
je 0x18007113a
shr r8d, 3
mov dword [0x1800e6070], r8d
jmp 0x180071137
mov edi, 0x60ff
mov r9d, r8d
mov rax, qword [r10]
lea r8, [rbx + 0x60]
lea rdx, [rbp + 0x10]
mov rcx, r10
call qword [rax + r9*8]
mov eax, dword [0x1800e607c]
xorps xmm0, xmm0
mov r10, qword [rbx]
mov r9d, dword [0x1800d70a8]
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 0x18007119b
or eax, r15d
mov dword [0x1800e6078], r9d
mov dword [0x1800e607c], eax
mov r8d, r9d
jmp 0x1800711a2
mov r8d, dword [0x1800e6078]
cmp r8d, r9d
jne 0x18007121d
mov rdx, qword [0x1800e4b90]
lea rax, [0x18007082c]
cmp rax, rdx
jbe 0x1800711c6
add rdx, qword [0x1800e4b98]
cmp rax, rdx
jb 0x1800711dc
lea rcx, [rax - 0x10000]
movabs rdx, 0x7ffffffdfffe
cmp rcx, rdx
ja 0x18007121d
cmp word [rax + 3], di
jne 0x1800711e9
movzx r8d, byte [rax + r13]
jmp 0x1800711f4
cmp word [rax + 3], r14w
jne 0x1800711fd
mov r8d, dword [rax + r13]
mov dword [0x1800e6078], r8d
jmp 0x18007120d
cmp word [rax + 3], si
jne 0x18007120d
mov r8d, r12d
mov dword [0x1800e6078], r12d
cmp r8d, r9d
je 0x180071220
shr r8d, 3
mov dword [0x1800e6078], r8d
mov r9d, r8d
mov rax, qword [r10]
lea r8, [rbx + 0x58]
lea rdx, [rsp + 0x40]
mov rcx, r10
call qword [rax + r9*8]
movdqa xmm0, xmmword [0x1800cc590]
mov eax, dword [0x1800e6084]
mov r11, qword [rbx]
mov r9d, dword [0x1800d70a8]
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 0x180071292
or eax, r15d
mov dword [0x1800e6080], r9d
mov dword [0x1800e6084], eax
mov r8d, r9d
jmp 0x180071299
mov r8d, dword [0x1800e6080]
cmp r8d, r9d
jne 0x180071314
mov rdx, qword [0x1800e4b90]
lea rax, [0x180070820]
cmp rax, rdx
jbe 0x1800712bd
add rdx, qword [0x1800e4b98]
cmp rax, rdx
jb 0x1800712d3
lea rcx, [rax - 0x10000]
movabs rdx, 0x7ffffffdfffe
cmp rcx, rdx
ja 0x180071314
cmp word [rax + 3], di
jne 0x1800712e0
movzx r8d, byte [rax + r13]
jmp 0x1800712eb
cmp word [rax + 3], r14w
jne 0x1800712f4
mov r8d, dword [rax + r13]
mov dword [0x1800e6080], r8d
jmp 0x180071304
cmp word [rax + 3], si
jne 0x180071304
mov r8d, r12d
mov dword [0x1800e6080], r12d
cmp r8d, r9d
je 0x180071317
shr r8d, 3
mov dword [0x1800e6080], r8d
mov r9d, r8d
mov r10d, r9d
lea r8, [rbx + 0x68]
mov r9, qword [r11]
lea rdx, [rsp + 0x40]
mov rcx, r11
call qword [r9 + r10*8]
call fcn.18007135c
mov al, r15b
jmp 0x180071339
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