Function at 0x18004b8e0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
mov r9, qword [0x1800ade50]
xor edi, edi
mov r10, qword [0x1800ade48]
mov esi, edi
movzx r11d, byte [0x1800ade40]
mov r12d, edi
mov qword [rax + 0x18], r14
movaps xmmword [rax - 0x38], xmm6
nop
test r11b, r11b
je 0x18004b930
test r10, r10
je 0x18004b93b
mov eax, dword [r10 + 0x14]
jmp 0x18004b93d
test r9, r9
je 0x18004b93b
mov eax, dword [r9 + 0xc]
jmp 0x18004b93d
mov eax, edi
cmp esi, eax
jge 0x18004c1e4
test r11b, r11b
je 0x18004b98c
test r10, r10
je 0x18004ba03
test esi, esi
js 0x18004b9a4
cmp esi, dword [r10 + 0x14]
jg 0x18004b9a4
movzx ecx, si
mov eax, esi
test esi, esi
jns 0x18004b972
lea eax, [rsi + 0xffff]
sub ecx, 0x10000
mov rdx, qword [r10]
sar eax, 0x10
movsxd r8, eax
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rdx + r8*8]
mov r14, qword [rax + rcx*8]
jmp 0x18004b9a7
test r9, r9
je 0x18004ba03
test esi, esi
js 0x18004b9a4
cmp esi, dword [r9 + 0xc]
jg 0x18004b9a4
mov rax, qword [r9]
mov r14, qword [r12 + rax]
jmp 0x18004b9a7
mov r14, rdi
test r14, r14
je 0x18004ba03
call fcn.180026520
mov rbx, qword [r14 + 0x10]
mov r15, rax
test rbx, rbx
je 0x18004b9ed
nop dword [rax]
cmp rbx, r15
je 0x18004b9e2
mov rcx, rbx
call fcn.1800488d0
test al, al
je 0x18004b9ed
mov eax, dword [0x1800ade38]
mov rbx, qword [rax + rbx]
test rbx, rbx
jne 0x18004b9c0
jmp 0x18004b9ed
mov eax, dword [r14 + 8]
shr eax, 4
test al, 1
je 0x18004ba0e
mov r9, qword [0x1800ade50]
mov r10, qword [0x1800ade48]
movzx r11d, byte [0x1800ade40]
inc esi
add r12, 0x18
jmp 0x18004b920
mov r12, qword [r14]
test r12, r12
je 0x18004c1e4
mov eax, dword [0x18009d018]
xorps xmm0, xmm0
movups xmm1, xmmword [0x18009d008]
mov ebx, dword [0x1800ab090]
mov r14, 0xffffffffffffffff
movdqa xmm4, xmmword [0x1800a0340]
mov r8d, edi
movdqa xmm5, xmmword [0x1800a0170]
mov qword [rsp + 0x128], r13
movaps xmmword [rsp + 0xd0], xmm7
movdqa xmm7, xmmword [0x1800a01b0]
mov dword [rbp - 0x39], eax
movzx eax, word [0x18009d01c]
movaps xmmword [rsp + 0xc0], xmm8
movdqa xmm8, xmmword [0x1800a02a0]
mov qword [rbp + 0x67], r14
mov qword [rbp - 1], rdi
mov word [rbp - 0x35], ax
movdqu xmmword [rbp - 0x11], xmm0
movups xmm0, xmmword [str.vSQc_ROIUIHRV__6C]
movups xmmword [rbp - 0x49], xmm1
movups xmmword [rbp - 0x59], xmm0
cmp ebx, 2
jl 0x18004bba3
lea rcx, [rbp - 0x59]
nop dword [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm8
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm8
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x10
jl 0x18004bab0
cmp r8d, 0x13
jge 0x18004bbe6
movsxd rax, r8d
lea r9, [rbp - 0x59]
lea r9, [r9 + rax*2]
nop
mov eax, 0x5397829d
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul ecx, eax, 0x31
add cx, r8w
inc r8d
xor word [r9 - 2], cx
cmp r8d, 0x13
jl 0x18004bbb0
mov r10, qword [0x1800adec8]
mov qword [rbp - 0x79], rdi
test r10, r10
je 0x18004bc55
mov rax, qword [0x1800aded0]
test rax, rax
jne 0x18004bc20
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x10]
mov rax, qword [0x1800adec8]
add rax, rcx
mov qword [0x1800aded0], rax
mov r8b, 1
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x79]
call rax
mov r10, qword [0x1800adec8]
movdqa xmm4, xmmword [0x1800a0340]
movdqa xmm5, xmmword [0x1800a0170]
movdqa xmm7, xmmword [0x1800a01b0]
movdqa xmm8, xmmword [0x1800a02a0]
movzx eax, word [0x18009cb58]
mov r8d, edi
movsd xmm0, qword [0x18009cb50]
mov word [rsp + 0x38], ax
movsd qword [rsp + 0x30], xmm0
movups xmm6, xmmword [str.vSQXDLXTXY]
movups xmmword [rsp + 0x20], xmm6
cmp ebx, 2
jl 0x18004bd53
movdqa xmm1, xmm5
movdqa xmm0, xmm5
punpckhdq xmm0, xmm5
movq xmm2, xmm8
pmuldq xmm0, xmm4
mov r8d, 8
punpckldq xmm1, xmm5
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm5, xmm0
pshufhw xmm0, xmm5, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm1, xmm6
paddw xmm3, xmm2
movdqa xmm2, xmmword [0x1800a0180]
xorps xmm3, xmm1
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
movdqa xmm1, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movq qword [rsp + 0x20], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm8
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x28]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rsp + 0x28], xmm3
movaps xmm8, xmmword [rsp + 0xc0]
lea r9, [rsp + 0x20]
movaps xmm7, xmmword [rsp + 0xd0]
movsxd rax, r8d
lea r9, [r9 + rax*2]
mov eax, 0x5397829d
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul ecx, eax, 0x31
add cx, r8w
inc r8d
xor word [r9 - 2], cx
cmp r8d, 0xd
jl 0x18004bd70
mov qword [rbp - 0x71], rdi
test r10, r10
je 0x18004bde9
mov rax, qword [0x1800aded0]
test rax, rax
jne 0x18004bdd9
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x10]
mov rax, qword [0x1800adec8]
add rax, rcx
mov qword [0x1800aded0], rax
mov r8b, 1
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x71]
call rax
jmp 0x18004bdf5
xorps xmm0, xmm0
mov qword [rbp - 0x19], rdi
movdqu xmmword [rbp - 0x29], xmm0
mov ecx, 0x20
mov qword [rbp - 0x61], rdi
lea rax, [rbp + 0x67]
mov r15d, ecx
mov qword [rbp - 0x69], rax
lea rsi, [rbp - 0x79]
call fcn.18006a6f0
mov r8d, r15d
mov qword [rbp - 0x29], rax
mov rdx, rsi
mov rbx, rax
lea rcx, [rax + 0x20]
mov qword [rbp - 0x19], rcx
mov rcx, rax
call fcn.18008e4e0
lea rax, [rbx + 0x20]
lea rdx, [rbp - 0x29]
mov qword [rbp - 0x21], rax
lea rcx, [rbp - 0x11]
call fcn.18002d4e0
mov r13d, dword [rbp + 0x67]
mov r15d, edi
add r13d, 8
nop
mov rdx, qword [r12]
test rdx, rdx
je 0x18004bf52
mov rax, qword gs:[0x60]
mov r8, qword [rax + 0x10]
cmp rdx, r8
jbe 0x18004bf52
movsxd rax, dword [r8 + 0x3c]
mov ecx, dword [rax + r8 + 0x50]
add rcx, r8
cmp rdx, rcx
jae 0x18004bf52
cmp byte [rdx], 0xe9
jne 0x18004bebb
mov rax, qword gs:[0x60]
movsxd rbx, dword [rdx + 1]
add rbx, 5
add rbx, rdx
mov r8, qword [rax + 0x10]
cmp rbx, r8
jbe 0x18004bebb
movsxd rax, dword [r8 + 0x3c]
mov ecx, dword [rax + r8 + 0x50]
add rcx, r8
cmp rbx, rcx
jb 0x18004bebe
mov rbx, rdx
xorps xmm0, xmm0
mov dword [rsp + 0x28], r13d
mov ecx, 0x1c
mov dword [rsp + 0x24], 0xb9
movdqu xmmword [rsp + 0x2c], xmm0
mov dword [rsp + 0x20], 0x80
call fcn.18006a6f0
mov r8d, 0x1c
lea rdx, [rsp + 0x20]
mov rcx, rax
mov rsi, rax
call fcn.18008e4e0
mov r9d, edi
mov r10, rdi
mov eax, edi
mov rcx, rdi
nop word [rax + rax]
mov r8d, dword [rsi + rcx*4]
lea ecx, [rax + r9]
movzx ecx, byte [rcx + rbx]
cmp ecx, r8d
je 0x18004bf2a
cmp r8d, r14d
jne 0x18004c1ba
inc eax
mov ecx, eax
cmp rcx, 7
jb 0x18004bf10
add rbx, r10
test rsi, rsi
je 0x18004bf49
mov edx, 0x1c
mov rcx, rsi
call fcn.18006a6e8
test rbx, rbx
jne 0x18004c1d5
inc r15d
add r12, 8
cmp r15d, 0x150
jl 0x18004be50
cmp qword [0x1800ae1e0], rdi
jne 0x18004c15a
cmp dword [0x1800ab090], 2
mov r8d, edi
movups xmm0, xmmword [0x18009e698]
movzx eax, byte [0x18009e6c0]
movups xmm1, xmmword [0x18009e6a8]
mov byte [rbp - 0x31], al
movups xmmword [rbp - 0x59], xmm0
movsd xmm0, qword [0x18009e6b8]
movsd qword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x49], xmm1
jl 0x18004c0d9
movdqa xmm0, xmmword [0x1800a02c0]
lea rcx, [rbp - 0x55]
movdqa xmm4, xmmword [0x1800a0170]
movdqa xmm3, xmmword [0x1800a0340]
movdqa xmm5, xmmword [0x1800a01b0]
movdqa xmm6, xmmword [0x1800a0280]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
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
psrad xmm1, 4
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
psrad xmm1, 4
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, 0x28
jl 0x18004bff0
cmp r8d, 0x29
jge 0x18004c123
movsxd rax, r8d
lea r9, [rbp - 0x59]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x31
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0x29
jl 0x18004c0f0
xorps xmm0, xmm0
lea rax, [rbp - 0x59]
xorps xmm1, xmm1
movups xmmword [rbp - 0x79], xmm0
movdqu xmmword [rbp - 0x69], xmm1
inc r14
cmp byte [rax + r14], dil
jne 0x18004c136
mov r8, r14
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x79]
call fcn.180012cd0
xor edx, edx
lea rcx, [rbp - 0x79]
call fcn.180025530
mov rcx, qword [rbp - 0x29]
mov r13, qword [rsp + 0x128]
test rcx, rcx
je 0x18004c1ac
mov rdx, qword [rbp - 0x19]
mov rax, rcx
sub rdx, rcx
and rdx, 0xffffffffffffffe0
cmp rdx, 0x1000
jb 0x18004c19b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004c3ec
call fcn.18006a6e8
xorps xmm0, xmm0
mov qword [rbp - 0x19], rdi
movdqu xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 0x11]
call fcn.18002eb30
jmp 0x18004c3c5
inc r9d
inc r10
movsxd rax, r9d
cmp rax, 0x2e
jb 0x18004bf02
mov rbx, rdi
jmp 0x18004bf37
movsxd rax, r15d
mov qword [0x1800ae1e0], rax
jmp 0x18004c15a
cmp dword [0x1800ab090], 2
movups xmm0, xmmword [0x18009eb40]
mov eax, dword [0x18009eb68]
movups xmm1, xmmword [0x18009eb50]
mov dword [rbp - 0x31], eax
movups xmmword [rbp - 0x59], xmm0
movsd xmm0, qword [0x18009eb60]
movsd qword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x49], xmm1
jl 0x18004c346
movdqa xmm0, xmmword [0x1800a02c0]
lea rcx, [rbp - 0x55]
movdqa xmm4, xmmword [0x1800a0170]
movdqa xmm3, xmmword [0x1800a0340]
movdqa xmm5, xmmword [0x1800a01b0]
movdqa xmm6, xmmword [0x1800a0280]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
nop dword [rax]
nop word [rax + rax]
movd xmm2, edi
lea eax, [rdi + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add edi, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
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
mov eax, edi
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
psrad xmm1, 4
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 edi, 0x28
jl 0x18004c260
cmp eax, 0x2c
jge 0x18004c380
movsxd rax, edi
lea r8, [rbp - 0x59]
add r8, rax
mov eax, 0x5397829d
lea r8, [r8 + 1]
imul edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x31
add cl, dil
inc edi
xor byte [r8 - 1], cl
cmp edi, 0x2c
jl 0x18004c350
xorps xmm0, xmm0
lea rax, [rbp - 0x59]
xorps xmm1, xmm1
mov r14, 0xffffffffffffffff
movups xmmword [rbp - 0x79], xmm0
movdqu xmmword [rbp - 0x69], xmm1
nop word [rax + rax]
inc r14
cmp byte [rax + r14], 0
jne 0x18004c3a0
mov r8, r14
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x79]
call fcn.180012cd0
mov dl, 1
lea rcx, [rbp - 0x79]
call fcn.180025530
movaps xmm6, xmmword [rsp + 0xe0]
mov r14, qword [rsp + 0x130]
mov rbx, qword [rsp + 0x138]
add rsp, 0xf0
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180070324
int3