Function at 0x1402167a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1400]
mov eax, 0x1500
call fcn.14026ed30
sub rsp, rax
movaps xmmword [rsp + 0x14f0], xmm6
movaps xmmword [rsp + 0x14e0], xmm7
movaps xmmword [rsp + 0x14d0], xmm8
movaps xmmword [rsp + 0x14c0], xmm9
movaps xmmword [rsp + 0x14b0], xmm10
movaps xmmword [rsp + 0x14a0], xmm11
movaps xmmword [rsp + 0x1490], xmm12
mov rax, qword [0x140291040]
xor rax, rsp
mov qword [rbp + 0x1380], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
lea rsi, [rbp + 0x1428]
movabs r13, 0xff00ff00ff00ff00
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], rsi
mov rax, qword [rsi]
xor rax, r13
mov qword [rbp - 0x28], rax
xor edi, edi
mov qword [rsi], rdi
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbp + 0x1374], 0xffffffff
mov dword [rbp - 0xc], eax
mov r15d, 1
mov edx, r15d
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rbp + rdx*4 - 0xc], eax
inc rdx
cmp rdx, 0x270
jb 0x140216870
mov dword [rbp - 0x10], 0x270
mov dword [rsp + 0x30], edi
lea rcx, [rsp + 0x70]
call fcn.1401f2240
mov r14, qword [rsp + 0x70]
add r14, 0x5f5e100
lea rcx, [rsp + 0x40]
call fcn.1401f2240
cmp qword [rax], r14
jge 0x140216a13
mov esi, 0x186a0
nop dword [rax + rax]
lea rcx, [rbp - 0x10]
call fcn.14025a000
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x63
ja 0x1402168fe
lea rcx, [rbp - 0x10]
call fcn.14025a000
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x1402168e7
shr rax, 0x20
lea ebx, [rax + 0x7fffff9c]
xor ebx, 0x80000000
cmove ebx, r15d
lea rcx, [rbp - 0x10]
call fcn.14025a000
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x140216947
nop dword [rax]
lea rcx, [rbp - 0x10]
call fcn.14025a000
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x140216930
shr rcx, 0x20
add ecx, 0x7fffff9c
btc ecx, 0x1f
mov eax, dword [rsp + 0x30]
add eax, ecx
mov dword [rsp + 0x30], eax
lea rcx, [rbp - 0x10]
call fcn.14025a000
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x14021698d
lea rcx, [rbp - 0x10]
call fcn.14025a000
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x140216976
shr rcx, 0x20
add ecx, 0x7fffff9c
btc ecx, 0x1f
mov eax, dword [rsp + 0x30]
imul eax, ecx
mov dword [rsp + 0x30], eax
lea rcx, [rbp - 0x10]
call fcn.14025a000
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x1402169d7
nop dword [rax]
lea rcx, [rbp - 0x10]
call fcn.14025a000
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x1402169c0
shr rcx, 0x20
add ecx, 0x7fffff9c
btc ecx, 0x1f
mov eax, dword [rsp + 0x30]
sub eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
cdq
idiv ebx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
cdq
idiv ebx
mov dword [rsp + 0x30], edx
sub rsi, r15
jne 0x1402168d0
jmp 0x1402168b0
mov eax, dword [rsp + 0x30]
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
mov qword [rbp - 0x50], rdi
mov qword [rsp + 0x78], rdi
lea rdx, [rsp + 0x78]
lea rcx, [0x14027da90]
call qword [sym.imp.dxgi.dll_CreateDXGIFactory1]
test eax, eax
jns 0x140216d12
movups xmm0, xmmword [0x14027f128]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [0x14027f138]
movups xmmword [rbp - 0x70], xmm1
psrldq xmm1, 0xf
movd eax, xmm1
test al, al
je 0x140216c7f
cmp dword [0x140291090], 2
jl 0x140216c2d
movdqa xmm8, xmmword [0x140280570]
movdqa xmm5, xmmword [0x1402806c0]
movdqa xmm6, xmmword [0x1402806d0]
movdqa xmm9, xmmword [str.jjjjllll]
movdqa xmm10, xmmword [0x1402806e0]
movdqa xmm0, xmmword [0x1402806a0]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rbp - 0x7c]
mov edx, dword [rsp + 0x40]
movdqa xmm7, xmmword [0x140280680]
nop
movd xmm4, edi
pshufd xmm4, xmm4, 0
paddd xmm4, xmm8
movdqa xmm2, xmm4
punpckldq xmm2, xmm4
movdqa xmm1, xmm4
punpckhdq xmm1, xmm4
movdqa xmm3, xmm2
pmuldq xmm3, xmm5
movdqa xmm0, xmm1
pmuldq xmm0, xmm5
shufps xmm3, xmm0, 0xdd
psrad xmm3, 5
pmuldq xmm2, xmm6
pmuldq xmm1, xmm6
shufps xmm2, xmm1, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmm10
movdqa xmm1, xmm4
psubd xmm1, xmm0
andps xmm1, xmm7
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movdqa xmm0, xmm3
psrld xmm0, 0x1f
paddd xmm0, xmm3
pmulld xmm0, xmm9
psubd xmm4, xmm0
andps xmm4, xmm7
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm1, xmm4
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm1, xmm0
movd dword [rcx - 4], xmm1
lea eax, [rdi + 4]
movd xmm4, eax
pshufd xmm4, xmm4, 0
paddd xmm4, xmm8
movdqa xmm2, xmm4
punpckldq xmm2, xmm4
movdqa xmm1, xmm4
punpckhdq xmm1, xmm4
movdqa xmm3, xmm2
pmuldq xmm3, xmm5
movdqa xmm0, xmm1
pmuldq xmm0, xmm5
shufps xmm3, xmm0, 0xdd
psrad xmm3, 5
pmuldq xmm2, xmm6
pmuldq xmm1, xmm6
shufps xmm2, xmm1, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmm10
movdqa xmm1, xmm4
psubd xmm1, xmm0
andps xmm1, xmm7
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movdqa xmm0, xmm3
psrld xmm0, 0x1f
paddd xmm0, xmm3
pmulld xmm0, xmm9
psubd xmm4, xmm0
andps xmm4, xmm7
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm1, xmm4
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [rcx]
xorps xmm1, xmm0
movd dword [rcx], xmm1
add edi, 8
lea rcx, [rcx + 8]
cmp edi, 0x20
jl 0x140216ac0
jmp 0x140216c7f
lea r8, [rbp - 0x80]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x22b63cbf
mul edi
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x3b
mov eax, 0xb2b78c13
imul edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
sub dl, cl
add dl, 0x20
add dl, dil
add dl, dl
xor byte [r8], dl
inc edi
lea r8, [r8 + 1]
cmp edi, 0x20
jl 0x140216c40
lea rdx, [rbp - 0x80]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14024a3c0
movsd xmm0, qword [0x14027e6d0]
movsd qword [rsp + 0x40], xmm0
movzx eax, word [0x14027e6d8]
mov word [rsp + 0x48], ax
cmp byte [0x14027e6d9], 0
je 0x140216ce4
mov byte [rsp + 0x40], 0x47
xor byte [rsp + 0x41], 0x42
xor byte [rsp + 0x42], 0x44
xor byte [rsp + 0x43], 0x46
xor byte [rsp + 0x44], 0x48
xor byte [rsp + 0x45], 0x4a
xor byte [rsp + 0x46], 0x4c
xor byte [rsp + 0x47], 0x4e
xor byte [rsp + 0x48], 0x50
xor byte [rsp + 0x49], 0x52
lea rax, [rsp + 0x40]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140216cf0
mov r8, rbx
lea rdx, [rsp + 0x40]
lea rcx, [0x140294430]
call fcn.140248d40
jmp 0x140217a5b
mov qword [rsp + 0x70], rdi
xor sil, sil
mov ebx, edi
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
xor edx, edx
call qword [rax + 0x60]
cmp eax, 0x887a0002
je 0x140216e39
nop dword [rax]
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
lea rdx, [rbp - 0x10]
call qword [rax + 0x50]
test byte [rbp + 0x120], 2
jne 0x140216e15
mov rdx, qword [rbp - 0x58]
cmp rdx, qword [rbp - 0x50]
je 0x140216dfa
lea rax, [rbp - 0x10]
mov ecx, 2
nop dword [rax]
nop word [rax + rax]
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rdx + 0x60], xmm0
lea rdx, [rdx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rdx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rcx, 1
jne 0x140216d80
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x20], xmm0
mov rax, qword [rax + 0x30]
mov qword [rdx + 0x30], rax
add qword [rbp - 0x58], 0x138
jmp 0x140216e07
lea r8, [rbp - 0x10]
lea rcx, [rbp - 0x60]
call fcn.140251350
mov sil, 1
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + 0x10]
inc ebx
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
mov edx, ebx
call qword [rax + 0x60]
cmp eax, 0x887a0002
jne 0x140216d40
test sil, sil
jne 0x140216e4c
lea rdx, str.No_valid_hardware_GPU_found._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14024a3c0
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
movups xmm4, xmmword [0x14027cc00]
movups xmmword [rsp + 0x40], xmm4
movzx eax, word [0x14027cc10]
mov word [rsp + 0x50], ax
mov r13d, dword [0x140291090]
movdqa xmm7, xmmword [0x140280680]
movdqa xmm6, xmmword [0x140280570]
movdqa xmm12, xmmword [0x1402806a0]
movdqa xmm10, xmmword [str.jjjjllll]
movdqa xmm11, xmmword [0x1402806e0]
movdqa xmm8, xmmword [0x1402806d0]
movdqa xmm9, xmmword [0x1402806c0]
cmp byte [0x14027cc11], 0
je 0x1402171ec
mov r9d, edi
cmp r13d, 2
jl 0x14021718a
movdqa xmm2, xmm6
punpckldq xmm2, xmm6
movdqa xmm1, xmm6
punpckhdq xmm1, xmm6
movdqa xmm3, xmm2
pmuldq xmm3, xmm9
movdqa xmm0, xmm1
pmuldq xmm0, xmm9
shufps xmm3, xmm0, 0xdd
psrad xmm3, 5
pmuldq xmm2, xmm8
pmuldq xmm1, xmm8
shufps xmm2, xmm1, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmm11
movdqa xmm2, xmm6
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movdqa xmm0, xmm3
psrld xmm0, 0x1f
paddd xmm0, xmm3
pmulld xmm0, xmm10
movdqa xmm1, xmm6
psubd xmm1, xmm0
andps xmm1, xmm7
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm2, xmm1
movd ecx, xmm12
movd xmm0, ecx
paddb xmm2, xmm0
movd eax, xmm4
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rsp + 0x40], xmm2
movdqa xmm4, xmmword [0x140280590]
movdqa xmm2, xmm4
punpckldq xmm2, xmm4
movdqa xmm1, xmm4
punpckhdq xmm1, xmm4
movdqa xmm3, xmm2
pmuldq xmm3, xmm9
movdqa xmm0, xmm1
pmuldq xmm0, xmm9
shufps xmm3, xmm0, 0xdd
psrad xmm3, 5
pmuldq xmm2, xmm8
pmuldq xmm1, xmm8
shufps xmm2, xmm1, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmm11
movdqa xmm2, xmm4
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movdqa xmm0, xmm3
psrld xmm0, 0x1f
paddd xmm0, xmm3
pmulld xmm0, xmm10
psubd xmm4, xmm0
andps xmm4, xmm7
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm2, xmm4
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x44]
xorps xmm2, xmm1
movd dword [rsp + 0x44], xmm2
movdqa xmm4, xmmword [0x1402805b0]
movdqa xmm3, xmm4
punpckldq xmm3, xmm4
movdqa xmm1, xmm4
punpckhdq xmm1, xmm4
movdqa xmm2, xmm3
pmuldq xmm2, xmm9
movdqa xmm0, xmm1
pmuldq xmm0, xmm9
shufps xmm2, xmm0, 0xdd
psrad xmm2, 5
pmuldq xmm3, xmm8
pmuldq xmm1, xmm8
shufps xmm3, xmm1, 0xdd
psrad xmm3, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmm10
movdqa xmm2, xmm4
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movdqa xmm0, xmm3
psrld xmm0, 0x1f
paddd xmm0, xmm3
pmulld xmm0, xmm11
psubd xmm4, xmm0
andps xmm4, xmm7
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm2, xmm4
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x48]
xorps xmm2, xmm1
movd dword [rsp + 0x48], xmm2
movdqa xmm4, xmmword [0x1402805d0]
movdqa xmm2, xmm4
punpckldq xmm2, xmm4
movdqa xmm1, xmm4
punpckhdq xmm1, xmm4
movdqa xmm3, xmm2
pmuldq xmm3, xmm9
movdqa xmm0, xmm1
pmuldq xmm0, xmm9
shufps xmm3, xmm0, 0xdd
psrad xmm3, 5
pmuldq xmm2, xmm8
pmuldq xmm1, xmm8
shufps xmm2, xmm1, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmm11
movdqa xmm2, xmm4
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movdqa xmm0, xmm3
psrld xmm0, 0x1f
paddd xmm0, xmm3
pmulld xmm0, xmm10
psubd xmm4, xmm0
andps xmm4, xmm7
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm2, xmm4
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x4c]
xorps xmm2, xmm1
movd dword [rsp + 0x4c], xmm2
mov r9d, 0x10
mov eax, r9d
lea r10, [rsp + 0x40]
add r10, rax
nop word [rax + rax]
mov eax, 0x22b63cbf
imul r9d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul r8d, eax, 0x3b
mov eax, 0xb2b78c13
imul r9d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
sub cl, r8b
add cl, 0x20
add cl, r9b
add cl, cl
xor byte [r10], cl
inc r9d
lea r10, [r10 + 1]
cmp r9d, 0x12
jl 0x1402171a0
lea rax, [rsp + 0x40]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140217200
lea rdx, [rsp + 0x40]
lea rcx, [0x140294430]
call fcn.140248d40
mov rsi, qword [rbp - 0x60]
mov rax, qword [rbp - 0x58]
mov qword [rsp + 0x40], rax
cmp rsi, rax
je 0x140217577
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], rdi
mov r8, rbx
inc r8
cmp word [rsi + r8*2], 0
jne 0x140217243
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.14024bf90
nop
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rdx, qword [rbp - 0x80]
mov rax, qword [rbp - 0x70]
lea r8, [rdx + rax*2]
lea rdx, [rbp - 0x80]
cmova rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x48]
call fcn.14024a5e0
nop
mov eax, dword [0x14027d6b4]
mov dword [rsp + 0x60], eax
movzx ecx, word [0x14027d6b8]
mov word [rsp + 0x64], cx
movzx eax, byte [0x14027d6ba]
mov byte [rsp + 0x60], 0x4e
xor byte [rsp + 0x61], 0x42
xor byte [rsp + 0x62], 0x44
xor byte [rsp + 0x63], 0x46
xor cl, 0x48
mov byte [rsp + 0x64], cl
xor byte [rsp + 0x65], 0x4a
xor al, 0x4c
mov byte [rsp + 0x66], al
lea rcx, [rsp + 0x60]
mov rax, rbx
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x1402172d0
lea rcx, [rbp - 0x48]
mov r14, qword [rbp - 0x48]
mov r15, qword [rbp - 0x30]
cmp r15, 0xf
cmova rcx, r14
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
xor r8d, r8d
mov r12, qword [rbp - 0x38]
mov rdx, r12
call fcn.14024c0c0
cmp rax, 0xffffffffffffffff
jne 0x140217507
mov eax, dword [0x14027dfb4]
mov dword [rsp + 0x30], eax
cmp byte [0x14027dfb7], 0
je 0x140217425
mov r9d, edi
cmp r13d, 2
jl 0x1402173da
movdqa xmm2, xmm6
punpckldq xmm2, xmm6
movdqa xmm1, xmm6
punpckhdq xmm1, xmm6
movdqa xmm3, xmm2
pmuldq xmm3, xmm9
movdqa xmm0, xmm1
pmuldq xmm0, xmm9
shufps xmm3, xmm0, 0xdd
psrad xmm3, 5
pmuldq xmm2, xmm8
pmuldq xmm1, xmm8
shufps xmm2, xmm1, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmm11
movdqa xmm2, xmm6
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movdqa xmm0, xmm3
psrld xmm0, 0x1f
paddd xmm0, xmm3
pmulld xmm0, xmm10
movdqa xmm1, xmm6
psubd xmm1, xmm0
andps xmm1, xmm7
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm2, xmm1
paddb xmm2, xmm12
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
jmp 0x140217425
lea r10, [rsp + 0x30]
nop
mov eax, 0x22b63cbf
mul r9d
shr edx, 4
movsx eax, dl
imul r8d, eax, 0x3b
mov eax, 0xb2b78c13
imul r9d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
sub cl, r8b
add cl, 0x20
add cl, r9b
add cl, cl
xor byte [r10], cl
inc r9d
lea r10, [r10 + 1]
cmp r9d, 4
jl 0x1402173e0
lea rcx, [rsp + 0x30]
mov rax, rbx
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140217430
lea rcx, [rbp - 0x48]
cmp r15, 0xf
cmova rcx, r14
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, r12
call fcn.14024c0c0
cmp rax, 0xffffffffffffffff
jne 0x140217507
mov eax, dword [0x14027db20]
mov dword [rsp + 0x68], eax
movzx ecx, word [0x14027db24]
mov word [rsp + 0x6c], cx
movzx eax, byte [0x14027db26]
mov byte [rsp + 0x68], 0x52
xor byte [rsp + 0x69], 0x42
xor byte [rsp + 0x6a], 0x44
xor byte [rsp + 0x6b], 0x46
xor cl, 0x48
mov byte [rsp + 0x6c], cl
xor byte [rsp + 0x6d], 0x4a
xor al, 0x4c
mov byte [rsp + 0x6e], al
lea rcx, [rsp + 0x68]
mov rax, rbx
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x1402174b0
lea rcx, [rbp - 0x48]
cmp r15, 0xf
cmova rcx, r14
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
xor r8d, r8d
mov rdx, r12
call fcn.14024c0c0
cmp rax, 0xffffffffffffffff
jne 0x140217507
lea rcx, [rbp - 0x48]
call fcn.140248aa0
nop
lea rcx, [rbp - 0x80]
call fcn.1402489a0
add rsi, 0x138
cmp rsi, qword [rsp + 0x40]
jne 0x140217231
jmp 0x140217577
lea rdx, [rbp - 0x48]
cmp r15, 0xf
cmova rdx, r14
mov r8, r12
lea rcx, [0x140294430]
call fcn.140248d40
mov rcx, qword [rsi + 0x110]
xorps xmm0, xmm0
test rcx, rcx
js 0x140217538
cvtsi2sd xmm0, rcx
jmp 0x14021754d
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
divsd xmm0, qword [0x140280540]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
cvttsd2si eax, xmm0
mov dword [0x140294168], eax
lea rcx, [rbp - 0x48]
call fcn.140248aa0
nop
lea rcx, [rbp - 0x80]
call fcn.1402489a0
movups xmm4, xmmword [0x14027cc00]
movups xmmword [rsp + 0x40], xmm4
movzx eax, word [0x14027cc10]
mov word [rsp + 0x50], ax
cmp byte [0x14027cc11], 0
je 0x1402178bc
mov r9d, edi
cmp r13d, 2
jl 0x140217862
movdqa xmm2, xmm6
punpckldq xmm2, xmm6
movdqa xmm1, xmm6
punpckhdq xmm1, xmm6
movdqa xmm3, xmm2
pmuldq xmm3, xmm9
movdqa xmm0, xmm1
pmuldq xmm0, xmm9
shufps xmm3, xmm0, 0xdd
psrad xmm3, 5
pmuldq xmm2, xmm8
pmuldq xmm1, xmm8
shufps xmm2, xmm1, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmm11
movdqa xmm1, xmm6
psubd xmm1, xmm0
andps xmm1, xmm7
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movdqa xmm0, xmm3
psrld xmm0, 0x1f
paddd xmm0, xmm3
pmulld xmm0, xmm10
psubd xmm6, xmm0
andps xmm6, xmm7
packuswb xmm6, xmm6
packuswb xmm6, xmm6
paddb xmm1, xmm6
movd ecx, xmm12
movd xmm0, ecx
paddb xmm1, xmm0
movd eax, xmm4
movd xmm0, eax
xorps xmm1, xmm0
movd dword [rsp + 0x40], xmm1
movdqa xmm4, xmmword [0x140280590]
movdqa xmm2, xmm4
punpckldq xmm2, xmm4
movdqa xmm1, xmm4
punpckhdq xmm1, xmm4
movdqa xmm3, xmm2
pmuldq xmm3, xmm9
movdqa xmm0, xmm1
pmuldq xmm0, xmm9
shufps xmm3, xmm0, 0xdd
psrad xmm3, 5
pmuldq xmm2, xmm8
pmuldq xmm1, xmm8
shufps xmm2, xmm1, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmm11
movdqa xmm2, xmm4
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movdqa xmm0, xmm3
psrld xmm0, 0x1f
paddd xmm0, xmm3
pmulld xmm0, xmm10
psubd xmm4, xmm0
andps xmm4, xmm7
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm2, xmm4
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x44]
xorps xmm2, xmm1
movd dword [rsp + 0x44], xmm2
movdqa xmm4, xmmword [0x1402805b0]
movdqa xmm2, xmm4
punpckldq xmm2, xmm4
movdqa xmm1, xmm4
punpckhdq xmm1, xmm4
movdqa xmm3, xmm2
pmuldq xmm3, xmm9
movdqa xmm0, xmm1
pmuldq xmm0, xmm9
shufps xmm3, xmm0, 0xdd
psrad xmm3, 5
pmuldq xmm2, xmm8
pmuldq xmm1, xmm8
shufps xmm2, xmm1, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmm11
movdqa xmm2, xmm4
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movdqa xmm0, xmm3
psrld xmm0, 0x1f
paddd xmm0, xmm3
pmulld xmm0, xmm10
psubd xmm4, xmm0
andps xmm4, xmm7
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm2, xmm4
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x48]
xorps xmm2, xmm1
movd dword [rsp + 0x48], xmm2
movdqa xmm4, xmmword [0x1402805d0]
movdqa xmm2, xmm4
punpckldq xmm2, xmm4
movdqa xmm1, xmm4
punpckhdq xmm1, xmm4
movdqa xmm3, xmm2
pmuldq xmm3, xmm9
movdqa xmm0, xmm1
pmuldq xmm0, xmm9
shufps xmm3, xmm0, 0xdd
psrad xmm3, 5
pmuldq xmm2, xmm8
pmuldq xmm1, xmm8
shufps xmm2, xmm1, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmm11
movdqa xmm2, xmm4
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movdqa xmm0, xmm3
psrld xmm0, 0x1f
paddd xmm0, xmm3
pmulld xmm0, xmm10
psubd xmm4, xmm0
andps xmm4, xmm7
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm2, xmm4
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x4c]
xorps xmm2, xmm1
movd dword [rsp + 0x4c], xmm2
mov r9d, 0x10
mov eax, r9d
lea r10, [rsp + 0x40]
add r10, rax
nop dword [rax]
mov eax, 0x22b63cbf
imul r9d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul r8d, eax, 0x3b
mov eax, 0xb2b78c13
imul r9d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
sub cl, r8b
add cl, 0x20
add cl, r9b
add cl, cl
xor byte [r10], cl
inc r9d
lea r10, [r10 + 1]
cmp r9d, 0x12
jl 0x140217870
lea rcx, [rsp + 0x40]
mov rax, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x1402178c4
mov r8, qword [0x140294440]
lea rcx, [0x140294430]
cmp qword [0x140294448], 0xf
cmova rcx, qword [0x140294430]
cmp r8, rax
jne 0x140217a51
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140217a51
mov rsi, qword [rbp - 0x60]
mov r13, qword [rbp - 0x58]
cmp rsi, r13
je 0x140217a51
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], rdi
mov r8, rbx
inc r8
cmp word [rsi + r8*2], 0
jne 0x140217932
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.14024bf90
nop
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rdx, qword [rbp - 0x80]
mov rax, qword [rbp - 0x70]
lea r8, [rdx + rax*2]
lea rdx, [rbp - 0x80]
cmova rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x48]
call fcn.14024a5e0
nop
mov eax, dword [0x14027eec4]
mov dword [rsp + 0x30], eax
movzx eax, word [0x14027eec8]
mov word [rsp + 0x34], ax
mov byte [rsp + 0x30], 0x49
xor byte [rsp + 0x31], 0x42
xor byte [rsp + 0x32], 0x44
xor byte [rsp + 0x33], 0x46
xor al, 0x48
mov byte [rsp + 0x34], al
xor byte [rsp + 0x35], 0x4a
lea rcx, [rsp + 0x30]
mov rax, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x1402179b0
lea rcx, [rbp - 0x48]
mov r14, qword [rbp - 0x48]
mov r15, qword [rbp - 0x30]
cmp r15, 0xf
cmova rcx, r14
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov r12, qword [rbp - 0x38]
mov rdx, r12
call fcn.14024c0c0
cmp rax, 0xffffffffffffffff
jne 0x140217a11
lea rcx, [rbp - 0x48]
call fcn.140248aa0
nop
lea rcx, [rbp - 0x80]
call fcn.1402489a0
add rsi, 0x138
cmp rsi, r13
jne 0x140217920
jmp 0x140217a51
lea rdx, [rbp - 0x48]
cmp r15, 0xf
cmova rdx, r14
mov r8, r12
lea rcx, [0x140294430]
call fcn.140248d40
mov eax, dword [rsi + 0x120]
add eax, dword [rsi + 0x110]
mov dword [0x140294168], eax
lea rcx, [rbp - 0x48]
call fcn.140248aa0
nop
lea rcx, [rbp - 0x80]
call fcn.1402489a0
movabs r13, 0xff00ff00ff00ff00
mov r8, qword [rbp - 0x60]
test r8, r8
je 0x140217abe
mov rcx, qword [rbp - 0x50]
sub rcx, r8
movabs rax, 0x6906906906906907
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0x138
mov rax, r8
cmp rdx, 0x1000
jb 0x140217ab5
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140217ab5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.14026da10
nop
mov rax, qword [rbp - 0x28]
xor rax, r13
lea rcx, [rbp + 0x1428]
mov qword [rcx], rax
mov rcx, qword [rbp + 0x1380]
xor rcx, rsp
call fcn.14026d9f0
lea r11, [rsp + 0x1500]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
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 r15
pop r14
pop r13
pop r12
pop rbp
ret