Function at 0x14005694c
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 - 0x58]
sub rsp, 0x158
mov rax, qword [0x140425b28]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov r14, qword [rbp + 0xc8]
xor esi, esi
mov r13, qword [rbp + 0xc0]
mov r15, r8
mov r12, rdx
mov qword [rsp + 0x70], r9
mov rbx, rcx
mov qword [rsp + 0x78], r14
xorps xmm0, xmm0
mov qword [rbp - 0x60], rsi
lea r8d, [rsi + 0x30]
mov dword [rbp - 0x80], esi
xor edx, edx
mov qword [rsp + 0x68], rsi
lea rcx, [rbp]
mov qword [rbp + 0x30], rsi
mov edi, esi
mov dword [rsp + 0x58], esi
mov qword [rbp - 0x70], rsi
mov qword [rbp], rsi
movdqu xmmword [rbp + 8], xmm0
mov qword [rbp + 0x18], rsi
call sub.msvcrt.dll_memset
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x50], rsi
mov qword [rbp - 0x68], rsi
cmp qword [rsp + 0x70], rsi
jne 0x1400569f6
mov ecx, 0x80070057
mov r14d, ecx
jmp 0x1400573ca
test r13, r13
je 0x1400569e9
test r14, r14
je 0x1400569e9
mov r14, qword [0x14042eab0]
mov qword [rbp - 8], r14
lea rax, [r14 + 8]
mov qword [rbp - 0x60], rax
test rax, rax
je 0x140056a2c
mov edx, 1
mov rcx, rax
call fcn.140071b04
mov dword [rbp - 0x80], 1
mov rdx, r15
lea rcx, str.TimeBasedExtendedGrace
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x140056c4b
cmp qword [rbx + 0x10], rsi
jne 0x140056ab1
lea r9, [rsp + 0x40]
mov rdx, r12
lea r8, str.applicationId
call fcn.1400d0ce8
mov r14d, eax
test eax, eax
js 0x1400573c8
mov r15, qword [rsp + 0x40]
lea rdx, [rbp + 0x30]
mov rcx, r15
call fcn.140052048
mov r14d, eax
test eax, eax
jns 0x140056a8d
mov ecx, eax
call fcn.1400790f8
jmp 0x1400573d4
mov rcx, qword [rbp - 8]
lea r8, [rbp + 0x30]
mov r9, r12
mov dword [rsp + 0x20], 1
mov rdx, rbx
call fcn.1400d5cf0
mov r14d, eax
test eax, eax
jns 0x140056ab6
jmp 0x140056a81
mov r15, qword [rsp + 0x40]
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140056aca
mov r14d, 0xc004f002
mov ecx, r14d
jmp 0x140056a83
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.140051f90
mov r14d, eax
test eax, eax
js 0x140056a81
mov rdx, qword [rsp + 0x60]
lea r8, [rsp + 0x40]
mov rcx, rbx
call fcn.140065678
test al, al
jne 0x140056afc
mov r14d, 0xc004f012
jmp 0x140056ac5
mov rcx, qword [rbx + 8]
lea rdx, [rbp - 0x68]
movsxd rax, dword [rsp + 0x40]
add rax, rax
mov rcx, qword [rcx + rax*8 + 8]
call fcn.14007613c
mov rsi, qword [rbp - 0x68]
mov rax, qword [rsi]
mov rbx, qword [rax + 0x30]
mov rcx, rbx
call qword [0x1403af620]
lea r8, [rbp - 0x58]
mov rcx, rsi
lea rdx, str.TimeBasedConvertedToPerpetual
call rbx
mov r12d, 0x80070002
mov r14d, eax
cmp eax, r12d
jne 0x140056c38
mov rax, qword [rsi]
mov rbx, qword [rax + 0x30]
mov rcx, rbx
call qword [0x1403af620]
lea r8, [rbp - 0x58]
mov rcx, rsi
lea rdx, str.TimeBasedExtendedGrace
call rbx
lea rdx, [0x14042b534]
mov r14d, eax
lea rcx, [0x140404cfc]
call fcn.1400e90f0
cmp r14d, r12d
je 0x140056af4
test r14d, r14d
js 0x140056ac5
cmp dword [rbp - 0x50], 2
je 0x140056ba5
mov r14d, 0xc004f01e
jmp 0x140056ac5
mov r12d, 4
mov edx, r12d
mov dword [rsp + 0x58], r12d
lea ecx, [r12 + 0x3c]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rcx, qword [rsp + 0x68]
mov rbx, rax
test rcx, rcx
je 0x140056bd1
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rbx, rbx
je 0x140056c2d
mov rcx, qword [rbp - 0x48]
mov rdx, rbx
mov qword [rsp + 0x68], rbx
call fcn.140076278
mov r14d, eax
test eax, eax
jns 0x140056c06
lea rdx, [0x140428c20]
lea rcx, [0x14040acbc]
call fcn.1400e8db8
jmp 0x140056ac5
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
mov dword [rax], r12d
mov eax, dword [rsp + 0x58]
mov dword [r13], eax
mov rax, qword [rsp + 0x68]
and qword [rsp + 0x68], rdi
mov qword [rcx], rax
jmp 0x1400573d4
mov r14d, 0x8007000e
jmp 0x140056ac5
test eax, eax
je 0x140056af4
jns 0x1400573d4
jmp 0x140056ac5
mov rdx, r15
lea rcx, str.RearmCount
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x140056d51
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.1400520dc
mov r14d, eax
test eax, eax
js 0x1400573c8
mov r14, qword [0x14042eb20]
mov rax, qword [r14]
mov rbx, qword [rax + 0x158]
mov rcx, rbx
call qword [0x1403af620]
mov rdx, qword [rsp + 0x60]
lea r8, [rsp + 0x50]
mov rcx, r14
call rbx
mov r14d, eax
test eax, eax
js 0x1400573c8
mov rbx, qword [rsp + 0x50]
mov rax, qword [rbx]
mov r14, qword [rax + 0x18]
mov rcx, r14
call qword [0x1403af620]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call r14
mov r14d, eax
test eax, eax
js 0x1400573c8
cmp dword [rsp + 0x48], 1
je 0x140056cea
mov ecx, 0x8000ffff
jmp 0x1400569ee
mov rbx, qword [rsp + 0x50]
mov rax, qword [rbx]
mov r14, qword [rax + 0x20]
mov rcx, r14
call qword [0x1403af620]
lea r8, [rbp - 0x58]
xor edx, edx
mov rcx, rbx
call r14
mov r14d, eax
test eax, eax
js 0x1400573c8
mov rcx, qword [rbp - 0x58]
lea rdx, [rbp + 0x30]
call fcn.140052048
mov r14d, eax
test eax, eax
js 0x1400573c8
mov rcx, qword [rsp + 0x78]
mov r9, r13
mov r8, qword [rsp + 0x70]
mov rdx, r12
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x30]
call fcn.1400cfdac
jmp 0x1400573c1
mov rdx, r15
lea rcx, str.RemainingRearmCount
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x140056e51
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.1400520dc
mov r14d, eax
test eax, eax
js 0x1400573c8
mov r14, qword [0x14042eb20]
mov rax, qword [r14]
mov rbx, qword [rax + 0x158]
mov rcx, rbx
call qword [0x1403af620]
mov rdx, qword [rsp + 0x60]
lea r8, [rsp + 0x50]
mov rcx, r14
call rbx
mov r14d, eax
test eax, eax
js 0x1400573c8
mov rbx, qword [rsp + 0x50]
mov rax, qword [rbx]
mov r14, qword [rax + 0x18]
mov rcx, r14
call qword [0x1403af620]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call r14
mov r14d, eax
test eax, eax
js 0x1400573c8
cmp dword [rsp + 0x48], 1
jne 0x140056ce0
mov rbx, qword [rsp + 0x50]
mov rax, qword [rbx]
mov r14, qword [rax + 0x20]
mov rcx, r14
call qword [0x1403af620]
lea r8, [rbp - 0x58]
xor edx, edx
mov rcx, rbx
call r14
mov r14d, eax
test eax, eax
js 0x1400573c8
mov rcx, qword [rbp - 0x58]
lea rdx, [rbp + 0x30]
call fcn.140052048
mov r14d, eax
test eax, eax
js 0x1400573c8
mov rcx, qword [rsp + 0x78]
mov r9, r13
mov r8, qword [rsp + 0x70]
mov rdx, r12
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x30]
call fcn.1400d0144
jmp 0x1400573c1
mov rdx, r15
lea rcx, str.TrustedTime
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x140056f51
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.1400520dc
mov r14d, eax
test eax, eax
js 0x1400573c8
mov r14, qword [0x14042eb20]
mov rax, qword [r14]
mov rbx, qword [rax + 0x158]
mov rcx, rbx
call qword [0x1403af620]
mov rdx, qword [rsp + 0x60]
lea r8, [rsp + 0x50]
mov rcx, r14
call rbx
mov r14d, eax
test eax, eax
js 0x1400573c8
mov rbx, qword [rsp + 0x50]
mov rax, qword [rbx]
mov r14, qword [rax + 0x18]
mov rcx, r14
call qword [0x1403af620]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call r14
mov r14d, eax
test eax, eax
js 0x1400573c8
cmp dword [rsp + 0x48], 1
jne 0x140056ce0
mov rbx, qword [rsp + 0x50]
mov rax, qword [rbx]
mov r14, qword [rax + 0x20]
mov rcx, r14
call qword [0x1403af620]
lea r8, [rbp - 0x58]
xor edx, edx
mov rcx, rbx
call r14
mov r14d, eax
test eax, eax
js 0x1400573c8
mov rcx, qword [rbp - 0x58]
lea rdx, [rbp + 0x30]
call fcn.140052048
mov r14d, eax
test eax, eax
js 0x1400573c8
mov rcx, qword [rsp + 0x78]
mov r9, r13
mov r8, qword [rsp + 0x70]
mov rdx, r12
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x30]
call fcn.1400cfb8c
jmp 0x1400573c1
mov rdx, r15
lea rcx, str.CustomerPID
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400572c1
mov rdx, r15
lea rcx, [0x1403b5fb8]
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400572c1
mov rdx, r15
lea rcx, str.VLActivationInterval
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400572c1
mov rdx, r15
lea rcx, str.VLRenewalInterval
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400572c1
mov rdx, r15
lea rcx, str.KeyManagementServiceName
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400572c1
mov rdx, r15
lea rcx, str.KeyManagementServicePort
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400572c1
mov rdx, r15
lea rcx, str.KeyManagementServiceLookupDomain
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400572c1
lea rdx, [0x14042ae20]
lea rcx, [0x14040cc40]
call fcn.1400e9ac8
mov rdx, r15
lea rcx, str.DiscoveredKeyManagementServiceName
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400572c1
mov rdx, r15
lea rcx, str.DiscoveredKeyManagementServiceIpAddress
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400572c1
mov rdx, r15
lea rcx, str.DiscoveredKeyManagementServicePort
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400572c1
mov rdx, r15
lea rcx, str.ADActivationObjectName
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400572c1
mov rdx, r15
lea rcx, str.ADActivationObjectDN
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400572c1
mov rdx, r15
lea rcx, str.ADActivationCsvlkPID
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400572c1
mov rdx, r15
lea rcx, str.ADActivationCsvlkSkuID
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400572c1
mov rdx, r15
lea rcx, str.TokenActivationILID
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400572c1
mov rdx, r15
lea rcx, str.TokenActivationILVID
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400572c1
mov rdx, r15
lea rcx, str.TokenActivationGrantNumber
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400572c1
mov rdx, r15
lea rcx, str.TokenActivationCertThumbprint
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400572c1
mov rdx, r15
lea rcx, str.TokenActivationAdditionalInfo
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400572c1
mov rdx, r15
lea rcx, str.InheritedActivationId
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400572c1
mov rdx, r15
lea rcx, str.InheritedActivationHostMachineName
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400572c1
mov rdx, r15
lea rcx, str.InheritedActivationHostDigitalPid2
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400572c1
mov rdx, r15
lea rcx, str.InheritedActivationActivationTime
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400572c1
mov rdx, r15
lea rcx, str.DigitalEncryptedPID
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x1400571f6
lea r9, [rbp + 0x30]
mov r8, r15
mov rdx, r12
call fcn.1400d0ce8
mov r14d, eax
test eax, eax
jns 0x1400571af
mov ecx, eax
call fcn.1400790f8
mov rdi, qword [rbp + 0x30]
jmp 0x1400573cf
mov rdi, qword [rbp + 0x30]
lea rdx, [rsp + 0x58]
mov rcx, rdi
mov r8d, 0x7fffffff
call fcn.140076178
mov r14d, eax
test eax, eax
js 0x1400573c8
mov rax, qword [rsp + 0x70]
mov dword [rax], 1
mov eax, dword [rsp + 0x58]
mov dword [r13], eax
mov rax, rdi
xor edi, edi
mov rcx, qword [rsp + 0x78]
mov qword [rcx], rax
jmp 0x1400573cf
lea rax, [0x140002838]
mov qword [rbp], r12
mov qword [rbp - 0x30], rax
lea rdx, [rbp - 0x38]
lea rax, [rbp - 0x7c]
mov qword [rbp + 0x28], r14
mov qword [rbp - 0x28], rax
mov ebx, 3
lea rax, [rbp]
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x20], rax
mov r15d, 0xb9
lea rax, [rbp - 0x70]
xor r9d, r9d
lea r12d, [rbx + 0x2d]
mov qword [rbp - 0x18], rax
mov r8d, r12d
mov ecx, r15d
call sub.ntdll.dll_NtQuerySystemInformation
mov r14d, dword [rbp - 0x7c]
test r14d, r14d
jns 0x140057257
mov ecx, r14d
jmp 0x1400573ca
mov rax, qword [rbp - 0x70]
lea rdx, [rbp - 0x38]
mov qword [rbp - 0x20], rax
xor r9d, r9d
lea rax, [0x14001d1f8]
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x30], rax
mov r8, r12
lea rax, [rbp - 0x78]
mov rcx, r15
mov qword [rbp - 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rbp - 0x18], rax
lea rax, [rsp + 0x58]
mov qword [rbp - 0x10], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov r14d, dword [rbp - 0x78]
test r14d, r14d
js 0x14005724f
mov rax, qword [rsp + 0x70]
mov dword [rax], ebx
mov eax, dword [rsp + 0x58]
mov dword [r13], eax
mov rax, qword [rsp + 0x68]
and qword [rsp + 0x68], rsi
jmp 0x1400571e9
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.1400520dc
mov r14d, eax
test eax, eax
js 0x1400573c8
mov r14, qword [0x14042eb20]
mov rax, qword [r14]
mov rbx, qword [rax + 0x158]
mov rcx, rbx
call qword [0x1403af620]
mov rdx, qword [rsp + 0x60]
lea r8, [rsp + 0x50]
mov rcx, r14
call rbx
mov r14d, eax
test eax, eax
js 0x1400573c8
mov rbx, qword [rsp + 0x50]
mov rax, qword [rbx]
mov r14, qword [rax + 0x18]
mov rcx, r14
call qword [0x1403af620]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call r14
mov r14d, eax
test eax, eax
js 0x1400573c8
cmp dword [rsp + 0x48], 1
jne 0x140056ce0
mov rbx, qword [rsp + 0x50]
lea rdx, [0x14042d7d8]
lea rcx, [0x14041756c]
mov rax, qword [rbx]
mov r14, qword [rax + 0x20]
call fcn.1400e9438
mov rcx, r14
call qword [0x1403af620]
lea r8, [rbp - 0x58]
xor edx, edx
mov rcx, rbx
call r14
mov r14d, eax
test eax, eax
js 0x1400573c8
mov rcx, qword [rbp - 0x58]
lea rdx, [rbp + 0x30]
call fcn.140052048
mov r14d, eax
test eax, eax
js 0x1400573c8
mov rcx, qword [rsp + 0x78]
lea rdx, [rbp + 0x30]
mov rax, qword [rsp + 0x70]
mov r9, r15
mov qword [rsp + 0x30], rcx
mov r8, r12
mov qword [rsp + 0x28], r13
lea rcx, str.msft:spp_notifications_api_getinformation_sku
mov qword [rsp + 0x20], rax
call fcn.1400d036c
mov r14d, eax
test eax, eax
jns 0x1400573cf
mov ecx, eax
call fcn.1400790f8
mov r15, qword [rsp + 0x40]
mov ecx, r14d
call fcn.140079118
test rsi, rsi
je 0x1400573f6
mov rax, qword [rsi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [0x1403af620]
mov rcx, rsi
call rbx
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x14005741b
mov rax, qword [rbx]
mov rsi, qword [rax + 0x10]
mov rcx, rsi
call qword [0x1403af620]
mov rcx, rbx
call rsi
and qword [rsp + 0x50], 0
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14005742b
call qword [sym.imp.KERNEL32.dll_LocalFree]
test r15, r15
je 0x140057439
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rcx, [rbp]
call fcn.140057570
lea rcx, [rbp - 0x70]
call fcn.1400574c4
test rdi, rdi
je 0x14005746c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rdx, [0x14042cb18]
lea rcx, [0x14040644c]
call fcn.1400e977c
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140057482
call qword [sym.imp.KERNEL32.dll_LocalFree]
and qword [rsp + 0x68], 0
mov rax, qword [rbp - 0x60]
test rax, rax
je 0x140057499
cmp dword [rbp - 0x80], 0
je 0x140057499
mov rcx, rax
call fcn.1400719a0
mov eax, r14d
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140368700
add rsp, 0x158
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret