Function at 0x18003b760
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 - 0x5f]
sub rsp, 0x100
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x180149040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor r14d, r14d
mov eax, dword [0x18014adc0]
cmp eax, 0xc
jl 0x18003bf6a
cmp eax, 0x1c
jge 0x18003bf6a
movups xmm0, xmmword [0x180120f10]
movups xmmword [rbp - 0x69], xmm0
movups xmm1, xmmword [0x180120f20]
movups xmmword [rbp - 0x59], xmm1
movups xmm0, xmmword [0x180120f30]
movups xmmword [rbp - 0x49], xmm0
movsd xmm0, qword [0x180120f40]
movsd qword [rbp - 0x39], xmm0
mov eax, dword [0x180120f48]
mov dword [rbp - 0x31], eax
mov r8d, r14d
mov edi, dword [0x180149018]
cmp edi, 2
jl 0x18003b935
movdqa xmm5, xmmword [0x18012ef50]
movdqa xmm4, xmmword [0x18012f100]
movdqa xmm6, xmmword [0x18012ef70]
movdqa xmm0, xmmword [str.7777777777777777]
movdqa xmmword [rbp - 0x79], xmm0
lea rcx, [rbp - 0x65]
mov edx, dword [rbp - 0x79]
nop word [rax + rax]
movd xmm2, r8d
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 xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18012f030]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
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, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18012f030]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x38
jl 0x18003b830
cmp r8d, 0x3c
jge 0x18003b970
movsxd rax, r8d
lea r9, [rbp - 0x69]
add r9, rax
nop
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x3c
jl 0x18003b940
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0x1f], r14
mov qword [rbp + 0x27], r14
lea rax, [rbp - 0x69]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], r14b
jne 0x18003b990
lea rdx, [rbp - 0x69]
lea rcx, [rbp + 0xf]
call fcn.180016150
nop
xorps xmm0, xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 9], xmm1
mov qword [rbp + 7], r14
mov eax, dword [0x180120f04]
mov dword [rbp - 0x79], eax
movzx eax, word [0x180120f08]
mov word [rbp - 0x75], ax
mov byte [rbp - 0x79], 0x38
xor byte [rbp - 0x78], 0x38
xor byte [rbp - 0x77], 0x39
xor byte [rbp - 0x76], 0x3a
xor al, 0x3b
mov byte [rbp - 0x75], al
xor byte [rbp - 0x74], 0x3c
movups xmmword [rbp - 0x29], xmm0
movdqu xmmword [rbp - 0x19], xmm1
lea rax, [rbp - 0x79]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x18003b9f3
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x29]
call fcn.180016150
nop
mov rdx, qword [rbp - 1]
cmp rdx, qword [rbp + 7]
je 0x18003ba3c
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x19]
movups xmmword [rdx + 0x10], xmm1
movdqa xmm0, xmmword [0x18012eee0]
movdqu xmmword [rbp - 0x19], xmm0
mov byte [rbp - 0x29], 0
add qword [rbp - 1], 0x20
jmp 0x18003ba4a
lea r8, [rbp - 0x29]
lea rcx, [rbp - 9]
call fcn.180009f70
nop
lea rcx, [rbp - 0x29]
call fcn.18002d3d0
movsd xmm0, qword [0x180120ef8]
movsd qword [rbp - 0x79], xmm0
mov eax, dword [0x180120f00]
mov dword [rbp - 0x71], eax
cmp byte [0x180120f03], 0
je 0x18003bbc0
mov r8d, r14d
cmp edi, 2
jl 0x18003bb81
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
andps xmm2, xmmword [0x18012f030]
packuswb xmm2, xmm2
mov eax, dword [str.7777777777777777]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x180120ef8]
xorps xmm2, xmm0
movd dword [rbp - 0x79], 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
andps xmm2, xmmword [0x18012f030]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x75]
xorps xmm2, xmm1
movd dword [rbp - 0x75], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 0x79]
add r9, rax
nop dword [rax + rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xc
jl 0x18003bb90
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
lea rax, [rbp - 0x79]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x18003bbd6
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x29]
call fcn.180016150
nop
mov rdx, qword [rbp - 1]
cmp rdx, qword [rbp + 7]
je 0x18003bc1f
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x19]
movups xmmword [rdx + 0x10], xmm1
movdqa xmm0, xmmword [0x18012eee0]
movdqu xmmword [rbp - 0x19], xmm0
mov byte [rbp - 0x29], 0
add qword [rbp - 1], 0x20
jmp 0x18003bc2d
lea r8, [rbp - 0x29]
lea rcx, [rbp - 9]
call fcn.180009f70
nop
lea rcx, [rbp - 0x29]
call fcn.18002d3d0
movsd xmm0, qword [0x180120ee8]
movsd qword [rbp - 0x79], xmm0
mov eax, dword [0x180120ef0]
mov dword [rbp - 0x71], eax
cmp byte [0x180120ef3], 0
je 0x18003bda0
mov r8d, r14d
cmp edi, 2
jl 0x18003bd64
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
andps xmm2, xmmword [0x18012f030]
packuswb xmm2, xmm2
mov eax, dword [str.7777777777777777]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x180120ee8]
xorps xmm2, xmm0
movd dword [rbp - 0x79], 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
andps xmm2, xmmword [0x18012f030]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x75]
xorps xmm2, xmm1
movd dword [rbp - 0x75], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 0x79]
add r9, rax
nop
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xc
jl 0x18003bd70
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
lea rax, [rbp - 0x79]
inc rbx
cmp byte [rax + rbx], 0
jne 0x18003bdb3
mov r8, rbx
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x29]
call fcn.180016150
nop
mov rdx, qword [rbp - 1]
cmp rdx, qword [rbp + 7]
je 0x18003bdfe
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x19]
movups xmmword [rdx + 0x10], xmm1
movdqa xmm0, xmmword [0x18012eee0]
movdqu xmmword [rbp - 0x19], xmm0
mov byte [rbp - 0x29], 0
add qword [rbp - 1], 0x20
jmp 0x18003be0c
lea r8, [rbp - 0x29]
lea rcx, [rbp - 9]
call fcn.180009f70
nop
lea rcx, [rbp - 0x29]
call fcn.18002d3d0
cmp dword [0x18014adc0], 0x1a
jl 0x18003be63
mov rdi, qword [rbp - 9]
mov rsi, qword [rbp - 1]
lea rbx, [rdi + 0x20]
cmp rbx, rsi
je 0x18003be4c
nop
mov rdx, rbx
mov rcx, rdi
call fcn.180024bf0
add rdi, 0x20
add rbx, 0x20
cmp rbx, rsi
jne 0x18003be30
mov rsi, qword [rbp - 1]
lea rcx, [rsi - 0x20]
call fcn.18002d3d0
mov rdi, qword [rbp - 1]
sub rdi, 0x20
mov qword [rbp - 1], rdi
jmp 0x18003be67
mov rdi, qword [rbp - 1]
mov rbx, qword [rbp - 9]
cmp rbx, rdi
je 0x18003bf57
movabs r15, 0x7fffffffffffffff
lea r12, [0x18011a668]
nop word [rax + rax]
mov rax, r15
mov rcx, qword [rbp + 0x1f]
sub rax, rcx
cmp rax, 1
jb 0x18003bfc1
lea r9, [rbp + 0xf]
cmp qword [rbp + 0x27], 0xf
cmova r9, qword [rbp + 0xf]
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x69]
call fcn.180023040
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x18003bedc
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp - 0x69]
call fcn.18002ca50
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], r14
mov qword [rbp - 0x11], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x29], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x19], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp - 0x69]
call fcn.18002d3d0
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0xf
cmova rdx, qword [rbp - 0x29]
xor r8d, r8d
lea rcx, [rbp - 0x79]
call fcn.1800387f0
mov rsi, qword [rax]
lea rcx, [rbp - 0x29]
call fcn.18002d3d0
test rsi, rsi
jne 0x18003bf9c
add rbx, 0x20
cmp rbx, rdi
jne 0x18003be90
lea rcx, [rbp - 9]
call fcn.180012330
nop
lea rcx, [rbp + 0xf]
call fcn.18002d3d0
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1800ed380
lea r11, [rsp + 0x100]
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]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea r8, [0x18014ae20]
lea rdx, [0x1800c9a00]
mov rcx, rsi
call fcn.1800e7fc8
mov edx, 1
mov rcx, rsi
call fcn.1800e8260
jmp 0x18003bf57
call fcn.18002d1c0
int3