Function at 0x14016030c
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
xor eax, eax
mov r14, rcx
lea rcx, [rbp - 0x21]
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], rax
mov r15, rdx
mov qword [rbp - 0x11], rax
call qword [sym.imp.OLEAUT32.dll_VariantClear]
movsd xmm1, qword [rbp - 0x11]
xor r12d, r12d
cmp dword [0x140438c18], 1
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov edi, r12d
mov qword [rbp - 0x41], r12
lea eax, [r12 + 8]
mov qword [rbp - 0x39], r12
mov word [rbp - 0x21], ax
mov eax, r12d
cmove rax, qword [0x1404383e8]
cmp dword [0x140438c38], 1
mov qword [rbp - 0x19], rax
mov rax, qword [r14]
movups xmm0, xmmword [rbp - 0x21]
cmove rdi, qword [0x140438400]
mov qword [rbp - 0x79], r12
mov rbx, qword [rax + 0x280]
mov rcx, rbx
mov qword [rbp - 0x71], r12
mov qword [rbp + 0x7f], r12
movaps xmmword [rbp + 7], xmm0
movsd qword [rbp + 0x17], xmm1
call qword [0x1403b8660]
lea r8, [rbp + 7]
mov rdx, rdi
mov rcx, r14
call rbx
lea r13d, [r12 + 3]
mov esi, eax
test eax, eax
jns 0x1401603de
mov ecx, eax
call fcn.14007ab24
jmp 0x1401605e2
mov rax, qword [r14]
mov rdi, r12
cmp dword [0x140438c18], 1
cmove rdi, qword [0x1404383e0]
mov rbx, qword [rax + 0x120]
mov rcx, rbx
call qword [0x1403b8660]
lea r8, [rbp - 0x71]
mov rdx, rdi
mov rcx, r14
call rbx
mov esi, eax
test eax, eax
js 0x1401603d2
mov rbx, qword [rbp - 0x71]
test rbx, rbx
je 0x1401605d6
mov rax, qword [rbx]
mov rdi, qword [rax + 0x40]
mov rcx, rdi
call qword [0x1403b8660]
lea rdx, [rbp + 0x77]
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x1401603d2
mov r14d, r12d
cmp dword [rbp + 0x77], r12d
jle 0x1401605d6
mov rbx, qword [rbp - 0x79]
test rbx, rbx
je 0x140160470
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x1403b8660]
mov rcx, rbx
call rdi
mov qword [rbp - 0x79], r12
mov rbx, qword [rbp - 0x71]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x38]
mov rcx, rdi
call qword [0x1403b8660]
lea r8, [rbp - 0x79]
mov edx, r14d
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x1401603d2
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x1401604ad
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 rcx, rdi
call qword [0x1403b8660]
lea rdx, [rbp + 0x7f]
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x1401603d2
mov rcx, qword [rbp + 0x7f]
lea rdx, [rbp - 0x31]
call fcn.14007a9ec
mov esi, eax
test eax, eax
js 0x1401603d2
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x1401604fe
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 rcx, rdi
call qword [0x1403b8660]
lea rdx, [rbp + 0x7f]
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x1401603d2
mov rcx, qword [rbp + 0x7f]
lea rdx, [rbp - 0x29]
call fcn.14007a9ec
mov esi, eax
test eax, eax
js 0x1401603d2
mov rdx, qword [rbp - 0x31]
lea r8, [rbp + 0x67]
lea rcx, [rbp - 0x41]
call fcn.1400ba818
test al, al
je 0x14016059d
movsxd rax, dword [rbp + 0x67]
lea rcx, [0x14002eff8]
shl rax, 4
lea rdx, [rbp - 0x69]
add rax, qword [rbp - 0x39]
xor r9d, r9d
mov qword [rbp - 0x61], rcx
lea rcx, [rbp - 9]
mov qword [rbp - 0x51], rax
lea rax, [rbp - 0x31]
mov qword [rbp - 0x59], rcx
mov ecx, 0xb9
lea r8d, [r9 + 0x28]
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x69], r13
call sub.ntdll.dll_NtQuerySystemInformation
mov esi, r12d
jmp 0x1401605ba
mov edx, dword [rbp + 0x67]
lea r8, [rbp - 0x31]
lea rcx, [rbp - 0x41]
call fcn.140164880
mov esi, eax
test eax, eax
jns 0x1401605ba
mov ecx, eax
call fcn.14007ab24
mov ecx, esi
call fcn.14007ab44
test esi, esi
js 0x1401606c8
inc r14d
cmp r14d, dword [rbp + 0x77]
jl 0x14016044e
lea rdx, [rbp - 0x41]
mov rcx, r15
call fcn.140162890
mov ecx, esi
call fcn.14007ab44
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x1401605fc
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbp + 0x7f], r12
mov rbx, qword [rbp - 0x71]
test rbx, rbx
je 0x14016061e
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x1403b8660]
mov rcx, rbx
call rdi
mov qword [rbp - 0x71], r12
xor r9d, r9d
mov qword [rbp - 0x69], r13
lea rax, [0x1400294f8]
mov qword [rbp - 0x59], r12
mov qword [rbp - 0x61], rax
lea rdx, [rbp - 0x69]
lea rax, [rbp - 0x79]
mov edi, 0xb9
lea ebx, [r9 + 0x28]
mov qword [rbp - 0x51], rax
mov r8d, ebx
mov ecx, edi
call sub.ntdll.dll_NtQuerySystemInformation
lea rax, [0x1400291b8]
mov qword [rbp - 0x69], r13
mov qword [rbp - 0x61], rax
lea rdx, [rbp - 0x69]
lea rax, [rbp - 0x31]
mov qword [rbp - 0x59], r12
xor r9d, r9d
mov qword [rbp - 0x51], rax
mov r8d, ebx
mov ecx, edi
call sub.ntdll.dll_NtQuerySystemInformation
lea rax, [0x1400239f8]
mov qword [rbp - 0x69], r13
mov qword [rbp - 0x61], rax
lea rdx, [rbp - 0x69]
lea rax, [rbp - 0x41]
mov qword [rbp - 0x59], r12
xor r9d, r9d
mov qword [rbp - 0x51], rax
mov r8d, ebx
mov ecx, edi
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
mov ecx, esi
jmp 0x1401603d4