Function at 0x140215c10
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.14026ed30
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 [0x140291040]
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 rbx, [rsp + 0x1568]
mov qword [rsp + 0x58], rbx
movabs r14, 0xff00ff00ff00ff00
mov qword [rsp + 0x98], r14
mov qword [rsp + 0xa0], rbx
mov rax, qword [rbx]
xor rax, r14
mov qword [rsp + 0x90], rax
mov qword [rbx], 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 0x140215cf0
mov dword [rsp + 0x130], 0x270
mov dword [rsp + 0x60], r13d
lea rcx, [rsp + 0x48]
call fcn.1401f2240
mov rsi, qword [rsp + 0x48]
add rsi, 0x5f5e100
nop dword [rax + rax]
lea rcx, [rsp + 0x48]
call fcn.1401f2240
cmp qword [rax], rsi
jge 0x140215ec7
mov edi, 0x186a0
nop dword [rax + rax]
lea rcx, [rsp + 0x130]
call fcn.14025a000
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x63
ja 0x140215d9b
nop dword [rax + rax]
lea rcx, [rsp + 0x130]
call fcn.14025a000
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x140215d80
shr rax, 0x20
lea ebx, [rax + 0x7fffff9c]
xor ebx, 0x80000000
cmove ebx, r12d
lea rcx, [rsp + 0x130]
call fcn.14025a000
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x140215deb
nop word [rax + rax]
lea rcx, [rsp + 0x130]
call fcn.14025a000
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x140215dd0
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.14025a000
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x140215e3b
nop
lea rcx, [rsp + 0x130]
call fcn.14025a000
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x140215e20
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.14025a000
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x140215e8b
nop
lea rcx, [rsp + 0x130]
call fcn.14025a000
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x140215e70
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 0x140215d60
jmp 0x140215d40
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x60], 0x7e8
movups xmm5, xmmword [0x14027f3c0]
movups xmmword [rsp + 0x68], xmm5
movups xmm0, xmmword [0x14027f3d0]
movups xmmword [rsp + 0x78], xmm0
movq xmm12, qword [0x14027f3e0]
movq qword [rsp + 0x88], xmm12
mov r9d, r13d
mov r11d, dword [0x140291090]
cmp r11d, 2
jl 0x1402162b9
movdqa xmm6, xmmword [0x1402806c0]
movdqa xmm7, xmmword [0x1402806d0]
movdqa xmm9, xmmword [str.jjjjllll]
movdqa xmm10, xmmword [0x1402806e0]
movdqa xmm11, xmmword [str.________]
movdqa xmm8, xmmword [0x140280570]
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, 5
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 [0x140280590]
movdqa xmm4, xmm5
punpckldq xmm4, xmm5
movdqa xmm1, xmm5
punpckhdq xmm1, xmm5
movdqa xmm2, xmm4
pmuldq xmm2, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm2, xmm0, 0xdd
psrad xmm2, 5
pmuldq xmm4, xmm7
pmuldq xmm1, xmm7
shufps xmm4, xmm1, 0xdd
psrad xmm4, 4
movdqa xmm1, xmm2
psrld xmm1, 0x1f
paddd xmm1, xmm2
pmulld xmm1, xmm9
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, xmm10
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 [0x1402805b0]
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, 5
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 [0x1402805d0]
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, 5
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 [0x1402805f0]
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, 5
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
jmp 0x14021633e
lea r10, [rsp + 0x68]
nop
mov eax, 0x22b63cbf
mul r9d
shr edx, 4
movzx eax, dx
imul r8d, eax, 0x3b
mov eax, 0xb2b78c13
imul r9d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x35
sub cx, r8w
add cx, 0x20
add cx, r9w
add cx, cx
xor word [r10], cx
inc r9d
lea r10, [r10 + 2]
cmp r9d, 0x14
jl 0x1402162c0
movdqa xmm11, xmmword [str.________]
movdqa xmm9, xmmword [str.jjjjllll]
movdqa xmm10, xmmword [0x1402806e0]
movdqa xmm7, xmmword [0x1402806d0]
movdqa xmm6, xmmword [0x1402806c0]
movdqa xmm8, xmmword [0x140280570]
movups xmm0, xmmword [0x14027e9f0]
movups xmmword [rsp + 0xb0], xmm0
movups xmm1, xmmword [0x14027ea00]
movups xmmword [rsp + 0xc0], xmm1
movups xmm0, xmmword [str.4_49]
movups xmmword [rsp + 0xd0], xmm0
movups xmm1, xmmword [0x14027ea20]
movups xmmword [rsp + 0xe0], xmm1
movups xmm0, xmmword [0x14027ea30]
movups xmmword [rsp + 0xf0], xmm0
movsd xmm0, qword [0x14027ea40]
movsd qword [rsp + 0x100], xmm0
mov eax, dword [0x14027ea48]
mov dword [rsp + 0x108], eax
movzx eax, word [0x14027ea4c]
mov word [rsp + 0x10c], ax
mov r9d, r13d
cmp r11d, 2
jl 0x140216557
lea rcx, [rsp + 0xb0]
nop dword [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, 5
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, 5
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 0x1402163d0
cmp r9d, 0x2f
jge 0x1402165c1
movsxd rax, r9d
lea r10, [rsp + 0xb0]
lea r10, [r10 + rax*2]
nop word [rax + rax]
mov eax, 0x22b63cbf
imul r9d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul r8d, eax, 0x3b
mov eax, 0xb2b78c13
imul r9d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x35
sub cx, r8w
add cx, 0x20
add cx, r9w
add cx, cx
xor word [r10], cx
inc r9d
lea r10, [r10 + 2]
cmp r9d, 0x2f
jl 0x140216570
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.140246220
nop
lea r9, [rsp + 0x130]
cmp word [rsp + 0x130], 0
je 0x14021669b
nop dword [rax + rax]
add r9, 2
cmp word [r9], 0
jne 0x140216690
lea r8, [rsp + 0x130]
mov rdx, r15
lea rcx, [rsp + 0xb0]
call fcn.1402486b0
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.1402489a0
lea rcx, [rsp + 0xd0]
call fcn.140248aa0
mov rcx, qword [rsp + 0xc8]
test rcx, rcx
je 0x140216701
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rax
test rax, rax
je 0x140216701
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 0x140216746
mov rcx, qword [rsp + 0x14c0]
xor rcx, rsp
call fcn.14026d9f0
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