Function at 0x1401c1410
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x108
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
mov rax, qword [0x140448b38]
xor rax, rsp
mov qword [rbp - 0x30], rax
mov rax, qword [rbp + 0x70]
lea rbx, str.RuleSetData
xor r14d, r14d
mov qword [rsp + 0x70], rax
mov rax, qword gs:[0x58]
or rsi, 0xffffffffffffffff
mov qword [rbp - 0x68], rdx
mov r13, rcx
mov edx, 4
mov r15, r9
mov r12, r8
mov qword [rsp + 0x48], r14
mov rcx, qword [rax]
lea edi, [rsi + 2]
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov eax, dword [rdx + rcx]
cmp dword [0x140452d90], eax
jg 0x1401c18b3
mov rax, qword [r15]
mov rbx, qword [rax + 0x28]
mov rax, qword [0x1403cf6d0]
mov rcx, rbx
call rax
mov rax, rbx
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x68]
mov rcx, r15
lea rdx, str.RuleSetData
call rax
mov ebx, eax
test eax, eax
js 0x1401c17e2
mov r14, qword [r13 + 0x18]
mov rax, qword [r14]
mov rbx, qword [rax + 0x178]
mov rcx, rbx
mov rax, qword [0x1403cf6d0]
cmp dword [rsp + 0x60], edi
jne 0x1401c15cb
xor edi, edi
cmp dword [0x140452f70], 1
cmove rdi, qword [0x140452568]
call rax
lea r8, [rsp + 0x48]
mov rdx, rdi
mov rcx, r14
mov rax, rbx
call rax
xor r14d, r14d
mov ebx, eax
test eax, eax
js 0x1401c17e2
mov rax, qword [rsp + 0x48]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x30], r8
lea r9, [0x140452da0]
mov qword [rsp + 0x28], rax
mov r8, r15
mov rdx, r12
mov dword [rsp + 0x20], SafeArrayGetDim
mov rcx, r13
call fcn.1401c2ac0
mov ebx, eax
test eax, eax
js 0x1401c17e2
lea r8, [rsp + 0x40]
lea rdx, str.productSkuId
lea rcx, [rsp + 0x50]
call fcn.1400c8318
test al, al
je 0x1401c17b2
movsxd rax, dword [rsp + 0x40]
shl rax, 4
add rax, qword [rsp + 0x58]
mov rcx, qword [rax + 8]
mov rax, rsi
inc rax
cmp word [rcx + rax*2], r14w
jne 0x1401c1591
mov r15d, 0x80070057
cmp rax, 0x26
jne 0x1401c15e1
cmp word [rcx], 0x7b
jne 0x1401c15e7
cmp word [rcx + 0x4a], 0x7d
jne 0x1401c15e7
add rcx, 2
lea rdx, [rbp - 0x40]
call fcn.140078228
mov ebx, eax
test eax, eax
jns 0x1401c15f2
mov ecx, eax
jmp 0x1401c15ed
xor edi, edi
cmp dword [0x140452f70], 1
cmove rdi, qword [0x140452560]
jmp 0x1401c1504
cmp rax, 0x24
je 0x1401c15b8
mov ebx, r15d
mov ecx, r15d
call fcn.140082a8c
mov ecx, ebx
call fcn.140082b34
test ebx, ebx
jns 0x1401c1604
mov ecx, ebx
jmp 0x1401c17e4
lea r8, [rsp + 0x40]
lea rdx, str.applicationId
lea rcx, [rsp + 0x50]
call fcn.1400c8318
test al, al
je 0x1401c16ab
movsxd rax, dword [rsp + 0x40]
shl rax, 4
add rax, qword [rsp + 0x58]
mov rcx, qword [rax + 8]
mov rax, rsi
inc rax
cmp word [rcx + rax*2], r14w
jne 0x1401c1637
cmp rax, 0x26
jne 0x1401c166b
cmp word [rcx], 0x7b
jne 0x1401c1671
cmp word [rcx + 0x4a], 0x7d
jne 0x1401c1671
add rcx, 2
lea rdx, [rbp - 0x60]
call fcn.140078228
mov ebx, eax
test eax, eax
jns 0x1401c167c
mov ecx, eax
jmp 0x1401c1677
cmp rax, 0x24
je 0x1401c1658
mov ebx, r15d
mov ecx, r15d
call fcn.140082a8c
mov ecx, ebx
call fcn.140082b34
test ebx, ebx
js 0x1401c15fd
mov rdi, qword [rsp + 0x70]
lea r8, [rbp - 0x40]
mov rcx, rdi
lea rdx, [rbp - 0x60]
call fcn.1401879a8
mov ebx, eax
test eax, eax
jns 0x1401c16b0
jmp 0x1401c17e2
mov rdi, qword [rsp + 0x70]
lea r8, [rsp + 0x40]
lea rdx, str.licenseId
lea rcx, [rsp + 0x50]
call fcn.1400c8318
test al, al
je 0x1401c17b2
movsxd rax, dword [rsp + 0x40]
shl rax, 4
add rax, qword [rsp + 0x58]
mov rcx, qword [rax + 8]
inc rsi
cmp word [rcx + rsi*2], r14w
jne 0x1401c16e0
cmp rsi, 0x26
jne 0x1401c1714
cmp word [rcx], 0x7b
jne 0x1401c171a
cmp word [rcx + 0x4a], 0x7d
jne 0x1401c171a
add rcx, 2
lea rdx, [rbp - 0x60]
call fcn.140078228
mov ebx, eax
test eax, eax
jns 0x1401c1725
mov ecx, eax
jmp 0x1401c1720
cmp rsi, 0x24
je 0x1401c1701
mov ebx, r15d
mov ecx, r15d
call fcn.140082a8c
mov ecx, ebx
call fcn.140082b34
test ebx, ebx
js 0x1401c15fd
movups xmm6, xmmword [rbp - 0x60]
lea r8, [rsp + 0x40]
movups xmm7, xmmword [rbp - 0x40]
lea rdx, [rbp - 0x60]
lea rcx, [rdi + 0x10]
movups xmmword [rbp - 0x60], xmm6
movups xmmword [rbp - 0x50], xmm7
call fcn.140183c0c
test al, al
je 0x1401c1773
movsxd rax, dword [rsp + 0x40]
mov ebx, r14d
shl rax, 5
add rax, qword [rdi + 0x18]
movups xmmword [rax], xmm6
movups xmmword [rax + 0x10], xmm7
jmp 0x1401c1791
mov edx, dword [rsp + 0x40]
lea r8, [rbp - 0x60]
lea rcx, [rdi + 0x10]
call fcn.1401c44ec
mov ebx, eax
test eax, eax
jns 0x1401c1791
mov ecx, eax
call fcn.140082a8c
mov ecx, ebx
call fcn.140082b34
test ebx, ebx
jns 0x1401c17a3
mov ecx, ebx
call fcn.140082a8c
mov ecx, ebx
call fcn.140082b34
test ebx, ebx
js 0x1401c15fd
mov rdi, qword [rbp - 0x68]
mov rax, qword [rdi]
mov rbx, qword [rax + 0xa8]
mov rax, qword [0x1403cf6d0]
mov rcx, rbx
call rax
mov rdx, qword [rsp + 0x48]
mov rax, rbx
xor r8d, r8d
mov rcx, rdi
call rax
mov ebx, eax
test eax, eax
jns 0x1401c17e9
mov ecx, eax
call fcn.140082a8c
mov ecx, ebx
call fcn.140082b34
mov esi, 3
mov qword [rbp - 0x78], r14
lea rax, [0x14002ee5c]
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], rax
lea rdx, [rsp + 0x78]
lea rax, [rsp + 0x50]
mov r15d, 0xb9
lea r12d, [rsi + 0x1d]
mov qword [rbp - 0x70], rax
mov r8d, r12d
xor r9d, r9d
mov ecx, r15d
call sub.ntdll.dll_NtQuerySystemInformation
mov rdi, qword [rsp + 0x68]
test rdi, rdi
je 0x1401c1852
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 [rsp + 0x68], r14
lea rax, [0x140028cdc]
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], rax
lea rdx, [rsp + 0x78]
lea rax, [rsp + 0x48]
mov qword [rbp - 0x78], r14
xor r9d, r9d
mov qword [rbp - 0x70], rax
mov r8, r12
mov rcx, r15
call sub.ntdll.dll_NtQuerySystemInformation
mov eax, ebx
mov rcx, qword [rbp - 0x30]
xor rcx, rsp
call fcn.140389660
lea r11, [rsp + 0x108]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, [0x140452d90]
call fcn.140389a9c
cmp dword [0x140452d90], esi
jne 0x1401c149b
xorps xmm0, xmm0
mov qword [0x140452da8], r14
lea rax, str.metaInfoType
mov dword [0x140452db0], r14d
mov qword [0x140452da0], rax
xor eax, eax
mov qword [0x140452dc8], rax
lea rax, str.licenseId
movups xmmword [0x140452db8], xmm0
mov qword [0x140452db8], rax
lea rax, str.licId
mov qword [0x140452dc0], rax
xor eax, eax
mov qword [0x140452de0], rax
lea rax, str.licenseType
movups xmmword [0x140452dd0], xmm0
mov qword [0x140452dd0], rax
lea rax, [0x1403f54fc]
mov qword [0x140452dd8], rax
xor eax, eax
mov qword [0x140452df8], rax
lea rax, str.licenseCategory
movups xmmword [0x140452de8], xmm0
mov qword [0x140452de8], rax
lea rax, str.licCat
mov qword [0x140452df0], rax
xor eax, eax
mov qword [0x140452e10], rax
lea rax, str.fileId
movups xmmword [0x140452e00], xmm0
mov qword [0x140452e00], rax
xor eax, eax
mov qword [0x140452e28], rax
lea rax, str.applicationId
movups xmmword [0x140452e18], xmm0
mov qword [0x140452e18], rax
lea rax, [0x1403ec10c]
mov qword [0x140452e20], rax
xor eax, eax
mov qword [0x140452e40], rax
lea rax, str.productSkuId
movups xmmword [0x140452e30], xmm0
mov qword [0x140452e30], rax
lea rax, str.skuId
mov qword [0x140452e38], rax
xor eax, eax
mov qword [0x140452e58], rax
lea rax, [0x1403f54dc]
movups xmmword [0x140452e48], xmm0
mov qword [0x140452e50], rax
xor eax, eax
mov qword [0x140452e70], rax
lea rax, str.phone:policy
movups xmmword [0x140452e60], xmm0
mov qword [0x140452e60], rax
lea rax, str.phnPol
mov qword [0x140452e68], rax
xor eax, eax
mov qword [0x140452e88], rax
lea rax, str.stilComment
movups xmmword [0x140452e78], xmm0
mov qword [0x140452e78], rax
mov dword [0x140452db4], esi
mov dword [0x140452dc8], edi
mov dword [0x140452dcc], edi
mov dword [0x140452de0], r14d
mov dword [0x140452de4], edi
mov dword [0x140452df8], r14d
mov dword [0x140452dfc], edi
mov qword [0x140452e08], r14
mov dword [0x140452e10], r14d
mov dword [0x140452e14], edi
mov dword [0x140452e28], edi
mov dword [0x140452e2c], edi
mov dword [0x140452e40], edi
mov dword [0x140452e44], edi
mov qword [0x140452e48], rbx
mov dword [0x140452e58], r14d
mov dword [0x140452e5c], 0x24
mov dword [0x140452e70], r14d
mov dword [0x140452e74], 0x24
xor eax, eax
mov qword [0x140452e80], r14
mov qword [0x140452ea0], rax
lea rcx, [0x140452d90]
movups xmmword [0x140452e90], xmm0
lea rax, str.stilComment2
mov dword [0x140452e88], r14d
mov qword [0x140452e90], rax
xor eax, eax
mov qword [0x140452eb8], rax
lea rax, str.stilToken
movups xmmword [0x140452ea8], xmm0
mov qword [0x140452ea8], rax
mov dword [0x140452e8c], 0x20
mov qword [0x140452e98], r14
mov dword [0x140452ea0], r14d
mov dword [0x140452ea4], 0x20
mov qword [0x140452eb0], r14
mov dword [0x140452eb8], r14d
mov dword [0x140452ebc], 0x20
call fcn.140389a2c
jmp 0x1401c149b