Function at 0x1401aec6c
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 - 0x17]
sub rsp, 0xd8
mov rax, qword [0x140425b28]
xor rax, rsp
mov qword [rbp - 1], rax
mov rax, qword [rbp + 0x7f]
lea rbx, str.RuleSetData
xor r14d, r14d
mov qword [rbp - 0x51], rax
mov rax, qword gs:[0x58]
or rsi, 0xffffffffffffffff
mov qword [rbp - 0x29], rdx
mov r13, rcx
mov edx, 4
mov r15, r9
mov r12, r8
mov qword [rbp - 0x79], r14
mov rcx, qword [rax]
lea edi, [rsi + 2]
mov qword [rbp - 0x59], r14
mov qword [rbp - 0x71], r14
mov qword [rbp - 0x69], r14
mov eax, dword [rdx + rcx]
cmp dword [0x140430150], eax
jg 0x1401af05d
mov rax, qword [r15]
mov rbx, qword [rax + 0x28]
mov rcx, rbx
call qword [0x1403af620]
lea r9, [rbp - 0x61]
mov rcx, r15
lea r8, [rbp - 0x59]
lea rdx, str.RuleSetData
call rbx
mov ebx, eax
test eax, eax
js 0x1401aefa3
mov r14, qword [r13 + 0x18]
mov rax, qword [r14]
mov rbx, qword [rax + 0x178]
mov rcx, rbx
cmp dword [rbp - 0x61], edi
jne 0x1401aee05
xor edi, edi
cmp dword [0x140430330], 1
cmove rdi, qword [0x14042f818]
call qword [0x1403af620]
lea r8, [rbp - 0x79]
mov rdx, rdi
mov rcx, r14
call rbx
xor r14d, r14d
mov ebx, eax
test eax, eax
js 0x1401aefa3
mov rax, qword [rbp - 0x79]
lea r8, [rbp - 0x71]
mov qword [rsp + 0x30], r8
lea r9, [0x140430160]
mov qword [rsp + 0x28], rax
mov r8, r15
mov rdx, r12
mov dword [rsp + 0x20], SafeArrayGetDim
mov rcx, r13
call fcn.1401affe8
mov ebx, eax
test eax, eax
js 0x1401aefa3
lea r8, [rsp + 0x40]
lea rdx, str.productSkuId
lea rcx, [rbp - 0x71]
call fcn.1400b867c
test al, al
je 0x1401aef7a
movsxd rax, dword [rsp + 0x40]
shl rax, 4
add rax, qword [rbp - 0x69]
mov rcx, qword [rax + 8]
mov rax, rsi
inc rax
cmp word [rcx + rax*2], r14w
jne 0x1401aedcb
mov r15d, 0x80070057
cmp rax, 0x26
jne 0x1401aee1b
cmp word [rcx], 0x7b
jne 0x1401aee21
cmp word [rcx + 0x4a], 0x7d
jne 0x1401aee21
add rcx, 2
lea rdx, [rbp - 0x11]
call fcn.14006e5fc
mov ebx, eax
test eax, eax
jns 0x1401aee2c
mov ecx, eax
jmp 0x1401aee27
xor edi, edi
cmp dword [0x140430330], 1
cmove rdi, qword [0x14042f810]
jmp 0x1401aed42
cmp rax, 0x24
je 0x1401aedf2
mov ebx, r15d
mov ecx, r15d
call fcn.1400790f8
mov ecx, ebx
call fcn.140079118
test ebx, ebx
jns 0x1401aee3e
mov ecx, ebx
jmp 0x1401aefa5
lea r8, [rsp + 0x40]
lea rdx, str.applicationId
lea rcx, [rbp - 0x71]
call fcn.1400b867c
test al, al
je 0x1401aeee2
movsxd rax, dword [rsp + 0x40]
shl rax, 4
add rax, qword [rbp - 0x69]
mov rcx, qword [rax + 8]
mov rax, rsi
inc rax
cmp word [rcx + rax*2], r14w
jne 0x1401aee6f
cmp rax, 0x26
jne 0x1401aeea3
cmp word [rcx], 0x7b
jne 0x1401aeea9
cmp word [rcx + 0x4a], 0x7d
jne 0x1401aeea9
add rcx, 2
lea rdx, [rbp - 0x21]
call fcn.14006e5fc
mov ebx, eax
test eax, eax
jns 0x1401aeeb4
mov ecx, eax
jmp 0x1401aeeaf
cmp rax, 0x24
je 0x1401aee90
mov ebx, r15d
mov ecx, r15d
call fcn.1400790f8
mov ecx, ebx
call fcn.140079118
test ebx, ebx
js 0x1401aee37
mov rdi, qword [rbp - 0x51]
lea r8, [rbp - 0x11]
mov rcx, rdi
lea rdx, [rbp - 0x21]
call fcn.140178930
mov ebx, eax
test eax, eax
jns 0x1401aeee6
jmp 0x1401aefa3
mov rdi, qword [rbp - 0x51]
lea r8, [rsp + 0x40]
lea rdx, str.licenseId
lea rcx, [rbp - 0x71]
call fcn.1400b867c
test al, al
je 0x1401aef7a
movsxd rax, dword [rsp + 0x40]
shl rax, 4
add rax, qword [rbp - 0x69]
mov rcx, qword [rax + 8]
inc rsi
cmp word [rcx + rsi*2], r14w
jne 0x1401aef10
cmp rsi, 0x26
jne 0x1401aef44
cmp word [rcx], 0x7b
jne 0x1401aef4a
cmp word [rcx + 0x4a], 0x7d
jne 0x1401aef4a
add rcx, 2
lea rdx, [rbp - 0x21]
call fcn.14006e5fc
mov ebx, eax
test eax, eax
jns 0x1401aef55
mov ecx, eax
jmp 0x1401aef50
cmp rsi, 0x24
je 0x1401aef31
mov ebx, r15d
mov ecx, r15d
call fcn.1400790f8
mov ecx, ebx
call fcn.140079118
test ebx, ebx
js 0x1401aee37
lea r8, [rbp - 0x11]
mov rcx, rdi
lea rdx, [rbp - 0x21]
call fcn.1401b02e0
mov ebx, eax
test eax, eax
js 0x1401aefa3
mov rdi, qword [rbp - 0x29]
mov rax, qword [rdi]
mov rbx, qword [rax + 0xa8]
mov rcx, rbx
call qword [0x1403af620]
mov rdx, qword [rbp - 0x79]
xor r8d, r8d
mov rcx, rdi
call rbx
mov ebx, eax
test eax, eax
jns 0x1401aefaa
mov ecx, eax
call fcn.1400790f8
mov ecx, ebx
call fcn.140079118
mov esi, 3
mov qword [rbp - 0x39], r14
lea rax, [0x140019438]
mov qword [rbp - 0x49], rsi
mov qword [rbp - 0x41], rax
lea rdx, [rbp - 0x49]
lea rax, [rbp - 0x71]
mov r15d, 0xb9
lea r12d, [rsi + 0x1d]
mov qword [rbp - 0x31], rax
mov r8d, r12d
xor r9d, r9d
mov ecx, r15d
call sub.ntdll.dll_NtQuerySystemInformation
mov rdi, qword [rbp - 0x59]
test rdi, rdi
je 0x1401af00e
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbp - 0x59], r14
lea rax, [0x140011f38]
mov qword [rbp - 0x49], rsi
mov qword [rbp - 0x41], rax
lea rdx, [rbp - 0x49]
lea rax, [rbp - 0x79]
mov qword [rbp - 0x39], r14
xor r9d, r9d
mov qword [rbp - 0x31], rax
mov r8, r12
mov rcx, r15
call sub.ntdll.dll_NtQuerySystemInformation
mov eax, ebx
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.140368700
add rsp, 0xd8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, [0x140430150]
call fcn.140368b2c
cmp dword [0x140430150], esi
jne 0x1401aece9
lea rax, str.metaInfoType
mov qword [0x140430168], r14
mov qword [0x140430160], rax
xor eax, eax
mov qword [0x140430188], rax
lea rax, str.licenseId
mov qword [0x140430178], rax
lea rax, str.licId
mov qword [0x140430180], rax
xor eax, eax
mov qword [0x1404301a0], rax
lea rax, str.licenseType
mov qword [0x140430190], rax
lea rax, [0x1403d36bc]
mov qword [0x140430198], rax
xor eax, eax
mov qword [0x1404301b8], rax
lea rax, str.licenseCategory
mov qword [0x1404301a8], rax
lea rax, str.licCat
mov qword [0x1404301b0], rax
xor eax, eax
mov qword [0x1404301d0], rax
lea rax, str.fileId
mov qword [0x1404301c0], rax
xor eax, eax
mov qword [0x1404301e8], rax
lea rax, str.applicationId
mov qword [0x1404301d8], rax
lea rax, [0x1403ca2bc]
mov qword [0x1404301e0], rax
xor eax, eax
mov qword [0x140430200], rax
lea rax, str.productSkuId
mov qword [0x1404301f0], rax
lea rax, str.skuId
mov qword [0x1404301f8], rax
xor eax, eax
mov qword [0x140430218], rax
lea rax, [0x1403d3684]
mov qword [0x140430210], rax
xor eax, eax
mov qword [0x140430230], rax
lea rax, str.phone:policy
mov qword [0x140430220], rax
lea rax, str.phnPol
mov qword [0x140430228], rax
xor eax, eax
mov qword [0x140430248], rax
lea rax, str.stilComment
mov qword [0x140430238], rax
xor eax, eax
mov qword [0x140430260], rax
lea rax, str.stilComment2
mov qword [0x140430250], rax
mov dword [0x140430170], r14d
mov dword [0x140430174], esi
mov dword [0x140430188], edi
mov dword [0x14043018c], edi
mov dword [0x1404301a0], r14d
mov dword [0x1404301a4], edi
mov dword [0x1404301b8], r14d
mov dword [0x1404301bc], edi
mov qword [0x1404301c8], r14
mov dword [0x1404301d0], r14d
mov dword [0x1404301d4], edi
mov dword [0x1404301e8], edi
mov dword [0x1404301ec], edi
mov dword [0x140430200], edi
mov dword [0x140430204], edi
mov qword [0x140430208], rbx
mov dword [0x140430218], r14d
mov dword [0x14043021c], 0x24
mov dword [0x140430230], r14d
mov dword [0x140430234], 0x24
mov qword [0x140430240], r14
mov dword [0x140430248], r14d
mov dword [0x14043024c], 0x20
mov qword [0x140430258], r14
mov dword [0x140430260], r14d
mov dword [0x140430264], 0x20
xor eax, eax
mov qword [0x140430270], r14
mov qword [0x140430278], rax
lea rcx, [0x140430150]
lea rax, str.stilToken
mov dword [0x140430278], r14d
mov qword [0x140430268], rax
mov dword [0x14043027c], 0x20
call fcn.140368abc
jmp 0x1401aece9