Function at 0x14015fa48
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
mov r14, rcx
xorps xmm0, xmm0
xor eax, eax
lea rcx, [rbp - 0x21]
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], rax
mov r15, rdx
call qword [sym.imp.OLEAUT32.dll_VariantClear]
movsd xmm1, qword [rbp - 0x11]
xor r12d, r12d
cmp dword [0x140440748], 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 [0x14043ff28]
cmp dword [0x140440768], 1
mov qword [rbp - 0x19], rax
mov rax, qword [r14]
movups xmm0, xmmword [rbp - 0x21]
cmove rdi, qword [0x14043ff40]
mov qword [rbp - 0x79], r12
mov rbx, qword [rax + 0x280]
mov rax, qword [0x1403c1610]
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
lea r13d, [r12 + 3]
mov esi, eax
test eax, eax
jns 0x14015fb1f
mov ecx, eax
call fcn.140079c40
jmp 0x14015fd47
mov rax, qword [r14]
mov rdi, r12
cmp dword [0x140440748], 1
cmove rdi, qword [0x14043ff20]
mov rbx, qword [rax + 0x120]
mov rax, qword [0x1403c1610]
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 0x14015fb13
mov rbx, qword [rbp - 0x71]
test rbx, rbx
je 0x14015fd3b
mov rax, qword [rbx]
mov rdi, qword [rax + 0x40]
mov rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
lea rdx, [rbp + 0x77]
mov rcx, rbx
call rax
mov esi, eax
test eax, eax
js 0x14015fb13
mov r14d, r12d
cmp dword [rbp + 0x77], r12d
jle 0x14015fd3b
mov rbx, qword [rbp - 0x79]
test rbx, rbx
je 0x14015fbc3
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 qword [rbp - 0x79], r12
mov rbx, qword [rbp - 0x71]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x38]
mov rax, qword [0x1403c1610]
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 0x14015fb13
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x14015fc06
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 [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
lea rdx, [rbp + 0x7f]
mov rcx, rbx
call rax
mov esi, eax
test eax, eax
js 0x14015fb13
mov rcx, qword [rbp + 0x7f]
lea rdx, [rbp - 0x31]
call fcn.140079b08
mov esi, eax
test eax, eax
js 0x14015fb13
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x14015fc5d
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 [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
lea rdx, [rbp + 0x7f]
mov rcx, rbx
call rax
mov esi, eax
test eax, eax
js 0x14015fb13
mov rcx, qword [rbp + 0x7f]
lea rdx, [rbp - 0x29]
call fcn.140079b08
mov esi, eax
test eax, eax
js 0x14015fb13
mov rdx, qword [rbp - 0x31]
lea r8, [rbp + 0x67]
lea rcx, [rbp - 0x41]
call fcn.1400ba40c
test al, al
je 0x14015fd02
movsxd rax, dword [rbp + 0x67]
lea rcx, [0x14002ccd8]
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 0x14015fd1f
mov edx, dword [rbp + 0x67]
lea r8, [rbp - 0x31]
lea rcx, [rbp - 0x41]
call fcn.1401640ac
mov esi, eax
test eax, eax
jns 0x14015fd1f
mov ecx, eax
call fcn.140079c40
mov ecx, esi
call fcn.140079c60
test esi, esi
js 0x14015fe34
inc r14d
cmp r14d, dword [rbp + 0x77]
jl 0x14015fb9b
lea rdx, [rbp - 0x41]
mov rcx, r15
call fcn.140162098
mov ecx, esi
call fcn.140079c60
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x14015fd61
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbp + 0x7f], r12
mov rbx, qword [rbp - 0x71]
test rbx, rbx
je 0x14015fd89
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 qword [rbp - 0x71], r12
xor r9d, r9d
mov qword [rbp - 0x69], r13
lea rax, [0x140026b58]
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, [0x140026818]
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, [0x1400216d8]
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 0x14015fb15