Function at 0x180013900
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
mov rax, qword [0x18004d010]
xor rax, rsp
mov qword [rbp + 0x18], rax
mov r12, r8
mov rsi, rcx
mov edx, dword [0x18004dec4]
mov rax, qword gs:[0x58]
mov ecx, 4
mov r15, qword [rax + rdx*8]
add r15, rcx
xor ebx, ebx
lea r13d, [rbx + 4]
lea r10d, [rbx + 0x1f]
mov edi, dword [0x18004d018]
mov eax, dword [r15]
cmp dword [0x18004e2a4], eax
jle 0x180013e96
lea rcx, [0x18004e2a4]
call fcn.180024c20
cmp dword [0x18004e2a4], 0xffffffff
jne 0x180013e90
mov r14, qword [rsi]
movsd xmm0, qword [0x180047f48]
movsd qword [rbp - 0x48], xmm0
mov eax, dword [0x180047f50]
mov dword [rbp - 0x40], eax
lea r10d, [rbx + 0x1f]
cmp byte [0x180047f53], bl
je 0x180013b10
mov r8d, ebx
cmp edi, 2
jl 0x180013acf
movdqa xmm4, xmmword [0x180048050]
movd xmm6, r13d
movd xmm5, r10d
movdqa xmm2, xmmword [0x180047fb0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180047ff0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x180048020]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x180048040]
movd xmm0, dword [0x180047f48]
pxor xmm2, xmm0
movd dword [rbp - 0x48], xmm2
movdqa xmm3, xmmword [0x180047fc0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180047ff0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x180048020]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x180048040]
movd xmm0, dword [rbp - 0x44]
pxor xmm2, xmm0
movd dword [rbp - 0x44], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 0x48]
add r9, rax
nop dword [rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xc
jl 0x180013ae0
movsd xmm0, qword [0x180047e00]
movsd qword [rsp + 0x78], xmm0
mov eax, dword [0x180047e08]
mov dword [rbp - 0x80], eax
cmp byte [0x180047e0b], 0
je 0x180013c90
mov r8d, ebx
cmp edi, 2
jl 0x180013c4c
movdqa xmm4, xmmword [0x180048050]
movd xmm6, r13d
movd xmm5, r10d
movdqa xmm2, xmmword [0x180047fb0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180047ff0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x180048020]
packuswb xmm2, xmm2
mov eax, dword [0x180048040]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [0x180047e00]
pxor xmm2, xmm1
movd dword [rsp + 0x78], xmm2
movdqa xmm3, xmmword [0x180047fc0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180047ff0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x180048020]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x7c]
pxor xmm2, xmm1
movd dword [rsp + 0x7c], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x78]
add r9, rax
nop word [rax + rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xc
jl 0x180013c60
mov eax, dword [0x180047a3c]
mov dword [rsp + 0x30], eax
movzx eax, word [0x180047a40]
mov word [rsp + 0x34], ax
mov byte [rsp + 0x30], 0x2e
xor byte [rsp + 0x31], 0x39
xor byte [rsp + 0x32], 0x3a
xor byte [rsp + 0x33], 0x3b
xor byte [rsp + 0x34], 0x3c
xor byte [rsp + 0x35], 0x3d
movsd xmm0, qword [0x180047bc0]
movsd qword [rbp - 0x28], xmm0
mov eax, dword [0x180047bc8]
mov dword [rbp - 0x20], eax
movzx eax, word [0x180047bcc]
mov word [rbp - 0x1c], ax
movzx eax, byte [0x180047bce]
mov byte [rbp - 0x1a], al
mov r8d, ebx
cmp edi, 2
jl 0x180013e04
movdqa xmm4, xmmword [0x180048050]
movd xmm6, r13d
movd xmm5, r10d
movdqa xmm2, xmmword [0x180047fb0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180047ff0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x180048020]
packuswb xmm2, xmm2
mov eax, dword [0x180048040]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [0x180047bc0]
pxor xmm2, xmm1
movd dword [rbp - 0x28], xmm2
movdqa xmm3, xmmword [0x180047fc0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180047ff0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x180048020]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x24]
pxor xmm2, xmm1
movd dword [rbp - 0x24], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 0x28]
add r9, rax
nop
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xf
jl 0x180013e10
lea rcx, [rbp - 0x28]
call fcn.180009c20
mov dword [rbp - 0x50], ebx
lea r9, [rbp - 0x50]
mov r8, rax
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.180012900
mov r8d, dword [rbp - 0x50]
lea rdx, [rbp - 0x48]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x78]
mov rdx, rax
mov rcx, r14
call fcn.180012280
mov qword [0x18004e278], rax
lea rcx, [0x18004e2a4]
call fcn.180024bc0
mov r10d, 0x1f
mov r14, qword [0x18004e278]
test r14, r14
jne 0x180014571
mov r14, qword [rsi]
movsd xmm0, qword [0x180047e60]
movsd qword [rsp + 0x38], xmm0
mov eax, dword [0x180047e68]
mov dword [rsp + 0x40], eax
movzx eax, word [0x180047e6c]
mov word [rsp + 0x44], ax
cmp byte [0x180047e6d], 0
je 0x180014030
mov r8d, ebx
cmp edi, 2
jl 0x180013ff2
movdqa xmm4, xmmword [0x180048050]
movd xmm6, r13d
movd xmm5, r10d
movdqa xmm2, xmmword [0x180047fb0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180047ff0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x180048020]
packuswb xmm2, xmm2
mov eax, dword [0x180048040]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [0x180047e60]
pxor xmm2, xmm1
movd dword [rsp + 0x38], xmm2
movdqa xmm3, xmmword [0x180047fc0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180047ff0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x180048020]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x3c]
pxor xmm2, xmm1
movd dword [rsp + 0x3c], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x38]
add r9, rax
nop dword [rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xe
jl 0x180014000
movsd xmm0, qword [0x180047e90]
movsd qword [rbp - 0x48], xmm0
mov eax, dword [0x180047e98]
mov dword [rbp - 0x40], eax
movzx eax, word [0x180047e9c]
mov word [rbp - 0x3c], ax
cmp byte [0x180047e9d], 0
je 0x1800141b0
mov r8d, ebx
cmp edi, 2
jl 0x180014173
movdqa xmm4, xmmword [0x180048050]
movd xmm6, r13d
movd xmm5, r10d
movdqa xmm2, xmmword [0x180047fb0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180047ff0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x180048020]
packuswb xmm2, xmm2
mov eax, dword [0x180048040]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [0x180047e90]
pxor xmm2, xmm1
movd dword [rbp - 0x48], xmm2
movdqa xmm3, xmmword [0x180047fc0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180047ff0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x180048020]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x44]
pxor xmm2, xmm1
movd dword [rbp - 0x44], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 0x48]
add r9, rax
nop dword [rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xe
jl 0x180014180
mov eax, dword [0x180047a3c]
mov dword [rsp + 0x30], eax
movzx eax, word [0x180047a40]
mov word [rsp + 0x34], ax
mov byte [rsp + 0x30], 0x2e
xor byte [rsp + 0x31], 0x39
xor byte [rsp + 0x32], 0x3a
xor byte [rsp + 0x33], 0x3b
xor byte [rsp + 0x34], 0x3c
xor byte [rsp + 0x35], 0x3d
movsd xmm0, qword [0x180047bc0]
movsd qword [rbp - 0x28], xmm0
mov eax, dword [0x180047bc8]
mov dword [rbp - 0x20], eax
movzx eax, word [0x180047bcc]
mov word [rbp - 0x1c], ax
movzx eax, byte [0x180047bce]
mov byte [rbp - 0x1a], al
mov r8d, ebx
cmp edi, 2
jl 0x180014324
movdqa xmm4, xmmword [0x180048050]
movd xmm6, r13d
movd xmm5, r10d
movdqa xmm2, xmmword [0x180047fb0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180047ff0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x180048020]
packuswb xmm2, xmm2
mov eax, dword [0x180048040]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [0x180047bc0]
pxor xmm2, xmm1
movd dword [rbp - 0x28], xmm2
movdqa xmm3, xmmword [0x180047fc0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180047ff0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x180048020]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x24]
pxor xmm2, xmm1
movd dword [rbp - 0x24], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 0x28]
add r9, rax
nop
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xf
jl 0x180014330
lea rcx, [rbp - 0x28]
call fcn.180009c20
mov dword [rbp - 0x50], ebx
lea r9, [rbp - 0x50]
mov r8, rax
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.180012900
mov r8d, dword [rbp - 0x50]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x48]
mov rdx, rax
mov rcx, r14
call fcn.180012280
mov r14, rax
mov qword [0x18004e278], rax
test rax, rax
jne 0x180014571
movups xmm0, xmmword [0x180047e30]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [0x180047e40]
movups xmmword [rsp + 0x58], xmm1
movsd xmm0, qword [0x180047e50]
movsd qword [rsp + 0x68], xmm0
mov eax, dword [0x180047e58]
mov dword [rsp + 0x70], eax
movzx eax, word [0x180047e5c]
mov word [rsp + 0x74], ax
cmp edi, 2
jl 0x18001451e
movdqa xmm5, xmmword [0x180047fb0]
movdqa xmm4, xmmword [0x180048050]
movd xmm6, r13d
movdqa xmm7, xmmword [0x180047ff0]
mov r10d, 0x1f
movd xmm8, r10d
movdqa xmm9, xmmword [0x180048010]
lea rcx, [rsp + 0x48]
nop dword [rax + rax]
movd xmm2, ebx
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm9
paddw xmm3, xmm2
movq xmm0, qword [rcx]
pxor xmm3, xmm0
movq qword [rcx], xmm3
lea eax, [rbx + 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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm9
paddw xmm3, xmm2
movq xmm0, qword [rcx + 8]
pxor xmm3, xmm0
movq qword [rcx + 8], xmm3
add ebx, 8
mov eax, ebx
lea rcx, [rcx + 0x10]
cmp ebx, 0x10
jl 0x180014430
cmp eax, 0x17
jge 0x180014560
movsxd rax, ebx
lea r8, [rsp + 0x48]
lea r8, [r8 + rax*2]
nop word [rax + rax]
mov eax, 0x4bda12f7
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x36
movzx eax, bx
sub ax, cx
add ax, 0x38
xor word [r8], ax
inc ebx
lea r8, [r8 + 2]
cmp ebx, 0x17
jl 0x180014530
lea rcx, [rsp + 0x48]
call fcn.180011ac0
xor eax, eax
jmp 0x180014c7e
mov rsi, qword [rsi]
mov dword [rbp - 0x50], ebx
mov eax, dword [r15]
cmp dword [0x18004df9c], eax
jle 0x1800148b2
lea rcx, [0x18004df9c]
call fcn.180024c20
cmp dword [0x18004df9c], 0xffffffff
jne 0x1800148b2
mov rax, qword [str.UWVSK__]
mov qword [rsp + 0x30], rax
cmp byte [0x180047adf], 0
je 0x180014710
cmp edi, 2
jl 0x1800146cd
movdqa xmm4, xmmword [0x180048060]
movd xmm6, r13d
mov r10d, 0x1f
movd xmm5, r10d
movdqa xmm2, xmmword [0x180047fb0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180047fe0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x180048020]
packuswb xmm2, xmm2
mov eax, dword [0x180048040]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x30]
pxor xmm2, xmm1
movd dword [rsp + 0x30], xmm2
movdqa xmm3, xmmword [0x180047fc0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180047fe0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x180048020]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x34]
pxor xmm2, xmm1
movd dword [rsp + 0x34], xmm2
jmp 0x180014716
lea r9, [rsp + 0x30]
mov r8d, ebx
nop word [rax + rax]
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x1800146e0
mov r10d, 0x1f
mov eax, dword [0x180047ac0]
mov dword [rsp + 0x40], eax
movsd xmm0, qword [str.VMUHWOPSn_:D]
movzx eax, byte [0x180047ac4]
movsd qword [rsp + 0x38], xmm0
mov byte [rsp + 0x44], al
mov r8d, ebx
cmp edi, 2
jl 0x180014851
movdqa xmm4, xmmword [0x180048060]
movd xmm6, r13d
movd xmm5, r10d
movdqa xmm2, xmmword [0x180047fb0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180047fe0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x180048020]
packuswb xmm2, xmm2
mov eax, dword [0x180048040]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [str.VMUHWOPSn_:D]
pxor xmm2, xmm1
movd dword [rsp + 0x38], xmm2
movdqa xmm3, xmmword [0x180047fc0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180047fe0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x180048020]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x3c]
pxor xmm2, xmm1
movd dword [rsp + 0x3c], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x38]
add r9, rax
nop dword [rax]
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xd
jl 0x180014860
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.180009e10
mov qword [0x18004e010], rax
lea rcx, [0x18004df9c]
call fcn.180024bc0
mov rdi, qword [0x18004e010]
mov eax, dword [r15]
cmp dword [0x18004e008], eax
jle 0x180014909
lea rcx, [0x18004e008]
call fcn.180024c20
cmp dword [0x18004e008], 0xffffffff
jne 0x180014909
lea rcx, [0x180027a08]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18004dfa8], rax
lea rcx, [0x18004e008]
call fcn.180024bc0
mov eax, dword [r15]
cmp dword [0x18004df30], eax
jle 0x180014953
lea rcx, [0x18004df30]
call fcn.180024c20
cmp dword [0x18004df30], 0xffffffff
jne 0x180014953
mov edx, 2
lea rcx, [0x18004dfb0]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x1800266f0]
call fcn.1800250d4
lea rcx, [0x18004df30]
call fcn.180024bc0
lea rcx, [0x18004dfb0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x18001496d
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov dword [rbp - 0x18], 0x25ff
mov word [rbp - 0x14], 0
mov qword [rbp - 0x12], rdi
mov rax, qword [0x18004dfa0]
mov qword [rbp - 0x78], 0xe
lea rcx, [rbp + 8]
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x38], rax
mov rcx, qword [rsi + 0x38]
test rcx, rcx
jne 0x1800149a9
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
mov rax, qword [rcx]
lea r9, [rbp - 0x78]
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x38]
call qword [rax + 0x10]
test al, al
jne 0x1800149d4
lea rcx, [0x18004dfb0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rdi, rbx
jmp 0x180014ab1
mov rax, qword [0x18004dfa0]
mov qword [rbp - 0x68], 0xe
lea rcx, [rbp - 0x18]
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x30], rax
mov rcx, qword [rsi + 0x78]
test rcx, rcx
jne 0x1800149ff
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
mov rax, qword [rcx]
lea r9, [rbp - 0x68]
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x30]
call qword [rax + 0x10]
test al, al
jne 0x180014a2a
lea rcx, [0x18004dfb0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rdi, rbx
jmp 0x180014ab1
mov rax, qword [0x18004dfa8]
lea rdx, [r14 + 1]
mov r8, r13
lea rcx, [rbp - 0x50]
call rax
mov rdi, rax
mov rcx, qword [0x18004dfa0]
mov qword [rbp - 0x58], 0xe
lea rax, [rbp + 8]
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x48], rcx
mov rcx, qword [rsi + 0x78]
test rcx, rcx
jne 0x180014a6d
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
mov rax, qword [rcx]
lea r9, [rbp - 0x58]
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x48]
call qword [rax + 0x10]
lea rcx, [0x18004dfb0]
test al, al
jne 0x180014a96
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rdi, rbx
jmp 0x180014ab1
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
test rdi, rdi
jne 0x180014aa6
mov rdi, rbx
jmp 0x180014ab1
movsxd rdi, dword [rbp - 0x50]
add rdi, 5
add rdi, r14
mov eax, dword [r15]
cmp dword [0x18004e280], eax
jle 0x180014b01
lea rcx, [0x18004e280]
call fcn.180024c20
cmp dword [0x18004e280], 0xffffffff
jne 0x180014b01
lea rcx, [0x180027a08]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18004e3d8], rax
lea rcx, [0x18004e280]
call fcn.180024bc0
mov eax, dword [r15]
cmp dword [0x18004e204], eax
jle 0x180014b4b
lea rcx, [0x18004e204]
call fcn.180024c20
cmp dword [0x18004e204], 0xffffffff
jne 0x180014b4b
mov edx, 2
lea rcx, [0x18004e370]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x180026770]
call fcn.1800250d4
lea rcx, [0x18004e204]
call fcn.180024bc0
lea rcx, [0x18004e370]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x180014b65
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov dword [rbp - 8], 0x25ff
mov word [rbp - 4], 0
mov qword [rbp - 2], rdi
mov rax, qword [0x18004dfa0]
mov qword [rbp - 0x48], 0xe
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x78], rcx
mov qword [rbp - 0x58], rax
mov rcx, qword [rsi + 0x38]
test rcx, rcx
jne 0x180014ba2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
mov rax, qword [rcx]
lea r9, [rbp - 0x48]
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x58]
call qword [rax + 0x10]
test al, al
jne 0x180014bcb
lea rcx, [0x18004e370]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
jmp 0x180014c7b
mov rax, qword [0x18004dfa0]
mov qword [rbp - 0x30], 0xe
lea rcx, [rbp - 8]
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x68], rax
mov rcx, qword [rsi + 0x78]
test rcx, rcx
jne 0x180014bf6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
mov rax, qword [rcx]
lea r9, [rbp - 0x30]
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x68]
call qword [rax + 0x10]
test al, al
je 0x180014bb9
mov rax, qword [0x18004e3d8]
mov r9b, 0x11
mov r8d, 1
mov rdx, r12
xor ecx, ecx
call rax
mov rdi, rax
mov rcx, qword [0x18004dfa0]
mov qword [rbp - 0x38], 0xe
lea rax, [rbp - 0x28]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x78], rcx
mov rcx, qword [rsi + 0x78]
test rcx, rcx
jne 0x180014c51
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
mov rax, qword [rcx]
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x78]
call qword [rax + 0x10]
lea rcx, [0x18004e370]
test al, al
je 0x180014bc0
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rbx, rdi
mov rax, rbx
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.180024a70
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret