Function at 0x140002250
Capabilities:
Get memory capacity

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp - 9], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140030010]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rdi, rcx
test rcx, rcx
jne 0x140002297
lea ecx, [rdi + 0x57]
call qword [sym.imp.KERNEL32.DLL_SetLastError]
jmp 0x140002823
mov dword [rcx], 1
lea r8, [rcx + 0xc]
lea rdx, [rcx + 8]
add rcx, 4
call fcn.1400028c0
lea r9, [rdi + 0x10]
call fcn.140005350
lea rax, [rbp - 0x49]
mov qword [rbp - 0x41], rax
call fcn.1400011c0
mov rcx, rax
test rax, rax
je 0x140002853
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x49], rax
lea rsi, [0x14002a9c4]
mov rdx, rsi
lea rcx, [rbp - 0x49]
call fcn.140002bc0
mov rbx, 0xffffffffffffffff
test al, al
jne 0x14000231a
mov rax, rbx
nop
inc rax
cmp word [rsi + rax*2], 0
jne 0x140002300
mov r8d, eax
mov rdx, rsi
lea rcx, [rbp - 0x49]
call fcn.140002d50
nop
lea r9, [rdi + 0x18]
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
lea r8, str.Identifier
lea rdx, str.HARDWAREDESCRIPTIONSystemCentralProcessor0
call fcn.140005130
lea rax, [rbp - 0x49]
mov qword [rbp - 0x41], rax
call fcn.1400011c0
mov rcx, rax
test rax, rax
je 0x14000285e
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x49], rax
mov rdx, rsi
lea rcx, [rbp - 0x49]
call fcn.140002bc0
test al, al
jne 0x14000238e
mov rax, rbx
inc rax
cmp word [rsi + rax*2], 0
jne 0x140002374
mov r8d, eax
mov rdx, rsi
lea rcx, [rbp - 0x49]
call fcn.140002d50
nop
lea r9, [rdi + 0x20]
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
lea r8, str.ProcessorNameString
lea rdx, str.HARDWAREDESCRIPTIONSystemCentralProcessor0
call fcn.140005130
xor eax, eax
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x17], rax
mov qword [rbp + 0x1f], rax
mov qword [rbp + 0x27], rax
mov qword [rbp + 0x2f], rax
mov qword [rbp + 0x37], rax
mov qword [rbp + 0x3f], rax
mov dword [rbp + 7], 0x40
lea rcx, [rbp + 7]
call qword [sym.imp.KERNEL32.DLL_GlobalMemoryStatusEx]
mov rax, qword [rbp + 0xf]
shr rax, 0x14
mov qword [rdi + 0x28], rax
lea rax, [rbp - 0x49]
mov qword [rbp - 0x41], rax
call fcn.1400011c0
mov rcx, rax
test rax, rax
je 0x140002869
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x49], rax
mov rdx, rsi
lea rcx, [rbp - 0x49]
call fcn.140002bc0
test al, al
jne 0x14000244a
mov rax, rbx
nop word [rax + rax]
inc rax
cmp word [rsi + rax*2], 0
jne 0x140002430
mov r8d, eax
mov rdx, rsi
lea rcx, [rbp - 0x49]
call fcn.140002d50
nop
lea r9, [rdi + 0x30]
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
lea r8, str.BaseBoardManufacturer
lea rdx, str.HARDWAREDESCRIPTIONSystemBIOS
call fcn.140005130
lea rax, [rbp - 0x49]
mov qword [rbp - 0x41], rax
call fcn.1400011c0
mov rcx, rax
test rax, rax
je 0x140002874
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x49], rax
mov rdx, rsi
lea rcx, [rbp - 0x49]
call fcn.140002bc0
test al, al
jne 0x1400024be
mov rax, rbx
inc rax
cmp word [rsi + rax*2], 0
jne 0x1400024a4
mov r8d, eax
mov rdx, rsi
lea rcx, [rbp - 0x49]
call fcn.140002d50
nop
lea r9, [rdi + 0x38]
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
lea r8, str.BaseBoardProduct
lea rdx, str.HARDWAREDESCRIPTIONSystemBIOS
call fcn.140005130
lea rax, [rbp - 0x49]
mov qword [rbp - 0x41], rax
call fcn.1400011c0
mov rcx, rax
test rax, rax
je 0x14000287f
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x49], rax
mov rdx, rsi
lea rcx, [rbp - 0x49]
call fcn.140002bc0
test al, al
jne 0x14000253a
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp word [rsi + rax*2], 0
jne 0x140002520
mov r8d, eax
mov rdx, rsi
lea rcx, [rbp - 0x49]
call fcn.140002d50
nop
lea r9, [rdi + 0x40]
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
lea r8, str.BaseBoardVersion
lea rdx, str.HARDWAREDESCRIPTIONSystemBIOS
call fcn.140005130
lea rax, [rbp - 0x49]
mov qword [rbp - 0x41], rax
call fcn.1400011c0
mov rcx, rax
test rax, rax
je 0x14000288a
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x49], rax
mov rdx, rsi
lea rcx, [rbp - 0x49]
call fcn.140002bc0
test al, al
jne 0x1400025ae
mov rax, rbx
inc rax
cmp word [rsi + rax*2], 0
jne 0x140002594
mov r8d, eax
mov rdx, rsi
lea rcx, [rbp - 0x49]
call fcn.140002d50
nop
lea r9, [rdi + 0x48]
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
lea r8, str.BIOSVendor
lea rdx, str.HARDWAREDESCRIPTIONSystemBIOS
call fcn.140005130
lea rax, [rbp - 0x49]
mov qword [rbp - 0x41], rax
call fcn.1400011c0
mov rcx, rax
test rax, rax
je 0x140002895
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x49], rax
mov rdx, rsi
lea rcx, [rbp - 0x49]
call fcn.140002bc0
test al, al
jne 0x14000262a
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp word [rsi + rax*2], 0
jne 0x140002610
mov r8d, eax
mov rdx, rsi
lea rcx, [rbp - 0x49]
call fcn.140002d50
nop
lea r9, [rdi + 0x50]
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
lea r8, str.BIOSVersion
lea rdx, str.HARDWAREDESCRIPTIONSystemBIOS
call fcn.140005130
lea rax, [rbp - 0x49]
mov qword [rbp - 0x41], rax
call fcn.1400011c0
mov rcx, rax
test rax, rax
je 0x1400028a0
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x49], rax
mov rdx, rsi
lea rcx, [rbp - 0x49]
call fcn.140002bc0
test al, al
jne 0x14000269b
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x140002681
mov r8d, ebx
mov rdx, rsi
lea rcx, [rbp - 0x49]
call fcn.140002d50
nop
lea r9, [rdi + 0x58]
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
lea r8, str.BIOSReleaseDate
lea rdx, str.HARDWAREDESCRIPTIONSystemBIOS
call fcn.140005130
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x21], xmm0
xor ebx, ebx
mov qword [rbp - 0x11], rbx
mov dword [rdi + 0x64], ebx
lea r8, [rbp - 0x21]
lea rcx, [0x14002ac10]
call fcn.140001df0
movabs rsi, 0x6666666666666667
test eax, eax
je 0x140002709
mov rcx, qword [rbp - 0x19]
sub rcx, qword [rbp - 0x21]
mov rax, rsi
imul rcx
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov dword [rdi + 0x64], edx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], rbx
mov dword [rdi + 0x60], ebx
lea r8, [rbp - 0x39]
lea rcx, [0x14002ac00]
call fcn.140001df0
mov r9, qword [rbp - 0x31]
mov r8, qword [rbp - 0x39]
test eax, eax
je 0x140002751
mov rcx, r9
sub rcx, r8
mov rax, rsi
imul rcx
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov dword [rdi + 0x60], edx
test r8, r8
je 0x1400027c1
mov rdx, r9
mov rcx, r8
call fcn.1400032e0
mov rcx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x39]
sub rcx, r8
mov rax, rsi
imul rcx
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*4]
shl rdx, 4
mov rax, r8
cmp rdx, 0x1000
jb 0x1400027ad
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400028ab
mov rcx, r8
call fcn.140008ef4
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], rbx
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x140002823
mov rdx, qword [rbp - 0x19]
call fcn.1400032e0
mov rcx, qword [rbp - 0x11]
mov r8, qword [rbp - 0x21]
sub rcx, r8
mov rax, rsi
imul rcx
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*4]
shl rdx, 4
mov rax, r8
cmp rdx, 0x1000
jb 0x14000281b
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000284d
mov rcx, r8
call fcn.140008ef4
mov eax, 1
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140008ed0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140011c74
int3
mov ecx, 0x80004005
call fcn.1400010b0
int3
mov ecx, 0x80004005
call fcn.1400010b0
int3
mov ecx, 0x80004005
call fcn.1400010b0
int3
mov ecx, 0x80004005
call fcn.1400010b0
int3
mov ecx, 0x80004005
call fcn.1400010b0
int3
mov ecx, 0x80004005
call fcn.1400010b0
int3
mov ecx, 0x80004005
call fcn.1400010b0
int3
mov ecx, 0x80004005
call fcn.1400010b0
nop
call fcn.140011c74
nop
int3