Function at 0x1400beb52
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1a8
cmp qword [rcx + 0x80], 0
jne 0x1400bf1f0
mov rbx, rcx
mov byte [rsp + 0x27], dl
xorps xmm0, xmm0
lea rcx, [rsp + 0x170]
movaps xmmword [rcx + 0x20], xmm0
movaps xmmword [rcx + 0x10], xmm0
movaps xmmword [rcx], xmm0
call sub.kernel32.dll_GetSystemInfo
xor esi, esi
mov eax, 0x80000000
xor ecx, ecx
mov r8, rbx
cpuid
xchg rbx, r8
cmp eax, 0x80000004
mov qword [rsp + 0x50], rbx
jb 0x1400bec6c
mov dword [rsp + 0x28], eax
mov ecx, 4
mov edx, 0x50
call fcn.140025db9
test rax, rax
je 0x1400bf204
mov r8, rax
lea rax, [rsp + 0x38]
mov qword [rax], r8
mov qword [rax + 8], 5
mov eax, 0x80000000
xor edi, edi
xor r13d, r13d
mov r9d, dword [rsp + 0x28]
mov qword [rsp + 0x48], rdi
test r13b, 1
jne 0x1400bec85
cmp eax, r9d
ja 0x1400bec85
setae r13b
mov r14d, eax
adc r14d, 0
xor ecx, ecx
mov rbx, rbx
cpuid
xchg rbx, rbx
mov r15d, ecx
mov ebp, edx
mov r12d, eax
cmp rdi, qword [rsp + 0x40]
jne 0x1400bec48
lea rcx, [rsp + 0x38]
mov rdx, rdi
call fcn.140029aae
mov r9d, dword [rsp + 0x28]
mov r8, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
shl rdi, 4
mov dword [r8 + rdi], r12d
mov dword [r8 + rdi + 4], ebx
mov dword [r8 + rdi + 8], r15d
mov dword [r8 + rdi + 0xc], ebp
mov rdi, qword [rsp + 0x48]
inc rdi
mov eax, r14d
jmp 0x1400bebf4
mov eax, 1
mov qword [rsp + 0x30], rax
xor eax, eax
mov qword [rsp + 0x28], rax
xor r15d, r15d
jmp 0x1400bee03
xor r12d, r12d
mov ecx, 0x30
xor edx, edx
call fcn.140025f10
lea rbx, [rsp + 0x90]
mov qword [rbx], rax
mov qword [rbx + 8], rdx
and qword [rbx + 0x10], 0
mov r15, qword [rsp + 0x38]
shl rdi, 4
add rdi, r15
mov eax, 2
mov r14d, 5
test r12b, 1
je 0x1400becd4
test r14, r14
je 0x1400bed35
cmp r15, rdi
je 0x1400bed35
dec r14
jmp 0x1400becf8
cmp r14, rax
jbe 0x1400bed35
mov rcx, rdi
sub rcx, r15
shr rcx, 4
cmp rcx, rax
jbe 0x1400bed35
mov rcx, rax
not rcx
add r14, rcx
shl rax, 4
add r15, rax
lea r13, [r15 + 0x10]
mov edx, dword [r15]
mov rcx, rbx
call fcn.1400bf208
mov edx, dword [r15 + 4]
mov rcx, rbx
call fcn.1400bf208
mov edx, dword [r15 + 8]
mov rcx, rbx
call fcn.1400bf208
mov edx, dword [r15 + 0xc]
mov rcx, rbx
call fcn.1400bf208
mov r12b, 1
mov r15, r13
xor eax, eax
jmp 0x1400becbf
mov rdi, qword [rsp + 0x90]
mov rax, qword [rsp + 0xa0]
xor r8d, r8d
cmp rax, r8
je 0x1400bed59
cmp byte [rdi + r8], 0
je 0x1400bed5e
inc r8
jmp 0x1400bed48
mov r8, rax
jmp 0x1400bed67
cmp rax, r8
jb 0x1400bf204
lea rbx, [rsp + 0x110]
mov rcx, rbx
mov rdx, rdi
call fcn.140031483
cmp qword [rbx], 0
je 0x1400bed96
mov eax, 1
mov qword [rsp + 0x30], rax
xor eax, eax
mov qword [rsp + 0x28], rax
xor r15d, r15d
jmp 0x1400bedd1
mov rdi, qword [rsp + 0x118]
mov rbx, qword [rsp + 0x120]
mov rcx, rbx
call fcn.1400b14fe
mov r15, rdx
mov qword [rsp + 0x30], rax
mov rcx, rax
mov rdx, rdi
mov qword [rsp + 0x28], rbx
mov r8, rbx
call sub.msvcrt.dll_memcpy
mov rdi, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x98]
mov rcx, rdi
call fcn.140025ee7
mov r8, qword [rsp + 0x40]
test r8, r8
je 0x1400bee03
shl r8, 4
mov rcx, qword [rsp + 0x38]
mov edx, 4
call fcn.140010a9a
lea r12, [rbx + 0x70]
xor ecx, ecx
xor eax, eax
mov rdi, rbx
cpuid
xchg rbx, rdi
mov ebx, edx
mov ebp, ecx
mov ecx, 0xc
xor edx, edx
call fcn.140025f10
lea r14, [rsp + 0x90]
mov qword [r14], rax
mov qword [r14 + 8], rdx
and qword [r14 + 0x10], 0
mov rcx, r14
mov edx, edi
call fcn.1400bf208
mov rcx, r14
mov edx, ebx
call fcn.1400bf208
mov rcx, r14
mov edx, ebp
call fcn.1400bf208
mov rdx, qword [r14]
mov rax, qword [r14 + 0x10]
cmp rax, rsi
je 0x1400bee6c
cmp byte [rdx + rsi], 0
je 0x1400bee71
inc rsi
jmp 0x1400bee5c
mov rsi, rax
jmp 0x1400bee7a
cmp rax, rsi
jb 0x1400bf204
lea rdi, [rsp + 0x110]
mov rcx, rdi
mov r8, rsi
call fcn.140031483
cmp qword [rdi], 0
je 0x1400beeba
movsx rax, word [rsp + 0x170]
cmp rax, 0xe
ja 0x1400beecc
lea rcx, [0x1401906f8]
mov rbx, qword [rcx + rax*8]
lea rcx, [0x140190770]
mov rsi, qword [rcx + rax*8]
jmp 0x1400beed8
mov rsi, qword [rsp + 0x118]
mov rbx, qword [rsp + 0x120]
jmp 0x1400beed8
lea rsi, str.unknownlocalhostGnomeWindowsLXDEOpenboxMateXFCEKDECinnamonI3AquaIOSAndroidWeb_BrowserConsoleUbuntuErmineOrbitalUnknown:
mov ebx, 7
mov rcx, rbx
call fcn.1400b14fe
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x58], rax
mov rcx, rax
mov rdx, rsi
mov r8, rbx
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0xc0], r12
mov qword [rsp + 0xc8], r15
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x98]
call fcn.140025ee7
mov esi, dword [rsp + 0x190]
cmp byte [rsp + 0x27], 0
je 0x1400bef4c
lea rdi, [rsp + 0xd0]
mov rcx, rdi
mov rdx, rsi
call fcn.1400bf24d
mov rax, qword [rdi]
mov qword [rsp + 0x68], rax
mov r12, qword [rdi + 0x10]
jmp 0x1400bef76
mov rcx, rsi
mov dl, 1
call fcn.1400bc27e
mov qword [rsp + 0x68], rax
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xd8], rdx
mov qword [rsp + 0xe0], rsi
mov r12, rsi
mov qword [rsp + 0x70], rbx
inc rsi
imul rdx, rsi, 0x70
mov ecx, 8
call fcn.140025db9
test rax, rax
je 0x1400bf204
mov r14, rax
lea rax, [rsp + 0x78]
mov qword [rax], r14
mov qword [rax + 8], rsi
and qword [rax + 0x10], 0
lea r13, [rsp + 0x128]
shl r12, 3
xor esi, esi
lea rbp, [rsp + 0x90]
mov ebx, 1
test r12, r12
je 0x1400bf11e
mov qword [rsp + 0xe8], rbx
lea rax, str.CPU
mov qword [rsp + 0x90], rax
mov eax, 1
mov qword [rsp + 0x98], rax
and qword [rsp + 0xb0], 0
lea rcx, [rsp + 0xe8]
mov qword [rsp + 0x38], rcx
lea rcx, [fcn.140033abf]
mov qword [rsp + 0x40], rcx
lea rdi, [rsp + 0x38]
mov qword [rsp + 0xa0], rdi
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x158]
mov rdx, rbp
call fcn.140006e4c
mov rcx, rdi
mov rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x70]
call fcn.1400264d6
mov rcx, rbp
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x28]
call fcn.1400264d6
mov rax, qword [rsp + 0x68]
mov r15, qword [rax + rbx*8 - 8]
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x120], rax
movups xmm0, xmmword [rsp + 0x158]
movaps xmmword [rsp + 0x110], xmm0
mov rax, qword [rsp + 0x48]
mov qword [r13 + 0x10], rax
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [r13], xmm0
mov rax, qword [rsp + 0xa0]
mov qword [r13 + 0x28], rax
movups xmm0, xmmword [rsp + 0x90]
movups xmmword [r13 + 0x18], xmm0
cmp rsi, qword [rsp + 0x80]
jne 0x1400bf0d6
lea rcx, [rsp + 0x78]
mov rdx, rsi
call fcn.1400bc5a8
mov r14, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x88]
imul rax, rsi, 0x70
lea rdi, [r14 + rax]
mov ecx, 9
lea rsi, [rsp + 0x110]
rep movsq qword [rdi], qword [rsi]
and qword [r14 + rax + 0x48], 0
mov qword [r14 + rax + 0x60], r15
and dword [r14 + rax + 0x68], 0
mov rsi, qword [rsp + 0x88]
inc rsi
mov qword [rsp + 0x88], rsi
inc rbx
add r12, 0xfffffffffffffff8
jmp 0x1400befc4
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x100], rax
movups xmm0, xmmword [rsp + 0x78]
movaps xmmword [rsp + 0xf0], xmm0
mov rcx, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0xd8]
call fcn.140094dc8
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rdi + 0x70]
mov rdx, qword [rdi + 0x80]
mov rcx, rsi
call fcn.1400bc88e
mov rdx, qword [rdi + 0x78]
mov rcx, rsi
call fcn.1400bc8f8
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xc0]
mov qword [rcx + 0x10], rax
movaps xmm0, xmmword [rsp + 0xf0]
movups xmmword [rcx], xmm0
mov rcx, qword [rdi + 0x18]
mov rdx, qword [rdi + 0x20]
call fcn.140025ee7
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x18], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x70]
mov qword [rdi + 0x28], rax
mov rcx, qword [rdi + 0x30]
mov rdx, qword [rdi + 0x38]
call fcn.140025ee7
mov rax, qword [rsp + 0x30]
mov qword [rdi + 0x30], rax
mov rax, qword [rsp + 0xc8]
mov qword [rdi + 0x38], rax
mov rax, qword [rsp + 0x28]
mov qword [rdi + 0x40], rax
mov al, byte [rsp + 0x27]
mov byte [rdi + 0x88], al
add rsp, 0x1a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2