Function at 0x180009424
Capabilities:
Check os version
Get cpu information
Get disk information
Get disk size
Get hostname
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x400]
sub rsp, 0x500
mov rax, qword [0x18004e5f0]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
mov r12, rdx
mov r13, rcx
mov r8d, 0x40a
mov rcx, r12
xor edx, edx
call fcn.180019880
mov esi, 0xff
lea rcx, [rbp + 0x1a1]
xor r15d, r15d
mov r8d, esi
xor edx, edx
mov byte [rbp + 0x1a0], r15b
call fcn.180019880
lea ebx, [rsi + 1]
lea rcx, [rbp + 0x1a0]
mov r8d, ebx
xor edx, edx
mov dword [rsp + 0x48], ebx
call fcn.180019880
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x1800094d9
lea rdx, [0x18003f140]
lea rcx, [rbp + 0x1a0]
call fcn.180019fe0
lea rcx, [rbp + 0x1a0]
call fcn.18001b8d0
jmp 0x1800094dd
mov eax, dword [rsp + 0x48]
mov edi, 0x20
lea rdx, [rbp + 0x1a0]
mov rcx, r12
cmp eax, edi
cmova eax, edi
mov dword [rsp + 0x48], eax
mov byte [rbp + rax + 0x1a0], r15b
call fcn.180019fe0
lea rcx, [rbp + 0xa1]
mov r8, rsi
xor edx, edx
mov byte [rbp + 0xa0], r15b
call fcn.180019880
lea rcx, [rbp + 0xa0]
mov r8, rbx
xor edx, edx
mov dword [rsp + 0x44], ebx
call fcn.180019880
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
je 0x18000959d
lea rdx, [0x18003f120]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp + 0xa0]
test rax, rax
je 0x180009572
lea rdx, [rsp + 0x44]
call rax
test eax, eax
jne 0x18000958e
lea rcx, [rbp + 0xa0]
lea rdx, [0x18003f110]
call fcn.180019fe0
lea rcx, [rbp + 0xa0]
call fcn.18001b8d0
mov dword [rsp + 0x44], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [rsp + 0x44]
jmp 0x1800095bc
lea rdx, [0x18003f110]
lea rcx, [rbp + 0xa0]
call fcn.180019fe0
lea rcx, [rbp + 0xa0]
call fcn.18001b8d0
cmp eax, edi
lea rcx, [r12 + 0x20]
lea rdx, [rbp + 0xa0]
cmova eax, edi
mov dword [rsp + 0x44], eax
mov byte [rbp + rax + 0xa0], r15b
call fcn.180019fe0
mov r14d, 0x50
lea rcx, [r12 + 0x40]
mov r8d, r14d
xor edx, edx
call fcn.180019880
lea edi, [r14 + 0x4c]
lea rcx, [rbp - 0x80]
mov r8d, edi
xor edx, edx
call fcn.180019880
mov dword [rbp - 0x80], edi
lea rcx, [rbp - 0x80]
mov dil, 1
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
mov esi, eax
test eax, eax
jne 0x180009644
lea rcx, [rbp - 0x80]
mov dword [rbp - 0x80], 0x94
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x180009644
lea rdx, [0x18003f0f8]
lea rcx, [r12 + 0x40]
mov dil, r15b
call fcn.180019f40
xor eax, eax
lea rdx, str._64_Bit
lea rcx, [rbp + 0x30]
mov byte [rbp + 0x30], r15b
mov qword [rbp + 0x31], rax
mov byte [rbp + 0x39], al
call fcn.180019fe0
test dil, dil
je 0x1800098a8
mov eax, dword [rbp - 0x70]
dec eax
je 0x180009814
dec eax
je 0x180009685
lea rdx, [0x18003f0d8]
jmp 0x18000989e
cmp dword [rbp - 0x7c], 4
ja 0x180009694
lea rdx, str.Microsoft_Windows_NT
jmp 0x1800096c5
cmp dword [rbp - 0x7c], 5
jne 0x1800096cf
cmp dword [rbp - 0x78], r15d
jne 0x1800096a9
lea rdx, str.Microsoft_Windows_2000
jmp 0x1800096c5
cmp dword [rbp - 0x78], 1
jne 0x1800096b8
lea rdx, str.Microsoft_Windows_XP
jmp 0x1800096c5
cmp dword [rbp - 0x78], 2
jne 0x1800096cf
lea rdx, str.Microsoft_Windows_2003
lea rcx, [r12 + 0x40]
call fcn.180019f40
test esi, esi
je 0x180009746
mov al, byte [rbp + 0x1a]
cmp al, 1
jne 0x180009710
cmp dword [rbp - 0x7c], 6
jne 0x180009702
cmp dword [rbp - 0x78], r15d
jne 0x1800096ef
lea rdx, str.Windows_Vista_
jmp 0x180009709
cmp dword [rbp - 0x78], 1
jne 0x1800097ed
lea rdx, str.Windows_7_
jmp 0x180009709
lea rdx, str.Professional_
lea rcx, [r12 + 0x40]
jmp 0x18000973f
cmp al, 3
jne 0x1800097a6
mov al, byte [rbp + 0x18]
lea rcx, [r12 + 0x40]
test al, al
jns 0x18000972d
lea rdx, str.DataCenter_Server_
jmp 0x18000973f
lea rdx, str.Advanced_Server_
test al, 2
jne 0x18000973f
lea rdx, str.Server_
call fcn.180019f40
jmp 0x1800097a6
lea rax, [rsp + 0x60]
lea rdx, str.SYSTEMCurrentControlSetControlProductOptions
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0x60]
lea r11, [rsp + 0x4c]
lea rax, [rbp + 0x3a0]
mov qword [rsp + 0x28], r11
lea rdx, str.ProductType
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8d, dword [rbp - 0x7c]
cmp r8d, 4
ja 0x1800097ed
movzx eax, word [rbp - 0x74]
mov r9d, dword [rbp - 0x78]
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x6c]
lea rdx, str.version__d._d__s__Build__d___s_n
lea rcx, [rbp + 0x2a0]
mov qword [rsp + 0x20], rax
call fcn.18001e530
lea rdx, [rbp + 0x2a0]
jmp 0x18000989e
movzx r9d, word [rbp - 0x74]
lea rax, [rbp + 0x30]
lea r8, [rbp - 0x6c]
lea rdx, str._s__Build__d___s_n
lea rcx, [rbp + 0x2a0]
mov qword [rsp + 0x20], rax
call fcn.18001e530
jmp 0x1800097e1
cmp dword [rbp - 0x7c], 4
jne 0x1800098a8
mov eax, dword [rbp - 0x78]
test eax, eax
jne 0x18000985c
lea rdx, str.Microsoft_Windows_95
lea rcx, [r12 + 0x40]
call fcn.180019f40
cmp byte [rbp - 0x6b], 0x43
je 0x180009842
cmp byte [rbp - 0x6b], 0x42
jne 0x180009853
lea rdx, str.OSR2
lea rcx, [r12 + 0x40]
call fcn.180019f40
cmp dword [rbp - 0x7c], 4
jne 0x1800098a8
mov eax, dword [rbp - 0x78]
cmp eax, 0xa
jne 0x180009892
lea rdx, str.Microsoft_Windows_98
lea rcx, [r12 + 0x40]
call fcn.180019f40
cmp byte [rbp - 0x6b], 0x41
jne 0x180009889
lea rdx, [0x18003ef50]
lea rcx, [r12 + 0x40]
call fcn.180019f40
cmp dword [rbp - 0x7c], 4
jne 0x1800098a8
mov eax, dword [rbp - 0x78]
cmp eax, 0x5a
jne 0x1800098a8
lea rdx, str.Microsoft_Windows_Me
lea rcx, [r12 + 0x40]
call fcn.180019f40
lea rcx, [r12 + 0x40]
call fcn.18001b8d0
cmp eax, r14d
jle 0x1800098bf
mov byte [r12 + 0x8f], r15b
lea rcx, [r12 + 0x90]
mov r8, r14
xor edx, edx
call fcn.180019880
lea rax, [rsp + 0x58]
lea rdx, str.HARDWAREDESCRIPTIONSystemCentralProcessor0
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], r14d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0x58]
lea r11, [rsp + 0x40]
lea rax, [rbp + 0x50]
mov qword [rsp + 0x28], r11
lea rdx, str.VendorIdentifier
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov r11d, dword [rsp + 0x40]
lea rdx, [rbp + 0x50]
lea rcx, [r12 + 0x90]
mov byte [rbp + r11 + 0x50], r15b
call fcn.180019f40
lea rdx, [0x18003df68]
lea rcx, [r12 + 0x90]
call fcn.180019f40
lea rcx, [rbp + 0x50]
mov r8, r14
xor edx, edx
call fcn.180019880
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x50]
lea rdx, str.Identifier
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov r11d, dword [rsp + 0x40]
lea rdx, [rbp + 0x50]
lea rcx, [r12 + 0x90]
mov byte [rbp + r11 + 0x50], r15b
call fcn.180019f40
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
lea rdx, str.MHz
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x40], 8
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov r8d, dword [rsp + 0x50]
test eax, eax
lea rdx, str.__dMHz
lea rcx, [rbp + 0x40]
cmovne r8d, r15d
mov dword [rsp + 0x50], r8d
call fcn.18001e530
lea rdx, [rbp + 0x40]
lea rcx, [r12 + 0x90]
call fcn.180019f40
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [r12 + 0x90]
call fcn.18001b8d0
cmp eax, r14d
jle 0x180009a3a
mov byte [r12 + 0xdf], r15b
lea rcx, [r12 + 0xe0]
mov r8, r14
xor edx, edx
call fcn.180019880
mov r14, r15
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [rsp + 0x4c], eax
test eax, eax
jne 0x180009a71
lea rdx, [0x18003eeb8]
lea rcx, [r12 + 0xe0]
jmp 0x180009b57
xor edi, edi
mov ecx, edi
shr eax, cl
test eax, eax
je 0x180009b10
test al, 1
je 0x180009b00
lea eax, [rdi + 0x41]
lea rcx, [r12 + 0xe0]
mov word [rbp + 0x21], 0x5c3a
mov byte [rbp + 0x20], al
mov byte [rbp + 0x23], 0
call fcn.18001b8d0
lea rcx, [rbp + 0x20]
mov rbx, rax
call fcn.18001b8d0
add rbx, rax
cmp rbx, 0x50
jae 0x180009ac6
lea rdx, [rbp + 0x20]
lea rcx, [r12 + 0xe0]
call fcn.180019f40
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x180009b00
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x180009a5d
add r14, qword [rsp + 0x68]
add r15, qword [rsp + 0x70]
inc edi
cmp edi, 0x1a
jge 0x180009b10
mov eax, dword [rsp + 0x4c]
jmp 0x180009a73
mov ecx, 0x3fffffff
mov rax, r15
cqo
and rdx, rcx
lea r9, [rdx + rax]
mov rax, r14
cqo
sar r9, 0x1e
and rdx, rcx
lea rcx, [rbp + 0x2a0]
lea r8, [rdx + rax]
lea rdx, [0x18003ee90]
sar r8, 0x1e
call fcn.18001e530
lea rcx, [r12 + 0x130]
lea rdx, [rbp + 0x2a0]
call fcn.180019f40
lea rcx, [r12 + 0x130]
call fcn.18001b8d0
cmp eax, 0x50
jle 0x180009b77
mov byte [r12 + 0x17f], 0
lea rcx, [r13 + 0x13c]
call fcn.18000d0b0
xor r14d, r14d
mov eax, dword [r13 + 0x140]
mov ecx, 5
cmp eax, ecx
cmovl ecx, eax
cmp r14d, ecx
jge 0x180009c3a
movsxd rbx, r14d
mov r8d, 6
mov rsi, rbx
mov rdi, rbx
imul rsi, rsi, 0x306
imul rdi, rdi, 0x56
lea rdx, [rsi + r13 + 0x26c]
lea rcx, [rdi + r12 + 0x180]
call fcn.18001b580
lea r8, [rbx + 5]
lea rdx, [rsi + r13 + 0x272]
imul r8, r8, 0x56
mov rcx, r13
add r8, r12
call fcn.1800071ac
lea r8, [rdi + r12 + 0x1c2]
lea rdx, [rsi + r13 + 0x3f2]
mov rcx, r13
call fcn.1800071ac
lea r8, [rdi + r12 + 0x186]
lea rdx, [rsi + r13 + 0x2f2]
mov rcx, r13
call fcn.1800071ac
lea r8, [rdi + r12 + 0x19a]
lea rdx, [rsi + r13 + 0x372]
mov rcx, r13
call fcn.1800071ac
inc r14d
jmp 0x180009b86
lea rcx, [r12 + 0x32e]
call fcn.1800088fc
lea rdx, [r13 + 0x31]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [r13 + 0x31]
mov edx, 0x5c
call fcn.18001e77c
test rax, rax
je 0x180009c71
inc rax
jmp 0x180009c75
lea rax, [r13 + 0x31]
mov ebx, 0x27
lea rcx, [r12 + 0x392]
mov rdx, rax
mov r8d, ebx
call fcn.18001b990
lea rdx, [r13 + 0x2128]
lea rcx, [r12 + 0x3ba]
mov r8d, ebx
mov byte [r12 + 0x3b9], 0
call fcn.18001b990
lea rdx, [r13 + 0x2150]
lea rcx, [r12 + 0x3e2]
mov r8d, ebx
call fcn.18001b990
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.180019850
mov rbx, qword [rsp + 0x550]
add rsp, 0x500
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret