Function at 0x1401f7870
Capabilities:
Encode data using xor
Enumerate processes
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1520]
mov eax, 0x1620
call fcn.14025eb00
sub rsp, rax
mov rax, qword [0x140280040]
xor rax, rsp
mov qword [rbp + 0x1510], rax
mov r15, rcx
lea rbx, reloc.OLEAUT32.dll_SysReAllocString
mov qword [rsp + 0x30], rbx
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1401f78d6
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x14028092c], 0x7fffffff
jne 0x1401f78f8
mov dword [0x14028092c], 0x7ffffffe
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x40], 0x238
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbp + 0x1504], 0xffffffff
mov dword [rbp + 0x184], eax
mov r13d, 1
mov edx, r13d
nop
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rbp + rdx*4 + 0x184], eax
inc rdx
cmp rdx, 0x270
jb 0x1401f7920
mov dword [rbp + 0x180], 0x270
xor r12d, r12d
mov dword [rsp + 0x20], r12d
lea rcx, [rsp + 0x28]
call fcn.1401f3510
mov rsi, qword [rsp + 0x28]
add rsi, 0x5f5e100
nop word [rax + rax]
lea rcx, [rsp + 0x28]
call fcn.1401f3510
cmp qword [rax], rsi
jge 0x1401f7af6
mov edi, 0x186a0
nop dword [rax + rax]
lea rcx, [rbp + 0x180]
call fcn.140249d50
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x63
ja 0x1401f79ca
nop word [rax + rax]
lea rcx, [rbp + 0x180]
call fcn.140249d50
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x1401f79b0
shr rax, 0x20
lea ebx, [rax + 0x7fffff9c]
xor ebx, 0x80000000
cmove ebx, r13d
lea rcx, [rbp + 0x180]
call fcn.140249d50
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x1401f7a1a
nop dword [rax + rax]
lea rcx, [rbp + 0x180]
call fcn.140249d50
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x1401f7a00
shr rcx, 0x20
add ecx, 0x7fffff9c
btc ecx, 0x1f
mov eax, dword [rsp + 0x20]
add eax, ecx
mov dword [rsp + 0x20], eax
lea rcx, [rbp + 0x180]
call fcn.140249d50
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x1401f7a6a
nop dword [rax]
lea rcx, [rbp + 0x180]
call fcn.140249d50
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x1401f7a50
shr rcx, 0x20
add ecx, 0x7fffff9c
btc ecx, 0x1f
mov eax, dword [rsp + 0x20]
imul eax, ecx
mov dword [rsp + 0x20], eax
lea rcx, [rbp + 0x180]
call fcn.140249d50
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x1401f7aba
nop dword [rax]
lea rcx, [rbp + 0x180]
call fcn.140249d50
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x1401f7aa0
shr rcx, 0x20
add ecx, 0x7fffff9c
btc ecx, 0x1f
mov eax, dword [rsp + 0x20]
sub eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cdq
idiv ebx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cdq
idiv ebx
mov dword [rsp + 0x20], edx
sub rdi, r13
jne 0x1401f7990
jmp 0x1401f7970
mov eax, dword [rsp + 0x20]
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r14, rax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbp + 0x1504], 0xffffffff
mov dword [rbp + 0x184], eax
mov rdx, r13
nop dword [rax]
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 + 0x184], eax
inc rdx
cmp rdx, 0x270
jb 0x1401f7b30
mov dword [rbp + 0x180], 0x270
mov dword [rsp + 0x20], r12d
lea rcx, [rsp + 0x28]
call fcn.1401f3510
mov rsi, qword [rsp + 0x28]
add rsi, 0x5f5e100
nop word [rax + rax]
lea rcx, [rsp + 0x28]
call fcn.1401f3510
cmp qword [rax], rsi
jge 0x1401f7d06
mov edi, 0x186a0
nop dword [rax + rax]
lea rcx, [rbp + 0x180]
call fcn.140249d50
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x63
ja 0x1401f7bda
nop word [rax + rax]
lea rcx, [rbp + 0x180]
call fcn.140249d50
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x1401f7bc0
shr rax, 0x20
lea ebx, [rax + 0x7fffff9c]
xor ebx, 0x80000000
cmove ebx, r13d
lea rcx, [rbp + 0x180]
call fcn.140249d50
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x1401f7c2a
nop dword [rax + rax]
lea rcx, [rbp + 0x180]
call fcn.140249d50
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x1401f7c10
shr rcx, 0x20
add ecx, 0x7fffff9c
btc ecx, 0x1f
mov eax, dword [rsp + 0x20]
add eax, ecx
mov dword [rsp + 0x20], eax
lea rcx, [rbp + 0x180]
call fcn.140249d50
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x1401f7c7a
nop dword [rax]
lea rcx, [rbp + 0x180]
call fcn.140249d50
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x1401f7c60
shr rcx, 0x20
add ecx, 0x7fffff9c
btc ecx, 0x1f
mov eax, dword [rsp + 0x20]
imul eax, ecx
mov dword [rsp + 0x20], eax
lea rcx, [rbp + 0x180]
call fcn.140249d50
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x1401f7cca
nop dword [rax]
lea rcx, [rbp + 0x180]
call fcn.140249d50
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x1401f7cb0
shr rcx, 0x20
add ecx, 0x7fffff9c
btc ecx, 0x1f
mov eax, dword [rsp + 0x20]
sub eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cdq
idiv ebx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cdq
idiv ebx
mov dword [rsp + 0x20], edx
sub rdi, r13
jne 0x1401f7ba0
jmp 0x1401f7b80
mov eax, dword [rsp + 0x20]
lea rdx, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, r13d
jne 0x1401f7d59
lea rdx, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, r13d
jne 0x1401f7d59
mov rdx, r15
lea rcx, [rsp + 0x6c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov rcx, r14
test eax, eax
je 0x1401f7f56
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, r13d
je 0x1401f7d30
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbp + 0x1504], 0xffffffff
mov dword [rbp + 0x184], eax
mov rdx, r13
nop dword [rax]
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 + 0x184], eax
inc rdx
cmp rdx, 0x270
jb 0x1401f7d80
mov dword [rbp + 0x180], 0x270
mov dword [rsp + 0x20], r12d
lea rcx, [rsp + 0x28]
call fcn.1401f3510
mov rsi, qword [rsp + 0x28]
add rsi, 0x5f5e100
nop word [rax + rax]
lea rcx, [rsp + 0x30]
call fcn.1401f3510
cmp qword [rax], rsi
jge 0x1401f7f63
mov edi, 0x186a0
nop dword [rax + rax]
lea rcx, [rbp + 0x180]
call fcn.140249d50
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x63
ja 0x1401f7e2a
nop word [rax + rax]
lea rcx, [rbp + 0x180]
call fcn.140249d50
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x1401f7e10
shr rax, 0x20
lea ebx, [rax + 0x7fffff9c]
xor ebx, 0x80000000
cmove ebx, r13d
lea rcx, [rbp + 0x180]
call fcn.140249d50
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x1401f7e7a
nop dword [rax + rax]
lea rcx, [rbp + 0x180]
call fcn.140249d50
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x1401f7e60
shr rcx, 0x20
add ecx, 0x7fffff9c
btc ecx, 0x1f
mov eax, dword [rsp + 0x20]
add eax, ecx
mov dword [rsp + 0x20], eax
lea rcx, [rbp + 0x180]
call fcn.140249d50
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x1401f7eca
nop dword [rax]
lea rcx, [rbp + 0x180]
call fcn.140249d50
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x1401f7eb0
shr rcx, 0x20
add ecx, 0x7fffff9c
btc ecx, 0x1f
mov eax, dword [rsp + 0x20]
imul eax, ecx
mov dword [rsp + 0x20], eax
lea rcx, [rbp + 0x180]
call fcn.140249d50
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x1401f7f1a
nop dword [rax]
lea rcx, [rbp + 0x180]
call fcn.140249d50
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x1401f7f00
shr rcx, 0x20
add ecx, 0x7fffff9c
btc ecx, 0x1f
mov eax, dword [rsp + 0x20]
sub eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cdq
idiv ebx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cdq
idiv ebx
mov dword [rsp + 0x20], edx
sub rdi, r13
jne 0x1401f7df0
jmp 0x1401f7dd0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r12d, dword [rsp + 0x48]
jmp 0x1401f7f71
mov edx, dword [rsp + 0x20]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, reloc.OLEAUT32.dll_SysReAllocString
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov eax, r12d
mov rcx, qword [rbp + 0x1510]
xor rcx, rsp
call fcn.14025d7c0
lea r11, [rsp + 0x1620]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret