Function at 0x140162e90
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
xor eax, eax
mov r15, rcx
xor ebx, ebx
mov qword [rbp - 0x71], rax
lea rcx, [rbp - 0x71]
mov qword [rbp - 0x79], rbx
mov qword [rsp + 0x30], rbx
mov r13, r9
mov qword [rbp - 0x69], rax
mov r14, r8
mov qword [rbp - 0x61], rax
mov r12, rdx
call qword [sym.imp.OLEAUT32.dll_VariantClear]
xor eax, eax
lea rcx, [rbp - 0x31]
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rax
call qword [sym.imp.OLEAUT32.dll_VariantClear]
cmp dword [0x140438c38], 1
lea eax, [rbx + 8]
movsd xmm1, qword [rbp - 0x21]
mov edi, ebx
cmove rdi, qword [0x140438400]
mov word [rbp - 0x31], ax
mov eax, ebx
cmove rax, qword [0x140438408]
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 rcx, rbx
movaps xmmword [rbp - 0x51], xmm0
call qword [0x1403b8660]
lea r8, [rbp - 0x51]
mov rdx, rdi
mov rcx, r14
call rbx
mov esi, eax
test eax, eax
jns 0x140162f5d
mov ecx, eax
jmp 0x140162f9f
mov rax, qword [r14]
xor edi, edi
cmp dword [0x140438c38], 1
cmove rdi, qword [0x140438410]
mov rbx, qword [rax + 0x128]
mov rcx, rbx
call qword [0x1403b8660]
lea r8, [rbp - 0x59]
mov rdx, rdi
mov rcx, r14
call rbx
test eax, eax
js 0x140162f98
cmp qword [rbp - 0x59], 0
jne 0x140162fa4
mov esi, 0x8004bd05
mov ecx, esi
call fcn.14007ab24
mov ecx, esi
call fcn.14007ab44
and qword [rbp - 9], 0
lea rax, [0x1400294f8]
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 0x140163229
xor edx, edx
lea rax, [rbp - 0x79]
lea r9, [0x1403be3c0]
mov qword [rsp + 0x20], rax
lea rcx, [0x1403be3e0]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test eax, eax
jns 0x140163018
mov ecx, eax
jmp 0x14016322b
mov rbx, qword [rbp - 0x79]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x38]
mov rcx, rdi
call qword [0x1403b8660]
mov rdx, r14
mov rcx, rbx
call rdi
test eax, eax
jns 0x140163055
mov rcx, qword [r15]
test rcx, rcx
je 0x14016304b
call fcn.14010c3fc
mov esi, eax
test eax, eax
js 0x140163011
mov esi, 0x8004bd03
jmp 0x140163229
mov rbx, qword [rbp - 0x79]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x48]
mov rcx, rdi
call qword [0x1403b8660]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x140163011
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 rcx, rdi
call qword [0x1403b8660]
lea rdx, [rbp - 0x51]
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x140163011
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 rcx, rdi
call qword [0x1403b8660]
lea rdx, [rbp - 0x51]
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x140163011
mov r13, qword [rbp + 0x6f]
movsxd r12, dword [r13 + 4]
test r12, r12
jle 0x14016317a
xor r14d, r14d
xor r15d, r15d
mov rsi, 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 + rsi + 8]
mov qword [rbp - 0x69], rax
mov rax, qword [rbx]
movups xmm0, xmmword [rbp - 0x71]
mov rsi, qword [r15 + rsi]
movsd qword [rbp - 0x41], xmm1
mov rdi, qword [rax + 0x90]
mov rcx, rdi
movaps xmmword [rbp - 0x51], xmm0
call qword [0x1403b8660]
xor r9d, r9d
lea r8, [rbp - 0x51]
mov rdx, rsi
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x140163011
inc r14
add r15, 0x10
cmp r14, r12
jl 0x140163111
mov r14, qword [rbp + 0x7f]
test r14, r14
je 0x1401631b9
mov r15, qword [rbp + 0x77]
test r15, r15
je 0x1401631b9
mov rbx, qword [rsp + 0x30]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x98]
mov rcx, rdi
call qword [0x1403b8660]
mov r8, r15
mov rdx, r14
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x140163011
mov rbx, qword [rsp + 0x30]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x78]
mov rcx, rdi
call qword [0x1403b8660]
lea rdx, [rbp + 0x5f]
mov rcx, rbx
call rdi
test eax, eax
js 0x140163209
cmp word [rbp + 0x5f], 0xffff
jne 0x140163209
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x140163230
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x1403b8660]
mov rcx, rbx
call rdi
and qword [rsp + 0x30], 0
jmp 0x140163230
mov rcx, qword [rbp + 0x4f]
mov rcx, qword [rcx]
test rcx, rcx
je 0x140163224
call fcn.14010c3fc
mov esi, eax
test eax, eax
js 0x140163011
mov esi, 0x8004bd04
mov ecx, esi
call fcn.14007ab24
mov ecx, esi
call fcn.14007ab44
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x14016325c
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x1403b8660]
mov rcx, rbx
call rdi
and qword [rsp + 0x30], 0
mov rbx, qword [rbp - 0x79]
test rbx, rbx
je 0x14016327a
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x1403b8660]
mov rcx, rbx
call rdi
mov eax, esi
mov rbx, qword [rsp + 0x108]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret