Function at 0x14016a8b4
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
mov r14, rcx
xorps xmm0, xmm0
xor eax, eax
lea rcx, [rbp - 0x49]
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], rax
mov r15, rdx
call qword [sym.imp.OLEAUT32.dll_VariantClear]
movsd xmm1, qword [rbp - 0x39]
xor r12d, r12d
cmp dword [0x14045dca8], 1
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x59], xmm0
mov edi, r12d
mov qword [rbp - 0x69], r12
lea eax, [r12 + 8]
mov qword [rbp - 0x61], r12
mov word [rbp - 0x49], ax
mov eax, r12d
cmove rax, qword [0x14045d388]
cmp dword [0x14045dcc8], 1
mov qword [rbp - 0x41], rax
mov rax, qword [r14]
movups xmm0, xmmword [rbp - 0x49]
cmove rdi, qword [0x14045d3a0]
mov qword [rbp - 0x79], r12
mov rbx, qword [rax + 0x280]
mov rax, qword [0x1403d25b8]
mov rcx, rbx
mov qword [rbp - 0x71], r12
mov qword [rbp + 0x7f], r12
movaps xmmword [rbp + 7], xmm0
movsd qword [rbp + 0x17], xmm1
call rax
mov rax, rbx
lea r8, [rbp + 7]
mov rdx, rdi
mov rcx, r14
call rax
mov esi, eax
test eax, eax
jns 0x14016a981
mov ecx, eax
call fcn.14007ac40
jmp 0x14016abad
mov rax, qword [r14]
mov rdi, r12
cmp dword [0x14045dca8], 1
cmove rdi, qword [0x14045d380]
mov rbx, qword [rax + 0x120]
mov rax, qword [0x1403d25b8]
mov rcx, rbx
call rax
mov rax, rbx
lea r8, [rbp - 0x71]
mov rdx, rdi
mov rcx, r14
call rax
mov esi, eax
test eax, eax
js 0x14016a975
mov rbx, qword [rbp - 0x71]
test rbx, rbx
je 0x14016aba1
mov rax, qword [rbx]
mov rdi, qword [rax + 0x40]
mov rax, qword [0x1403d25b8]
mov rcx, rdi
call rax
mov rax, rdi
lea rdx, [rbp + 0x77]
mov rcx, rbx
call rax
mov esi, eax
test eax, eax
js 0x14016a975
mov r14d, r12d
cmp dword [rbp + 0x77], r12d
jle 0x14016aba1
mov rbx, qword [rbp - 0x79]
test rbx, rbx
je 0x14016aa25
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rax, qword [0x1403d25b8]
mov rcx, rdi
call rax
mov rax, rdi
mov rcx, rbx
call rax
mov qword [rbp - 0x79], r12
mov rbx, qword [rbp - 0x71]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x38]
mov rax, qword [0x1403d25b8]
mov rcx, rdi
call rax
mov rax, rdi
lea r8, [rbp - 0x79]
mov edx, r14d
mov rcx, rbx
call rax
mov esi, eax
test eax, eax
js 0x14016a975
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x14016aa68
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbp + 0x7f], r12
mov rbx, qword [rbp - 0x79]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x38]
mov rax, qword [0x1403d25b8]
mov rcx, rdi
call rax
mov rax, rdi
lea rdx, [rbp + 0x7f]
mov rcx, rbx
call rax
mov esi, eax
test eax, eax
js 0x14016a975
mov rcx, qword [rbp + 0x7f]
lea rdx, [rbp - 0x59]
call fcn.14007ab14
mov esi, eax
test eax, eax
js 0x14016a975
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x14016aabf
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbp + 0x7f], r12
mov rbx, qword [rbp - 0x79]
mov rax, qword [rbx]
mov rdi, qword [rax + 0xd0]
mov rax, qword [0x1403d25b8]
mov rcx, rdi
call rax
mov rax, rdi
lea rdx, [rbp + 0x7f]
mov rcx, rbx
call rax
mov esi, eax
test eax, eax
js 0x14016a975
mov rcx, qword [rbp + 0x7f]
lea rdx, [rbp - 0x51]
call fcn.14007ab14
mov esi, eax
test eax, eax
js 0x14016a975
mov rdx, qword [rbp - 0x59]
lea r8, [rbp + 0x67]
lea rcx, [rbp - 0x69]
call fcn.1400c05e8
test al, al
je 0x14016ab68
movsxd rax, dword [rbp + 0x67]
lea rcx, [0x14003645c]
shl rax, 4
lea rdx, [rbp - 0x31]
add rax, qword [rbp - 0x61]
xor r9d, r9d
mov qword [rbp - 0x29], rcx
lea rcx, [rbp - 9]
mov qword [rbp - 0x19], rax
lea rax, [rbp - 0x59]
mov qword [rbp - 0x21], rcx
mov ecx, 0xb9
lea r8d, [r9 + 0x28]
mov qword [rbp - 0x11], rax
mov qword [rbp - 0x31], 3
call sub.ntdll.dll_NtQuerySystemInformation
mov esi, r12d
jmp 0x14016ab85
mov edx, dword [rbp + 0x67]
lea r8, [rbp - 0x59]
lea rcx, [rbp - 0x69]
call fcn.14016e53c
mov esi, eax
test eax, eax
jns 0x14016ab85
mov ecx, eax
call fcn.14007ac40
mov ecx, esi
call fcn.14007ace8
test esi, esi
js 0x14016ac5d
inc r14d
cmp r14d, dword [rbp + 0x77]
jl 0x14016a9fd
lea rdx, [rbp - 0x69]
mov rcx, r15
call fcn.14007900c
mov ecx, esi
call fcn.14007ace8
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x14016abc7
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbp + 0x7f], r12
mov rbx, qword [rbp - 0x71]
test rbx, rbx
je 0x14016abef
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rax, qword [0x1403d25b8]
mov rcx, rdi
call rax
mov rax, rdi
mov rcx, rbx
call rax
mov qword [rbp - 0x71], r12
mov rbx, qword [rbp - 0x79]
test rbx, rbx
je 0x14016ac17
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rax, qword [0x1403d25b8]
mov rcx, rdi
call rax
mov rax, rdi
mov rcx, rbx
call rax
mov qword [rbp - 0x79], r12
lea rcx, [rbp - 0x59]
call fcn.140073b3c
xor edx, edx
lea rcx, [rbp - 0x69]
call fcn.1400c6bf4
mov rbx, qword [rbp - 0x61]
test rbx, rbx
je 0x14016ac48
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, esi
add rsp, 0xc0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, esi
jmp 0x14016a977