Function at 0x180030a50
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
lea rbp, [rax - 0x5f]
sub rsp, 0x100
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x18010b040]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov eax, dword [0x1800e754c]
mov dword [rsp + 0x20], eax
movzx ecx, word [0x1800e7550]
mov word [rsp + 0x24], cx
movzx eax, byte [0x1800e7552]
mov byte [rsp + 0x20], 0x4f
xor byte [rsp + 0x21], 0x38
xor byte [rsp + 0x22], 0x39
xor byte [rsp + 0x23], 0x3a
xor cl, 0x3b
mov byte [rsp + 0x24], cl
xor byte [rsp + 0x25], 0x3c
xor al, 0x3d
mov byte [rsp + 0x26], al
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 9], xmm1
lea rax, [rsp + 0x20]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop
inc r8
cmp byte [rax + r8], 0
jne 0x180030ae0
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x19]
call fcn.180012e90
nop
lea rcx, [rbp - 0x19]
call fcn.18004ac60
mov rsi, rax
movups xmm0, xmmword [str.s___NPIa_]
movups xmmword [rsp + 0x20], xmm0
movdqa xmm6, xmmword [0x1800f7c10]
mov edi, dword [0x18010b090]
psrldq xmm0, 0xf
movd ecx, xmm0
test cl, cl
je 0x180030ca3
cmp edi, 2
jl 0x180030c59
movdqa xmm4, xmmword [0x1800f7ad0]
xor edx, edx
movdqa xmm3, xmmword [0x1800f7fd0]
movdqa xmm5, xmmword [0x1800f7b40]
movdqa xmm0, xmmword [0x1800f7c70]
movdqa xmmword [rbp - 0x79], xmm0
lea rcx, [rsp + 0x24]
mov r8d, dword [rbp - 0x79]
nop dword [rax]
movd xmm2, edx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x10
jl 0x180030b70
jmp 0x180030ca3
lea r9, [rsp + 0x20]
xor r8d, r8d
nop dword [rax]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x10
jl 0x180030c70
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x29], xmm1
lea rax, [rsp + 0x20]
mov r8, rbx
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180030cc0
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x39]
call fcn.180012e90
nop
lea rcx, [rbp - 0x39]
call fcn.18004ac60
mov qword [rbp + 7], rsi
mov qword [rbp + 0xf], rax
mov eax, dword [0x1800e6bb0]
mov dword [rsp + 0x20], eax
movzx eax, word [0x1800e6bb4]
mov word [rsp + 0x24], ax
mov byte [rsp + 0x20], 0x46
xor byte [rsp + 0x21], 0x38
xor byte [rsp + 0x22], 0x39
xor byte [rsp + 0x23], 0x3a
xor al, 0x3b
mov byte [rsp + 0x24], al
xor byte [rsp + 0x25], 0x3c
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x49], xmm1
lea rax, [rsp + 0x20]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x180030d36
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x59]
call fcn.180012e90
nop
lea rcx, [rbp - 0x59]
call fcn.18004ac60
mov rsi, rax
movsd xmm0, qword [0x1800e71f0]
movsd qword [rsp + 0x20], xmm0
mov ecx, dword [0x1800e71f8]
mov dword [rsp + 0x28], ecx
movzx ecx, word [0x1800e71fc]
mov word [rbp - 0x7d], cx
movzx ecx, byte [0x1800e71fe]
mov byte [rbp - 0x7b], cl
xor r8d, r8d
cmp edi, 2
jl 0x180030e80
movdqa xmm4, xmmword [0x1800f7fd0]
movdqa xmm3, xmmword [0x1800f7ad0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800f7b40]
psubd xmm3, xmm0
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
mov eax, dword [0x1800f7c70]
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [0x1800e71f0]
xorps xmm3, xmm0
movd dword [rsp + 0x20], xmm3
movdqa xmm2, xmmword [0x1800f7af0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800f7b40]
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x24]
xorps xmm2, xmm1
movd dword [rsp + 0x24], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x20]
add r9, rax
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xf
jl 0x180030e90
xorps xmm0, xmm0
movups xmmword [rbp - 0x79], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x69], xmm1
lea rax, [rsp + 0x20]
inc rbx
cmp byte [rax + rbx], 0
jne 0x180030ed7
mov r8, rbx
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x79]
call fcn.180012e90
nop
lea rcx, [rbp - 0x79]
call fcn.18004ac60
mov qword [rbp + 0x17], rsi
mov qword [rbp + 0x1f], rax
lea rdi, [rbp + 7]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x27], xmm0
mov qword [rbp + 0x37], 0
mov ecx, 0x20
call fcn.1800b0bd0
mov rbx, rax
mov qword [rbp + 0x27], rax
lea rcx, [rax + 0x20]
mov qword [rbp + 0x37], rcx
mov r8d, 0x20
mov rdx, rdi
mov rcx, rax
call fcn.1800d76f0
lea rax, [rbx + 0x20]
mov qword [rbp + 0x2f], rax
mov rdx, qword [rbp - 0x61]
cmp rdx, 0xf
jbe 0x180030f85
inc rdx
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180030f7f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180031148
call fcn.1800b0bc8
nop
mov rdx, qword [rbp - 0x41]
cmp rdx, 0xf
jbe 0x180030fc1
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180030fbb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003114e
call fcn.1800b0bc8
nop
mov rdx, qword [rbp - 0x21]
cmp rdx, 0xf
jbe 0x180030ffd
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180030ff7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180031154
call fcn.1800b0bc8
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x180031038
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180031033
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003115a
call fcn.1800b0bc8
mov ebx, 0x28
xor r9d, r9d
mov rsi, qword [rbp + 0x2f]
mov r11, qword [rbp + 0x27]
sub rsi, r11
sar rsi, 4
test rsi, rsi
je 0x1800310dd
xor r8d, r8d
mov edx, ebx
nop dword [rax]
mov rax, r8
add rax, rax
mov rdi, qword [r11 + rax*8]
mov r10d, ebx
mov rax, rdx
cmp ebx, 0x1a0
jge 0x1800310cf
nop dword [rax + rax]
mov rcx, r8
add rcx, rcx
mov rcx, qword [r11 + rcx*8 + 8]
cmp qword [rax + rdi], rcx
jne 0x180031096
cmp rax, rdx
jge 0x1800310a9
add r10d, 4
add rax, 4
cmp r10d, 0x1a0
jl 0x180031080
jmp 0x1800310cf
cmovle r10d, ebx
mov ebx, r10d
xor ecx, ecx
cmp rax, rdx
cmovle ecx, r9d
mov r9d, ecx
xor ecx, ecx
cmp rax, rdx
cmovle rcx, r8
mov r8, rcx
cmovle rax, rdx
mov rdx, rax
inc r9d
inc r8
movsxd rax, r9d
cmp rax, rsi
jb 0x180031060
test r11, r11
je 0x180031116
mov rdx, qword [rbp + 0x37]
sub rdx, r11
and rdx, 0xfffffffffffffff0
mov rax, r11
cmp rdx, 0x1000
jb 0x18003110e
add rdx, 0x27
mov r11, qword [r11 - 8]
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180031142
mov rcx, r11
call fcn.1800b0bc8
mov eax, ebx
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1800b0830
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
call fcn.1800b6a64
nop
call fcn.1800b6a64
nop
call fcn.1800b6a64
nop
call fcn.1800b6a64
nop
call fcn.1800b6a64
int3