Function at 0x140006240
Capabilities:
Enumerate process modules
Get cpu information
Get hostname
Get session user name
Get system information on windows
List user accounts
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r14
lea rbp, [rsp - 0x1610]
mov eax, 0x1710
call fcn.1400355b0
sub rsp, rax
mov rax, qword [0x14007e018]
xor rax, rsp
mov qword [rbp + 0x1600], rax
xor ecx, ecx
call fcn.14003fac8
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rax
call fcn.14003fe34
lea rcx, str.get_machine_name
mov qword [rsp + 0x48], rcx
lea r8, str._04d__02d__02d__02d:_02d:_02d___s_
mov ecx, dword [rax]
mov edx, dword [rax + 0x10]
mov r9d, dword [rax + 0x14]
inc edx
mov dword [rsp + 0x40], ecx
add r9d, 0x76c
mov ecx, dword [rax + 4]
mov dword [rsp + 0x38], ecx
mov ecx, dword [rax + 8]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x30], ecx
xor ecx, ecx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
mov edx, 1
call fcn.140001d50
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x58], 0x10
lea rcx, [rbp + 0xfa0]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
xor ecx, ecx
mov edx, 1
test eax, eax
je 0x140006318
lea r9, [rbp + 0xfa0]
lea r8, str.Machine_Name:__s_n
call fcn.140001d50
jmp 0x140006324
lea r8, str.Failed_to_get_machine_name._n
call fcn.140001d50
xor ecx, ecx
call fcn.14003fac8
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rax
call fcn.14003fe34
lea rcx, str.get_current_user
mov qword [rsp + 0x48], rcx
lea r8, str._04d__02d__02d__02d:_02d:_02d___s_
mov ecx, dword [rax]
mov edx, dword [rax + 0x10]
mov r9d, dword [rax + 0x14]
inc edx
mov dword [rsp + 0x40], ecx
add r9d, 0x76c
mov ecx, dword [rax + 4]
mov dword [rsp + 0x38], ecx
mov ecx, dword [rax + 8]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x30], ecx
xor ecx, ecx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
mov edx, 1
call fcn.140001d50
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x58], 0x101
lea rcx, [rbp + 0xff0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov r12, 0xffffffffffffffff
test eax, eax
je 0x14000640f
xor r8d, r8d
lea rdx, [rbp + 0xff0]
xor ecx, ecx
call fcn.14003fac0
mov rdi, rax
cmp rax, r12
je 0x14000640f
mov rcx, rax
add rcx, 1
cmovb rcx, r12
call fcn.14003f38c
mov rbx, rax
test rax, rax
je 0x14000640f
lea r8, [rdi + 1]
mov rcx, rax
lea rdx, [rbp + 0xff0]
call fcn.14003fac0
mov r9, rbx
lea r8, str.Current_User:__s_n
lea edx, [r12 + 2]
xor ecx, ecx
call fcn.140001d50
mov rcx, rbx
call fcn.14003f378
xor ecx, ecx
call fcn.14003fac8
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rax
call fcn.14003fe34
lea rcx, str.get_all_users_info
mov qword [rsp + 0x48], rcx
lea r8, str._04d__02d__02d__02d:_02d:_02d___s_
mov ecx, dword [rax]
mov edx, dword [rax + 0x10]
mov r9d, dword [rax + 0x14]
inc edx
mov dword [rsp + 0x40], ecx
add r9d, 0x76c
mov ecx, dword [rax + 4]
mov dword [rsp + 0x38], ecx
mov ecx, dword [rax + 8]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x30], ecx
xor ecx, ecx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
mov edx, 1
call fcn.140001d50
xor r14d, r14d
lea r8, str.All_Users:_n
xor ecx, ecx
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], r14d
mov dword [rsp + 0x5c], r14d
lea edx, [r14 + 1]
mov dword [rsp + 0x60], r14d
call fcn.140001d50
nop dword [rax]
lea rax, [rsp + 0x60]
mov edx, 1
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x50]
lea rax, [rsp + 0x5c]
xor ecx, ecx
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8d, [rdx + 1]
mov dword [rsp + 0x20], 0xffffffff
call qword [sym.imp.NETAPI32.dll_NetUserEnum]
mov esi, eax
test eax, eax
je 0x1400064ed
cmp eax, 0xea
jne 0x14000656f
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x140006561
mov edi, r14d
cmp dword [rsp + 0x58], r14d
jbe 0x140006558
mov r9, qword [rbx]
test r9, r9
je 0x140006534
mov rax, r12
nop dword [rax]
inc rax
cmp word [r9 + rax*2], r14w
jne 0x140006510
test rax, rax
je 0x140006534
lea r8, str._tUsername:__S_n
mov edx, 1
xor ecx, ecx
call fcn.140001d50
jmp 0x140006547
lea r8, str.Invalid_user_information_n
mov edx, 1
xor ecx, ecx
call fcn.140001d50
add rbx, 0x38
inc edi
cmp edi, dword [rsp + 0x58]
jb 0x140006501
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.NETAPI32.dll_NetApiBufferFree]
cmp esi, 0xea
je 0x1400064a0
jmp 0x140006585
mov r9d, esi
lea r8, str.A_system_error_has_occurred:__d_n
mov edx, 1
xor ecx, ecx
call fcn.140001d50
xor ecx, ecx
call fcn.14003fac8
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rax
call fcn.14003fe34
lea rcx, str.get_cpu_info
mov qword [rsp + 0x48], rcx
lea r8, str._04d__02d__02d__02d:_02d:_02d___s_
mov ecx, dword [rax]
mov edx, dword [rax + 0x10]
mov r9d, dword [rax + 0x14]
inc edx
mov dword [rsp + 0x40], ecx
add r9d, 0x76c
mov ecx, dword [rax + 4]
mov dword [rsp + 0x38], ecx
mov ecx, dword [rax + 8]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x30], ecx
xor ecx, ecx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
mov edx, 1
call fcn.140001d50
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea r8, str.CPU_Information:_n
mov edx, 1
xor ecx, ecx
call fcn.140001d50
mov r9d, dword [rbp - 0x78]
lea r8, str._tCPU:__d_cores_n
mov edx, 1
xor ecx, ecx
call fcn.140001d50
movdqa xmm0, xmmword [0x140074e60]
xor ecx, ecx
movdqu xmmword [rbp + 0xfa0], xmm0
mov eax, 0x80000000
xorps xmm0, xmm0
cpuid
mov dword [rbp + 0xfa4], ebx
mov dword [rbp + 0xfa8], ecx
mov dword [rbp + 0xfac], edx
movups xmmword [rbp + 0xfb0], xmm0
movups xmmword [rbp + 0xfc0], xmm0
movups xmmword [rbp + 0xfd0], xmm0
movups xmmword [rbp + 0xfe0], xmm0
cmp eax, 0x80000004
jb 0x14000671c
xor ecx, ecx
lea r9, [rbp + 0xfb0]
mov eax, 0x80000002
lea r8, str._tCPU_Brand:__s_n
cpuid
mov dword [rbp + 0xfa8], ecx
xor ecx, ecx
mov dword [rbp + 0xfa0], eax
mov eax, 0x80000003
mov dword [rbp + 0xfac], edx
mov dword [rbp + 0xfa4], ebx
movups xmm0, xmmword [rbp + 0xfa0]
cpuid
mov dword [rbp + 0xfa8], ecx
xor ecx, ecx
mov dword [rbp + 0xfa0], eax
mov eax, 0x80000004
mov dword [rbp + 0xfac], edx
mov dword [rbp + 0xfa4], ebx
cpuid
movaps xmmword [rbp + 0xfb0], xmm0
movups xmm0, xmmword [rbp + 0xfa0]
mov dword [rbp + 0xfa8], ecx
xor ecx, ecx
mov dword [rbp + 0xfac], edx
mov edx, 1
movaps xmmword [rbp + 0xfc0], xmm0
mov dword [rbp + 0xfa0], eax
mov dword [rbp + 0xfa4], ebx
movups xmm0, xmmword [rbp + 0xfa0]
movaps xmmword [rbp + 0xfd0], xmm0
call fcn.140001d50
jmp 0x14000672f
lea r8, str._tCPU_Brand:_Unknown_n
mov edx, 1
xor ecx, ecx
call fcn.140001d50
lea rax, [rsp + 0x50]
mov dword [rsp + 0x5c], 4
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x58], r14d
lea rdx, str.HARDWAREDESCRIPTIONSystemCentralProcessor0
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400067d5
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rdx, str.MHz
lea rax, [rsp + 0x58]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor ecx, ecx
mov edx, 1
test eax, eax
jne 0x1400067bc
mov r9d, dword [rsp + 0x58]
lea r8, str._tCPU_Clock_Speed:__u_MHz_n
call fcn.140001d50
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400067e8
lea r8, str.Failed_to_get_CPU_clock_speed._n
call fcn.140001d50
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400067e8
lea r8, str.Failed_to_open_registry_key_for_CPU_clock_speed._n
mov edx, 1
xor ecx, ecx
call fcn.140001d50
xor ecx, ecx
call fcn.14003fac8
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rax
call fcn.14003fe34
lea rcx, str.get_network_info
mov qword [rsp + 0x48], rcx
lea r8, str._04d__02d__02d__02d:_02d:_02d___s_
mov ecx, dword [rax]
mov edx, dword [rax + 0x10]
mov r9d, dword [rax + 0x14]
inc edx
mov dword [rsp + 0x40], ecx
add r9d, 0x76c
mov ecx, dword [rax + 4]
mov dword [rsp + 0x38], ecx
mov ecx, dword [rax + 8]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x30], ecx
xor ecx, ecx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
mov edx, 1
call fcn.140001d50
call fcn.140001880
xor ecx, ecx
call fcn.14003fac8
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rax
call fcn.14003fe34
lea rcx, str.get_process_info
mov qword [rsp + 0x48], rcx
lea r8, str._04d__02d__02d__02d:_02d:_02d___s_
mov ecx, dword [rax]
mov edx, dword [rax + 0x10]
mov r9d, dword [rax + 0x14]
inc edx
mov dword [rsp + 0x40], ecx
add r9d, 0x76c
mov ecx, dword [rax + 4]
mov dword [rsp + 0x38], ecx
mov ecx, dword [rax + 8]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x30], ecx
xor ecx, ecx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
mov edx, 1
call fcn.140001d50
lea r8, str.Process_information:_n
mov edx, 1
xor ecx, ecx
call fcn.140001d50
lea r8, [rsp + 0x5c]
mov edx, 0x1000
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x140006a31
mov eax, dword [rsp + 0x5c]
shr eax, 2
test eax, eax
je 0x140006a44
mov qword [rsp + 0x1730], r15
lea rsi, [rbp - 0x60]
mov r15d, eax
mov ebx, dword [rsi]
test ebx, ebx
je 0x140006a19
movups xmm0, xmmword [str._unknown_]
mov eax, dword [0x140074588]
lea rcx, [rbp + 0x1004]
xor edx, edx
mov dword [rbp + 0x1000], eax
mov r8d, 0x1f4
movaps xmmword [rbp + 0xff0], xmm0
call fcn.140037260
mov r8d, ebx
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14000698a
lea r9, [rsp + 0x60]
mov r8d, 8
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x14000698a
mov rdx, qword [rsp + 0x50]
lea r8, [rbp + 0xff0]
mov r9d, 0x104
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
xor r8d, r8d
lea rdx, [rbp + 0xff0]
xor ecx, ecx
call fcn.14003fac0
mov r14, rax
cmp rax, r12
je 0x1400069fd
mov rcx, rax
add rcx, 1
cmovb rcx, r12
call fcn.14003f38c
mov rdi, rax
test rax, rax
je 0x1400069f4
lea r8, [r14 + 1]
mov rcx, rax
lea rdx, [rbp + 0xff0]
call fcn.14003fac0
mov ecx, dword [rsi]
lea r8, str._tProcess:__s__PID:__d_n
mov dword [rsp + 0x20], ecx
mov r9, rdi
xor ecx, ecx
mov edx, 1
call fcn.140001d50
mov rcx, rdi
call fcn.14003f378
jmp 0x140006a10
lea r8, str._tFailed_to_allocate_memory_for_process_name._n
jmp 0x140006a04
lea r8, str._tFailed_to_convert_process_name_to_char._n
mov edx, 1
xor ecx, ecx
call fcn.140001d50
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsi, 4
sub r15, 1
jne 0x140006902
mov r15, qword [rsp + 0x1730]
jmp 0x140006a44
lea r8, str.Failed_to_get_process_information._n
mov edx, 1
xor ecx, ecx
call fcn.140001d50
lea rax, str.cat__etc_passwd_ncat__etc_shadow_ncat__etc_group_ncat__etc_hosts_ncat__etc_resolv.conf_ncat__etc_hostname_ncat__etc_hosts.allow_ncat__etc_hosts.deny_ncat__etc_services_ncat__etc_protocols_ncat__etc_networks_ncat__etc_rpc_ncat__etc_exports_n
mov r8d, 0x31c
movups xmm0, xmmword [rax]
lea rdx, [rbp + 0x1200]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rdx], xmm0
lea rcx, [rbp + 0x12e4]
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rdx + 0x10], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rdx + 0x20], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rdx + 0x30], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rdx + 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rdx + 0x50], xmm1
movups xmm1, xmmword [rax]
movups xmmword [rdx + 0x60], xmm0
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rax - 0x10]
movups xmmword [rdx - 0x10], xmm0
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rdx], xmm1
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rdx + 0x10], xmm0
movups xmm0, xmmword [rax + 0x30]
movups xmmword [rdx + 0x20], xmm1
movups xmm1, xmmword [rax + 0x40]
movups xmmword [rdx + 0x30], xmm0
movups xmm0, xmmword [rax + 0x50]
mov eax, dword [rax + 0x60]
movups xmmword [rdx + 0x40], xmm1
movups xmmword [rdx + 0x50], xmm0
mov dword [rdx + 0x60], eax
xor edx, edx
call fcn.140037260
mov edx, 1
lea r9, [rbp + 0x1200]
mov ecx, edx
lea r8, str._sGather_information_done__n
call fcn.140001d50
mov rcx, qword [rbp + 0x1600]
xor rcx, rsp
call fcn.140034cb0
lea r11, [rsp + 0x1710]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rbp
ret