Function at 0x18005f740
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x70]
sub rsp, 0x170
movups xmm2, xmmword [0x1800fb620]
mov esi, dword [0x18011f090]
xor ebx, ebx
mov ecx, dword [0x1800fb630]
mov r8d, ebx
movdqa xmm4, xmmword [0x18010ac60]
movdqa xmm5, xmmword [0x18010ac50]
movaps xmmword [rax - 0x28], xmm6
movdqa xmm6, xmmword [0x18010ac40]
movaps xmmword [rax - 0x38], xmm7
movdqa xmm7, xmmword [0x18010ac30]
movaps xmmword [rax - 0x48], xmm8
movdqa xmm8, xmmword [0x18010ac10]
movaps xmmword [rax - 0x58], xmm9
movdqa xmm9, xmmword [0x18010b0e0]
movaps xmmword [rax - 0x68], xmm10
movdqa xmm10, xmmword [0x18010ad90]
movaps xmmword [rax - 0x78], xmm11
movdqa xmm11, xmmword [0x18010acd0]
movaps xmmword [rax - 0x88], xmm12
movzx eax, word [0x1800fb634]
movdqa xmm12, xmmword [0x18010ae10]
mov word [rbp - 0x44], ax
movzx eax, byte [0x1800fb636]
mov byte [rbp - 0x42], al
mov dword [rbp - 0x48], ecx
movups xmmword [rbp - 0x58], xmm2
cmp esi, 2
jl 0x18005f9ec
movdqa xmm1, xmm8
movd eax, xmm2
punpckldq xmm1, xmm8
movdqa xmm0, xmm8
pmuldq xmm1, xmm9
punpckhdq xmm0, xmm8
pmuldq xmm0, xmm9
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm8
pmulld xmm0, xmm11
psubd xmm1, xmm0
movd xmm0, eax
andps xmm1, xmm10
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm12
xorps xmm1, xmm0
movdqa xmm0, xmm7
movd dword [rbp - 0x58], xmm1
movdqa xmm1, xmm7
punpckldq xmm1, xmm7
pmuldq xmm1, xmm9
punpckhdq xmm0, xmm7
pmuldq xmm0, xmm9
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm7
pmulld xmm0, xmm11
psubd xmm1, xmm0
movd xmm0, dword [rbp - 0x54]
andps xmm1, xmm10
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm12
xorps xmm1, xmm0
movdqa xmm0, xmm6
movd dword [rbp - 0x54], xmm1
movdqa xmm1, xmm6
punpckldq xmm1, xmm6
pmuldq xmm1, xmm9
punpckhdq xmm0, xmm6
pmuldq xmm0, xmm9
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm6
pmulld xmm0, xmm11
psubd xmm1, xmm0
movd xmm0, dword [rbp - 0x50]
andps xmm1, xmm10
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm12
xorps xmm1, xmm0
movdqa xmm0, xmm5
movd dword [rbp - 0x50], xmm1
movdqa xmm1, xmm5
punpckldq xmm1, xmm5
pmuldq xmm1, xmm9
punpckhdq xmm0, xmm5
pmuldq xmm0, xmm9
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm5
pmulld xmm0, xmm11
psubd xmm1, xmm0
andps xmm1, xmm10
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd xmm0, dword [rbp - 0x4c]
paddb xmm1, xmm12
xorps xmm1, xmm0
mov r8d, 0x14
movd dword [rbp - 0x4c], xmm1
movdqa xmm0, xmm4
punpckhdq xmm0, xmm4
movdqa xmm1, xmm4
punpckldq xmm1, xmm4
pmuldq xmm1, xmm9
pmuldq xmm0, xmm9
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm4
pmulld xmm0, xmm11
psubd xmm1, xmm0
movd xmm0, ecx
andps xmm1, xmm10
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm12
xorps xmm1, xmm0
movd dword [rbp - 0x48], xmm1
mov eax, r8d
lea r9, [rbp - 0x58]
add r9, rax
nop word [rax + rax]
mov eax, 0x4d4873ed
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x36
xor byte [r9 - 1], al
cmp r8d, 0x17
jl 0x18005fa00
movzx eax, word [0x1800fb364]
mov r8d, ebx
mov edx, dword [0x1800fb360]
mov word [rbp - 0x74], ax
movzx eax, byte [0x1800fb366]
mov byte [rbp - 0x72], al
mov dword [rbp - 0x78], edx
movups xmm2, xmmword [0x1800fb350]
movups xmmword [rsp + 0x78], xmm2
cmp esi, 2
jl 0x18005fc61
movd eax, xmm2
movdqa xmm1, xmm8
punpckldq xmm1, xmm8
movdqa xmm0, xmm8
punpckhdq xmm0, xmm8
movdqa xmm2, xmm7
pmuldq xmm0, xmm9
pmuldq xmm1, xmm9
movd ecx, xmm12
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm8
pmulld xmm0, xmm11
psubd xmm1, xmm0
movd xmm0, ecx
andps xmm1, xmm10
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm0
movd xmm0, eax
xorps xmm1, xmm0
movdqa xmm0, xmm7
punpckhdq xmm0, xmm7
pmuldq xmm0, xmm9
movd dword [rsp + 0x78], xmm1
movdqa xmm1, xmm7
punpckldq xmm1, xmm7
pmuldq xmm1, xmm9
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rsp + 0x7c]
pmulld xmm0, xmm11
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm10
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movdqa xmm0, xmm6
xorps xmm2, xmm1
punpckhdq xmm0, xmm6
pmuldq xmm0, xmm9
movdqa xmm1, xmm6
punpckldq xmm1, xmm6
pmuldq xmm1, xmm9
movd dword [rsp + 0x7c], xmm2
movdqa xmm2, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rbp - 0x80]
pmulld xmm0, xmm11
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm10
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movdqa xmm0, xmm5
xorps xmm2, xmm1
punpckhdq xmm0, xmm5
pmuldq xmm0, xmm9
movdqa xmm1, xmm5
punpckldq xmm1, xmm5
pmuldq xmm1, xmm9
movd dword [rbp - 0x80], xmm2
movdqa xmm2, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm11
movd xmm1, dword [rbp - 0x7c]
psubd xmm2, xmm0
andps xmm2, xmm10
movd xmm0, ecx
packuswb xmm2, xmm2
mov r8d, 0x14
packuswb xmm2, xmm2
paddb xmm2, xmm0
movdqa xmm0, xmm4
xorps xmm2, xmm1
punpckhdq xmm0, xmm4
movd dword [rbp - 0x7c], xmm2
movdqa xmm1, xmm4
pmuldq xmm0, xmm9
movdqa xmm2, xmm4
punpckldq xmm1, xmm4
pmuldq xmm1, xmm9
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, edx
pmulld xmm0, xmm11
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm10
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x78], xmm2
mov eax, r8d
lea r9, [rsp + 0x78]
add r9, rax
nop dword [rax]
mov eax, 0x4d4873ed
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x36
xor byte [r9 - 1], al
cmp r8d, 0x17
jl 0x18005fc70
movsd xmm0, qword [0x1800fb490]
lea rax, [rsp + 0x78]
mov qword [rbp - 0x28], rax
mov r8d, ebx
movzx eax, byte [0x1800fb498]
mov byte [rsp + 0x58], al
movsd qword [rsp + 0x50], xmm0
movups xmm2, xmmword [0x1800fb480]
movups xmmword [rsp + 0x40], xmm2
cmp esi, 2
jl 0x18005ff43
movd eax, xmm2
movdqa xmm1, xmm8
punpckldq xmm1, xmm8
movdqa xmm0, xmm8
punpckhdq xmm0, xmm8
movdqa xmm2, xmm7
pmuldq xmm0, xmm9
pmuldq xmm1, xmm9
movd ecx, xmm12
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm8
pmulld xmm0, xmm11
psubd xmm1, xmm0
movd xmm0, ecx
andps xmm1, xmm10
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm0
movd xmm0, eax
xorps xmm1, xmm0
movdqa xmm0, xmm7
punpckhdq xmm0, xmm7
pmuldq xmm0, xmm9
movd dword [rsp + 0x40], xmm1
movdqa xmm1, xmm7
punpckldq xmm1, xmm7
pmuldq xmm1, xmm9
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rsp + 0x44]
pmulld xmm0, xmm11
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm10
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movdqa xmm0, xmm6
xorps xmm2, xmm1
punpckhdq xmm0, xmm6
pmuldq xmm0, xmm9
movdqa xmm1, xmm6
punpckldq xmm1, xmm6
pmuldq xmm1, xmm9
movd dword [rsp + 0x44], xmm2
movdqa xmm2, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rsp + 0x48]
pmulld xmm0, xmm11
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm10
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movdqa xmm0, xmm5
xorps xmm2, xmm1
punpckhdq xmm0, xmm5
pmuldq xmm0, xmm9
movdqa xmm1, xmm5
punpckldq xmm1, xmm5
pmuldq xmm1, xmm9
movd dword [rsp + 0x48], xmm2
movdqa xmm2, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm11
movdqa xmm3, xmmword [0x18010ac80]
psubd xmm2, xmm0
movd xmm1, dword [rsp + 0x4c]
andps xmm2, xmm10
packuswb xmm2, xmm2
mov r8d, 0x18
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movdqa xmm0, xmm4
xorps xmm2, xmm1
punpckhdq xmm0, xmm4
pmuldq xmm0, xmm9
movdqa xmm1, xmm4
punpckldq xmm1, xmm4
pmuldq xmm1, xmm9
movd dword [rsp + 0x4c], xmm2
movdqa xmm2, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rsp + 0x50]
pmulld xmm0, xmm11
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm10
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
xorps xmm2, xmm1
movdqa xmm1, xmm3
pmuldq xmm0, xmm9
punpckldq xmm1, xmm3
pmuldq xmm1, xmm9
movd dword [rsp + 0x50], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rsp + 0x54]
pmulld xmm0, xmm11
psubd xmm3, xmm0
movd xmm0, ecx
andps xmm3, xmm10
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
xorps xmm3, xmm1
movd dword [rsp + 0x54], xmm3
mov eax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop
mov eax, 0x4d4873ed
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x36
xor byte [r9 - 1], al
cmp r8d, 0x19
jl 0x18005ff50
mov edx, dword [0x1800fb6f8]
lea rax, [rsp + 0x40]
mov qword [rbp - 0x20], rax
mov r8d, ebx
movzx eax, byte [0x1800fb6fc]
mov byte [rsp + 0x74], al
mov dword [rsp + 0x70], edx
movups xmm2, xmmword [0x1800fb6e8]
movups xmmword [rsp + 0x60], xmm2
cmp esi, 2
jl 0x1800601b6
movd eax, xmm2
movdqa xmm1, xmm8
punpckldq xmm1, xmm8
movdqa xmm0, xmm8
punpckhdq xmm0, xmm8
movdqa xmm2, xmm7
pmuldq xmm0, xmm9
pmuldq xmm1, xmm9
movd ecx, xmm12
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm8
pmulld xmm0, xmm11
psubd xmm1, xmm0
movd xmm0, ecx
andps xmm1, xmm10
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm0
movd xmm0, eax
xorps xmm1, xmm0
movdqa xmm0, xmm7
punpckhdq xmm0, xmm7
pmuldq xmm0, xmm9
movd dword [rsp + 0x60], xmm1
movdqa xmm1, xmm7
punpckldq xmm1, xmm7
pmuldq xmm1, xmm9
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rsp + 0x64]
pmulld xmm0, xmm11
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm10
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movdqa xmm0, xmm6
xorps xmm2, xmm1
punpckhdq xmm0, xmm6
pmuldq xmm0, xmm9
movdqa xmm1, xmm6
punpckldq xmm1, xmm6
pmuldq xmm1, xmm9
movd dword [rsp + 0x64], xmm2
movdqa xmm2, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rsp + 0x68]
pmulld xmm0, xmm11
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm10
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movdqa xmm0, xmm5
xorps xmm2, xmm1
punpckhdq xmm0, xmm5
pmuldq xmm0, xmm9
movdqa xmm1, xmm5
punpckldq xmm1, xmm5
pmuldq xmm1, xmm9
movd dword [rsp + 0x68], xmm2
movdqa xmm2, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm11
movd xmm1, dword [rsp + 0x6c]
psubd xmm2, xmm0
andps xmm2, xmm10
movd xmm0, ecx
packuswb xmm2, xmm2
mov r8d, 0x14
packuswb xmm2, xmm2
paddb xmm2, xmm0
movdqa xmm0, xmm4
xorps xmm2, xmm1
punpckhdq xmm0, xmm4
movd dword [rsp + 0x6c], xmm2
movdqa xmm1, xmm4
pmuldq xmm0, xmm9
movdqa xmm2, xmm4
punpckldq xmm1, xmm4
pmuldq xmm1, xmm9
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, edx
pmulld xmm0, xmm11
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm10
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rsp + 0x70], xmm2
mov eax, r8d
lea r9, [rsp + 0x60]
add r9, rax
mov eax, 0x4d4873ed
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x36
xor byte [r9 - 1], al
cmp r8d, 0x15
jl 0x1800601c1
mov edx, dword [0x1800fb690]
lea rax, [rsp + 0x60]
mov qword [rbp - 0x18], rax
mov r8d, ebx
movzx eax, word [0x1800fb694]
mov word [rbp - 0x5c], ax
movzx eax, byte [0x1800fb696]
mov byte [rbp - 0x5a], al
mov dword [rbp - 0x60], edx
movups xmm2, xmmword [0x1800fb680]
movups xmmword [rbp - 0x70], xmm2
cmp esi, 2
jl 0x18006041f
movd eax, xmm2
movdqa xmm1, xmm8
punpckldq xmm1, xmm8
movdqa xmm0, xmm8
punpckhdq xmm0, xmm8
movdqa xmm2, xmm7
pmuldq xmm0, xmm9
pmuldq xmm1, xmm9
movd ecx, xmm12
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm8
pmulld xmm0, xmm11
psubd xmm1, xmm0
movd xmm0, ecx
andps xmm1, xmm10
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm0
movd xmm0, eax
xorps xmm1, xmm0
movdqa xmm0, xmm7
punpckhdq xmm0, xmm7
pmuldq xmm0, xmm9
movd dword [rbp - 0x70], xmm1
movdqa xmm1, xmm7
punpckldq xmm1, xmm7
pmuldq xmm1, xmm9
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rbp - 0x6c]
pmulld xmm0, xmm11
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm10
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movdqa xmm0, xmm6
xorps xmm2, xmm1
punpckhdq xmm0, xmm6
pmuldq xmm0, xmm9
movdqa xmm1, xmm6
punpckldq xmm1, xmm6
pmuldq xmm1, xmm9
movd dword [rbp - 0x6c], xmm2
movdqa xmm2, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rbp - 0x68]
pmulld xmm0, xmm11
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm10
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movdqa xmm0, xmm5
xorps xmm2, xmm1
punpckhdq xmm0, xmm5
pmuldq xmm0, xmm9
movdqa xmm1, xmm5
punpckldq xmm1, xmm5
pmuldq xmm1, xmm9
movd dword [rbp - 0x68], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm11
psubd xmm5, xmm0
movd xmm1, dword [rbp - 0x64]
andps xmm5, xmm10
packuswb xmm5, xmm5
mov r8d, 0x14
packuswb xmm5, xmm5
movd xmm0, ecx
paddb xmm5, xmm0
movdqa xmm0, xmm4
punpckhdq xmm0, xmm4
xorps xmm5, xmm1
movdqa xmm1, xmm4
pmuldq xmm0, xmm9
punpckldq xmm1, xmm4
pmuldq xmm1, xmm9
movd dword [rbp - 0x64], xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, edx
pmulld xmm0, xmm11
psubd xmm4, xmm0
movd xmm0, ecx
andps xmm4, xmm10
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm4, xmm0
xorps xmm4, xmm1
movd dword [rbp - 0x60], xmm4
mov eax, r8d
lea r9, [rbp - 0x70]
add r9, rax
nop dword [rax]
mov eax, 0x4d4873ed
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x36
xor byte [r9 - 1], al
cmp r8d, 0x17
jl 0x180060430
lea rax, [rbp - 0x70]
mov qword [rbp - 0x30], rbx
xorps xmm0, xmm0
mov qword [rbp - 0x10], rax
mov ecx, 0x20
lea r14, [rbp - 0x28]
movdqu xmmword [rbp - 0x40], xmm0
call fcn.1800c3c30
mov r8d, 0x20
mov qword [rbp - 0x40], rax
mov rdx, r14
mov qword [rbp - 0x38], rax
mov rdi, rax
lea rcx, [rax + 0x20]
mov qword [rbp - 0x30], rcx
mov rcx, rax
call fcn.1800e9b00
movsd xmm0, qword [str.wGHT_oILV.B]
lea rax, [rdi + 0x20]
mov ecx, dword [0x1800fbdc8]
mov qword [rbp - 0x38], rax
movzx eax, byte [0x1800fbdcc]
mov byte [rsp + 0x3c], al
movsd qword [rsp + 0x30], xmm0
mov dword [rsp + 0x38], ecx
cmp esi, 2
jl 0x18006060c
movdqa xmm1, xmm8
movd eax, xmm12
punpckldq xmm1, xmm8
movdqa xmm0, xmm8
punpckhdq xmm0, xmm8
mov ebx, 0xc
pmuldq xmm0, xmm9
pmuldq xmm1, xmm9
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm7
pmulld xmm0, xmm11
psubd xmm8, xmm0
punpckldq xmm1, xmm7
pmuldq xmm1, xmm9
andps xmm8, xmm10
packuswb xmm8, xmm8
packuswb xmm8, xmm8
movd xmm0, eax
paddb xmm8, xmm0
movd xmm0, dword [str.wGHT_oILV.B]
xorps xmm8, xmm0
movdqa xmm0, xmm7
punpckhdq xmm0, xmm7
pmuldq xmm0, xmm9
movd dword [rsp + 0x30], xmm8
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rsp + 0x34]
pmulld xmm0, xmm11
psubd xmm7, xmm0
movd xmm0, eax
andps xmm7, xmm10
packuswb xmm7, xmm7
packuswb xmm7, xmm7
paddb xmm7, xmm0
movdqa xmm0, xmm6
punpckhdq xmm0, xmm6
xorps xmm7, xmm1
movdqa xmm1, xmm6
pmuldq xmm0, xmm9
punpckldq xmm1, xmm6
pmuldq xmm1, xmm9
movd dword [rsp + 0x34], xmm7
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, ecx
pmulld xmm0, xmm11
psubd xmm6, xmm0
movd xmm0, eax
andps xmm6, xmm10
packuswb xmm6, xmm6
packuswb xmm6, xmm6
paddb xmm6, xmm0
xorps xmm6, xmm1
movd dword [rsp + 0x38], xmm6
mov eax, ebx
lea r8, [rsp + 0x30]
add r8, rax
nop word [rax + rax]
mov eax, 0x4d4873ed
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, bl
inc ebx
sub al, cl
add al, 0x36
xor byte [r8 - 1], al
cmp ebx, 0xd
jl 0x180060620
lea r8, [rbp - 0x58]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x30]
call fcn.18005b790
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret