Function at 0x140005800
Capabilities:
Encode data using xor
Execute command
Generate random numbers using a mersenne twister
Set console window title

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1340]
mov eax, 0x1440
call fcn.14000e910
sub rsp, rax
movaps xmmword [rsp + 0x1430], xmm6
movaps xmmword [rsp + 0x1420], xmm7
movaps xmmword [rsp + 0x1410], xmm8
mov ecx, 0x40
call fcn.14000e66c
mov rdi, rax
mov qword [rsp + 0x70], 0x3e
mov qword [rsp + 0x78], 0x3f
movups xmm0, xmmword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400109b0]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x1400109c0]
movups xmmword [rax + 0x20], xmm0
movsd xmm1, qword [0x1400109d0]
movsd qword [rax + 0x30], xmm1
mov ecx, dword [0x1400109d8]
mov dword [rax + 0x38], ecx
movzx eax, word [0x1400109dc]
mov word [rdi + 0x3c], ax
mov byte [rdi + 0x3e], 0
mov qword [rsp + 0x60], rdi
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov r14d, 0xffffffff
mov dword [rbp + 0x1304], r14d
mov dword [rbp - 0x7c], eax
mov edx, 1
nop
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rbp + rdx*4 - 0x7c], eax
inc rdx
cmp rdx, 0x270
jb 0x1400058c0
mov dword [rbp - 0x80], 0x270
mov ecx, 0x30
call fcn.14000e66c
mov qword [rsp + 0x30], 0x20
mov qword [rsp + 0x38], 0x2f
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov byte [rax + 0x20], 0
mov qword [rsp + 0x20], rax
lea rbx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rbx, rax
lea rcx, [rsp + 0x20]
cmovae rcx, rax
mov rsi, qword [rsp + 0x30]
add rsi, rcx
cmp rbx, rsi
je 0x140005987
nop word [rax + rax]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov ecx, 0x40
mov rax, 0xffffffffffffffff
dec rcx
shr rax, 1
cmp rax, r14
ja 0x140005955
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rcx
mov edx, 0x3e
lea rcx, [rsp + 0x40]
call fcn.1400024b0
movzx ecx, byte [rax + rdi]
mov byte [rbx], cl
inc rbx
cmp rbx, rsi
jne 0x140005940
mov edx, 0x40
mov rcx, rdi
call fcn.14000e6a8
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1400059eb
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400059e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400059e6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000e6a8
mov eax, dword [0x1400109e0]
mov dword [rbp + 0x1360], eax
mov esi, 5
xor ebx, ebx
lea r14d, [rsi + 0x1a]
mov edi, dword [0x14013a410]
cmp byte [0x1400109e3], bl
je 0x140005af2
mov r8d, ebx
cmp edi, 2
jl 0x140005aad
movdqa xmm3, xmmword [0x140010a70]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140010ac0]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140010ac0]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
movd xmm0, esi
psrad xmm2, xmm0
movd xmm0, r14d
movdqa xmm1, xmm2
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x140010a90]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140010aa0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.7777777777777777]
movd xmm0, eax
pxor xmm2, xmm0
movd dword [rbp + 0x1360], xmm2
jmp 0x140005af2
lea r9, [rbp + 0x1360]
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x1f7047dd
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x140005ac0
lea rcx, [rbp + 0x1360]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rax, qword [0x1400109e8]
mov qword [rbp + 0x1360], rax
cmp byte [0x1400109ef], bl
je 0x140005c72
mov r8d, ebx
cmp edi, 2
jl 0x140005c34
movdqa xmm4, xmmword [0x140010ac0]
movd xmm6, esi
movd xmm5, r14d
movdqa xmm2, xmmword [0x140010a70]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140010a90]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140010aa0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.7777777777777777]
movd xmm0, dword [rbp + 0x1360]
pxor xmm2, xmm0
movd dword [rbp + 0x1360], xmm2
movdqa xmm3, xmmword [0x140010a80]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140010a90]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140010aa0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.7777777777777777]
movd xmm0, dword [rbp + 0x1364]
pxor xmm2, xmm0
movd dword [rbp + 0x1364], xmm2
jmp 0x140005c72
lea r9, [rbp + 0x1360]
nop dword [rax + rax]
mov eax, 0x1f7047dd
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x140005c40
lea rcx, [rbp + 0x1360]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, str._n_______________________________________n__________________________V___n_______________________o_____n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002100
mov rcx, rax
mov dl, 0xa
call fcn.140001f40
movups xmm0, xmmword [0x1400109f0]
movups xmmword [rsp + 0x40], xmm0
movsd xmm1, qword [0x140010a00]
movsd qword [rsp + 0x50], xmm1
mov eax, dword [0x140010a08]
mov dword [rsp + 0x58], eax
movzx eax, byte [0x140010a0c]
mov byte [rsp + 0x5c], al
mov r8d, ebx
cmp edi, 2
jl 0x140005e1f
movdqa xmm5, xmmword [0x140010a70]
movdqa xmm4, xmmword [0x140010ac0]
movd xmm6, esi
movdqa xmm7, xmmword [0x140010a90]
movd xmm8, r14d
movdqa xmm0, xmmword [str.7777777777777777]
movdqa xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x44]
mov edx, dword [rsp + 0x20]
nop
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140010aa0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140010aa0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x18
jl 0x140005d10
cmp r8d, 0x1d
jge 0x140005e63
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x1d
jl 0x140005e30
lea rcx, [rsp + 0x40]
call fcn.1400063e0
movups xmm0, xmmword [0x140010a10]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [0x140010a20]
movups xmmword [rsp + 0x50], xmm1
psrldq xmm1, 0xf
movd eax, xmm1
test al, al
je 0x140006022
mov r8d, ebx
cmp edi, 2
jl 0x140005fe9
movdqa xmm5, xmmword [0x140010a70]
mov edx, ebx
movdqa xmm4, xmmword [0x140010ac0]
movd xmm6, esi
movdqa xmm7, xmmword [0x140010a90]
movd xmm8, r14d
movdqa xmm0, xmmword [str.7777777777777777]
movdqa xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x44]
mov r8d, dword [rsp + 0x20]
nop dword [rax]
movd xmm2, edx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140010aa0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140010aa0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x20
jl 0x140005ee0
jmp 0x140006022
lea r9, [rsp + 0x40]
nop
mov eax, 0x1f7047dd
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x20
jl 0x140005ff0
lea rcx, [rsp + 0x40]
call fcn.1400063e0
movups xmm0, xmmword [0x140010a30]
movups xmmword [rsp + 0x40], xmm0
movzx eax, word [0x140010a40]
mov word [rsp + 0x50], ax
movzx eax, byte [0x140010a42]
mov byte [rsp + 0x52], al
mov r8d, ebx
cmp edi, 2
jl 0x1400061af
movdqa xmm5, xmmword [0x140010a70]
movdqa xmm4, xmmword [0x140010ac0]
movd xmm6, esi
movdqa xmm7, xmmword [0x140010a90]
movd xmm8, r14d
movdqa xmm0, xmmword [str.7777777777777777]
movdqa xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x44]
mov edx, dword [rsp + 0x20]
nop dword [rax]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140010aa0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140010aa0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x1400060a0
cmp r8d, 0x13
jge 0x1400061f3
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x13
jl 0x1400061c0
lea rcx, [rsp + 0x40]
call fcn.1400063e0
movsd xmm0, qword [0x140010a48]
movsd qword [rsp + 0x20], xmm0
mov eax, dword [0x140010a50]
mov dword [rsp + 0x28], eax
movzx eax, word [0x140010a54]
mov word [rsp + 0x2c], ax
movzx eax, byte [0x140010a56]
mov byte [rsp + 0x2e], al
cmp edi, 2
jl 0x140006347
movdqa xmm4, xmmword [0x140010ac0]
movd xmm6, esi
movd xmm5, r14d
movdqa xmm2, xmmword [0x140010a70]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140010a90]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140010aa0]
packuswb xmm2, xmm2
mov eax, dword [str.7777777777777777]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [0x140010a48]
pxor xmm2, xmm1
movd dword [rsp + 0x20], xmm2
movdqa xmm3, xmmword [0x140010a80]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140010a90]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140010aa0]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x24]
pxor xmm2, xmm1
movd dword [rsp + 0x24], xmm2
mov ebx, 8
mov eax, ebx
lea r8, [rsp + 0x20]
add r8, rax
mov eax, 0x8fb823ef
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, bl
sub al, cl
add al, 0x37
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0xf
jl 0x140006351
lea rcx, [rsp + 0x20]
call fcn.1400063e0
lea rdx, [rbp + 0x1368]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
mov ecx, dword [rbp + 0x1368]
call fcn.140002900
xor eax, eax
lea r11, [rsp + 0x1440]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret