Function at 0x14008b1a8
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x48]
sub rsp, 0x148
mov rax, qword [0x140422d38]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov r15, qword [rbp + 0xb0]
xor edi, edi
mov r12, qword [rbp + 0xb8]
mov rbx, rcx
lea rcx, [rbp - 0x10]
mov qword [rbp - 0x20], rdi
mov dword [rbp - 0x18], edi
mov r13, r9
mov qword [rsp + 0x58], rdi
mov rsi, r8
mov qword [rsp + 0x60], rdi
mov r14, rdx
mov dword [rsp + 0x44], edi
mov qword [rbp - 0x78], rdi
call fcn.140071930
mov qword [rbp - 0x80], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x78], rdi
test r13, r13
jne 0x14008b231
mov ecx, 0x80070057
mov edi, ecx
jmp 0x14008bb90
test r15, r15
je 0x14008b225
test r12, r12
je 0x14008b225
mov rdi, qword [0x14042ae50]
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x68], rdi
lea rdx, [rdi + 8]
call fcn.140083630
mov rdx, rsi
lea rcx, str.TimeBasedExtendedGrace
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x14008b447
cmp qword [rbx + 0x10], 0
jne 0x14008b2cd
lea r9, [rbp - 0x80]
mov rdx, r14
lea r8, [0x1403b78e8]
call fcn.1400ec2c0
mov edi, eax
test eax, eax
js 0x14008bb8e
mov rcx, qword [rbp - 0x80]
lea rdx, [rbp + 0x20]
call fcn.140081c10
mov edi, eax
test eax, eax
js 0x14008bb8e
mov rcx, qword [rsp + 0x68]
lea r8, [rbp + 0x20]
mov r9, r14
mov dword [rsp + 0x20], 1
mov rdx, rbx
call fcn.1400ef800
mov edi, eax
test eax, eax
js 0x14008bb8e
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14008b2e2
mov edi, 0xc004f002
mov ecx, edi
jmp 0x14008bb90
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.140081d28
mov edi, eax
test eax, eax
js 0x14008bb8e
mov rdx, qword [rsp + 0x50]
lea r8, [rsp + 0x68]
mov rcx, rbx
call fcn.1400b9494
test al, al
jne 0x14008b316
mov edi, 0xc004f012
jmp 0x14008b2db
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x78]
movsxd rax, dword [rsp + 0x68]
add rax, rax
mov rcx, qword [rcx + rax*8 + 8]
call fcn.1401c8b10
mov rbx, qword [rsp + 0x78]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x30]
mov rcx, rdi
call qword [0x1403b0a10]
lea r8, [rbp - 0x70]
mov rcx, rbx
lea rdx, str.TimeBasedConvertedToPerpetual
call rdi
mov esi, 0x80070002
mov edi, eax
cmp eax, esi
jne 0x14008b434
mov rax, qword [rbx]
mov rdi, qword [rax + 0x30]
mov rcx, rdi
call qword [0x1403b0a10]
lea r8, [rbp - 0x70]
mov rcx, rbx
lea rdx, str.TimeBasedExtendedGrace
call rdi
lea rdx, [0x140429128]
mov edi, eax
lea rcx, [0x140414b14]
call fcn.14006d630
cmp edi, esi
je 0x14008b30f
test edi, edi
js 0x14008b2db
cmp dword [rbp - 0x68], 2
je 0x14008b3ba
mov edi, 0xc004f01e
jmp 0x14008b2db
mov ebx, 4
mov edx, ebx
mov dword [rsp + 0x44], ebx
lea ecx, [rbx + 0x3c]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140072fb8
mov rdx, qword [rsp + 0x58]
test rdx, rdx
jne 0x14008b3ef
mov edi, 0x8007000e
jmp 0x14008b2db
mov rcx, qword [rbp - 0x60]
call fcn.1400ed19c
mov edi, eax
test eax, eax
js 0x14008bb8e
mov eax, dword [rsp + 0x44]
lea rdx, [0x1404253c8]
mov dword [r13], ebx
lea rcx, [0x14040a80c]
mov dword [r15], eax
mov rax, qword [rsp + 0x58]
and qword [rsp + 0x58], 0
mov qword [r12], rax
call fcn.14006cc00
jmp 0x14008bb95
test eax, eax
je 0x14008b30f
jns 0x14008bb95
jmp 0x14008b2db
mov rdx, rsi
lea rcx, str.RearmCount
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x14008b53f
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.140076864
mov edi, eax
test eax, eax
js 0x14008bb8e
mov rdi, qword [0x14042aec0]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x158]
mov rcx, rbx
call qword [0x1403b0a10]
mov rdx, qword [rsp + 0x50]
lea r8, [rsp + 0x48]
mov rcx, rdi
call rbx
mov edi, eax
test eax, eax
js 0x14008bb8e
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x18]
mov rcx, rdi
call qword [0x1403b0a10]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call rdi
mov edi, eax
test eax, eax
js 0x14008bb8e
cmp dword [rsp + 0x40], 1
je 0x14008b4e2
mov ecx, 0x8000ffff
jmp 0x14008b22a
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x20]
mov rcx, rdi
call qword [0x1403b0a10]
lea r8, [rbp - 0x70]
xor edx, edx
mov rcx, rbx
call rdi
mov edi, eax
test eax, eax
js 0x14008bb8e
mov rcx, qword [rbp - 0x70]
lea rdx, [rbp + 0x20]
call fcn.140081c10
mov edi, eax
test eax, eax
js 0x14008bb8e
mov r9, r15
mov qword [rsp + 0x20], r12
mov r8, r13
lea rcx, [rbp + 0x20]
mov rdx, r14
call fcn.1400e9b10
jmp 0x14008bb88
mov rdx, rsi
lea rcx, [0x1403b7990]
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x14008b645
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.140076864
mov edi, eax
test eax, eax
js 0x14008bb8e
mov rdi, qword [0x14042aec0]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x158]
mov rcx, rbx
call qword [0x1403b0a10]
mov rdx, qword [rsp + 0x50]
lea r8, [rsp + 0x48]
mov rcx, rdi
call rbx
mov edi, eax
test eax, eax
js 0x14008bb8e
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x18]
mov rcx, rdi
call qword [0x1403b0a10]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call rdi
mov edi, eax
test eax, eax
js 0x14008bb8e
cmp dword [rsp + 0x40], 1
je 0x14008b5e8
lea rdx, [0x140427574]
lea rcx, [0x140405798]
call fcn.14006c510
jmp 0x14008b4d8
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x20]
mov rcx, rdi
call qword [0x1403b0a10]
lea r8, [rbp - 0x70]
xor edx, edx
mov rcx, rbx
call rdi
mov edi, eax
test eax, eax
js 0x14008bb8e
mov rcx, qword [rbp - 0x70]
lea rdx, [rbp + 0x20]
call fcn.140081c10
mov edi, eax
test eax, eax
js 0x14008bb8e
mov r9, r15
mov qword [rsp + 0x20], r12
mov r8, r13
lea rcx, [rbp + 0x20]
mov rdx, r14
call fcn.1400e9f0c
jmp 0x14008bb88
mov rdx, rsi
lea rcx, [0x1403b79c8]
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x14008b74e
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.140076864
mov edi, eax
test eax, eax
js 0x14008bb8e
mov rdi, qword [0x14042aec0]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x158]
mov rcx, rbx
call qword [0x1403b0a10]
mov rdx, qword [rsp + 0x50]
lea r8, [rsp + 0x48]
mov rcx, rdi
call rbx
mov edi, eax
test eax, eax
js 0x14008bb8e
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x18]
mov rcx, rdi
call qword [0x1403b0a10]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call rdi
mov edi, eax
test eax, eax
js 0x14008bb8e
cmp dword [rsp + 0x40], 1
jne 0x14008b4d8
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x20]
mov rcx, rdi
call qword [0x1403b0a10]
lea r8, [rbp - 0x70]
xor edx, edx
mov rcx, rbx
call rdi
mov edi, eax
test eax, eax
js 0x14008bb8e
mov rcx, qword [rbp - 0x70]
lea rdx, [rbp + 0x20]
call fcn.140081c10
mov edi, eax
test eax, eax
js 0x14008bb8e
mov r9, r15
mov qword [rsp + 0x20], r12
mov r8, r13
lea rcx, [rbp + 0x20]
mov rdx, r14
call fcn.1400ea6cc
lea rdx, [0x140426fbc]
mov edi, eax
lea rcx, [0x14040c1f0]
call fcn.14006d980
test edi, edi
jmp 0x14008b43c
mov rdx, rsi
lea rcx, str.CustomerPID
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x14008ba98
mov rdx, rsi
lea rcx, str.VLActivationType
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x14008ba98
mov rdx, rsi
lea rcx, str.VLActivationInterval
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x14008ba98
mov rdx, rsi
lea rcx, str.VLRenewalInterval
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x14008ba98
mov rdx, rsi
lea rcx, [0x1403b77d0]
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x14008ba98
mov rdx, rsi
lea rcx, str.KeyManagementServicePort
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x14008ba98
mov rdx, rsi
lea rcx, str.KeyManagementServiceLookupDomain
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x14008ba98
mov rdx, rsi
lea rcx, [0x1403b7a50]
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x14008ba98
mov rdx, rsi
lea rcx, str.DiscoveredKeyManagementServiceIpAddress
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x14008ba98
mov rdx, rsi
lea rcx, str.DiscoveredKeyManagementServicePort
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x14008ba98
mov rdx, rsi
lea rcx, str.ADActivationObjectName
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x14008ba98
mov rdx, rsi
lea rcx, str.ADActivationObjectDN
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x14008ba98
mov rdx, rsi
lea rcx, str.ADActivationCsvlkPID
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x14008ba98
mov rdx, rsi
lea rcx, str.ADActivationCsvlkSkuID
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x14008ba98
mov rdx, rsi
lea rcx, str.TokenActivationILID
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x14008ba98
mov rdx, rsi
lea rcx, str.TokenActivationILVID
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x14008ba98
mov rdx, rsi
lea rcx, [0x1403b7ce0]
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x14008ba98
mov rdx, rsi
lea rcx, str.TokenActivationCertThumbprint
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x14008ba98
mov rdx, rsi
lea rcx, str.TokenActivationAdditionalInfo
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x14008ba98
mov rdx, rsi
lea rcx, str.InheritedActivationId
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x14008ba98
mov rdx, rsi
lea rcx, str.InheritedActivationHostMachineName
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x14008ba98
mov rdx, rsi
lea rcx, str.InheritedActivationHostDigitalPid2
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x14008ba98
mov rdx, rsi
lea rcx, str.InheritedActivationActivationTime
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x14008ba98
mov rdx, rsi
lea rcx, str.DigitalEncryptedPID
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x14008b9cd
lea r9, [rsp + 0x60]
mov r8, rsi
mov rdx, r14
call fcn.1400ec2c0
mov edi, eax
test eax, eax
js 0x14008bb8e
mov rbx, qword [rsp + 0x60]
lea rdx, [rsp + 0x44]
mov rcx, rbx
mov r8d, 0x7fffffff
call fcn.140070204
mov edi, eax
test eax, eax
js 0x14008bb8e
mov eax, dword [rsp + 0x44]
and qword [rsp + 0x60], 0
mov dword [r13], 1
mov dword [r15], eax
mov qword [r12], rbx
jmp 0x14008bb95
lea rax, [0x14001c380]
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x48], rax
lea rdx, [rbp - 0x50]
lea rax, [rsp + 0x70]
mov qword [rbp + 0x18], rdi
mov qword [rbp - 0x40], rax
mov ebx, 3
lea rax, [rbp - 0x10]
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x38], rax
mov r14d, 0xb9
lea rax, [rbp - 0x78]
xor r9d, r9d
lea esi, [rbx + 0x2d]
mov qword [rbp - 0x30], rax
mov r8d, esi
mov ecx, r14d
call sub.ntdll.dll_NtQuerySystemInformation
mov edi, dword [rsp + 0x70]
test edi, edi
js 0x14008b2db
mov rax, qword [rbp - 0x78]
lea rdx, [rbp - 0x50]
mov qword [rbp - 0x38], rax
xor r9d, r9d
lea rax, [0x14003e8c0]
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rax
mov r8d, esi
lea rax, [rsp + 0x74]
mov ecx, r14d
mov qword [rbp - 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rbp - 0x30], rax
lea rax, [rsp + 0x44]
mov qword [rbp - 0x28], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov edi, dword [rsp + 0x74]
test edi, edi
js 0x14008b2db
mov eax, dword [rsp + 0x44]
mov dword [r13], ebx
mov dword [r15], eax
mov rax, qword [rsp + 0x58]
and qword [rsp + 0x58], 0
mov qword [r12], rax
jmp 0x14008bb95
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.140076864
mov edi, eax
test eax, eax
js 0x14008bb8e
mov rdi, qword [0x14042aec0]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x158]
mov rcx, rbx
call qword [0x1403b0a10]
mov rdx, qword [rsp + 0x50]
lea r8, [rsp + 0x48]
mov rcx, rdi
call rbx
mov edi, eax
test eax, eax
js 0x14008bb8e
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x18]
mov rcx, rdi
call qword [0x1403b0a10]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call rdi
mov edi, eax
test eax, eax
js 0x14008bb8e
cmp dword [rsp + 0x40], 1
je 0x14008bb2a
lea rdx, [0x14042870c]
lea rcx, [0x140406b94]
call fcn.14006c890
jmp 0x14008b4d8
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x20]
mov rcx, rdi
call qword [0x1403b0a10]
lea r8, [rbp - 0x70]
xor edx, edx
mov rcx, rbx
call rdi
mov edi, eax
test eax, eax
js 0x14008bb8e
mov rcx, qword [rbp - 0x70]
lea rdx, [rbp + 0x20]
call fcn.140081c10
mov edi, eax
test eax, eax
js 0x14008bb8e
mov qword [rsp + 0x30], r12
lea rdx, [rbp + 0x20]
mov qword [rsp + 0x28], r15
lea rcx, str.msft:spp_notifications_api_getinformation_sku
mov r9, rsi
mov qword [rsp + 0x20], r13
mov r8, r14
call fcn.1400e9764
mov edi, eax
test eax, eax
jns 0x14008bb95
mov ecx, eax
call fcn.140075fa0
mov ecx, edi
call fcn.140083bac
lea rcx, [rsp + 0x78]
call fcn.1401c20b8
lea rcx, [rsp + 0x48]
call fcn.1401c20b8
lea rcx, [rsp + 0x50]
call fcn.140093fdc
lea rcx, [rbp - 0x80]
call fcn.140093fdc
lea rcx, [rbp - 0x10]
call fcn.140072a28
lea rcx, [rbp - 0x78]
call fcn.140072510
lea rcx, [rsp + 0x60]
call fcn.140093fdc
lea rcx, [rsp + 0x58]
call fcn.140093fdc
lea rcx, [rbp - 0x20]
call fcn.140072004
mov eax, edi
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.14006f500
add rsp, 0x148
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret