Function at 0x180006920
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 - 0xf8]
sub rsp, 0x1e0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
mov rax, qword [0x180148040]
xor rax, rsp
mov qword [rbp + 0xa8], rax
xor r12d, r12d
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
mov qword [rbp + 0x20], r12
movups xmm3, xmmword [0x180119890]
movups xmmword [rbp - 0x10], xmm3
movq xmm7, qword [0x1801198a0]
movq qword [rbp], xmm7
mov eax, dword [0x1801198a8]
mov dword [rbp + 8], eax
movzx eax, word [0x1801198ac]
mov word [rbp + 0xc], ax
mov r8d, r12d
mov r15d, dword [0x180148090]
cmp r15d, 2
jl 0x180006af2
movdqa xmm4, xmmword [0x18012e5f0]
movdqa xmm5, xmmword [str.555566668888]
movdqa xmm6, xmmword [str.00000000]
movdqa xmm2, xmmword [0x18012e100]
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, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmm6
movq xmm1, xmm3
xorps xmm2, xmm1
movq qword [rbp - 0x10], xmm2
movdqa xmm3, xmmword [0x18012e110]
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, xmm5
psubd xmm3, xmm0
pshufhw xmm0, xmm3, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmm6
movq xmm0, qword [rbp - 8]
xorps xmm2, xmm0
movq qword [rbp - 8], xmm2
movdqa xmm3, xmmword [0x18012e120]
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, xmm5
psubd xmm3, xmm0
pshufhw xmm0, xmm3, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmm6
movq xmm0, xmm7
xorps xmm2, xmm0
movq qword [rbp], xmm2
mov r8d, 0xc
mov eax, r8d
lea r9, [rbp - 0x10]
lea r9, [r9 + rax*2]
nop dword [rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x35
movzx eax, r8w
sub ax, cx
add ax, 0x30
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0xf
jl 0x180006b00
xorps xmm0, xmm0
movups xmmword [rbp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x78], xmm1
lea rax, [rbp - 0x10]
mov rsi, 0xffffffffffffffff
mov r8, rsi
inc r8
cmp word [rax + r8*2], 0
jne 0x180006b51
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x68]
call fcn.18002bd50
nop
movups xmm0, xmmword [0x180119830]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x180119840]
movups xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [0x180119850]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [str._______4_653_w5__9._QA_]
movups xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [0x180119870]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [0x180119880]
movups xmmword [rbp - 0x40], xmm1
mov r8d, r12d
cmp r15d, 2
jl 0x180006cc9
movdqa xmm5, xmmword [0x18012e100]
mov edx, r12d
movdqa xmm4, xmmword [0x18012e5f0]
movdqa xmm6, xmmword [str.555566668888]
movdqa xmm7, xmmword [str.00000000]
lea rcx, [rsp + 0x70]
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
pshufhw xmm0, xmm2, 0xd8
pshuflw 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
pshufhw xmm0, xmm2, 0xd8
pshuflw 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 0x180006be2
jmp 0x180006d06
lea r9, [rsp + 0x70]
nop
mov eax, 0x3521cfb3
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movzx eax, ax
imul ecx, eax, 0x35
movzx eax, r8w
sub ax, cx
add ax, 0x30
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0x30
jl 0x180006cd0
xorps xmm0, xmm0
movups xmmword [rbp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x58], xmm1
lea rax, [rsp + 0x70]
mov r8, rsi
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180006d20
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x48]
call fcn.18002bd50
nop
mov rax, qword [str.wtf3]
mov qword [rsp + 0x20], rax
cmp word [0x180119826], 0
je 0x180006e11
mov ecx, r12d
cmp r15d, 2
jl 0x180006dd2
movdqa xmm3, xmmword [0x18012e100]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x18012e5f0]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x18012e5f0]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [str.555566668888]
psubd xmm3, xmm0
pshufhw xmm0, xmm3, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [str.00000000]
movq xmm0, qword [rsp + 0x20]
xorps xmm2, xmm0
movq qword [rsp + 0x20], xmm2
jmp 0x180006e11
lea r8, [rsp + 0x20]
nop word [rax + rax]
mov eax, 0x3521cfb3
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movzx eax, ax
imul edx, eax, 0x35
movzx eax, cx
sub ax, dx
add ax, 0x30
xor word [r8], ax
inc ecx
lea r8, [r8 + 2]
cmp ecx, 4
jl 0x180006de0
xorps xmm0, xmm0
movups xmmword [rbp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x38], xmm1
lea rax, [rsp + 0x20]
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180006e30
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x28]
call fcn.18002bd50
nop
lea r9, [rbp + 0x28]
cmp qword [rbp + 0x40], 7
cmova r9, qword [rbp + 0x28]
lea r8, [rbp + 0x48]
cmp qword [rbp + 0x60], 7
cmova r8, qword [rbp + 0x48]
lea rdx, [rbp + 0x68]
cmp qword [rbp + 0x80], 7
cmova rdx, qword [rbp + 0x68]
lea rcx, [rbp + 0x88]
call fcn.180005650
nop
lea rdx, [rbp + 0x88]
lea rcx, [rsp + 0x48]
call fcn.18002d5f0
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.180005370
mov rbx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x180006eaf
mov rbx, qword [rax]
lea rcx, [rsp + 0x28]
call fcn.18002d710
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x180006ed0
mov rdx, rbx
lea rcx, [rbp - 0x10]
call fcn.180016750
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, qword [rbp + 0x20]
je 0x180006f18
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp]
movups xmmword [rdx + 0x10], xmm1
movdqa xmm0, xmmword [0x18012e080]
movdqu xmmword [rbp], xmm0
mov byte [rbp - 0x10], 0
add qword [rbp + 0x18], 0x20
jmp 0x180006f26
lea r8, [rbp - 0x10]
lea rcx, [rbp + 0x10]
call fcn.18000a2f0
nop
lea rcx, [rbp - 0x10]
call fcn.18002d710
lea rax, [rsp + 0x28]
mov qword [rsp + 0x20], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r12
mov rdi, qword [rbp + 0x18]
sub rdi, qword [rbp + 0x10]
sar rdi, 5
test rdi, rdi
je 0x180006fe1
movabs rax, 0x7ffffffffffffff
cmp rdi, rax
ja 0x1800072a0
mov rdx, rdi
call fcn.180011cb0
mov rbx, rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
shl rdi, 5
add rdi, rax
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x28]
mov qword [rsp + 0x68], rax
mov rdi, qword [rbp + 0x10]
mov r14, qword [rbp + 0x18]
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], rbx
lea rax, [rsp + 0x28]
mov qword [rbp], rax
cmp rdi, r14
je 0x180006fdc
nop
mov rdx, rdi
mov rcx, rbx
call fcn.18002d5f0
add rbx, 0x20
mov qword [rbp - 8], rbx
add rdi, 0x20
cmp rdi, r14
jne 0x180006fc0
mov qword [rsp + 0x30], rbx
movups xmm7, xmmword [str.lr_RZCZn_b]
movups xmmword [rbp - 0x10], xmm7
movq xmm8, qword [0x180119810]
movq qword [rbp], xmm8
mov eax, dword [0x180119818]
mov dword [rbp + 8], eax
movzx eax, word [0x18011981c]
mov word [rbp + 0xc], ax
mov r8d, r12d
cmp r15d, 2
jl 0x180007168
movdqa xmm4, xmmword [0x18012e5f0]
movdqa xmm5, xmmword [str.555566668888]
movdqa xmm6, xmmword [str.00000000]
movdqa xmm2, xmmword [0x18012e100]
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, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm6
paddw xmm3, xmm2
movq xmm1, xmm7
xorps xmm3, xmm1
movq qword [rbp - 0x10], xmm3
movdqa xmm2, xmmword [0x18012e110]
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, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm6
paddw xmm3, xmm2
movq xmm0, qword [rbp - 8]
xorps xmm3, xmm0
movq qword [rbp - 8], xmm3
movdqa xmm2, xmmword [0x18012e120]
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, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm6
paddw xmm3, xmm2
movq xmm0, xmm8
xorps xmm3, xmm0
movq qword [rbp], xmm3
mov r8d, 0xc
mov eax, r8d
lea r9, [rbp - 0x10]
lea r9, [r9 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x35
movzx eax, r8w
sub ax, cx
add ax, 0x30
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0xf
jl 0x180007180
lea rcx, [rbp - 0x30]
call fcn.180005880
nop
lea rcx, [rbp - 0x10]
inc rsi
cmp word [rcx + rsi*2], 0
jne 0x1800071c2
mov r8, rsi
lea rdx, [rbp - 0x10]
mov rcx, rax
call fcn.18002bab0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x48]
call fcn.1800061f0
movzx ebx, al
lea rcx, [rbp - 0x30]
call fcn.18002d480
nop
lea rcx, [rbp + 0x88]
call fcn.18002d710
nop
lea rcx, [rbp + 0x28]
call fcn.18002d480
nop
lea rcx, [rbp + 0x48]
call fcn.18002d480
nop
lea rcx, [rbp + 0x68]
call fcn.18002d480
nop
lea rcx, [rbp + 0x10]
call fcn.180012640
movzx eax, bl
mov rcx, qword [rbp + 0xa8]
xor rcx, rsp
call fcn.1800ec360
lea r11, [rsp + 0x1e0]
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]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.18000f4c0
nop
int3