Function at 0x18002fd50
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov eax, dword [0x18009d078]
xorps xmm0, xmm0
mov edi, dword [0x1800ab090]
xor r8d, r8d
mov dword [rbp - 0x19], eax
movzx eax, word [0x18009d07c]
mov word [rbp - 0x15], ax
movzx eax, byte [0x18009d07e]
movaps xmmword [rsp + 0x80], xmm6
movdqa xmm6, xmmword [0x1800a0280]
mov byte [rbp - 0x13], al
mov qword [rbp - 1], 0
movdqu xmmword [rbp - 0x11], xmm0
movups xmm0, xmmword [0x18009d068]
movups xmmword [rbp - 0x29], xmm0
cmp edi, 2
jl 0x18002fee1
movdqa xmm0, xmmword [0x1800a02c0]
lea rcx, [rbp - 0x25]
movdqa xmm4, xmmword [0x1800a0170]
movdqa xmm3, xmmword [0x1800a0380]
movdqa xmm5, xmmword [0x1800a0200]
movdqa xmmword [rbp - 0x39], xmm0
mov edx, dword [rbp - 0x39]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, 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
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, 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
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x18002fdf0
cmp r8d, 0x17
jge 0x18002ff24
movsxd rax, r8d
lea r9, [rbp - 0x29]
add r9, rax
nop dword [rax + rax]
mov eax, 0x8fb823ef
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0x17
jl 0x18002fef0
xorps xmm0, xmm0
lea rax, [rbp - 0x29]
xorps xmm1, xmm1
mov rbx, 0xffffffffffffffff
movups xmmword [rbp + 7], xmm0
mov r8, rbx
movdqu xmmword [rbp + 0x17], xmm1
inc r8
cmp byte [rax + r8], 0
jne 0x18002ff41
mov qword [rsp + 0xc8], rsi
lea rdx, [rbp - 0x29]
lea rcx, [rbp + 7]
mov qword [rsp + 0xd0], r12
call fcn.180012cd0
lea rcx, [rbp + 7]
call fcn.180048d40
lea r8, [rbp - 0x39]
mov qword [rbp - 0x39], rax
xor edx, edx
mov dword [rbp - 0x31], 0x54020401
lea rcx, [rbp - 0x11]
call fcn.180049820
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x18002ffc6
mov rcx, qword [rbp + 7]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002ffc1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800305c1
call fcn.18006a6e8
mov eax, dword [0x18009e0f8]
xor r8d, r8d
movsd xmm0, qword [0x18009e0f0]
mov dword [rbp - 0x31], eax
movzx eax, word [0x18009e0fc]
mov word [rbp - 0x2d], ax
movzx eax, byte [0x18009e0fe]
mov byte [rbp - 0x2b], al
movsd qword [rbp - 0x39], xmm0
cmp edi, 2
jl 0x1800300e6
movdqa xmm3, xmmword [0x1800a0170]
mov r8d, 8
movdqa xmm2, xmmword [0x1800a0180]
movdqa xmm1, xmm3
movdqa xmm4, xmmword [0x1800a0380]
movdqa xmm0, xmm3
mov eax, dword [0x1800a02c0]
punpckhdq xmm0, xmm3
punpckldq xmm1, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmmword [0x1800a0200]
psubd xmm3, xmm0
punpckldq xmm1, xmm2
andps xmm3, xmm6
pmuldq xmm1, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [0x18009e0f0]
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movd dword [rbp - 0x39], xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rbp - 0x35]
pmulld xmm0, xmmword [0x1800a0200]
psubd xmm2, xmm0
movd xmm0, eax
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x35], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x39]
add r9, rax
mov eax, 0x8fb823ef
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0xf
jl 0x1800300f0
xorps xmm0, xmm0
lea rax, [rbp - 0x39]
xorps xmm1, xmm1
mov r8, rbx
movups xmmword [rbp + 7], xmm0
movdqu xmmword [rbp + 0x17], xmm1
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180030140
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 7]
call fcn.180012cd0
lea rcx, [rbp + 7]
call fcn.180048d40
mov rsi, qword [rbp - 9]
mov r12, qword [rbp - 1]
mov qword [rbp - 0x39], rax
mov dword [rbp - 0x31], 0x20600
cmp rsi, r12
je 0x180030189
movups xmm0, xmmword [rbp - 0x39]
movups xmmword [rsi], xmm0
add rsi, 0x10
mov qword [rbp - 9], rsi
jmp 0x1800301a1
lea r8, [rbp - 0x39]
mov rdx, rsi
lea rcx, [rbp - 0x11]
call fcn.180049820
mov r12, qword [rbp - 1]
mov rsi, qword [rbp - 9]
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x1800301dc
mov rcx, qword [rbp + 7]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800301d7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800305c1
call fcn.18006a6e8
cmp byte [0x18009cea3], 0
movsd xmm0, qword [str.bEZ_V_O_W_w_VXQ6]
mov eax, dword [0x18009cea0]
movsd qword [rbp - 0x39], xmm0
mov dword [rbp - 0x31], eax
je 0x180030334
xor r8d, r8d
cmp edi, 2
jl 0x1800302f4
movdqa xmm3, xmmword [0x1800a0170]
mov r8d, 8
movdqa xmm2, xmmword [0x1800a0180]
movdqa xmm1, xmm3
movdqa xmm4, xmmword [0x1800a0380]
movdqa xmm0, xmm3
mov eax, dword [0x1800a02c0]
punpckhdq xmm0, xmm3
punpckldq xmm1, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmmword [0x1800a0200]
psubd xmm3, xmm0
punpckldq xmm1, xmm2
andps xmm3, xmm6
pmuldq xmm1, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [str.bEZ_V_O_W_w_VXQ6]
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movd dword [rbp - 0x39], xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rbp - 0x35]
pmulld xmm0, xmmword [0x1800a0200]
psubd xmm2, xmm0
movd xmm0, eax
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x35], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x39]
add r9, rax
nop
mov eax, 0x8fb823ef
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0xc
jl 0x180030300
xorps xmm0, xmm0
lea rax, [rbp - 0x39]
xorps xmm1, xmm1
movups xmmword [rbp + 7], xmm0
movdqu xmmword [rbp + 0x17], xmm1
inc rbx
cmp byte [rax + rbx], 0
jne 0x180030347
mov r8, rbx
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 7]
call fcn.180012cd0
lea rcx, [rbp + 7]
call fcn.180048d40
mov qword [rbp - 0x39], rax
mov dword [rbp - 0x31], 0x20600
cmp rsi, r12
je 0x180030386
movups xmm0, xmmword [rbp - 0x39]
movups xmmword [rsi], xmm0
add rsi, 0x10
jmp 0x18003039e
lea r8, [rbp - 0x39]
mov rdx, rsi
lea rcx, [rbp - 0x11]
call fcn.180049820
mov r12, qword [rbp - 1]
mov rsi, qword [rbp - 9]
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x1800303d9
mov rcx, qword [rbp + 7]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800303d4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800305c1
call fcn.18006a6e8
mov rdi, qword [rbp - 0x11]
xor r9d, r9d
mov qword [rsp + 0x90], r15
mov ebx, 0x28
mov r15, rsi
mov r10d, ebx
sub r15, rdi
sar r15, 4
test r15, r15
je 0x180030499
mov qword [rsp + 0x98], r14
xor r8d, r8d
mov edx, ebx
mov rax, r8
mov r11d, r10d
add rax, rax
mov rcx, rdx
mov r14, qword [rdi + rax*8]
cmp r10d, 0x1a0
jge 0x18003047e
nop dword [rax]
mov rax, r8
add rax, rax
mov eax, dword [rdi + rax*8 + 8]
cmp dword [rcx + r14], eax
jne 0x180030445
cmp rcx, rdx
jge 0x180030458
add r11d, 4
add rcx, 4
cmp r11d, 0x1a0
jl 0x180030430
jmp 0x18003047e
cmovle r11d, r10d
xor eax, eax
cmp rcx, rdx
mov r10d, r11d
cmovle eax, r9d
mov r9d, eax
xor eax, eax
cmp rcx, rdx
cmovle rax, r8
cmovle rcx, rdx
mov r8, rax
mov rdx, rcx
inc r9d
inc r8
movsxd rax, r9d
cmp rax, r15
jb 0x180030410
mov r14, qword [rsp + 0x98]
cmp r10d, ebx
jne 0x1800304c0
cmp rdi, rsi
je 0x1800304c0
lea rcx, [rdi + 8]
nop dword [rax]
nop word [rax + rax]
or dword [rcx], 2
lea rcx, [rcx + 0x10]
lea rax, [rcx - 8]
cmp rax, rsi
jne 0x1800304b0
xor r9d, r9d
test r15, r15
je 0x18003055c
xor r8d, r8d
mov rdx, rbx
nop dword [rax]
nop word [rax + rax]
mov rax, r8
mov r10d, ebx
add rax, rax
mov r11, qword [rdi + rax*8]
mov rax, rdx
cmp ebx, 0x1a0
jge 0x18003054e
nop dword [rax + rax]
mov rcx, r8
add rcx, rcx
mov ecx, dword [rdi + rcx*8 + 8]
cmp dword [rax + r11], ecx
jne 0x180030515
cmp rax, rdx
jge 0x180030528
add r10d, 4
add rax, 4
cmp r10d, 0x1a0
jl 0x180030500
jmp 0x18003054e
cmovle r10d, ebx
xor ecx, ecx
cmp rax, rdx
mov ebx, r10d
cmovle ecx, r9d
mov r9d, ecx
xor ecx, ecx
cmp rax, rdx
cmovle rcx, r8
cmovle rax, rdx
mov r8, rcx
mov rdx, rax
inc r9d
inc r8
movsxd rax, r9d
cmp rax, r15
jb 0x1800304e0
mov r15, qword [rsp + 0x90]
test rdi, rdi
je 0x18003059c
sub r12, rdi
mov rax, rdi
and r12, 0xfffffffffffffff0
cmp r12, 0x1000
jb 0x180030591
mov rdi, qword [rdi - 8]
add r12, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800305c1
mov rdx, r12
mov rcx, rdi
call fcn.18006a6e8
mov r12, qword [rsp + 0xd0]
mov eax, ebx
mov rsi, qword [rsp + 0xc8]
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0xa0
pop rdi
pop rbx
pop rbp
ret
call fcn.180070324
int3