Function at 0x4dbc20
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rcx
mov rax, rsp
sub rsp, 0x188
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax - 8], rdi
mov rsi, rcx
mov dword [rcx], 1
mov dword [rcx + 4], 1
mov dword [rcx + 8], 1
mov dword [rcx + 0xc], 1
mov dword [rcx + 0x10], 1
mov dword [rcx + 0x14], 1
mov byte [rcx + 0x18], 0
mov byte [rcx + 0x26], 0
mov byte [rcx + 0x27], 0
xor ecx, ecx
mov dword [rsi + 0x28], ecx
mov dword [rsi + 0x2c], ecx
mov byte [rsi + 0x30], cl
mov byte [rsi + 0x31], cl
mov dword [rsi + 0x34], ecx
lea rax, [0x005cd7f8]
mov qword [rsi + 0x38], rax
mov dword [rsi + 0x40], ecx
mov dword [rsi + 0x44], ecx
mov qword [rsi + 0x48], rcx
lea rax, [0x005cd978]
mov qword [rsi + 0x50], rax
mov dword [rsi + 0x58], ecx
xor edx, edx
lea r8d, [rcx + 0x30]
lea rcx, [rsp + 0x38]
call fcn.0056a100
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [rsp + 0x58]
mov dword [rsi], edi
mov rbx, rdi
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
mul rdi
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.0053ce20
mov qword [rsi + 0x48], rax
shl rbx, 4
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.0056a100
mov dword [rsi + 0x44], edi
mov eax, dword [rsi]
mov dword [rsi + 0x58], eax
mov byte [rsi + 0x19], 0
mov rcx, rsi
call fcn.004dab10
mov rcx, rsi
call fcn.004dae30
mov r11, qword [rsi + 0x38]
lea rcx, [rsi + 0x38]
call qword [r11 + reloc.OLEAUT32.dll_VariantClear]
test eax, eax
je 0x4dbd42
mov rax, qword [rsi + 0x38]
lea rcx, [rsi + 0x38]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dword [rsi + 8], eax
mov eax, dword [rsi + 8]
mov ecx, dword [rsi + 0xc]
lea rdi, str.CPU::CPU
cmp eax, ecx
jb 0x4dbd63
xor edx, edx
div ecx
test edx, edx
jne 0x4dbd63
mov dword [rsi + 4], eax
jmp 0x4dbdf9
mov eax, dword [0x00646630]
shr eax, 3
test al, 1
je 0x4dbdee
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x5a
lea r9, str..Cpu.cpp
mov edx, 0x1c
lea r8d, [rdx - 0x14]
lea rcx, [rsp + 0x68]
call fcn.00475e14
nop
lea rdx, str.mCoreCount_
mov rcx, rax
call fcn.00475a24
mov rbx, rax
lea rcx, [rax + 0x30]
mov edx, dword [rsi + 8]
call fcn.00488ae0
lea rdx, str.__should_be_a_multiple_of_mPackageCount_
mov rcx, rbx
call fcn.00475a24
mov rbx, rax
lea rcx, [rax + 0x30]
mov edx, dword [rsi + 0xc]
call fcn.00488ae0
lea rdx, [0x005bfdd0]
mov rcx, rbx
call fcn.00475a24
nop
lea rcx, [rsp + 0x68]
call fcn.0047591c
mov dword [rsi + 0x34], 1
mov byte [rsi + 0x31], 1
mov eax, dword [rsi]
mov ecx, dword [rsi + 0xc]
cmp eax, ecx
jb 0x4dbe12
xor edx, edx
div ecx
test edx, edx
jne 0x4dbe12
mov dword [rsi + 0x10], eax
jmp 0x4dbea7
mov eax, dword [0x00646630]
shr eax, 3
test al, 1
je 0x4dbe9c
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x68
lea r9, str..Cpu.cpp
mov edx, 0x1c
lea r8d, [rdx - 0x14]
lea rcx, [rsp + 0x68]
call fcn.00475e14
nop
lea rdx, str.mSystemCPUs_
mov rcx, rax
call fcn.00475a24
mov rbx, rax
lea rcx, [rax + 0x30]
mov edx, dword [rsi]
call fcn.00488ae0
lea rdx, str.__should_be_a_multiple_of_mPackageCount_
mov rcx, rbx
call fcn.00475a24
mov rbx, rax
lea rcx, [rax + 0x30]
mov edx, dword [rsi + 0xc]
call fcn.00488ae0
lea rdx, [0x005bfdd0]
mov rcx, rbx
call fcn.00475a24
nop
lea rcx, [rsp + 0x68]
call fcn.0047591c
mov dword [rsi + 0x34], 1
mov byte [rsi + 0x31], 1
mov eax, dword [rsi + 0x10]
mov ecx, dword [rsi + 4]
cmp eax, ecx
jb 0x4dbec4
xor edx, edx
div ecx
test edx, edx
jne 0x4dbec4
mov dword [rsi + 0x14], eax
mov rax, rsi
jmp 0x4dbf5d
mov eax, dword [0x00646630]
shr eax, 3
test al, 1
je 0x4dbf4f
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x76
lea r9, str..Cpu.cpp
mov edx, 0x1c
lea r8d, [rdx - 0x14]
lea rcx, [rsp + 0x68]
call fcn.00475e14
nop
lea rdx, str.mLogicalProcessorsPerPackage_
mov rcx, rax
call fcn.00475a24
mov rbx, rax
lea rcx, [rax + 0x30]
mov edx, dword [rsi + 0x10]
call fcn.00488ae0
lea rdx, str.__should_be_a_multiple_of_mCoresPerPackage_
mov rcx, rbx
call fcn.00475a24
mov rbx, rax
lea rcx, [rax + 0x30]
mov edx, dword [rsi + 4]
call fcn.00488ae0
lea rdx, [0x005bfdd0]
mov rcx, rbx
call fcn.00475a24
nop
lea rcx, [rsp + 0x68]
call fcn.0047591c
mov dword [rsi + 0x34], 1
mov byte [rsi + 0x31], 1
mov rax, rsi
mov rbx, qword [rsp + 0x198]
mov rbp, qword [rsp + 0x1a0]
mov rsi, qword [rsp + 0x1a8]
mov rdi, qword [rsp + 0x180]
add rsp, 0x188
ret