Function at 0x140226670
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.140272980
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 [0x140294040]
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 0x140226740
mov dword [rbp - 0x10], 0x270
mov dword [rsp + 0x30], edi
lea rcx, [rsp + 0x70]
call fcn.140201b40
mov r14, qword [rsp + 0x70]
add r14, 0x5f5e100
lea rcx, [rsp + 0x40]
call fcn.140201b40
cmp qword [rax], r14
jge 0x1402268e3
mov esi, 0x186a0
nop dword [rax + rax]
lea rcx, [rbp - 0x10]
call fcn.14025d840
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x63
ja 0x1402267ce
lea rcx, [rbp - 0x10]
call fcn.14025d840
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x1402267b7
shr rax, 0x20
lea ebx, [rax + 0x7fffff9c]
xor ebx, 0x80000000
cmove ebx, r15d
lea rcx, [rbp - 0x10]
call fcn.14025d840
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x140226817
nop dword [rax]
lea rcx, [rbp - 0x10]
call fcn.14025d840
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x140226800
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.14025d840
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x14022685d
lea rcx, [rbp - 0x10]
call fcn.14025d840
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x140226846
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.14025d840
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x1402268a7
nop dword [rax]
lea rcx, [rbp - 0x10]
call fcn.14025d840
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x140226890
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 0x1402267a0
jmp 0x140226780
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, [0x1402818f0]
call qword [sym.imp.dxgi.dll_CreateDXGIFactory1]
test eax, eax
jns 0x140226bf2
movups xmm0, xmmword [0x1402823e0]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [str.F_2P4]
movups xmmword [rbp - 0x70], xmm1
psrldq xmm1, 0xf
movd eax, xmm1
test al, al
je 0x140226b5a
cmp dword [0x140294090], 2
jl 0x140226b0d
movdqa xmm8, xmmword [0x140284260]
movdqa xmm5, xmmword [0x1402843c0]
movdqa xmm6, xmmword [0x1402843a0]
movdqa xmm9, xmmword [str.ffffiiii]
movdqa xmm10, xmmword [0x1402843d0]
movdqa xmm0, xmmword [0x140284390]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rbp - 0x7c]
mov edx, dword [rsp + 0x40]
movdqa xmm7, xmmword [0x140284370]
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
paddd xmm3, xmm4
psrad xmm3, 6
pmuldq xmm2, xmm6
pmuldq xmm1, xmm6
shufps xmm2, xmm1, 0xdd
psubd xmm2, xmm4
psrad xmm2, 6
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
paddd xmm3, xmm4
psrad xmm3, 6
pmuldq xmm2, xmm6
pmuldq xmm1, xmm6
shufps xmm2, xmm1, 0xdd
psubd xmm2, xmm4
psrad xmm2, 6
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 0x140226990
jmp 0x140226b5a
lea r8, [rbp - 0x80]
mov eax, 0x1f7047dd
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 6
movsx eax, al
imul ecx, eax, 0x39
mov eax, 0x5f5f5f5f
imul edi
sub edx, edi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
sub dl, cl
add dl, 0x23
add dl, dil
add dl, dl
xor byte [r8], dl
inc edi
lea r8, [r8 + 1]
cmp edi, 0x20
jl 0x140226b11
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.14024db80
movsd xmm0, qword [0x140281760]
movsd qword [rsp + 0x40], xmm0
movzx eax, word [0x140281768]
mov word [rsp + 0x48], ax
cmp byte [0x140281769], 0
je 0x140226bbf
mov byte [rsp + 0x40], 0x47
xor byte [rsp + 0x41], 0x48
xor byte [rsp + 0x42], 0x4a
xor byte [rsp + 0x43], 0x4c
xor byte [rsp + 0x44], 0x4e
xor byte [rsp + 0x45], 0x50
xor byte [rsp + 0x46], 0x52
xor byte [rsp + 0x47], 0x54
xor byte [rsp + 0x48], 0x56
xor byte [rsp + 0x49], 0x58
lea rax, [rsp + 0x40]
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140226bd0
mov r8, rbx
lea rdx, [rsp + 0x40]
lea rcx, [0x1402973e0]
call fcn.14024c500
jmp 0x1402279bb
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 0x140226d19
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 0x140226cf5
mov rdx, qword [rbp - 0x58]
cmp rdx, qword [rbp - 0x50]
je 0x140226cda
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 0x140226c60
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 0x140226ce7
lea r8, [rbp - 0x10]
lea rcx, [rbp - 0x60]
call fcn.140254b30
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 0x140226c20
test sil, sil
jne 0x140226d2c
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.14024db80
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
movups xmm4, xmmword [0x140281400]
movups xmmword [rsp + 0x40], xmm4
movzx eax, word [0x140281410]
mov word [rsp + 0x50], ax
mov r13d, dword [0x140294090]
movdqa xmm7, xmmword [0x140284370]
movdqa xmm6, xmmword [0x140284260]
movdqa xmm12, xmmword [0x140284390]
movdqa xmm10, xmmword [str.ffffiiii]
movdqa xmm11, xmmword [0x1402843d0]
movdqa xmm8, xmmword [0x1402843a0]
movdqa xmm9, xmmword [0x1402843c0]
cmp byte [0x140281411], 0
je 0x1402270f2
mov r9d, edi
cmp r13d, 2
jl 0x14022708a
movdqa xmm3, xmm6
punpckldq xmm3, xmm6
movdqa xmm1, xmm6
punpckhdq xmm1, xmm6
movdqa xmm2, xmm3
pmuldq xmm2, xmm9
movdqa xmm0, xmm1
pmuldq xmm0, xmm9
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm6
psrad xmm2, 6
pmuldq xmm3, xmm8
pmuldq xmm1, xmm8
shufps xmm3, xmm1, 0xdd
psubd xmm3, xmm6
psrad xmm3, 6
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmm10
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, xmm11
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 [0x140284280]
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
paddd xmm3, xmm4
psrad xmm3, 6
pmuldq xmm2, xmm8
pmuldq xmm1, xmm8
shufps xmm2, xmm1, 0xdd
psubd xmm2, xmm4
psrad xmm2, 6
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 [0x1402842a0]
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
paddd xmm3, xmm4
psrad xmm3, 6
pmuldq xmm2, xmm8
pmuldq xmm1, xmm8
shufps xmm2, xmm1, 0xdd
psubd xmm2, xmm4
psrad xmm2, 6
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 [0x1402842c0]
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
paddd xmm3, xmm4
psrad xmm3, 6
pmuldq xmm2, xmm8
pmuldq xmm1, xmm8
shufps xmm2, xmm1, 0xdd
psubd xmm2, xmm4
psrad xmm2, 6
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, 0x8fb823ef
imul r9d
add edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul r8d, eax, 0x39
mov eax, 0x5f5f5f5f
imul r9d
sub edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
sub cl, r8b
add cl, 0x23
add cl, r9b
add cl, cl
xor byte [r10], cl
inc r9d
lea r10, [r10 + 1]
cmp r9d, 0x12
jl 0x1402270a0
lea rax, [rsp + 0x40]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140227101
lea rdx, [rsp + 0x40]
lea rcx, [0x1402973e0]
call fcn.14024c500
mov rsi, qword [rbp - 0x60]
mov rax, qword [rbp - 0x58]
mov qword [rsp + 0x40], rax
cmp rsi, rax
je 0x1402274a7
nop dword [rax]
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 0x140227152
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.14024f710
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.14024dda0
nop
mov eax, dword [0x14028328c]
mov dword [rsp + 0x60], eax
movzx ecx, word [0x140283290]
mov word [rsp + 0x64], cx
movzx eax, byte [0x140283292]
mov byte [rsp + 0x60], 0x4e
xor byte [rsp + 0x61], 0x48
xor byte [rsp + 0x62], 0x4a
xor byte [rsp + 0x63], 0x4c
xor cl, 0x4e
mov byte [rsp + 0x64], cl
xor byte [rsp + 0x65], 0x50
xor al, 0x52
mov byte [rsp + 0x66], al
lea rcx, [rsp + 0x60]
mov rax, rbx
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x1402271e0
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.14024f840
cmp rax, 0xffffffffffffffff
jne 0x140227437
mov eax, dword [0x140281d14]
mov dword [rsp + 0x30], eax
cmp byte [str.LsJ], 0
je 0x140227351
mov r9d, edi
cmp r13d, 2
jl 0x1402272f2
movdqa xmm3, xmm6
punpckldq xmm3, xmm6
movdqa xmm1, xmm6
punpckhdq xmm1, xmm6
movdqa xmm2, xmm3
pmuldq xmm2, xmm9
movdqa xmm0, xmm1
pmuldq xmm0, xmm9
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm6
psrad xmm2, 6
pmuldq xmm3, xmm8
pmuldq xmm1, xmm8
shufps xmm3, xmm1, 0xdd
psubd xmm3, xmm6
psrad xmm3, 6
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmm10
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, xmm11
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 0x140227351
lea r10, [rsp + 0x30]
nop word [rax + rax]
mov eax, 0x1f7047dd
mul r9d
mov eax, r9d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 6
movsx eax, al
imul r8d, eax, 0x39
mov eax, 0x5f5f5f5f
imul r9d
sub edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
sub cl, r8b
add cl, 0x23
add cl, r9b
add cl, cl
xor byte [r10], cl
inc r9d
lea r10, [r10 + 1]
cmp r9d, 4
jl 0x140227300
lea rcx, [rsp + 0x30]
mov rax, rbx
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140227360
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.14024f840
cmp rax, 0xffffffffffffffff
jne 0x140227437
mov eax, dword [0x140282e94]
mov dword [rsp + 0x68], eax
movzx ecx, word [0x140282e98]
mov word [rsp + 0x6c], cx
movzx eax, byte [0x140282e9a]
mov byte [rsp + 0x68], 0x52
xor byte [rsp + 0x69], 0x48
xor byte [rsp + 0x6a], 0x4a
xor byte [rsp + 0x6b], 0x4c
xor cl, 0x4e
mov byte [rsp + 0x6c], cl
xor byte [rsp + 0x6d], 0x50
xor al, 0x52
mov byte [rsp + 0x6e], al
lea rcx, [rsp + 0x68]
mov rax, rbx
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x1402273e0
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.14024f840
cmp rax, 0xffffffffffffffff
jne 0x140227437
lea rcx, [rbp - 0x48]
call fcn.14024c260
nop
lea rcx, [rbp - 0x80]
call fcn.14024c160
add rsi, 0x138
cmp rsi, qword [rsp + 0x40]
jne 0x140227140
jmp 0x1402274a7
lea rdx, [rbp - 0x48]
cmp r15, 0xf
cmova rdx, r14
mov r8, r12
lea rcx, [0x1402973e0]
call fcn.14024c500
mov rcx, qword [rsi + 0x110]
xorps xmm0, xmm0
test rcx, rcx
js 0x140227468
cvtsi2sd xmm0, rcx
jmp 0x14022747d
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
divsd xmm0, qword [0x140284230]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
cvttsd2si eax, xmm0
mov dword [0x140297118], eax
lea rcx, [rbp - 0x48]
call fcn.14024c260
nop
lea rcx, [rbp - 0x80]
call fcn.14024c160
movups xmm4, xmmword [0x140281400]
movups xmmword [rsp + 0x40], xmm4
movzx eax, word [0x140281410]
mov word [rsp + 0x50], ax
cmp byte [0x140281411], 0
je 0x140227812
mov r9d, edi
cmp r13d, 2
jl 0x1402277b2
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
paddd xmm3, xmm6
psrad xmm3, 6
pmuldq xmm2, xmm8
pmuldq xmm1, xmm8
shufps xmm2, xmm1, 0xdd
psubd xmm2, xmm6
psrad xmm2, 6
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 [0x140284280]
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
paddd xmm2, xmm4
psrad xmm2, 6
pmuldq xmm3, xmm8
pmuldq xmm1, xmm8
shufps xmm3, xmm1, 0xdd
psubd xmm3, xmm4
psrad xmm3, 6
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 + 0x44]
xorps xmm2, xmm1
movd dword [rsp + 0x44], xmm2
movdqa xmm4, xmmword [0x1402842a0]
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
paddd xmm3, xmm4
psrad xmm3, 6
pmuldq xmm2, xmm8
pmuldq xmm1, xmm8
shufps xmm2, xmm1, 0xdd
psubd xmm2, xmm4
psrad xmm2, 6
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 [0x1402842c0]
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
paddd xmm3, xmm4
psrad xmm3, 6
pmuldq xmm2, xmm8
pmuldq xmm1, xmm8
shufps xmm2, xmm1, 0xdd
psubd xmm2, xmm4
psrad xmm2, 6
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, 0x8fb823ef
imul r9d
add edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul r8d, eax, 0x39
mov eax, 0x5f5f5f5f
imul r9d
sub edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
sub cl, r8b
add cl, 0x23
add cl, r9b
add cl, cl
xor byte [r10], cl
inc r9d
lea r10, [r10 + 1]
cmp r9d, 0x12
jl 0x1402277c0
lea rcx, [rsp + 0x40]
mov rax, rbx
nop word [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140227820
mov r8, qword [0x1402973f0]
lea rcx, [0x1402973e0]
cmp qword [0x1402973f8], 0xf
cmova rcx, qword [0x1402973e0]
cmp r8, rax
jne 0x1402279b1
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1402279b1
mov rsi, qword [rbp - 0x60]
mov r13, qword [rbp - 0x58]
cmp rsi, r13
je 0x1402279b1
nop dword [rax]
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 0x140227892
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.14024f710
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.14024dda0
nop
mov eax, dword [0x140281544]
mov dword [rsp + 0x30], eax
movzx eax, word [0x140281548]
mov word [rsp + 0x34], ax
mov byte [rsp + 0x30], 0x49
xor byte [rsp + 0x31], 0x48
xor byte [rsp + 0x32], 0x4a
xor byte [rsp + 0x33], 0x4c
xor al, 0x4e
mov byte [rsp + 0x34], al
xor byte [rsp + 0x35], 0x50
lea rcx, [rsp + 0x30]
mov rax, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x140227910
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.14024f840
cmp rax, 0xffffffffffffffff
jne 0x140227971
lea rcx, [rbp - 0x48]
call fcn.14024c260
nop
lea rcx, [rbp - 0x80]
call fcn.14024c160
add rsi, 0x138
cmp rsi, r13
jne 0x140227880
jmp 0x1402279b1
lea rdx, [rbp - 0x48]
cmp r15, 0xf
cmova rdx, r14
mov r8, r12
lea rcx, [0x1402973e0]
call fcn.14024c500
mov eax, dword [rsi + 0x120]
add eax, dword [rsi + 0x110]
mov dword [0x140297118], eax
lea rcx, [rbp - 0x48]
call fcn.14024c260
nop
lea rcx, [rbp - 0x80]
call fcn.14024c160
movabs r13, 0xff00ff00ff00ff00
mov r8, qword [rbp - 0x60]
test r8, r8
je 0x140227a1e
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 0x140227a15
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140227a15
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.140271660
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.140271640
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