Function at 0x1401b3f6c
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 - 0x58]
sub rsp, 0x118
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
mov rax, qword [0x14042eb28]
xor rax, rsp
mov qword [rbp - 0x20], rax
mov rax, qword [rbp + 0x80]
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 [0x140439060], eax
jg 0x1401b440c
mov rax, qword [r15]
mov rbx, qword [rax + 0x28]
mov rcx, rbx
call qword [0x1403b8660]
lea r9, [rsp + 0x60]
mov rcx, r15
lea r8, [rsp + 0x68]
lea rdx, str.RuleSetData
call rbx
mov ebx, eax
test eax, eax
js 0x1401b433e
mov r14, qword [r13 + 0x18]
mov rax, qword [r14]
mov rbx, qword [rax + 0x178]
mov rcx, rbx
cmp dword [rsp + 0x60], edi
jne 0x1401b411e
xor edi, edi
cmp dword [0x140439240], 1
cmove rdi, qword [0x140438718]
call qword [0x1403b8660]
lea r8, [rsp + 0x48]
mov rdx, rdi
mov rcx, r14
call rbx
xor r14d, r14d
mov ebx, eax
test eax, eax
js 0x1401b433e
mov rax, qword [rsp + 0x48]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x30], r8
lea r9, [0x140439070]
mov qword [rsp + 0x28], rax
mov r8, r15
mov rdx, r12
mov dword [rsp + 0x20], SafeArrayGetDim
mov rcx, r13
call fcn.1401b53c4
mov ebx, eax
test eax, eax
js 0x1401b433e
lea r8, [rsp + 0x40]
lea rdx, str.productSkuId
lea rcx, [rsp + 0x50]
call fcn.1400ba818
test al, al
je 0x1401b4314
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 0x1401b40e4
mov r15d, 0x80070057
cmp rax, 0x26
jne 0x1401b4134
cmp word [rcx], 0x7b
jne 0x1401b413a
cmp word [rcx + 0x4a], 0x7d
jne 0x1401b413a
add rcx, 2
lea rdx, [rbp - 0x50]
call fcn.14006fe70
mov ebx, eax
test eax, eax
jns 0x1401b4145
mov ecx, eax
jmp 0x1401b4140
xor edi, edi
cmp dword [0x140439240], 1
cmove rdi, qword [0x140438710]
jmp 0x1401b4056
cmp rax, 0x24
je 0x1401b410b
mov ebx, r15d
mov ecx, r15d
call fcn.14007ab24
mov ecx, ebx
call fcn.14007ab44
test ebx, ebx
jns 0x1401b4157
mov ecx, ebx
jmp 0x1401b4340
lea r8, [rsp + 0x40]
lea rdx, str.applicationId
lea rcx, [rsp + 0x50]
call fcn.1400ba818
test al, al
je 0x1401b41fe
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 0x1401b418a
cmp rax, 0x26
jne 0x1401b41be
cmp word [rcx], 0x7b
jne 0x1401b41c4
cmp word [rcx + 0x4a], 0x7d
jne 0x1401b41c4
add rcx, 2
lea rdx, [rbp - 0x60]
call fcn.14006fe70
mov ebx, eax
test eax, eax
jns 0x1401b41cf
mov ecx, eax
jmp 0x1401b41ca
cmp rax, 0x24
je 0x1401b41ab
mov ebx, r15d
mov ecx, r15d
call fcn.14007ab24
mov ecx, ebx
call fcn.14007ab44
test ebx, ebx
js 0x1401b4150
mov rdi, qword [rsp + 0x70]
lea r8, [rbp - 0x50]
mov rcx, rdi
lea rdx, [rbp - 0x60]
call fcn.14017d7a4
mov ebx, eax
test eax, eax
jns 0x1401b4203
jmp 0x1401b433e
mov rdi, qword [rsp + 0x70]
lea r8, [rsp + 0x40]
lea rdx, str.licenseId
lea rcx, [rsp + 0x50]
call fcn.1400ba818
test al, al
je 0x1401b4314
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 0x1401b4233
cmp rsi, 0x26
jne 0x1401b4267
cmp word [rcx], 0x7b
jne 0x1401b426d
cmp word [rcx + 0x4a], 0x7d
jne 0x1401b426d
add rcx, 2
lea rdx, [rbp - 0x60]
call fcn.14006fe70
mov ebx, eax
test eax, eax
jns 0x1401b4278
mov ecx, eax
jmp 0x1401b4273
cmp rsi, 0x24
je 0x1401b4254
mov ebx, r15d
mov ecx, r15d
call fcn.14007ab24
mov ecx, ebx
call fcn.14007ab44
test ebx, ebx
js 0x1401b4150
xor edx, edx
lea rcx, [rbp - 0x40]
lea r8d, [rdx + 0x20]
call sub.msvcrt.dll_memset
movups xmm6, xmmword [rbp - 0x60]
lea r8, [rsp + 0x40]
movups xmm7, xmmword [rbp - 0x50]
lea rdx, [rbp - 0x40]
lea rcx, [rdi + 0x10]
movups xmmword [rbp - 0x40], xmm6
movups xmmword [rbp - 0x30], xmm7
call fcn.1401784ec
test al, al
je 0x1401b42d5
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 0x1401b42f3
mov edx, dword [rsp + 0x40]
lea r8, [rbp - 0x40]
lea rcx, [rdi + 0x10]
call fcn.1401b6d38
mov ebx, eax
test eax, eax
jns 0x1401b42f3
mov ecx, eax
call fcn.14007ab24
mov ecx, ebx
call fcn.14007ab44
test ebx, ebx
jns 0x1401b4305
mov ecx, ebx
call fcn.14007ab24
mov ecx, ebx
call fcn.14007ab44
test ebx, ebx
js 0x1401b4150
mov rdi, qword [rbp - 0x68]
mov rax, qword [rdi]
mov rbx, qword [rax + 0xa8]
mov rcx, rbx
call qword [0x1403b8660]
mov rdx, qword [rsp + 0x48]
xor r8d, r8d
mov rcx, rdi
call rbx
mov ebx, eax
test eax, eax
jns 0x1401b4345
mov ecx, eax
call fcn.14007ab24
mov ecx, ebx
call fcn.14007ab44
mov esi, 3
mov qword [rbp - 0x78], r14
lea rax, [0x1400239f8]
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], rax
lea rdx, [rsp + 0x78]
lea rax, [rsp + 0x50]
mov r15d, 0xb9
lea r8d, [rsi + 0x1d]
mov qword [rbp - 0x70], rax
xor r9d, r9d
mov ecx, r15d
call sub.ntdll.dll_NtQuerySystemInformation
mov rdi, qword [rsp + 0x68]
test rdi, rdi
je 0x1401b43ab
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
xor r9d, r9d
mov qword [rsp + 0x78], rsi
lea rax, [0x14001cb78]
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x80], rax
lea rdx, [rsp + 0x78]
lea rax, [rsp + 0x48]
mov rcx, r15
lea r8d, [r9 + 0x20]
mov qword [rbp - 0x70], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov eax, ebx
mov rcx, qword [rbp - 0x20]
xor rcx, rsp
call fcn.14036e5e0
lea r11, [rsp + 0x118]
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, [0x140439060]
call fcn.14036ea0c
cmp dword [0x140439060], esi
jne 0x1401b3ffa
xor eax, eax
mov qword [0x140439078], r14
mov qword [0x140439080], rax
lea rax, str.metaInfoType
mov qword [0x140439070], rax
xor eax, eax
mov qword [0x140439098], rax
lea rax, str.licenseId
mov qword [0x140439088], rax
lea rax, str.licId
mov qword [0x140439090], rax
xor eax, eax
mov qword [0x1404390b0], rax
lea rax, str.licenseType
mov qword [0x1404390a0], rax
lea rax, [0x1403dc72c]
mov qword [0x1404390a8], rax
xor eax, eax
mov qword [0x1404390c8], rax
lea rax, str.licenseCategory
mov qword [0x1404390b8], rax
lea rax, str.licCat
mov qword [0x1404390c0], rax
xor eax, eax
mov qword [0x1404390e0], rax
lea rax, str.fileId
mov qword [0x1404390d0], rax
xor eax, eax
mov qword [0x1404390f8], rax
lea rax, str.applicationId
mov qword [0x1404390e8], rax
lea rax, [0x1403d332c]
mov qword [0x1404390f0], rax
xor eax, eax
mov qword [0x140439110], rax
lea rax, str.productSkuId
mov qword [0x140439100], rax
lea rax, str.skuId
mov qword [0x140439108], rax
xor eax, eax
mov qword [0x140439128], rax
lea rax, [0x1403dc6f4]
mov qword [0x140439120], rax
xor eax, eax
mov qword [0x140439140], rax
lea rax, str.phone:policy
mov qword [0x140439130], rax
lea rax, str.phnPol
mov qword [0x140439138], rax
xor eax, eax
mov qword [0x140439158], rax
lea rax, str.stilComment
mov qword [0x140439148], rax
xor eax, eax
mov qword [0x140439170], rax
lea rax, str.stilComment2
mov qword [0x140439160], rax
mov dword [0x140439080], r14d
mov dword [0x140439084], esi
mov dword [0x140439098], edi
mov dword [0x14043909c], edi
mov dword [0x1404390b0], r14d
mov dword [0x1404390b4], edi
mov dword [0x1404390c8], r14d
mov dword [0x1404390cc], edi
mov qword [0x1404390d8], r14
mov dword [0x1404390e0], r14d
mov dword [0x1404390e4], edi
mov dword [0x1404390f8], edi
mov dword [0x1404390fc], edi
mov dword [0x140439110], edi
mov dword [0x140439114], edi
mov qword [0x140439118], rbx
mov dword [0x140439128], r14d
mov dword [0x14043912c], 0x24
mov dword [0x140439140], r14d
mov dword [0x140439144], 0x24
mov qword [0x140439150], r14
mov dword [0x140439158], r14d
mov dword [0x14043915c], 0x20
mov qword [0x140439168], r14
xor eax, eax
mov dword [0x140439170], r14d
mov qword [0x140439188], rax
lea rcx, [0x140439060]
lea rax, str.stilToken
mov dword [0x140439174], 0x20
mov qword [0x140439178], rax
mov qword [0x140439180], r14
mov dword [0x140439188], r14d
mov dword [0x14043918c], 0x20
call fcn.14036e99c
jmp 0x1401b3ffa