Function at 0x180006730
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x108]
sub rsp, 0x1f0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x180149040]
xor rax, rsp
mov qword [rbp + 0xc8], rax
xor r12d, r12d
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
mov qword [rbp + 0x20], r12
movups xmm3, xmmword [0x18011a870]
movups xmmword [rbp + 0x28], xmm3
movsd xmm0, qword [0x18011a880]
movsd qword [rbp + 0x38], xmm0
mov eax, dword [0x18011a888]
mov dword [rbp + 0x40], eax
movzx eax, word [0x18011a88c]
mov word [rbp + 0x44], ax
mov r8d, r12d
mov r15d, dword [0x180149018]
cmp r15d, 2
jl 0x18000689d
movdqa xmm4, xmmword [0x18012f100]
movdqa xmm2, xmmword [0x18012ef50]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18012ef70]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [str.77777777]
movq xmm1, xmm3
xorps xmm2, xmm1
movq qword [rbp + 0x28], xmm2
movdqa xmm3, xmmword [0x18012ef60]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18012ef70]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [str.77777777]
movq xmm0, qword [rbp + 0x30]
xorps xmm2, xmm0
movq qword [rbp + 0x30], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp + 0x28]
lea r9, [r9 + rax*2]
nop dword [rax + rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x31
movzx eax, r8w
sub ax, cx
add ax, 0x37
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0xf
jl 0x1800068b0
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x98], xmm1
lea rax, [rbp + 0x28]
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180006910
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x88]
call fcn.18002ba50
nop
movups xmm0, xmmword [0x18011a810]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [0x18011a820]
movups xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [0x18011a830]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [str._43_1y_5_:_8_p_f]
movups xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [0x18011a850]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [0x18011a860]
movups xmmword [rbp - 0x20], xmm1
cmp r15d, 2
jl 0x180006a87
movdqa xmm5, xmmword [0x18012ef50]
mov edx, r12d
movdqa xmm4, xmmword [0x18012f100]
movdqa xmm6, xmmword [0x18012ef70]
movdqa xmm7, xmmword [str.77777777]
lea rcx, [rbp - 0x70]
nop
movd xmm2, edx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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 xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx]
xorps xmm3, xmm0
movq qword [rcx], xmm3
lea eax, [rdx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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 xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx + 8]
xorps xmm3, xmm0
movq qword [rcx + 8], xmm3
add edx, 8
lea rcx, [rcx + 0x10]
cmp edx, 0x30
jl 0x1800069a0
jmp 0x180006ac4
lea r9, [rbp - 0x70]
mov r8d, r12d
nop
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x31
movzx eax, r8w
sub ax, cx
add ax, 0x37
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0x30
jl 0x180006a90
xorps xmm0, xmm0
movups xmmword [rbp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x78], xmm1
lea rax, [rbp - 0x70]
mov r8, rsi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180006ae0
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x68]
call fcn.18002ba50
nop
mov rax, qword [str.pm:]
mov qword [rsp + 0x20], rax
cmp word [0x18011a806], 0
je 0x180006bd4
cmp r15d, 2
jl 0x180006b8e
movdqa xmm3, xmmword [0x18012ef50]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x18012f100]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x18012f100]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x18012ef70]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [str.77777777]
movq xmm0, qword [rsp + 0x20]
xorps xmm2, xmm0
movq qword [rsp + 0x20], xmm2
jmp 0x180006bd4
lea r9, [rsp + 0x20]
mov r8d, r12d
nop word [rax + rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x31
movzx eax, r8w
sub ax, cx
add ax, 0x37
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 4
jl 0x180006ba0
xorps xmm0, xmm0
movups xmmword [rbp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x58], xmm1
lea rax, [rsp + 0x20]
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180006bf0
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x48]
call fcn.18002ba50
nop
lea r9, [rbp + 0x48]
cmp qword [rbp + 0x60], 7
cmova r9, qword [rbp + 0x48]
lea r8, [rbp + 0x68]
cmp qword [rbp + 0x80], 7
cmova r8, qword [rbp + 0x68]
lea rdx, [rbp + 0x88]
cmp qword [rbp + 0xa0], 7
cmova rdx, qword [rbp + 0x88]
lea rcx, [rbp + 0xa8]
call fcn.1800051c0
nop
lea rdx, [rbp + 0xa8]
lea rcx, [rsp + 0x60]
call fcn.18002d2b0
mov rdx, rax
lea rcx, [rbp + 0x28]
call fcn.180004dc0
mov rbx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x180006c77
mov rbx, qword [rax]
lea rcx, [rbp + 0x28]
call fcn.18002d3d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
mov r8, rsi
inc r8
cmp byte [rbx + r8], 0
jne 0x180006c94
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.180016150
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, qword [rbp + 0x20]
je 0x180006ce1
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rdx + 0x10], xmm1
movdqa xmm0, xmmword [0x18012eee0]
movdqu xmmword [rsp + 0x38], xmm0
mov byte [rsp + 0x28], 0
add qword [rbp + 0x18], 0x20
jmp 0x180006cf0
lea r8, [rsp + 0x28]
lea rcx, [rbp + 0x10]
call fcn.180009f70
nop
lea rcx, [rsp + 0x28]
call fcn.18002d3d0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r12
mov rdi, qword [rbp + 0x18]
sub rdi, qword [rbp + 0x10]
sar rdi, 5
test rdi, rdi
je 0x180006db1
movabs rax, 0x7ffffffffffffff
cmp rdi, rax
ja 0x180007010
mov rdx, rdi
call fcn.1800119a0
mov rbx, rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
shl rdi, 5
add rdi, rax
mov qword [rsp + 0x58], rdi
lea rax, [rsp + 0x48]
mov qword [rbp - 0x80], rax
mov rdi, qword [rbp + 0x10]
mov r14, qword [rbp + 0x18]
xorps xmm0, xmm0
movups xmmword [rbp + 0x28], xmm0
mov qword [rbp + 0x28], rbx
mov qword [rbp + 0x30], rbx
lea rax, [rsp + 0x48]
mov qword [rbp + 0x38], rax
cmp rdi, r14
je 0x180006dac
nop dword [rax]
mov rdx, rdi
mov rcx, rbx
call fcn.18002d2b0
add rbx, 0x20
mov qword [rbp + 0x30], rbx
add rdi, 0x20
cmp rdi, r14
jne 0x180006d90
mov qword [rsp + 0x50], rbx
movups xmm7, xmmword [str.kK_UUHSiqo__E]
movups xmmword [rsp + 0x28], xmm7
movsd xmm0, qword [0x18011a7f0]
movsd qword [rsp + 0x38], xmm0
mov eax, dword [0x18011a7f8]
mov dword [rsp + 0x40], eax
movzx eax, word [0x18011a7fc]
mov word [rsp + 0x44], ax
mov r8d, r12d
cmp r15d, 2
jl 0x180006ed8
movdqa xmm4, xmmword [0x18012f100]
movdqa xmm6, xmmword [str.77777777]
movdqa xmm2, xmmword [0x18012ef50]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18012ef70]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm6
paddw xmm3, xmm2
movq xmm1, xmm7
xorps xmm3, xmm1
movq qword [rsp + 0x28], xmm3
movdqa xmm2, xmmword [0x18012ef60]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18012ef70]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm6
paddw xmm3, xmm2
movq xmm0, qword [rsp + 0x30]
xorps xmm3, xmm0
movq qword [rsp + 0x30], xmm3
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x28]
lea r9, [r9 + rax*2]
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x31
movzx eax, r8w
sub ax, cx
add ax, 0x37
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0xf
jl 0x180006ef0
lea rcx, [rbp - 0x10]
call fcn.180005420
nop
lea rcx, [rsp + 0x28]
inc rsi
cmp word [rcx + rsi*2], 0
jne 0x180006f33
mov r8, rsi
lea rdx, [rsp + 0x28]
mov rcx, rax
call fcn.18002b7b0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x60]
call fcn.180005dc0
movzx ebx, al
lea rcx, [rbp - 0x10]
call fcn.18002d140
nop
lea rcx, [rbp + 0xa8]
call fcn.18002d3d0
nop
lea rcx, [rbp + 0x48]
call fcn.18002d140
nop
lea rcx, [rbp + 0x68]
call fcn.18002d140
nop
lea rcx, [rbp + 0x88]
call fcn.18002d140
nop
lea rcx, [rbp + 0x10]
call fcn.180012330
movzx eax, bl
mov rcx, qword [rbp + 0xc8]
xor rcx, rsp
call fcn.1800ed380
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.18000f1e0
nop
int3