Function at 0x140210510
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.14025cd40
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 [0x14027e040]
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 0x1402105e0
mov dword [rbp - 0x10], 0x270
mov dword [rsp + 0x30], edi
lea rcx, [rsp + 0x70]
call fcn.1401f17b0
mov r14, qword [rsp + 0x70]
add r14, 0x5f5e100
lea rcx, [rsp + 0x40]
call fcn.1401f17b0
cmp qword [rax], r14
jge 0x140210783
mov esi, 0x186a0
nop dword [rax + rax]
lea rcx, [rbp - 0x10]
call fcn.140247dd0
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x63
ja 0x14021066e
lea rcx, [rbp - 0x10]
call fcn.140247dd0
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x140210657
shr rax, 0x20
lea ebx, [rax + 0x7fffff9c]
xor ebx, 0x80000000
cmove ebx, r15d
lea rcx, [rbp - 0x10]
call fcn.140247dd0
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x1402106b7
nop dword [rax]
lea rcx, [rbp - 0x10]
call fcn.140247dd0
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x1402106a0
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.140247dd0
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x1402106fd
lea rcx, [rbp - 0x10]
call fcn.140247dd0
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x1402106e6
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.140247dd0
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x140210747
nop dword [rax]
lea rcx, [rbp - 0x10]
call fcn.140247dd0
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x140210730
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 0x140210640
jmp 0x140210620
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, [0x14026b9e0]
call qword [sym.imp.dxgi.dll_CreateDXGIFactory1]
test eax, eax
jns 0x140210a92
movups xmm0, xmmword [str.x___j8_p139.9_:_H__r_r]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [0x14026c698]
movups xmmword [rbp - 0x70], xmm1
psrldq xmm1, 0xf
movd eax, xmm1
test al, al
je 0x1402109f7
cmp dword [0x14027e090], 2
jl 0x14021099d
movdqa xmm8, xmmword [0x14026e190]
movdqa xmm5, xmmword [0x14026e2d0]
movdqa xmm6, xmmword [0x14026e2f0]
movdqa xmm9, xmmword [str.kkkkmmmm]
movdqa xmm10, xmmword [0x14026e300]
movdqa xmm0, xmmword [0x14026e2c0]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rbp - 0x7c]
mov edx, dword [rsp + 0x40]
movdqa xmm7, xmmword [0x14026e2a0]
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 0x140210830
jmp 0x1402109f7
lea r9, [rbp - 0x80]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x22b63cbf
mul edi
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x3b
movzx r8d, dil
sub r8b, cl
add r8b, 0x1f
add r8b, r8b
mov eax, 0x323e34a3
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 6
movsx eax, al
imul edx, eax, 0x6b
sub r8b, dl
xor byte [r9], r8b
inc edi
lea r9, [r9 + 1]
cmp edi, 0x20
jl 0x1402109b0
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.140238090
movsd xmm0, qword [0x14026c2a8]
movsd qword [rsp + 0x40], xmm0
movzx eax, word [0x14026c2b0]
mov word [rsp + 0x48], ax
cmp byte [0x14026c2b1], 0
je 0x140210a5c
mov byte [rsp + 0x40], 0x47
xor byte [rsp + 0x41], 0x40
xor byte [rsp + 0x42], 0x42
xor byte [rsp + 0x43], 0x44
xor byte [rsp + 0x44], 0x46
xor byte [rsp + 0x45], 0x48
xor byte [rsp + 0x46], 0x4a
xor byte [rsp + 0x47], 0x4c
xor byte [rsp + 0x48], 0x4e
xor byte [rsp + 0x49], 0x50
lea rax, [rsp + 0x40]
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140210a70
mov r8, rbx
lea rdx, [rsp + 0x40]
lea rcx, [0x140281430]
call fcn.140236a10
jmp 0x1402117eb
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 0x140210bb9
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 0x140210b95
mov rdx, qword [rbp - 0x58]
cmp rdx, qword [rbp - 0x50]
je 0x140210b7a
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 0x140210b00
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 0x140210b87
lea r8, [rbp - 0x10]
lea rcx, [rbp - 0x60]
call fcn.14023f0c0
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 0x140210ac0
test sil, sil
jne 0x140210bcc
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.140238090
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
movups xmm4, xmmword [str.p_b_a__:_:9083x]
movups xmmword [rsp + 0x40], xmm4
movzx eax, word [0x14026b3d0]
mov word [rsp + 0x50], ax
mov r13d, dword [0x14027e090]
movdqa xmm7, xmmword [0x14026e2a0]
movdqa xmm6, xmmword [0x14026e190]
movdqa xmm12, xmmword [0x14026e2c0]
movdqa xmm10, xmmword [str.kkkkmmmm]
movdqa xmm11, xmmword [0x14026e300]
movdqa xmm8, xmmword [0x14026e2f0]
movdqa xmm9, xmmword [0x14026e2d0]
cmp byte [0x14026b3d1], 0
je 0x140210f71
mov r9d, edi
cmp r13d, 2
jl 0x140210f0a
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 [0x14026e1b0]
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 [0x14026e1d0]
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 [0x14026e1f0]
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 ecx, eax, 0x3b
movzx r8d, r9b
sub r8b, cl
add r8b, 0x1f
add r8b, r8b
mov eax, 0x4c8f8d29
imul r9d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x6b
sub r8b, cl
xor byte [r10], r8b
inc r9d
lea r10, [r10 + 1]
cmp r9d, 0x12
jl 0x140210f20
lea rax, [rsp + 0x40]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140210f80
lea rdx, [rsp + 0x40]
lea rcx, [0x140281430]
call fcn.140236a10
mov rsi, qword [rbp - 0x60]
mov rax, qword [rbp - 0x58]
mov qword [rsp + 0x40], rax
cmp rsi, rax
je 0x1402112fa
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 0x140210fc3
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.140239ca0
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.140238450
nop
mov eax, dword [0x14026c620]
mov dword [rsp + 0x60], eax
movzx ecx, word [0x14026c624]
mov word [rsp + 0x64], cx
movzx eax, byte [0x14026c626]
mov byte [rsp + 0x60], 0x4e
xor byte [rsp + 0x61], 0x40
xor byte [rsp + 0x62], 0x42
xor byte [rsp + 0x63], 0x44
xor cl, 0x46
mov byte [rsp + 0x64], cl
xor byte [rsp + 0x65], 0x48
xor al, 0x4a
mov byte [rsp + 0x66], al
lea rcx, [rsp + 0x60]
mov rax, rbx
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x140211050
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.140239dd0
cmp rax, 0xffffffffffffffff
jne 0x14021128a
mov eax, dword [0x14026c1bc]
mov dword [rsp + 0x30], eax
cmp byte [0x14026c1bf], 0
je 0x1402111ac
mov r9d, edi
cmp r13d, 2
jl 0x14021115a
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 0x1402111ac
lea r10, [rsp + 0x30]
nop
mov eax, 0x22b63cbf
mul r9d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x3b
movzx r8d, r9b
sub r8b, cl
add r8b, 0x1f
add r8b, r8b
mov eax, 0x323e34a3
mul r9d
mov eax, r9d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 6
movsx eax, al
imul ecx, eax, 0x6b
sub r8b, cl
xor byte [r10], r8b
inc r9d
lea r10, [r10 + 1]
cmp r9d, 4
jl 0x140211160
lea rcx, [rsp + 0x30]
mov rax, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x1402111b4
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.140239dd0
cmp rax, 0xffffffffffffffff
jne 0x14021128a
mov eax, dword [str.l___J]
mov dword [rsp + 0x68], eax
movzx ecx, word [0x14026b93c]
mov word [rsp + 0x6c], cx
movzx eax, byte [0x14026b93e]
mov byte [rsp + 0x68], 0x52
xor byte [rsp + 0x69], 0x40
xor byte [rsp + 0x6a], 0x42
xor byte [rsp + 0x6b], 0x44
xor cl, 0x46
mov byte [rsp + 0x6c], cl
xor byte [rsp + 0x6d], 0x48
xor al, 0x4a
mov byte [rsp + 0x6e], al
lea rcx, [rsp + 0x68]
mov rax, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x140211233
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.140239dd0
cmp rax, 0xffffffffffffffff
jne 0x14021128a
lea rcx, [rbp - 0x48]
call fcn.140236770
nop
lea rcx, [rbp - 0x80]
call fcn.140236670
add rsi, 0x138
cmp rsi, qword [rsp + 0x40]
jne 0x140210fb1
jmp 0x1402112fa
lea rdx, [rbp - 0x48]
cmp r15, 0xf
cmova rdx, r14
mov r8, r12
lea rcx, [0x140281430]
call fcn.140236a10
mov rcx, qword [rsi + 0x110]
xorps xmm0, xmm0
test rcx, rcx
js 0x1402112bb
cvtsi2sd xmm0, rcx
jmp 0x1402112d0
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
divsd xmm0, qword [0x14026e160]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
cvttsd2si eax, xmm0
mov dword [0x14028118c], eax
lea rcx, [rbp - 0x48]
call fcn.140236770
nop
lea rcx, [rbp - 0x80]
call fcn.140236670
movups xmm4, xmmword [str.p_b_a__:_:9083x]
movups xmmword [rsp + 0x40], xmm4
movzx eax, word [0x14026b3d0]
mov word [rsp + 0x50], ax
cmp byte [0x14026b3d1], 0
je 0x140211641
mov r9d, edi
cmp r13d, 2
jl 0x1402115e5
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 [0x14026e1b0]
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 [0x14026e1d0]
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 [0x14026e1f0]
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
mov eax, 0x22b63cbf
imul r9d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3b
movzx r8d, r9b
sub r8b, cl
add r8b, 0x1f
add r8b, r8b
mov eax, 0x4c8f8d29
imul r9d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x6b
sub r8b, cl
xor byte [r10], r8b
inc r9d
lea r10, [r10 + 1]
cmp r9d, 0x12
jl 0x1402115f0
lea rcx, [rsp + 0x40]
mov rax, rbx
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140211650
mov r8, qword [0x140281440]
lea rcx, [0x140281430]
cmp qword [0x140281448], 0xf
cmova rcx, qword [0x140281430]
cmp r8, rax
jne 0x1402117e1
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1402117e1
mov rsi, qword [rbp - 0x60]
mov r13, qword [rbp - 0x58]
cmp rsi, r13
je 0x1402117e1
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 0x1402116c2
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.140239ca0
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.140238450
nop
mov eax, dword [str.w.6_H]
mov dword [rsp + 0x30], eax
movzx eax, word [0x14026cb44]
mov word [rsp + 0x34], ax
mov byte [rsp + 0x30], 0x49
xor byte [rsp + 0x31], 0x40
xor byte [rsp + 0x32], 0x42
xor byte [rsp + 0x33], 0x44
xor al, 0x46
mov byte [rsp + 0x34], al
xor byte [rsp + 0x35], 0x48
lea rcx, [rsp + 0x30]
mov rax, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x140211740
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.140239dd0
cmp rax, 0xffffffffffffffff
jne 0x1402117a1
lea rcx, [rbp - 0x48]
call fcn.140236770
nop
lea rcx, [rbp - 0x80]
call fcn.140236670
add rsi, 0x138
cmp rsi, r13
jne 0x1402116b0
jmp 0x1402117e1
lea rdx, [rbp - 0x48]
cmp r15, 0xf
cmova rdx, r14
mov r8, r12
lea rcx, [0x140281430]
call fcn.140236a10
mov eax, dword [rsi + 0x120]
add eax, dword [rsi + 0x110]
mov dword [0x14028118c], eax
lea rcx, [rbp - 0x48]
call fcn.140236770
nop
lea rcx, [rbp - 0x80]
call fcn.140236670
movabs r13, 0xff00ff00ff00ff00
mov r8, qword [rbp - 0x60]
test r8, r8
je 0x14021184e
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 0x140211845
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140211845
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.14025ba20
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.14025ba00
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