Function at 0x14016cf3c
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf]
sub rsp, 0xc0
mov r15, rcx
xor edi, edi
xorps xmm0, xmm0
mov qword [rbp - 0x79], rdi
xor eax, eax
mov qword [rsp + 0x30], rdi
lea rcx, [rbp - 0x71]
mov qword [rbp - 0x61], rax
movups xmmword [rbp - 0x71], xmm0
mov r13, r9
mov r14, r8
mov r12, rdx
call qword [sym.imp.OLEAUT32.dll_VariantClear]
xorps xmm0, xmm0
lea rcx, [rbp - 0x11]
xor eax, eax
movups xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], rax
call qword [sym.imp.OLEAUT32.dll_VariantClear]
cmp dword [0x140452a98], 1
lea eax, [rdi + 8]
movsd xmm1, qword [rbp - 1]
mov word [rbp - 0x11], ax
mov eax, edi
cmove rax, qword [0x140452198]
mov qword [rbp - 9], rax
mov rax, qword [r14]
movups xmm0, xmmword [rbp - 0x11]
mov qword [rbp - 0x59], rdi
cmove rdi, qword [0x140452190]
mov rbx, qword [rax + 0x280]
mov rax, qword [0x1403cf6d0]
mov rcx, rbx
movaps xmmword [rbp - 0x51], xmm0
movsd qword [rbp - 0x41], xmm1
call rax
mov rax, rbx
lea r8, [rbp - 0x51]
mov rdx, rdi
mov rcx, r14
call rax
mov esi, eax
test eax, eax
jns 0x14016d00b
mov ecx, eax
jmp 0x14016d053
mov rax, qword [r14]
xor edi, edi
cmp dword [0x140452a98], 1
cmove rdi, qword [0x1404521a0]
mov rbx, qword [rax + 0x128]
mov rax, qword [0x1403cf6d0]
mov rcx, rbx
call rax
mov rax, rbx
lea r8, [rbp - 0x59]
mov rdx, rdi
mov rcx, r14
call rax
test eax, eax
js 0x14016d04c
cmp qword [rbp - 0x59], 0
jne 0x14016d058
mov esi, 0x8004bd05
mov ecx, esi
call fcn.140082a8c
mov ecx, esi
call fcn.140082b34
and qword [rbp - 0x21], 0
lea rax, [0x14003189c]
xor r9d, r9d
mov qword [rbp - 0x29], rax
lea rax, [rbp - 0x59]
mov qword [rbp - 0x31], 3
lea rdx, [rbp - 0x31]
mov qword [rbp - 0x19], rax
mov ecx, 0xb9
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
test esi, esi
js 0x14016d30d
xor edx, edx
lea rax, [rbp - 0x79]
lea r9, [0x1403d6fd0]
mov qword [rsp + 0x20], rax
lea rcx, [0x1403d6ff0]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test eax, eax
jns 0x14016d0cc
mov ecx, eax
jmp 0x14016d30f
mov rbx, qword [rbp - 0x79]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x38]
mov rax, qword [0x1403cf6d0]
mov rcx, rdi
call rax
mov rax, rdi
mov rdx, r14
mov rcx, rbx
call rax
test eax, eax
jns 0x14016d10f
mov rcx, qword [r15]
test rcx, rcx
je 0x14016d105
call fcn.140114bd0
mov esi, eax
test eax, eax
js 0x14016d0c5
mov esi, 0x8004bd03
jmp 0x14016d30d
mov rbx, qword [rbp - 0x79]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x48]
mov rax, qword [0x1403cf6d0]
mov rcx, rdi
call rax
mov rax, rdi
lea rdx, [rsp + 0x30]
mov rcx, rbx
call rax
mov esi, eax
test eax, eax
js 0x14016d0c5
movsd xmm1, qword [rbp - 0x61]
mov eax, SafeArrayGetDim
mov rbx, qword [rsp + 0x30]
mov word [rbp - 0x71], ax
mov qword [rbp - 0x69], r12
movups xmm0, xmmword [rbp - 0x71]
mov rax, qword [rbx]
movsd qword [rbp - 0x41], xmm1
movaps xmmword [rbp - 0x51], xmm0
mov rdi, qword [rax + 0x38]
mov rax, qword [0x1403cf6d0]
mov rcx, rdi
call rax
mov rax, rdi
lea rdx, [rbp - 0x51]
mov rcx, rbx
call rax
mov esi, eax
test eax, eax
js 0x14016d0c5
movsd xmm1, qword [rbp - 0x61]
mov rbx, qword [rsp + 0x30]
mov qword [rbp - 0x69], r13
movups xmm0, xmmword [rbp - 0x71]
mov rax, qword [rbx]
movaps xmmword [rbp - 0x51], xmm0
movsd qword [rbp - 0x41], xmm1
mov rdi, qword [rax + 0x68]
mov rax, qword [0x1403cf6d0]
mov rcx, rdi
call rax
mov rax, rdi
lea rdx, [rbp - 0x51]
mov rcx, rbx
call rax
mov esi, eax
test eax, eax
js 0x14016d0c5
mov r13, qword [rbp + 0x6f]
movsxd r12, dword [r13 + 4]
test r12, r12
jle 0x14016d24c
xor r14d, r14d
xor r15d, r15d
mov rcx, qword [r13 + 8]
mov eax, 8
movsd xmm1, qword [rbp - 0x61]
mov rbx, qword [rsp + 0x30]
mov word [rbp - 0x71], ax
mov rax, qword [rcx + r15 + 8]
mov qword [rbp - 0x69], rax
mov rax, qword [rbx]
movups xmm0, xmmword [rbp - 0x71]
mov rdi, qword [rcx + r15]
movsd qword [rbp - 0x41], xmm1
mov rsi, qword [rax + 0x90]
mov rax, qword [0x1403cf6d0]
mov rcx, rsi
movaps xmmword [rbp - 0x51], xmm0
call rax
mov rax, rsi
lea r8, [rbp - 0x51]
xor r9d, r9d
mov rdx, rdi
mov rcx, rbx
call rax
mov esi, eax
test eax, eax
js 0x14016d0c5
inc r14
add r15, 0x10
cmp r14, r12
jl 0x14016d1dd
mov r14, qword [rbp + 0x7f]
test r14, r14
je 0x14016d291
mov r15, qword [rbp + 0x77]
test r15, r15
je 0x14016d291
mov rbx, qword [rsp + 0x30]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x98]
mov rax, qword [0x1403cf6d0]
mov rcx, rdi
call rax
mov rax, rdi
mov r8, r15
mov rdx, r14
mov rcx, rbx
call rax
mov esi, eax
test eax, eax
js 0x14016d0c5
mov rbx, qword [rsp + 0x30]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x78]
mov rax, qword [0x1403cf6d0]
mov rcx, rdi
call rax
mov rax, rdi
lea rdx, [rbp + 0x5f]
mov rcx, rbx
call rax
test eax, eax
js 0x14016d2ed
cmp word [rbp + 0x5f], 0xffff
jne 0x14016d2ed
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x14016d314
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rax, qword [0x1403cf6d0]
mov rcx, rdi
call rax
mov rax, rdi
mov rcx, rbx
call rax
and qword [rsp + 0x30], 0
jmp 0x14016d314
mov rcx, qword [rbp + 0x4f]
mov rcx, qword [rcx]
test rcx, rcx
je 0x14016d308
call fcn.140114bd0
mov esi, eax
test eax, eax
js 0x14016d0c5
mov esi, 0x8004bd04
mov ecx, esi
call fcn.140082a8c
mov ecx, esi
call fcn.140082b34
and qword [rbp - 0x21], 0
lea rax, [0x14003495c]
mov ebx, 3
mov qword [rbp - 0x29], rax
lea rax, [rsp + 0x30]
mov qword [rbp - 0x31], rbx
mov r14d, 0xb9
mov qword [rbp - 0x19], rax
xor r9d, r9d
lea rdx, [rbp - 0x31]
lea edi, [rbx + 0x1d]
mov ecx, r14d
mov r8d, edi
call sub.ntdll.dll_NtQuerySystemInformation
and qword [rbp - 0x21], 0
lea rax, [0x14003461c]
mov qword [rbp - 0x29], rax
lea rdx, [rbp - 0x31]
lea rax, [rbp - 0x79]
mov qword [rbp - 0x31], rbx
xor r9d, r9d
mov qword [rbp - 0x19], rax
mov r8d, edi
mov ecx, r14d
call sub.ntdll.dll_NtQuerySystemInformation
mov rbx, qword [rsp + 0x108]
mov eax, esi
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret