Function at 0x14001bc80
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.14019a9c0
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.14019ab30
lea rcx, [rbp + 0xa98]
xor edx, edx
mov r8d, 0xfc
mov qword [rbp + 0xa90], rbx
call fcn.14019ab30
lea rcx, [rbp + 0x328]
xor edx, edx
mov r8d, 0xfc
mov qword [rbp + 0x320], rbx
call fcn.14019ab30
lea rcx, [rbp + 0x548]
xor edx, edx
mov r8d, 0xfc
mov qword [rbp + 0x540], rbx
call fcn.14019ab30
lea rcx, [rbp + 0x438]
xor edx, edx
mov r8d, 0xfc
mov qword [rbp + 0x430], rbx
call fcn.14019ab30
lea rcx, [rbp + 0x988]
xor edx, edx
mov r8d, 0xfc
mov qword [rbp + 0x980], rbx
call fcn.14019ab30
lea rcx, [rbp + 0x108]
xor edx, edx
mov r8d, 0xfc
mov qword [rbp + 0x100], rbx
call fcn.14019ab30
lea rcx, [rbp + 0x658]
xor edx, edx
mov r8d, 0xfc
mov qword [rbp + 0x650], rbx
call fcn.14019ab30
lea rcx, [rbp + 0x768]
xor edx, edx
mov r8d, 0xfc
mov qword [rbp + 0x760], rbx
call fcn.14019ab30
lea rcx, [rbp + 0x878]
xor edx, edx
mov r8d, 0xfc
mov qword [rbp + 0x870], rbx
call fcn.14019ab30
lea rcx, [rbp + 0x1208]
xor edx, edx
mov r8d, 0xfc
mov qword [rbp + 0x1200], rbx
call fcn.14019ab30
lea rcx, [rbp + 0x1314]
xor edx, edx
mov r8d, 0x100
mov dword [rbp + 0x1310], 0x412f4e
call fcn.14019ab30
lea rcx, [rbp + 0xdc4]
xor edx, edx
mov r8d, 0x100
mov dword [rbp + 0xdc0], 0x412f4e
call fcn.14019ab30
lea rcx, [rbp + 0xba4]
xor edx, edx
mov r8d, 0x100
mov dword [rbp + 0xba0], 0x412f4e
call fcn.14019ab30
lea rcx, [rbp + 0xfe4]
xor edx, edx
mov r8d, 0x100
mov dword [rbp + 0xfe0], 0x412f4e
call fcn.14019ab30
lea rcx, [rbp + 0x1424]
xor edx, edx
mov r8d, 0x100
mov dword [rbp + 0x1420], 0x412f4e
call fcn.14019ab30
lea rcx, [rbp + 0xcb4]
xor edx, edx
mov r8d, 0x100
mov dword [rbp + 0xcb0], 0x412f4e
call fcn.14019ab30
lea rcx, [rbp + 0xed4]
xor edx, edx
mov r8d, 0x100
mov dword [rbp + 0xed0], 0x412f4e
call fcn.14019ab30
lea rcx, [rbp + 0x10f4]
xor edx, edx
mov r8d, 0x100
mov dword [rbp + 0x10f0], 0x412f4e
call fcn.14019ab30
lea rcx, [rbp + 0x1538]
xor edx, edx
mov r8d, 0xff8
mov qword [rbp + 0x1530], rbx
call fcn.14019ab30
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.1401992f4
lea rcx, [rbp + 0x1530]
mov byte [rax + 1], dil
dec rcx
cmp byte [rcx + 1], dil
lea rcx, [rcx + 1]
jne 0x14001bf36
movzx eax, word [0x1401ca8ac]
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 0x14001bf60
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 0x14001bf90
movzx eax, word [0x1401ca8ac]
mov word [rcx], ax
lea rcx, [rbp + 0x1530]
mov rax, rsi
nop
inc rax
cmp byte [rcx + rax], dil
jne 0x14001bfb0
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 0x14001bfe0
movzx eax, word [0x1401ca8ac]
mov word [rcx], ax
lea rcx, [rbp + 0x1530]
mov rax, rsi
nop
inc rax
cmp byte [rcx + rax], dil
jne 0x14001c000
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 0x14001c030
movzx eax, word [0x1401ca8ac]
mov word [rcx], ax
lea rcx, [rbp + 0x1530]
mov rax, rsi
nop
inc rax
cmp byte [rcx + rax], dil
jne 0x14001c050
lea rcx, str.PATH
sub rbx, rax
call fcn.140198258
mov rcx, rsi
mov r9, rax
nop
inc rcx
cmp byte [rax + rcx], dil
jne 0x14001c070
cmp rbx, rcx
lea rcx, [rbp + 0x1530]
jb 0x14001c0b3
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], dil
lea rcx, [rcx + 1]
jne 0x14001c090
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 0x14001c0a0
jmp 0x14001c0bf
lea r8, [rbx - 1]
mov rdx, rax
call fcn.140198f50
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.140197bf8
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 0x14001c116
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
jmp 0x14001c11c
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 [0x1401cb0a0]
movq r8, xmm2
call fcn.140197bf8
movzx ecx, word [rsp + 0x40]
mov eax, 0x363878
cmp cx, 6
jne 0x14001c177
mov eax, dword [str.ia64]
mov dword [rbp + 0x430], eax
movzx eax, byte [0x1401ca8c8]
mov byte [rbp + 0x434], al
jmp 0x14001c189
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.140197bf8
mov dword [rsp + 0x30], 0x104
lea rcx, [rbp + 0x320]
mov rax, rsi
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], dil
jne 0x14001c210
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, [0x1401ca8c0]
mov dword [rbp + 0x210], eax
movzx eax, word [0x1401ca97c]
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 [0x1401ca984]
mov word [rbp + 0x104], ax
movzx eax, byte [0x1401ca986]
mov byte [rbp + 0x106], al
call fcn.140199100
test eax, eax
je 0x14001c2c2
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 0x14001c2f0
mov eax, dword [str.64_bit]
mov dword [rbp + 0x100], eax
movzx eax, word [0x1401ca994]
mov word [rbp + 0x104], ax
movzx eax, byte [0x1401ca996]
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.14019ab30
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.140197bf8
mov ecx, 0x105
mov eax, 2
mov dword [rsp + 0x30], 0x104
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.1400266b8
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 0x14001c3ee
mov r8, rdi
jmp 0x14001c409
lea rax, [rbp + 0x210]
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x14001c400
lea rdx, [rbp + 0x210]
lea rcx, [0x140270b20]
call fcn.140003060
cmp byte [rbp + 0xa90], dil
jne 0x14001c42a
mov r8, rdi
jmp 0x14001c43d
lea rax, [rbp + 0xa90]
mov r8, rsi
inc r8
cmp byte [rax + r8], dil
jne 0x14001c434
lea rdx, [rbp + 0xa90]
lea rcx, [0x140270b40]
call fcn.140003060
cmp byte [rbp + 0x430], dil
jne 0x14001c45e
mov r8, rdi
jmp 0x14001c479
lea rax, [rbp + 0x430]
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x14001c470
lea rdx, [rbp + 0x430]
lea rcx, [0x140270b60]
call fcn.140003060
cmp byte [rbp + 0x540], dil
jne 0x14001c49a
mov r8, rdi
jmp 0x14001c4ad
lea rax, [rbp + 0x540]
mov r8, rsi
inc r8
cmp byte [rax + r8], dil
jne 0x14001c4a4
lea rdx, [rbp + 0x540]
lea rcx, [0x140270b80]
call fcn.140003060
cmp byte [rbp + 0x980], dil
jne 0x14001c4ce
mov r8, rdi
jmp 0x14001c4e9
lea rax, [rbp + 0x980]
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x14001c4e0
lea rdx, [rbp + 0x980]
lea rcx, [0x140270ba0]
call fcn.140003060
cmp byte [rbp + 0x320], dil
jne 0x14001c50a
mov r8, rdi
jmp 0x14001c51d
lea rax, [rbp + 0x320]
mov r8, rsi
inc r8
cmp byte [rax + r8], dil
jne 0x14001c514
lea rdx, [rbp + 0x320]
lea rcx, [0x140270bc0]
call fcn.140003060
cmp byte [rbp + 0x100], dil
jne 0x14001c53e
mov r8, rdi
jmp 0x14001c559
lea rax, [rbp + 0x100]
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x14001c550
lea rdx, [rbp + 0x100]
lea rcx, [0x140270be0]
call fcn.140003060
cmp byte [rbp + 0x650], dil
jne 0x14001c57a
mov r8, rdi
jmp 0x14001c58d
lea rax, [rbp + 0x650]
mov r8, rsi
inc r8
cmp byte [rax + r8], dil
jne 0x14001c584
lea rdx, [rbp + 0x650]
lea rcx, [0x140270c00]
call fcn.140003060
cmp byte [rbp + 0x760], dil
jne 0x14001c5ae
mov r8, rdi
jmp 0x14001c5c9
lea rax, [rbp + 0x760]
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x14001c5c0
lea rdx, [rbp + 0x760]
lea rcx, [0x140270c20]
call fcn.140003060
cmp byte [rbp + 0x870], dil
jne 0x14001c5ea
mov r8, rdi
jmp 0x14001c5fd
lea rax, [rbp + 0x870]
mov r8, rsi
inc r8
cmp byte [rax + r8], dil
jne 0x14001c5f4
lea rdx, [rbp + 0x870]
lea rcx, [0x140270c40]
call fcn.140003060
cmp byte [rbp + 0x1200], dil
jne 0x14001c61e
mov r8, rdi
jmp 0x14001c639
lea rax, [rbp + 0x1200]
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x14001c630
lea rdx, [rbp + 0x1200]
lea rcx, [0x140270c60]
call fcn.140003060
cmp byte [rbp + 0x1310], dil
jne 0x14001c65a
mov r8, rdi
jmp 0x14001c66d
lea rax, [rbp + 0x1310]
mov r8, rsi
inc r8
cmp byte [rax + r8], dil
jne 0x14001c664
lea rdx, [rbp + 0x1310]
lea rcx, [0x140270c80]
call fcn.140003060
cmp byte [rbp + 0xdc0], dil
jne 0x14001c68e
mov r8, rdi
jmp 0x14001c6a9
lea rax, [rbp + 0xdc0]
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x14001c6a0
lea rdx, [rbp + 0xdc0]
lea rcx, [0x140270ca0]
call fcn.140003060
cmp byte [rbp + 0xba0], dil
jne 0x14001c6ca
mov r8, rdi
jmp 0x14001c6dd
lea rax, [rbp + 0xba0]
mov r8, rsi
inc r8
cmp byte [rax + r8], dil
jne 0x14001c6d4
lea rdx, [rbp + 0xba0]
lea rcx, [0x140270cc0]
call fcn.140003060
cmp byte [rbp + 0xfe0], dil
jne 0x14001c6fe
mov r8, rdi
jmp 0x14001c719
lea rax, [rbp + 0xfe0]
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x14001c710
lea rdx, [rbp + 0xfe0]
lea rcx, [0x140270ce0]
call fcn.140003060
cmp byte [rbp + 0x1420], dil
jne 0x14001c73a
mov r8, rdi
jmp 0x14001c74d
lea rax, [rbp + 0x1420]
mov r8, rsi
inc r8
cmp byte [rax + r8], dil
jne 0x14001c744
lea rdx, [rbp + 0x1420]
lea rcx, [0x140270d00]
call fcn.140003060
cmp byte [rbp + 0xcb0], dil
jne 0x14001c76e
mov r8, rdi
jmp 0x14001c789
lea rax, [rbp + 0xcb0]
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x14001c780
lea rdx, [rbp + 0xcb0]
lea rcx, [0x140270d20]
call fcn.140003060
cmp byte [rbp + 0xed0], dil
jne 0x14001c7aa
mov r8, rdi
jmp 0x14001c7bd
lea rax, [rbp + 0xed0]
mov r8, rsi
inc r8
cmp byte [rax + r8], dil
jne 0x14001c7b4
lea rdx, [rbp + 0xed0]
lea rcx, [0x140270d40]
call fcn.140003060
cmp byte [rbp + 0x10f0], dil
jne 0x14001c7de
mov r8, rdi
jmp 0x14001c7f9
lea rax, [rbp + 0x10f0]
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x14001c7f0
lea rdx, [rbp + 0x10f0]
lea rcx, [0x140270d60]
call fcn.140003060
cmp byte [rbp + 0x1530], dil
je 0x14001c829
lea rax, [rbp + 0x1530]
mov rdi, rsi
nop
inc rdi
cmp byte [rax + rdi], 0
jne 0x14001c820
lea rdx, [rbp + 0x1530]
lea rcx, [0x140270d80]
mov r8, rdi
call fcn.140003060
mov rcx, qword [rbp + 0x2530]
xor rcx, rsp
call fcn.14019aa20
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