Function at 0x180007a70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
movaps xmmword [rsp + 0x80], xmm6
mov rax, qword [0x18005a080]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov ebp, dword [0x180060008]
mov r15, rdx
mov r12, rcx
movabs r13, 0x7ffffef0000e
test ebp, ebp
jne 0x180007e27
call fcn.180007850
movups xmm0, xmmword [str.uVBNXNXj_0._]
xor ebp, ebp
mov rdi, rax
cmp byte [0x1800500f3], bpl
mov eax, dword [str._2G]
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], eax
je 0x180007c81
cmp dword [0x18005a0d0], 2
mov r8d, ebp
jl 0x180007c37
movdqa xmm0, xmmword [0x1800518f0]
lea rcx, [rsp + 0x34]
movdqa xmm5, xmmword [0x180051840]
movdqa xmm4, xmmword [0x180051a80]
movdqa xmm6, xmmword [0x180051880]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
nop dword [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800518d0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800518d0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x180007b30
cmp r8d, 0x14
jge 0x180007c81
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x34
xor byte [r9 - 1], al
cmp r8d, 0x14
jl 0x180007c50
lea rax, [rdi - 0xffffa9]
cmp rax, r13
ja 0x180007da3
mov edx, 8
lea rcx, [rdi + 0x50]
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x180007da3
mov rdi, qword [rdi + 0x50]
test rdi, rdi
je 0x180007da3
lea rax, [rsp + 0x30]
mov r14, 0xffffffffffffffff
inc r14
cmp byte [rax + r14], bpl
jne 0x180007cc1
nop word [rax + rax]
lea rax, [rdi - 0xffffd1]
mov qword [rsp + 0x20], rbp
cmp rax, r13
ja 0x180007cfd
mov edx, 8
lea rcx, [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x180007cfd
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x20]
call fcn.180035f00
mov rsi, qword [rsp + 0x60]
lea rcx, [rsp + 0x48]
mov rbx, qword [rsp + 0x48]
cmp rsi, 0xf
mov r8, qword [rsp + 0x58]
cmova rcx, rbx
cmp r8, r14
jne 0x180007d3b
lea rdx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180007dba
cmp rsi, 0xf
jbe 0x180007d72
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x180007d6a
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180007e9d
mov rcx, rbx
call fcn.18004c45c
lea rbx, [rdi + 0x20]
mov rdi, rbp
lea rax, [rbx - 0xfffff9]
cmp rax, r13
ja 0x180007d9a
mov edx, 8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x180007d9a
mov rdi, qword [rbx]
test rdi, rdi
jne 0x180007cd0
mov dword [0x180060008], ebp
xorps xmm0, xmm0
movups xmmword [r15], xmm0
movups xmmword [r15 + 0x10], xmm0
jmp 0x180007e6a
lea rax, [rdi - 0xffffad]
cmp rax, r13
ja 0x180007de6
mov edx, 4
lea rcx, [rdi + 0x4c]
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x48]
test eax, eax
jne 0x180007de6
mov ebp, dword [rdi + 0x4c]
cmp rsi, 0xf
jbe 0x180007e1d
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x180007e15
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180007e9d
mov rcx, rbx
call fcn.18004c45c
mov dword [0x180060008], ebp
test ebp, ebp
je 0x180007da9
mov ebx, ebp
xorps xmm6, xmm6
add rbx, r12
movaps xmmword [rsp + 0x70], xmm7
xorps xmm7, xmm7
lea rax, [rbx - 0xfffff9]
cmp rax, r13
ja 0x180007e5c
mov edx, 0x20
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x180007e5c
movups xmm6, xmmword [rbx]
movups xmm7, xmmword [rbx + 0x10]
movups xmmword [r15], xmm6
movups xmmword [r15 + 0x10], xmm7
movaps xmm7, xmmword [rsp + 0x70]
mov rax, r15
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.18004c400
mov rbx, qword [rsp + 0xe0]
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3