Function at 0x14015b2dc
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 [0x14042fd08], 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 [0x14042f4e8]
cmp dword [0x14042fd28], 1
mov qword [rbp - 0x19], rax
mov rax, qword [r14]
movups xmm0, xmmword [rbp - 0x21]
cmove rdi, qword [0x14042f500]
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 [0x1403af620]
lea r8, [rbp + 7]
mov rdx, rdi
mov rcx, r14
call rbx
lea r13d, [r12 + 3]
mov esi, eax
test eax, eax
jns 0x14015b3ae
mov ecx, eax
call fcn.1400790f8
jmp 0x14015b5b2
mov rax, qword [r14]
mov rdi, r12
cmp dword [0x14042fd08], 1
cmove rdi, qword [0x14042f4e0]
mov rbx, qword [rax + 0x120]
mov rcx, rbx
call qword [0x1403af620]
lea r8, [rbp - 0x71]
mov rdx, rdi
mov rcx, r14
call rbx
mov esi, eax
test eax, eax
js 0x14015b3a2
mov rbx, qword [rbp - 0x71]
test rbx, rbx
je 0x14015b5a6
mov rax, qword [rbx]
mov rdi, qword [rax + 0x40]
mov rcx, rdi
call qword [0x1403af620]
lea rdx, [rbp + 0x77]
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x14015b3a2
mov r14d, r12d
cmp dword [rbp + 0x77], r12d
jle 0x14015b5a6
mov rbx, qword [rbp - 0x79]
test rbx, rbx
je 0x14015b440
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x1403af620]
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 [0x1403af620]
lea r8, [rbp - 0x79]
mov edx, r14d
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x14015b3a2
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x14015b47d
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 [0x1403af620]
lea rdx, [rbp + 0x7f]
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x14015b3a2
mov rcx, qword [rbp + 0x7f]
lea rdx, [rbp - 0x31]
call fcn.140078fc0
mov esi, eax
test eax, eax
js 0x14015b3a2
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x14015b4ce
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 [0x1403af620]
lea rdx, [rbp + 0x7f]
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x14015b3a2
mov rcx, qword [rbp + 0x7f]
lea rdx, [rbp - 0x29]
call fcn.140078fc0
mov esi, eax
test eax, eax
js 0x14015b3a2
mov rdx, qword [rbp - 0x31]
lea r8, [rbp + 0x67]
lea rcx, [rbp - 0x41]
call fcn.1400b867c
test al, al
je 0x14015b56d
movsxd rax, dword [rbp + 0x67]
lea rcx, [0x140027af8]
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 0x14015b58a
mov edx, dword [rbp + 0x67]
lea r8, [rbp - 0x31]
lea rcx, [rbp - 0x41]
call fcn.14015f7e0
mov esi, eax
test eax, eax
jns 0x14015b58a
mov ecx, eax
call fcn.1400790f8
mov ecx, esi
call fcn.140079118
test esi, esi
js 0x14015b698
inc r14d
cmp r14d, dword [rbp + 0x77]
jl 0x14015b41e
lea rdx, [rbp - 0x41]
mov rcx, r15
call fcn.14015d830
mov ecx, esi
call fcn.140079118
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x14015b5cc
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbp + 0x7f], r12
mov rbx, qword [rbp - 0x71]
test rbx, rbx
je 0x14015b5ee
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x1403af620]
mov rcx, rbx
call rdi
mov qword [rbp - 0x71], r12
xor r9d, r9d
mov qword [rbp - 0x69], r13
lea rax, [0x14001ef38]
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, [0x14001ebf8]
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, [0x140019438]
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 0x14015b3a4