Function at 0x140211fa0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1540
call fcn.14025e970
sub rsp, rax
movaps xmmword [rsp + 0x1530], xmm6
movaps xmmword [rsp + 0x1520], xmm7
movaps xmmword [rsp + 0x1510], xmm8
movaps xmmword [rsp + 0x1500], xmm9
movaps xmmword [rsp + 0x14f0], xmm10
movaps xmmword [rsp + 0x14e0], xmm11
movaps xmmword [rsp + 0x14d0], xmm12
mov rax, qword [0x14027f040]
xor rax, rsp
mov qword [rsp + 0x14c0], rax
mov r15, rcx
mov qword [rsp + 0x40], rcx
xor r13d, r13d
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rdi, [rsp + 0x1568]
mov qword [rsp + 0x58], rdi
movabs r14, 0xff00ff00ff00ff00
mov qword [rsp + 0x98], r14
mov qword [rsp + 0xa0], rdi
mov rax, qword [rdi]
xor rax, r14
mov qword [rsp + 0x90], rax
mov qword [rdi], r13
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rsp + 0x14b4], 0xffffffff
mov dword [rsp + 0x134], eax
mov r12d, 1
mov ecx, r12d
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x134], edx
inc rcx
cmp rcx, 0x270
jb 0x140212080
mov dword [rsp + 0x130], 0x270
mov dword [rsp + 0x60], r13d
lea rcx, [rsp + 0x48]
call fcn.1401f37b0
mov rsi, qword [rsp + 0x48]
add rsi, 0x5f5e100
nop dword [rax + rax]
lea rcx, [rsp + 0x48]
call fcn.1401f37b0
cmp qword [rax], rsi
jge 0x140212257
mov edi, 0x186a0
nop dword [rax + rax]
lea rcx, [rsp + 0x130]
call fcn.140249bc0
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x63
ja 0x14021212b
nop dword [rax + rax]
lea rcx, [rsp + 0x130]
call fcn.140249bc0
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x140212110
shr rax, 0x20
lea ebx, [rax + 0x7fffff9c]
xor ebx, 0x80000000
cmove ebx, r12d
lea rcx, [rsp + 0x130]
call fcn.140249bc0
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x14021217b
nop word [rax + rax]
lea rcx, [rsp + 0x130]
call fcn.140249bc0
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x140212160
shr rcx, 0x20
add ecx, 0x7fffff9c
btc ecx, 0x1f
mov eax, dword [rsp + 0x60]
add eax, ecx
mov dword [rsp + 0x60], eax
lea rcx, [rsp + 0x130]
call fcn.140249bc0
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x1402121cb
nop
lea rcx, [rsp + 0x130]
call fcn.140249bc0
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x1402121b0
shr rcx, 0x20
add ecx, 0x7fffff9c
btc ecx, 0x1f
mov eax, dword [rsp + 0x60]
imul eax, ecx
mov dword [rsp + 0x60], eax
lea rcx, [rsp + 0x130]
call fcn.140249bc0
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x14021221b
nop
lea rcx, [rsp + 0x130]
call fcn.140249bc0
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x140212200
shr rcx, 0x20
add ecx, 0x7fffff9c
btc ecx, 0x1f
mov eax, dword [rsp + 0x60]
sub eax, ecx
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
cdq
idiv ebx
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
cdq
idiv ebx
mov dword [rsp + 0x60], edx
sub rdi, r12
jne 0x1402120f0
jmp 0x1402120d0
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x60], 0x7e8
movups xmm5, xmmword [str.iIR_06__]
movups xmmword [rsp + 0x68], xmm5
movups xmm0, xmmword [0x14026c1e8]
movups xmmword [rsp + 0x78], xmm0
movq xmm12, qword [0x14026c1f8]
movq qword [rsp + 0x88], xmm12
mov r9d, r13d
mov ebx, dword [0x14027f090]
cmp ebx, 2
jl 0x14021264d
movdqa xmm6, xmmword [0x14026f2e0]
movdqa xmm7, xmmword [0x14026f310]
movdqa xmm9, xmmword [str.ggggkkkk]
movdqa xmm10, xmmword [0x14026f320]
movdqa xmm11, xmmword [str.99999999]
movdqa xmm8, xmmword [0x14026f1b0]
movdqa xmm2, xmm8
punpckldq xmm2, xmm8
movdqa xmm1, xmm8
punpckhdq xmm1, xmm8
movdqa xmm4, xmm2
pmuldq xmm4, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm4, xmm0, 0xdd
psrad xmm4, 3
pmuldq xmm2, xmm7
pmuldq xmm1, xmm7
shufps xmm2, xmm1, 0xdd
psrad xmm2, 4
movdqa xmm1, xmm2
psrld xmm1, 0x1f
paddd xmm1, xmm2
pmulld xmm1, xmm10
movdqa xmm0, xmm8
psubd xmm0, xmm1
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movdqa xmm2, xmm4
psrld xmm2, 0x1f
paddd xmm2, xmm4
pmulld xmm2, xmm9
movdqa xmm0, xmm8
psubd xmm0, xmm2
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm3, xmm2
paddw xmm3, xmm11
movq xmm1, xmm5
xorps xmm3, xmm1
movq qword [rsp + 0x68], xmm3
movdqa xmm5, xmmword [0x14026f1d0]
movdqa xmm2, xmm5
punpckldq xmm2, xmm5
movdqa xmm1, xmm5
punpckhdq xmm1, xmm5
movdqa xmm4, xmm2
pmuldq xmm4, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm4, xmm0, 0xdd
psrad xmm4, 3
pmuldq xmm2, xmm7
pmuldq xmm1, xmm7
shufps xmm2, xmm1, 0xdd
psrad xmm2, 4
movdqa xmm1, xmm2
psrld xmm1, 0x1f
paddd xmm1, xmm2
pmulld xmm1, xmm10
movdqa xmm0, xmm5
psubd xmm0, xmm1
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movdqa xmm0, xmm4
psrld xmm0, 0x1f
paddd xmm0, xmm4
pmulld xmm0, xmm9
psubd xmm5, xmm0
pshufhw xmm0, xmm5, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm3, xmm2
paddw xmm3, xmm11
movq xmm0, qword [rsp + 0x70]
xorps xmm3, xmm0
movq qword [rsp + 0x70], xmm3
movdqa xmm5, xmmword [0x14026f1f0]
movdqa xmm2, xmm5
punpckldq xmm2, xmm5
movdqa xmm1, xmm5
punpckhdq xmm1, xmm5
movdqa xmm4, xmm2
pmuldq xmm4, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm4, xmm0, 0xdd
psrad xmm4, 3
pmuldq xmm2, xmm7
pmuldq xmm1, xmm7
shufps xmm2, xmm1, 0xdd
psrad xmm2, 4
movdqa xmm1, xmm2
psrld xmm1, 0x1f
paddd xmm1, xmm2
pmulld xmm1, xmm10
movdqa xmm0, xmm5
psubd xmm0, xmm1
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movdqa xmm0, xmm4
psrld xmm0, 0x1f
paddd xmm0, xmm4
pmulld xmm0, xmm9
psubd xmm5, xmm0
pshufhw xmm0, xmm5, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm3, xmm2
paddw xmm3, xmm11
movq xmm0, qword [rsp + 0x78]
xorps xmm3, xmm0
movq qword [rsp + 0x78], xmm3
movdqa xmm5, xmmword [0x14026f210]
movdqa xmm2, xmm5
punpckldq xmm2, xmm5
movdqa xmm1, xmm5
punpckhdq xmm1, xmm5
movdqa xmm4, xmm2
pmuldq xmm4, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm4, xmm0, 0xdd
psrad xmm4, 3
pmuldq xmm2, xmm7
pmuldq xmm1, xmm7
shufps xmm2, xmm1, 0xdd
psrad xmm2, 4
movdqa xmm1, xmm2
psrld xmm1, 0x1f
paddd xmm1, xmm2
pmulld xmm1, xmm10
movdqa xmm0, xmm5
psubd xmm0, xmm1
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movdqa xmm0, xmm4
psrld xmm0, 0x1f
paddd xmm0, xmm4
pmulld xmm0, xmm9
psubd xmm5, xmm0
pshufhw xmm0, xmm5, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm3, xmm2
paddw xmm3, xmm11
movq xmm0, qword [rsp + 0x80]
xorps xmm3, xmm0
movq qword [rsp + 0x80], xmm3
movdqa xmm5, xmmword [0x14026f230]
movdqa xmm2, xmm5
punpckldq xmm2, xmm5
movdqa xmm1, xmm5
punpckhdq xmm1, xmm5
movdqa xmm4, xmm2
pmuldq xmm4, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm4, xmm0, 0xdd
psrad xmm4, 3
pmuldq xmm2, xmm7
pmuldq xmm1, xmm7
shufps xmm2, xmm1, 0xdd
psrad xmm2, 4
movdqa xmm1, xmm2
psrld xmm1, 0x1f
paddd xmm1, xmm2
pmulld xmm1, xmm10
movdqa xmm0, xmm5
psubd xmm0, xmm1
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movdqa xmm0, xmm4
psrld xmm0, 0x1f
paddd xmm0, xmm4
pmulld xmm0, xmm9
psubd xmm5, xmm0
pshufhw xmm0, xmm5, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm3, xmm2
paddw xmm3, xmm11
movq xmm0, xmm12
xorps xmm3, xmm0
movq qword [rsp + 0x88], xmm3
mov r11d, 0xff8a
jmp 0x1402126e6
lea r10, [rsp + 0x68]
mov r11d, 0xff8a
nop dword [rax + rax]
mov eax, 0x3e22cbcf
mul r9d
mov eax, r9d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 6
movzx eax, ax
imul ecx, eax, 0x67
mov eax, 0x22b63cbf
mul r9d
shr edx, 4
movzx r8d, dx
imul r8d, r11d
sub r8w, cx
movzx eax, r9w
add ax, ax
add r8w, 0x39
add r8w, ax
xor word [r10], r8w
inc r9d
lea r10, [r10 + 2]
cmp r9d, 0x14
jl 0x140212660
movdqa xmm11, xmmword [str.99999999]
movdqa xmm9, xmmword [str.ggggkkkk]
movdqa xmm10, xmmword [0x14026f320]
movdqa xmm7, xmmword [0x14026f310]
movdqa xmm6, xmmword [0x14026f2e0]
movdqa xmm8, xmmword [0x14026f1b0]
movups xmm0, xmmword [str.qzo]
movups xmmword [rsp + 0xb0], xmm0
movups xmm1, xmmword [0x14026bb50]
movups xmmword [rsp + 0xc0], xmm1
movups xmm0, xmmword [0x14026bb60]
movups xmmword [rsp + 0xd0], xmm0
movups xmm1, xmmword [0x14026bb70]
movups xmmword [rsp + 0xe0], xmm1
movups xmm0, xmmword [0x14026bb80]
movups xmmword [rsp + 0xf0], xmm0
movsd xmm0, qword [0x14026bb90]
movsd qword [rsp + 0x100], xmm0
mov eax, dword [0x14026bb98]
mov dword [rsp + 0x108], eax
movzx eax, word [0x14026bb9c]
mov word [rsp + 0x10c], ax
mov r9d, r13d
cmp ebx, 2
jl 0x140212907
lea rcx, [rsp + 0xb0]
nop dword [rax]
nop word [rax + rax]
movd xmm5, r9d
pshufd xmm5, xmm5, 0
paddd xmm5, xmm8
movdqa xmm2, xmm5
punpckldq xmm2, xmm5
movdqa xmm1, xmm5
punpckhdq xmm1, xmm5
movdqa xmm4, xmm2
pmuldq xmm4, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm4, xmm0, 0xdd
psrad xmm4, 3
pmuldq xmm2, xmm7
pmuldq xmm1, xmm7
shufps xmm2, xmm1, 0xdd
psrad xmm2, 4
movdqa xmm1, xmm2
psrld xmm1, 0x1f
paddd xmm1, xmm2
pmulld xmm1, xmm10
movdqa xmm0, xmm5
psubd xmm0, xmm1
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movdqa xmm0, xmm4
psrld xmm0, 0x1f
paddd xmm0, xmm4
pmulld xmm0, xmm9
psubd xmm5, xmm0
pshufhw xmm0, xmm5, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm3, xmm2
movq xmm0, xmm11
paddw xmm3, xmm0
movq xmm0, qword [rcx]
xorps xmm3, xmm0
movq qword [rcx], xmm3
lea eax, [r9 + 4]
movd xmm5, eax
pshufd xmm5, xmm5, 0
paddd xmm5, xmm8
movdqa xmm2, xmm5
punpckldq xmm2, xmm5
movdqa xmm1, xmm5
punpckhdq xmm1, xmm5
movdqa xmm4, xmm2
pmuldq xmm4, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm4, xmm0, 0xdd
psrad xmm4, 3
pmuldq xmm2, xmm7
pmuldq xmm1, xmm7
shufps xmm2, xmm1, 0xdd
psrad xmm2, 4
movdqa xmm1, xmm2
psrld xmm1, 0x1f
paddd xmm1, xmm2
pmulld xmm1, xmm10
movdqa xmm0, xmm5
psubd xmm0, xmm1
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movdqa xmm0, xmm4
psrld xmm0, 0x1f
paddd xmm0, xmm4
pmulld xmm0, xmm9
psubd xmm5, xmm0
pshufhw xmm0, xmm5, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm3, xmm2
movq xmm0, xmm11
paddw xmm3, xmm0
movq xmm0, qword [rcx + 8]
xorps xmm3, xmm0
movq qword [rcx + 8], xmm3
add r9d, 8
lea rcx, [rcx + 0x10]
cmp r9d, 0x28
jl 0x140212780
cmp r9d, 0x2f
jge 0x140212978
movsxd rax, r9d
lea r10, [rsp + 0xb0]
lea r10, [r10 + rax*2]
nop word [rax + rax]
mov eax, 0x13e22cbd
imul r9d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul r8d, eax, 0x67
mov eax, 0x22b63cbf
imul r9d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, r11w
movzx ecx, dx
imul ecx, eax
sub cx, r8w
movzx eax, r9w
add ax, ax
add cx, 0x39
add cx, ax
xor word [r10], cx
inc r9d
lea r10, [r10 + 2]
cmp r9d, 0x2f
jl 0x140212920
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x130]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
mov r9d, 2
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0xb0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
lea rcx, [rsp + 0x1568]
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], rcx
mov rax, qword [rcx]
xor rax, r14
mov qword [rsp + 0x68], rax
mov qword [rcx], r13
xor eax, eax
movups xmmword [rsp + 0xb0], xmm0
movups xmmword [rsp + 0xc0], xmm0
movups xmmword [rsp + 0xd0], xmm0
movups xmmword [rsp + 0xe0], xmm0
movups xmmword [rsp + 0xf0], xmm0
movups xmmword [rsp + 0x100], xmm0
movups xmmword [rsp + 0x110], xmm0
mov qword [rsp + 0x120], rax
lea rcx, [rsp + 0xb0]
call fcn.140235ed0
nop
lea r9, [rsp + 0x130]
cmp word [rsp + 0x130], 0
je 0x140212a4b
nop
add r9, 2
cmp word [r9], 0
jne 0x140212a40
lea r8, [rsp + 0x130]
mov rdx, r15
lea rcx, [rsp + 0xb0]
call fcn.140238180
nop
lea rax, vtable.std::wstring_convert_class_std::codecvt_utf8_wchar_t__1114111__0___wchar_t__class_std::allocator_wchar_t___class_std::allocator_char__.0
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0xf0]
call fcn.140238470
lea rcx, [rsp + 0xd0]
call fcn.140238570
mov rcx, qword [rsp + 0xc8]
test rcx, rcx
je 0x140212ab1
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rax
test rax, rax
je 0x140212ab1
mov rax, qword [rax]
mov edx, r12d
call qword [rax]
nop
mov rcx, qword [rsp + 0x90]
xor rcx, r14
mov qword [rsp + 0x90], rcx
lea rax, [rsp + 0x1568]
mov qword [rax], rcx
mov rax, r15
jmp 0x140212af6
mov rcx, qword [rsp + 0x14c0]
xor rcx, rsp
call fcn.14025d630
lea r11, [rsp + 0x1540]
mov rbx, qword [r11 + 0x38]
mov rsi, 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 rdi
ret