Function at 0x14001b860
Capabilities:
Check os version
Get common file path
Get cpu information
Get hostname
Get system information on windows
Query environment variable
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x2540]
mov eax, 0x2640
call fcn.14019aba0
sub rsp, rax
mov rax, qword [0x1402698e0]
xor rax, rsp
mov qword [rbp + 0x2530], rax
lea rcx, [rbp + 0x218]
movabs rbx, 0x6e776f6e6b6e55
xor edx, edx
mov r8d, 0xfc
mov qword [rbp + 0x210], rbx
call fcn.14019ad10
lea rcx, [rbp + 0xa98]
xor edx, edx
mov r8d, 0xfc
mov qword [rbp + 0xa90], rbx
call fcn.14019ad10
lea rcx, [rbp + 0x328]
xor edx, edx
mov r8d, 0xfc
mov qword [rbp + 0x320], rbx
call fcn.14019ad10
lea rcx, [rbp + 0x548]
xor edx, edx
mov r8d, 0xfc
mov qword [rbp + 0x540], rbx
call fcn.14019ad10
lea rcx, [rbp + 0x438]
xor edx, edx
mov r8d, 0xfc
mov qword [rbp + 0x430], rbx
call fcn.14019ad10
lea rcx, [rbp + 0x988]
xor edx, edx
mov r8d, 0xfc
mov qword [rbp + 0x980], rbx
call fcn.14019ad10
lea rcx, [rbp + 0x108]
xor edx, edx
mov r8d, 0xfc
mov qword [rbp + 0x100], rbx
call fcn.14019ad10
lea rcx, [rbp + 0x658]
xor edx, edx
mov r8d, 0xfc
mov qword [rbp + 0x650], rbx
call fcn.14019ad10
lea rcx, [rbp + 0x768]
xor edx, edx
mov r8d, 0xfc
mov qword [rbp + 0x760], rbx
call fcn.14019ad10
lea rcx, [rbp + 0x878]
xor edx, edx
mov r8d, 0xfc
mov qword [rbp + 0x870], rbx
call fcn.14019ad10
lea rcx, [rbp + 0x1208]
xor edx, edx
mov r8d, 0xfc
mov qword [rbp + 0x1200], rbx
call fcn.14019ad10
lea rcx, [rbp + 0x1314]
xor edx, edx
mov r8d, 0x100
mov dword [rbp + 0x1310], 0x412f4e
call fcn.14019ad10
lea rcx, [rbp + 0xdc4]
xor edx, edx
mov r8d, 0x100
mov dword [rbp + 0xdc0], 0x412f4e
call fcn.14019ad10
lea rcx, [rbp + 0xba4]
xor edx, edx
mov r8d, 0x100
mov dword [rbp + 0xba0], 0x412f4e
call fcn.14019ad10
lea rcx, [rbp + 0xfe4]
xor edx, edx
mov r8d, 0x100
mov dword [rbp + 0xfe0], 0x412f4e
call fcn.14019ad10
lea rcx, [rbp + 0x1424]
xor edx, edx
mov r8d, 0x100
mov dword [rbp + 0x1420], 0x412f4e
call fcn.14019ad10
lea rcx, [rbp + 0xcb4]
xor edx, edx
mov r8d, 0x100
mov dword [rbp + 0xcb0], 0x412f4e
call fcn.14019ad10
lea rcx, [rbp + 0xed4]
xor edx, edx
mov r8d, 0x100
mov dword [rbp + 0xed0], 0x412f4e
call fcn.14019ad10
lea rcx, [rbp + 0x10f4]
xor edx, edx
mov r8d, 0x100
mov dword [rbp + 0x10f0], 0x412f4e
call fcn.14019ad10
lea rcx, [rbp + 0x1538]
xor edx, edx
mov r8d, 0xff8
mov qword [rbp + 0x1530], rbx
call fcn.14019ad10
mov ebx, 0x1000
lea rdx, [rbp + 0x1530]
xor edi, edi
mov r8d, ebx
xor ecx, ecx
mov dword [rsp + 0x34], edi
mov dword [rsp + 0x30], 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [rdi + 0x5c]
lea rcx, [rbp + 0x1530]
call fcn.1401994d4
lea rcx, [rbp + 0x1530]
mov byte [rax + 1], dil
dec rcx
cmp byte [rcx + 1], dil
lea rcx, [rcx + 1]
jne 0x14001bb16
movzx eax, word [0x1401ca99c]
or rsi, 0xffffffffffffffff
mov word [rcx], ax
lea rcx, [rbp + 0x1530]
mov rax, rsi
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], dil
jne 0x14001bb40
mov ecx, ebx
lea rdx, [rbp + 0x1530]
add rdx, rax
sub ecx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rcx, [rbp + 0x1530]
dec rcx
nop word [rax + rax]
cmp byte [rcx + 1], dil
lea rcx, [rcx + 1]
jne 0x14001bb70
movzx eax, word [0x1401ca99c]
mov word [rcx], ax
lea rcx, [rbp + 0x1530]
mov rax, rsi
nop
inc rax
cmp byte [rcx + rax], dil
jne 0x14001bb90
mov edx, ebx
lea rcx, [rbp + 0x1530]
add rcx, rax
sub edx, eax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rcx, [rbp + 0x1530]
dec rcx
nop word [rax + rax]
cmp byte [rcx + 1], dil
lea rcx, [rcx + 1]
jne 0x14001bbc0
movzx eax, word [0x1401ca99c]
mov word [rcx], ax
lea rcx, [rbp + 0x1530]
mov rax, rsi
nop
inc rax
cmp byte [rcx + rax], dil
jne 0x14001bbe0
mov edx, ebx
lea rcx, [rbp + 0x1530]
add rcx, rax
sub edx, eax
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea rcx, [rbp + 0x1530]
dec rcx
nop word [rax + rax]
cmp byte [rcx + 1], dil
lea rcx, [rcx + 1]
jne 0x14001bc10
movzx eax, word [0x1401ca99c]
mov word [rcx], ax
lea rcx, [rbp + 0x1530]
mov rax, rsi
nop
inc rax
cmp byte [rcx + rax], dil
jne 0x14001bc30
lea rcx, str.PATH
sub rbx, rax
call fcn.140198108
mov rcx, rsi
mov r9, rax
nop
inc rcx
cmp byte [rax + rcx], dil
jne 0x14001bc50
cmp rbx, rcx
lea rcx, [rbp + 0x1530]
jb 0x14001bc93
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], dil
lea rcx, [rcx + 1]
jne 0x14001bc70
xor edx, edx
nop dword [rax]
movzx eax, byte [r9 + rdx]
lea rdx, [rdx + 1]
mov byte [rcx + rdx - 1], al
test al, al
jne 0x14001bc80
jmp 0x14001bc9f
lea r8, [rbx - 1]
mov rdx, rax
call fcn.140199130
lea rcx, [rsp + 0x70]
mov edx, 0x68
call sub.PSAPI.DLL_GetPerformanceInfo
mov r8, qword [rbp - 0x40]
lea rdx, str._.2fGB
imul r8, qword [rbp - 0x70]
lea rcx, [rbp + 0x650]
shr r8, 0x1e
call fcn.140197aa8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x34]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [rsp + 0x34], 1
lea rcx, [rsp + 0x40]
jne 0x14001bcf6
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
jmp 0x14001bcfc
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x50]
lea rdx, str._.2fGB
lea rcx, [rbp + 0x760]
sub eax, dword [rsp + 0x48]
movd xmm2, eax
cvtdq2pd xmm2, xmm2
mulsd xmm2, qword [0x1401cb190]
movq r8, xmm2
call fcn.140197aa8
movzx ecx, word [rsp + 0x40]
mov eax, 0x363878
cmp cx, 6
jne 0x14001bd57
mov eax, dword [str.ia64]
mov dword [rbp + 0x430], eax
movzx eax, byte [0x1401ca9b8]
mov byte [rbp + 0x434], al
jmp 0x14001bd69
mov edx, 0x343678
cmp cx, 9
cmove eax, edx
mov dword [rbp + 0x430], eax
lea rax, [rsp + 0x38]
lea rdx, str.HARDWAREDESCRIPTIONSystemCentralProcessor0
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x540]
lea rdx, str.Identifier
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r8d, dword [rsp + 0x60]
lea rdx, str._d:
lea rcx, [rbp + 0x320]
call fcn.140197aa8
mov dword [rsp + 0x30], 0x104
lea rcx, [rbp + 0x320]
mov rax, rsi
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], dil
jne 0x14001bdf0
lea rcx, [rbp + 0x320]
lea rdx, str.ProcessorNameString
xor r9d, r9d
add rax, rcx
lea rcx, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [str.Win32]
lea rdx, [0x1401ca9b0]
mov dword [rbp + 0x210], eax
movzx eax, word [0x1401caa6c]
lea rcx, [rbp + 0x540]
mov word [rbp + 0x214], ax
mov eax, dword [str.32_bit]
mov r8d, 3
mov dword [rbp + 0x100], eax
movzx eax, word [0x1401caa74]
mov word [rbp + 0x104], ax
movzx eax, byte [0x1401caa76]
mov byte [rbp + 0x106], al
call fcn.1401992e0
test eax, eax
je 0x14001bea2
mov eax, dword [str.Win64]
mov dword [rbp + 0x210], eax
movzx eax, word [reloc.WS2_32.dll_gethostbyname]
mov word [rbp + 0x214], ax
cmp dword [rsp + 0x34], 1
jne 0x14001bed0
mov eax, dword [str.64_bit]
mov dword [rbp + 0x100], eax
movzx eax, word [0x1401caa84]
mov word [rbp + 0x104], ax
movzx eax, byte [0x1401caa86]
mov byte [rbp + 0x106], al
lea rax, [rsp + 0x38]
lea rdx, str.SYSTEMCurrentControlSetControlSession_ManagerMemory_Management
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x30], 0x104
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea rdx, str.PagingFiles
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x870]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, [rbp - 0x20]
xor edx, edx
mov r8d, VarUI4FromDisp
call fcn.14019ad10
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], VarUI4FromDisp
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov r9d, dword [rbp - 0x18]
mov r8d, dword [rbp - 0x1c]
lea rax, [rbp - 0xc]
lea rdx, str._d._d._d__s
lea rcx, [rbp + 0x980]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp - 0x14]
mov dword [rsp + 0x20], eax
call fcn.140197aa8
mov ecx, 0x105
mov eax, 2
mov dword [rsp + 0x30], 0x104
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.140026560
lea r8, [rsp + 0x30]
mov ecx, 7
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
lea rcx, [rbp + 0xa90]
mov rdx, rbx
call fcn.140002df0
cmp byte [rbp + 0x210], dil
jne 0x14001bfce
mov r8, rdi
jmp 0x14001bfe9
lea rax, [rbp + 0x210]
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x14001bfe0
lea rdx, [rbp + 0x210]
lea rcx, [0x140270ae0]
call fcn.140003060
cmp byte [rbp + 0xa90], dil
jne 0x14001c00a
mov r8, rdi
jmp 0x14001c01d
lea rax, [rbp + 0xa90]
mov r8, rsi
inc r8
cmp byte [rax + r8], dil
jne 0x14001c014
lea rdx, [rbp + 0xa90]
lea rcx, [0x140270b00]
call fcn.140003060
cmp byte [rbp + 0x430], dil
jne 0x14001c03e
mov r8, rdi
jmp 0x14001c059
lea rax, [rbp + 0x430]
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x14001c050
lea rdx, [rbp + 0x430]
lea rcx, [0x140270b20]
call fcn.140003060
cmp byte [rbp + 0x540], dil
jne 0x14001c07a
mov r8, rdi
jmp 0x14001c08d
lea rax, [rbp + 0x540]
mov r8, rsi
inc r8
cmp byte [rax + r8], dil
jne 0x14001c084
lea rdx, [rbp + 0x540]
lea rcx, [0x140270b40]
call fcn.140003060
cmp byte [rbp + 0x980], dil
jne 0x14001c0ae
mov r8, rdi
jmp 0x14001c0c9
lea rax, [rbp + 0x980]
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x14001c0c0
lea rdx, [rbp + 0x980]
lea rcx, [0x140270b60]
call fcn.140003060
cmp byte [rbp + 0x320], dil
jne 0x14001c0ea
mov r8, rdi
jmp 0x14001c0fd
lea rax, [rbp + 0x320]
mov r8, rsi
inc r8
cmp byte [rax + r8], dil
jne 0x14001c0f4
lea rdx, [rbp + 0x320]
lea rcx, [0x140270b80]
call fcn.140003060
cmp byte [rbp + 0x100], dil
jne 0x14001c11e
mov r8, rdi
jmp 0x14001c139
lea rax, [rbp + 0x100]
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x14001c130
lea rdx, [rbp + 0x100]
lea rcx, [0x140270ba0]
call fcn.140003060
cmp byte [rbp + 0x650], dil
jne 0x14001c15a
mov r8, rdi
jmp 0x14001c16d
lea rax, [rbp + 0x650]
mov r8, rsi
inc r8
cmp byte [rax + r8], dil
jne 0x14001c164
lea rdx, [rbp + 0x650]
lea rcx, [0x140270bc0]
call fcn.140003060
cmp byte [rbp + 0x760], dil
jne 0x14001c18e
mov r8, rdi
jmp 0x14001c1a9
lea rax, [rbp + 0x760]
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x14001c1a0
lea rdx, [rbp + 0x760]
lea rcx, [0x140270be0]
call fcn.140003060
cmp byte [rbp + 0x870], dil
jne 0x14001c1ca
mov r8, rdi
jmp 0x14001c1dd
lea rax, [rbp + 0x870]
mov r8, rsi
inc r8
cmp byte [rax + r8], dil
jne 0x14001c1d4
lea rdx, [rbp + 0x870]
lea rcx, [0x140270c00]
call fcn.140003060
cmp byte [rbp + 0x1200], dil
jne 0x14001c1fe
mov r8, rdi
jmp 0x14001c219
lea rax, [rbp + 0x1200]
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x14001c210
lea rdx, [rbp + 0x1200]
lea rcx, [0x140270c20]
call fcn.140003060
cmp byte [rbp + 0x1310], dil
jne 0x14001c23a
mov r8, rdi
jmp 0x14001c24d
lea rax, [rbp + 0x1310]
mov r8, rsi
inc r8
cmp byte [rax + r8], dil
jne 0x14001c244
lea rdx, [rbp + 0x1310]
lea rcx, [0x140270c40]
call fcn.140003060
cmp byte [rbp + 0xdc0], dil
jne 0x14001c26e
mov r8, rdi
jmp 0x14001c289
lea rax, [rbp + 0xdc0]
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x14001c280
lea rdx, [rbp + 0xdc0]
lea rcx, [0x140270c60]
call fcn.140003060
cmp byte [rbp + 0xba0], dil
jne 0x14001c2aa
mov r8, rdi
jmp 0x14001c2bd
lea rax, [rbp + 0xba0]
mov r8, rsi
inc r8
cmp byte [rax + r8], dil
jne 0x14001c2b4
lea rdx, [rbp + 0xba0]
lea rcx, [0x140270c80]
call fcn.140003060
cmp byte [rbp + 0xfe0], dil
jne 0x14001c2de
mov r8, rdi
jmp 0x14001c2f9
lea rax, [rbp + 0xfe0]
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x14001c2f0
lea rdx, [rbp + 0xfe0]
lea rcx, [0x140270ca0]
call fcn.140003060
cmp byte [rbp + 0x1420], dil
jne 0x14001c31a
mov r8, rdi
jmp 0x14001c32d
lea rax, [rbp + 0x1420]
mov r8, rsi
inc r8
cmp byte [rax + r8], dil
jne 0x14001c324
lea rdx, [rbp + 0x1420]
lea rcx, [0x140270cc0]
call fcn.140003060
cmp byte [rbp + 0xcb0], dil
jne 0x14001c34e
mov r8, rdi
jmp 0x14001c369
lea rax, [rbp + 0xcb0]
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x14001c360
lea rdx, [rbp + 0xcb0]
lea rcx, [0x140270ce0]
call fcn.140003060
cmp byte [rbp + 0xed0], dil
jne 0x14001c38a
mov r8, rdi
jmp 0x14001c39d
lea rax, [rbp + 0xed0]
mov r8, rsi
inc r8
cmp byte [rax + r8], dil
jne 0x14001c394
lea rdx, [rbp + 0xed0]
lea rcx, [0x140270d00]
call fcn.140003060
cmp byte [rbp + 0x10f0], dil
jne 0x14001c3be
mov r8, rdi
jmp 0x14001c3d9
lea rax, [rbp + 0x10f0]
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x14001c3d0
lea rdx, [rbp + 0x10f0]
lea rcx, [0x140270d20]
call fcn.140003060
cmp byte [rbp + 0x1530], dil
je 0x14001c409
lea rax, [rbp + 0x1530]
mov rdi, rsi
nop
inc rdi
cmp byte [rax + rdi], 0
jne 0x14001c400
lea rdx, [rbp + 0x1530]
lea rcx, [0x140270d40]
mov r8, rdi
call fcn.140003060
mov rcx, qword [rbp + 0x2530]
xor rcx, rsp
call fcn.14019ac00
lea r11, [rsp + 0x2640]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret