Function at 0x140162680
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 ebx, ebx
xorps xmm0, xmm0
mov qword [rbp - 0x79], rbx
xor eax, eax
mov qword [rsp + 0x30], rbx
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 - 0x31]
xor eax, eax
movups xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], rax
call qword [sym.imp.OLEAUT32.dll_VariantClear]
cmp dword [0x140440768], 1
lea eax, [rbx + 8]
movsd xmm1, qword [rbp - 0x21]
mov edi, ebx
cmove rdi, qword [0x14043ff40]
mov word [rbp - 0x31], ax
mov eax, ebx
cmove rax, qword [0x14043ff48]
mov qword [rbp - 0x29], rax
mov rax, qword [r14]
movups xmm0, xmmword [rbp - 0x31]
mov qword [rbp - 0x59], rbx
movsd qword [rbp - 0x41], xmm1
mov rbx, qword [rax + 0x280]
mov rax, qword [0x1403c1610]
mov rcx, rbx
movaps xmmword [rbp - 0x51], xmm0
call rax
mov rax, rbx
lea r8, [rbp - 0x51]
mov rdx, rdi
mov rcx, r14
call rax
mov esi, eax
test eax, eax
jns 0x140162751
mov ecx, eax
jmp 0x140162799
mov rax, qword [r14]
xor edi, edi
cmp dword [0x140440768], 1
cmove rdi, qword [0x14043ff50]
mov rbx, qword [rax + 0x128]
mov rax, qword [0x1403c1610]
mov rcx, rbx
call rax
mov rax, rbx
lea r8, [rbp - 0x59]
mov rdx, rdi
mov rcx, r14
call rax
test eax, eax
js 0x140162792
cmp qword [rbp - 0x59], 0
jne 0x14016279e
mov esi, 0x8004bd05
mov ecx, esi
call fcn.140079c40
mov ecx, esi
call fcn.140079c60
and qword [rbp - 9], 0
lea rax, [0x140026198]
xor r9d, r9d
mov qword [rbp - 0x11], rax
lea rax, [rbp - 0x59]
mov qword [rbp - 0x19], 3
lea rdx, [rbp - 0x19]
mov qword [rbp - 1], rax
mov ecx, 0xb9
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
test esi, esi
js 0x140162a53
xor edx, edx
lea rax, [rbp - 0x79]
lea r9, [0x1403c73e0]
mov qword [rsp + 0x20], rax
lea rcx, [0x1403c7400]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test eax, eax
jns 0x140162812
mov ecx, eax
jmp 0x140162a55
mov rbx, qword [rbp - 0x79]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x38]
mov rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
mov rdx, r14
mov rcx, rbx
call rax
test eax, eax
jns 0x140162855
mov rcx, qword [r15]
test rcx, rcx
je 0x14016284b
call fcn.14010b690
mov esi, eax
test eax, eax
js 0x14016280b
mov esi, 0x8004bd03
jmp 0x140162a53
mov rbx, qword [rbp - 0x79]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x48]
mov rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
lea rdx, [rsp + 0x30]
mov rcx, rbx
call rax
mov esi, eax
test eax, eax
js 0x14016280b
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 [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
lea rdx, [rbp - 0x51]
mov rcx, rbx
call rax
mov esi, eax
test eax, eax
js 0x14016280b
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 [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
lea rdx, [rbp - 0x51]
mov rcx, rbx
call rax
mov esi, eax
test eax, eax
js 0x14016280b
mov r13, qword [rbp + 0x6f]
movsxd r12, dword [r13 + 4]
test r12, r12
jle 0x140162992
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 [r15 + rcx + 8]
mov qword [rbp - 0x69], rax
mov rax, qword [rbx]
movups xmm0, xmmword [rbp - 0x71]
mov rsi, qword [r15 + rcx]
movsd qword [rbp - 0x41], xmm1
mov rdi, qword [rax + 0x90]
mov rax, qword [0x1403c1610]
mov rcx, rdi
movaps xmmword [rbp - 0x51], xmm0
call rax
mov rax, rdi
lea r8, [rbp - 0x51]
xor r9d, r9d
mov rdx, rsi
mov rcx, rbx
call rax
mov esi, eax
test eax, eax
js 0x14016280b
inc r14
add r15, 0x10
cmp r14, r12
jl 0x140162923
mov r14, qword [rbp + 0x7f]
test r14, r14
je 0x1401629d7
mov r15, qword [rbp + 0x77]
test r15, r15
je 0x1401629d7
mov rbx, qword [rsp + 0x30]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x98]
mov rax, qword [0x1403c1610]
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 0x14016280b
mov rbx, qword [rsp + 0x30]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x78]
mov rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
lea rdx, [rbp + 0x5f]
mov rcx, rbx
call rax
test eax, eax
js 0x140162a33
cmp word [rbp + 0x5f], 0xffff
jne 0x140162a33
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x140162a5a
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
mov rcx, rbx
call rax
and qword [rsp + 0x30], 0
jmp 0x140162a5a
mov rcx, qword [rbp + 0x4f]
mov rcx, qword [rcx]
test rcx, rcx
je 0x140162a4e
call fcn.14010b690
mov esi, eax
test eax, eax
js 0x14016280b
mov esi, 0x8004bd04
mov ecx, esi
call fcn.140079c40
mov ecx, esi
call fcn.140079c60
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x140162a8c
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
mov rcx, rbx
call rax
and qword [rsp + 0x30], 0
mov rbx, qword [rbp - 0x79]
test rbx, rbx
je 0x140162ab0
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
mov rcx, rbx
call rax
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