Function at 0x1400865e4
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x388]
sub rsp, 0x460
mov rax, qword [0x140422d38]
xor rax, rsp
mov qword [rbp + 0x350], rax
mov rdi, qword [rbp + 0x3c0]
xor r13d, r13d
mov r15, qword [rbp + 0x3c8]
mov rbx, rcx
lea rcx, [rbp + 0x110]
mov qword [rbp + 0x78], rdi
mov qword [rbp + 0x80], r15
mov r12d, r9d
mov qword [rsp + 0x40], r13
mov rsi, r8
mov qword [rbp + 0x38], r13
mov r14d, edx
mov qword [rbp + 0x30], r13
mov qword [rbp + 0x28], r13
mov qword [rbp + 0x20], r13
call fcn.14007115c
lea rcx, [rbp + 0xb0]
mov qword [rbp + 0x88], r13
mov dword [rbp + 0x90], r13d
mov qword [rbp + 0x18], r13
mov qword [rbp + 0x10], r13
call fcn.1400719d8
xor eax, eax
mov qword [rsp + 0x38], r13
lea rcx, [rbp - 0x30]
mov dword [rbp + 0x2ad], eax
mov word [rbp + 0x2b1], ax
mov byte [rbp + 0x2b3], al
mov qword [rbp + 8], r13
mov qword [rbp], r13
mov qword [rbp - 8], r13
mov qword [rbp - 0x10], r13
mov dword [rbp + 0x290], 0x1000200
mov dword [rbp + 0x294], 0x5020001
mov dword [rbp + 0x298], 0x10300
mov dword [rbp + 0x29c], 0x6000204
mov dword [rbp + 0x2a0], 0x7080001
mov dword [rbp + 0x2a4], 0x30900
mov dword [rbp + 0x2a8], 0xc00010a
mov byte [rbp + 0x2ac], 7
call fcn.140106d10
mov qword [rbp - 0x18], r13
lea rax, str.Volume:GVLK
mov qword [rbp + 0xa0], rax
lea rax, str.Retail:TB:Eval
mov qword [rbp + 0xa8], rax
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x68], r13
test rsi, rsi
jne 0x14008673d
mov ecx, 0x80070057
jmp 0x1400870da
test rdi, rdi
je 0x140086733
test r15, r15
je 0x140086733
mov rax, qword [rbx + 0x28]
test rax, rax
je 0x1400870d5
mov qword [rbp + 0x30], rax
lock inc dword [rax]
mov rcx, qword [rbx + 0x28]
call fcn.140085d3c
mov rdi, qword [rbp + 0x30]
lea rax, [0x14001b000]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x48]
mov qword [rbx + 0x28], r13
lea rax, [rbp - 0x60]
mov qword [rsp + 0x58], rax
mov ebx, 3
mov dword [rsp + 0x78], r14d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x70], rsi
xor r9d, r9d
mov qword [rbp - 0x80], rax
mov r15d, 0xc004c600
lea r14d, [rbx + 0x45]
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x60], rdi
lea esi, [r14 + 0x71]
mov qword [rbp - 0x78], rax
mov r8d, r14d
mov dword [rsp + 0x68], r13d
mov ecx, esi
call sub.ntdll.dll_NtQuerySystemInformation
mov r13d, dword [rbp - 0x60]
test r13d, r13d
js 0x1400868bd
mov eax, dword [rsp + 0x30]
lea rdx, [rbp + 0x28]
mov dword [rbp + 0x68], eax
lea rcx, [rbp + 0x60]
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x60], rax
call fcn.140077458
mov esi, eax
test eax, eax
jns 0x140086808
mov ecx, eax
jmp 0x1400870dc
mov rax, qword [rbp + 0x28]
lea rdx, [0x140426784]
lea rcx, [0x140407de8]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x48], rbx
call fcn.14006c510
lea rax, [0x14001f440]
mov esi, 0xb9
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x48]
lea rax, [rbp - 0x5c]
xor r9d, r9d
mov qword [rsp + 0x58], rax
mov r8, r14
lea rax, [rbp + 0x20]
mov ecx, esi
mov qword [rsp + 0x68], rax
call sub.ntdll.dll_NtQuerySystemInformation
cmp dword [rbp - 0x5c], 0
jl 0x140086869
xor r15d, r15d
jmp 0x1400868ba
mov rax, qword [rsp + 0x40]
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x60], rax
xor r9d, r9d
lea rax, [0x14001ea80]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rax
mov r8, r14
lea rax, [rbp - 0x58]
mov rcx, rsi
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x68], eax
call sub.ntdll.dll_NtQuerySystemInformation
mov r15d, dword [rbp - 0x58]
mov ecx, 0x80004005
cmp r15d, ecx
je 0x1400870da
mov r13d, r15d
mov rax, qword [0x14042ae50]
lea rcx, [rbp + 0x88]
mov qword [rbp + 0x60], rax
lea rdx, [rax + 8]
call fcn.140083630
cmp qword [rdi + 8], 0
je 0x140087092
mov rax, qword [rdi + 8]
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x60], rax
xor r9d, r9d
lea rax, [0x14001d3c0]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rax
mov r8, r14
lea rax, [rbp - 0x54]
mov rcx, rsi
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0x110]
mov qword [rsp + 0x68], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov esi, dword [rbp - 0x54]
cmp esi, 0xc004f012
jne 0x14008693c
mov esi, 0xc004f015
mov ecx, esi
jmp 0x1400870dc
test esi, esi
js 0x140086935
test r15d, r15d
js 0x140086a23
mov rax, qword [rbp + 0x3b0]
test rax, rax
je 0x140086a23
and dword [rsp + 0x68], 0
lea rcx, [0x14001b000]
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x50], rcx
lea rax, [rbp + 0x38]
lea rcx, [rbp - 0x50]
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x58], rcx
lea rax, [rbp - 0x4c]
mov esi, 0xb9
mov qword [rsp + 0x48], rbx
mov ecx, esi
mov qword [rsp + 0x60], rdi
xor r9d, r9d
mov dword [rsp + 0x78], r12d
mov r8, r14
mov qword [rbp - 0x78], rax
call sub.ntdll.dll_NtQuerySystemInformation
cmp dword [rbp - 0x50], 0
jl 0x1400869fc
mov rax, qword [rbp + 0x38]
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x68], rax
xor r9d, r9d
lea rax, [0x14001dd80]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rax
mov r8, r14
lea rax, [rbp + 0x70]
mov ecx, esi
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0x110]
mov qword [rsp + 0x60], rax
mov eax, dword [rbp - 0x4c]
mov dword [rsp + 0x70], eax
call sub.ntdll.dll_NtQuerySystemInformation
mov rcx, qword [rbp + 0x20]
lea rdx, [rbp + 0xb0]
call fcn.14007f9f0
test eax, eax
js 0x140086a23
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x110]
call fcn.14008eadc
mov r14d, 1
lea rdx, [rbp + 0x110]
lea rcx, [0x1403b6850]
mov r12d, r14d
call fcn.140083180
test eax, eax
je 0x140086b53
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x110]
call fcn.140076864
mov esi, eax
test eax, eax
js 0x140086801
mov rsi, qword [0x14042aec8]
lea rdx, [0x140425cf0]
lea rcx, [0x14040afb8]
call fcn.14006c890
mov rax, qword [rsi]
mov rbx, qword [rax + 0x130]
mov rcx, rbx
call qword [0x1403b0a10]
mov rdx, qword [rbp - 0x20]
lea rax, [rbp - 0x68]
mov r9d, r14d
mov qword [rsp + 0x20], rax
mov r8d, r14d
mov rcx, rsi
call rbx
mov esi, eax
test eax, eax
js 0x140086801
mov rbx, qword [rbp - 0x68]
mov rax, qword [rbx]
mov rsi, qword [rax + 0x18]
mov rcx, rsi
call qword [0x1403b0a10]
lea rdx, [rbp - 0x48]
mov rcx, rbx
call rsi
mov esi, eax
test eax, eax
js 0x140086801
cmp dword [rbp - 0x48], r14d
je 0x140086ae7
mov esi, 0x8000ffff
jmp 0x140086935
mov rbx, qword [rbp - 0x68]
mov rax, qword [rbx]
mov rsi, qword [rax + 0x20]
mov rcx, rsi
call qword [0x1403b0a10]
lea r8, [rbp + 0xe8]
xor edx, edx
mov rcx, rbx
call rsi
mov esi, eax
test eax, eax
js 0x140086801
xor ebx, ebx
lea r14, [rbp + 0xa0]
mov rdx, qword [r14]
lea r8, [rbp - 0x70]
mov rcx, qword [rbp + 0xf8]
and dword [rbp - 0x70], 0
call fcn.140100000
mov esi, eax
test eax, eax
js 0x140086801
cmp dword [rbp - 0x70], 0
jne 0x140086b50
inc ebx
add r14, 8
cmp ebx, 2
jb 0x140086b1c
jmp 0x140086b53
xor r12d, r12d
test r15d, r15d
js 0x140086f15
test r12d, r12d
je 0x140086f15
mov r14, qword [0x14042ae90]
mov rbx, qword [r14]
call fcn.140080874
mov rcx, qword [rbx + 0x28]
mov rsi, rax
call qword [0x1403b0a10]
lea rax, [rsp + 0x38]
mov rdx, rsi
lea r9, [0x1403b7850]
mov qword [rsp + 0x20], rax
lea r8, str.msft:rm_algorithm_hwid_4.0
mov rcx, r14
call qword [rbx + 0x28]
xor r12d, r12d
mov esi, eax
test eax, eax
js 0x140086801
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
mov rsi, qword [rax + 0x60]
mov rcx, rsi
call qword [0x1403b0a10]
mov rcx, rbx
call rsi
mov esi, eax
test eax, eax
js 0x140086801
mov rbx, qword [rsp + 0x38]
lea rax, str.SppHwidBindingPolicyTolerance
mov qword [rbp + 0x40], rax
lea r14d, [r12 + 1]
mov dword [rbp + 0x48], r14d
mov dword [rbp + 0x50], SafeArrayGetElement
mov rax, qword [rbx]
mov rsi, qword [rax + 0x48]
mov rcx, rsi
call qword [0x1403b0a10]
mov r8d, r14d
lea rdx, [rbp + 0x40]
mov rcx, rbx
call rsi
mov esi, eax
test eax, eax
js 0x140086801
mov rbx, qword [rsp + 0x38]
lea rax, str.SppHwidBindingPolicyTimeWeightVector
mov qword [rbp + 0x40], rax
lea rax, [rbp + 0x290]
mov qword [rbp + 0x50], rax
mov dword [rbp + 0x48], 4
mov dword [rbp + 0x58], 0x24
mov rax, qword [rbx]
mov rsi, qword [rax + 0x48]
mov rcx, rsi
call qword [0x1403b0a10]
mov r8d, r14d
lea rdx, [rbp + 0x40]
mov rcx, rbx
call rsi
mov esi, eax
test eax, eax
js 0x140086801
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
mov rsi, qword [rax + 0x30]
mov rcx, rsi
call qword [0x1403b0a10]
lea r8, [rbp + 0xc8]
mov rcx, rbx
lea rdx, str.SppBindingLicenseData
call rsi
mov esi, eax
test eax, eax
js 0x140086801
mov edx, dword [rbp + 0xe0]
lea r9, [rbp + 8]
mov rcx, qword [rbp + 0xd8]
call fcn.140074a10
mov esi, eax
test eax, eax
js 0x140086801
lea rdx, [0x140426c3c]
lea rcx, [0x140404d80]
call fcn.14006cc00
mov r8, qword [rbp + 8]
lea rdx, str.Hwid_s_
lea rcx, [rbp - 0x30]
call fcn.14007408c
mov esi, eax
test eax, eax
js 0x140086801
lea r9, [rbp + 0x2c0]
mov dword [rbp - 0x44], 0x41
lea r8, [rbp - 0x44]
xor ecx, ecx
call fcn.1401bd2bc
mov esi, eax
test eax, eax
js 0x140086801
lea r8, [rbp + 0x2c0]
lea rdx, str.Pfn_s_
lea rcx, [rbp - 0x30]
call fcn.14007408c
mov esi, eax
test eax, eax
js 0x140086801
lea rcx, [rbp + 0x170]
mov dword [rbp + 0x170], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x140086d5e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140075438
mov esi, eax
jmp 0x140086801
mov eax, dword [rbp + 0x180]
lea rdx, str.OSMajorVersion_d_OSMinorVersion_d_OSPlatformId_d_
mov r9d, dword [rbp + 0x178]
lea rcx, [rbp - 0x30]
mov r8d, dword [rbp + 0x174]
mov dword [rsp + 0x20], eax
call fcn.14007408c
mov esi, eax
test eax, eax
js 0x140086801
call fcn.140083274
mov r8d, eax
lea rdx, str.PP_d_
lea rcx, [rbp - 0x30]
call fcn.14007408c
mov esi, eax
test eax, eax
js 0x140086801
mov edx, dword [rbp - 0x28]
lea r9, [rbp - 0x18]
mov rcx, qword [rbp - 0x30]
lea edx, [rdx*2 + 2]
call fcn.140074a10
mov esi, eax
test eax, eax
js 0x140086801
mov r8, qword [rbp - 0x18]
lea rdx, str.SL_GET_GENUINE_AUTHZ:_s
lea rcx, [rbp]
call fcn.14008e590
mov esi, eax
test eax, eax
js 0x140086801
mov rsi, qword [0x14042aed0]
mov rax, qword [rsi]
mov rbx, qword [rax + 0x20]
mov rcx, rbx
call qword [0x1403b0a10]
mov r8, qword [rbp]
lea rax, [rbp - 8]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x98]
lea rax, [rbp - 0x40]
mov rcx, rsi
lea rdx, [0x1403b6850]
mov qword [rsp + 0x20], rax
call rbx
mov esi, eax
test eax, eax
js 0x140086801
lea r8, [rbp - 0x10]
xor edx, edx
lea rcx, [0x1403b8128]
call fcn.14009bcc8
mov esi, eax
test eax, eax
js 0x140086801
lea r8, [rbp + 0x2c0]
lea rdx, str.SppNotificationPackageFamilyName
lea rcx, [rbp + 0x40]
call fcn.140090038
mov rbx, qword [rbp - 0x10]
mov rax, qword [rbx]
mov rsi, qword [rax + 0x48]
mov rcx, rsi
call qword [0x1403b0a10]
mov r8d, r14d
lea rdx, [rbp + 0x40]
mov rcx, rbx
call rsi
mov esi, eax
test eax, eax
js 0x140086801
mov r9d, dword [rbp - 0x40]
lea rdx, str.SppGenuineBlobResult
mov r8, qword [rbp - 8]
lea rcx, [rbp + 0x40]
dec r9d
call fcn.14008f434
mov rax, qword [rbx]
mov rsi, qword [rax + 0x48]
mov rcx, rsi
call qword [0x1403b0a10]
mov r8d, r14d
lea rdx, [rbp + 0x40]
mov rcx, rbx
call rsi
mov esi, eax
test eax, eax
js 0x140086801
mov r14, qword [0x14042aea0]
mov rax, qword [r14]
mov rsi, qword [rax + 0x28]
mov rcx, rsi
call qword [0x1403b0a10]
mov r9d, 1
mov qword [rsp + 0x20], r12
mov r8, rbx
lea rdx, str.msft:spp_notifications_common_processtsl
mov rcx, r14
call rsi
mov esi, eax
test eax, eax
jns 0x140086f18
jmp 0x140086801
xor r12d, r12d
cmp dword [rbp + 0x3b8], r12d
je 0x140087095
lea rdx, [rbp + 0x18]
lea rcx, [rbp + 0x110]
call fcn.140076864
test eax, eax
js 0x140086f59
mov rsi, qword [0x14042aee0]
mov rax, qword [rsi]
mov rbx, qword [rax + 0x38]
mov rcx, rbx
call qword [0x1403b0a10]
mov rdx, qword [rbp + 0x18]
mov rcx, rsi
call rbx
mov ebx, 3
mov dword [rsp + 0x68], r15d
lea rax, [0x14001e400]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x48]
lea rax, [rbp - 0x3c]
xor r9d, r9d
lea esi, [rbx + 0x45]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0x110]
mov r8d, esi
lea r14d, [rsi + 0x71]
mov qword [rsp + 0x60], rax
mov ecx, r14d
call sub.ntdll.dll_NtQuerySystemInformation
cmp dword [rbp - 0x3c], r12d
jl 0x140087095
test r15d, r15d
jne 0x140087070
lea rax, [0x14001d700]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x48]
lea rax, [rbp - 0x38]
xor r9d, r9d
mov qword [rsp + 0x58], rax
mov r8d, esi
mov rax, qword [rbp + 0x60]
mov ecx, r14d
mov qword [rsp + 0x60], rax
lea rax, [rbp + 0x110]
mov qword [rsp + 0x68], rax
lea rax, [rbp - 0x6c]
mov qword [rsp + 0x70], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x78], rax
call sub.ntdll.dll_NtQuerySystemInformation
cmp dword [rbp - 0x38], r12d
jl 0x140087053
mov r15d, r12d
cmp dword [rbp - 0x6c], r12d
jbe 0x140087053
mov r14, qword [0x14042aed0]
mov esi, r15d
shl rsi, 4
add rsi, qword [rbp + 0x10]
mov rax, qword [r14]
mov rbx, qword [rax + 0x28]
mov rcx, rbx
call qword [0x1403b0a10]
lea r8, str.SL_ACTIVATION_VALIDATION_IN_PROGRESS
mov rdx, rsi
mov rcx, r14
call rbx
inc r15d
cmp r15d, dword [rbp - 0x6c]
jb 0x140087019
mov r8, qword [rdi + 8]
mov ecx, 4
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov edx, 0x40003011
call fcn.1400837f8
jmp 0x140087095
mov r9, qword [rdi + 8]
mov ecx, 1
mov qword [rsp + 0x28], r12
mov r8d, r15d
mov edx, 0xc0002011
mov qword [rsp + 0x20], r12
call fcn.140083880
jmp 0x140087095
xor r12d, r12d
mov esi, r13d
test r13d, r13d
jns 0x1400870b5
lea rdx, [0x140424d78]
lea rcx, [0x140410de8]
call fcn.14006d630
mov ecx, r13d
jmp 0x1400870dc
mov rcx, qword [rbp + 0x78]
mov eax, dword [rsp + 0x30]
mov dword [rcx], eax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rbp + 0x80]
mov qword [rsp + 0x40], r12
mov qword [rcx], rax
jmp 0x1400870e1
mov ecx, 0x80004005
mov esi, ecx
call fcn.140075fa0
mov ecx, esi
call fcn.140083bac
lea rcx, [rbp - 0x68]
call fcn.1401c20b8
lea rcx, [rbp - 0x20]
call fcn.140093fdc
lea rcx, [rbp - 0x18]
call fcn.140072cc8
lea rcx, [rbp - 0x30]
call fcn.140072338
lea rcx, [rbp - 0x10]
call fcn.1401c20b8
lea rcx, [rbp - 8]
call fcn.140093fdc
lea rcx, [rbp]
call fcn.140072cc8
lea rcx, [rbp + 8]
call fcn.140072cc8
lea rcx, [rsp + 0x38]
call fcn.1401c20b8
lea rdx, [0x14042987c]
lea rcx, [0x14040a5d0]
call fcn.14006d980
lea rcx, [rbp + 0xb0]
call fcn.140072a90
lea rcx, [rbp + 0x10]
call fcn.140072738
lea rcx, [rbp + 0x18]
call fcn.140093fdc
lea rcx, [rbp + 0x88]
call fcn.140072004
lea rcx, [rbp + 0x20]
call fcn.1401c20b8
lea rcx, [rbp + 0x28]
call fcn.1401c20b8
lea rcx, [rbp + 0x30]
call fcn.140072488
lea rcx, [rbp + 0x38]
call fcn.1400725c0
lea rcx, [rsp + 0x40]
call fcn.1400725c0
mov eax, esi
mov rcx, qword [rbp + 0x350]
xor rcx, rsp
call fcn.14006f500
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret