Function at 0x140028660
Capabilities:
Get memory capacity

Disassembly:
mov r11, rsp
push rbp
push rbx
lea rbp, [r11 - 0x38]
sub rsp, 0x138
mov rax, qword [0x14007c668]
xor rax, rsp
mov qword [rbp - 0x10], rax
cmp byte [0x140077188], 1
mov rbx, rcx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
jne 0x1400288b7
xor eax, eax
mov qword [r11 - 0x18], r12
lea rcx, [rbp - 0x68]
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
lea rcx, [rbp - 0x80]
call fcn.140012400
lea rdx, [rbp - 0x78]
mov rcx, rax
call fcn.1400124e0
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.140016490
mov rcx, rax
call fcn.140012330
movzx r11d, word [rbp - 0x64]
lea rdi, [0x14007c280]
mov rsi, rax
movabs r10, 0x8888888888888889
movabs rax, 0x48d159e26af37c05
imul rsi
movabs rax, 0x2aaaaaaaaaaaaaab
mov r9, rdx
sar r9, 0xa
mov rcx, r9
shr rcx, 0x3f
add r9, rcx
imul r9
mov r14, r9
mov r12, rdx
sar r12, 2
mov rax, r12
shr rax, 0x3f
add r12, rax
lea rax, [r12 + r12*2]
shl rax, 3
sub r14, rax
mov rax, r10
imul rsi
mov rax, r10
movzx r10d, word [rbp - 0x60]
lea r8, [rsi + rdx]
sar r8, 5
mov rcx, r8
shr rcx, 0x3f
add r8, rcx
movzx ecx, word [rbp - 0x62]
imul r8
mov r15, r8
add rdx, r8
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0x3c
movzx edx, word [rbp - 0x66]
sub r15, rax
imul rax, r8, 0x3c
movzx r8d, word [rbp - 0x68]
sub rsi, rax
movzx eax, word [rbp - 0x5c]
cmp r9, 0x18
movzx r9d, word [rbp - 0x5e]
jl 0x14002882d
mov dword [rsp + 0x88], eax
mov rax, qword [rdi + r11*8]
mov dword [rsp + 0x80], r9d
mov r9, r12
mov dword [rsp + 0x78], r10d
mov qword [rsp + 0x70], rax
lea rax, [0x1400625c4]
mov dword [rsp + 0x68], ecx
lea rcx, [0x1400898f4]
mov dword [rsp + 0x60], edx
mov edx, 0x100
mov dword [rsp + 0x58], r8d
lea r8, str._2D_s_2D_s_2D_s_2D_s__d__d__d___s___2d:_2d:_2d
mov qword [rsp + 0x50], rax
lea rax, [0x1400625c8]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rax
lea rax, [0x1400625cc]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], rax
lea rax, [0x1400625d0]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
call fcn.14000e2d0
jmp 0x14002889a
mov dword [rsp + 0x78], eax
mov rax, qword [rdi + r11*8]
mov dword [rsp + 0x70], r9d
mov r9, r14
mov dword [rsp + 0x68], r10d
mov qword [rsp + 0x60], rax
lea rax, [0x1400625c4]
mov dword [rsp + 0x58], ecx
lea rcx, [0x1400898f4]
mov dword [rsp + 0x50], edx
mov edx, 0x100
mov dword [rsp + 0x48], r8d
lea r8, str._2D_s_2D_s_2D_s__d__d__d___s___2d:_2d:_2d
mov qword [rsp + 0x40], rax
lea rax, [0x1400625c8]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rax
lea rax, [0x1400625cc]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rax
call fcn.14000e2d0
lea r8, [0x1400898f4]
mov edx, 0x13ee
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
mov r12, qword [rsp + 0x130]
cmp dword [0x14008f36c], 5
mov rcx, rbx
jbe 0x1400288ca
call fcn.140021c00
jmp 0x1400288cf
call fcn.140023d00
cmp byte [0x140077190], 1
lea r15, [0x140060f20]
mov esi, 0x23dc99
mov r14d, 0xff
jne 0x1400289a2
cmp byte [0x140077112], 1
lea rcx, [0x14008f298]
jne 0x140028905
call fcn.14002ffc0
jmp 0x14002890a
call fcn.140028bc0
movsd xmm3, qword [0x14008f298]
lea r8, str._1f__s
movq r9, xmm3
mov qword [rsp + 0x20], r15
mov edx, 0x20
lea rcx, [0x1400898b4]
call fcn.14000e2d0
lea r8, [0x1400898b4]
mov edx, 0x1712
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
cvttsd2si rdi, qword [0x14008f298]
cmp dword [0x14008f364], edi
je 0x14002899c
mov r9, rsi
cmp edi, 0x3c
jbe 0x14002896f
cmp edi, 0x55
mov r9d, 0x2088ff
cmova r9, r14
mov rcx, qword [0x14008f320]
xor r8d, r8d
mov edx, 0x409
call qword [sym.imp.USER32.dll_PostMessageW]
mov rcx, qword [0x14008f320]
xor r9d, r9d
mov r8d, edi
mov edx, 0x402
call qword [sym.imp.USER32.dll_PostMessageW]
mov dword [0x14008f364], edi
cmp byte [0x140077191], 1
jne 0x140028b75
xor eax, eax
lea rcx, [rbp - 0x50]
mov qword [rbp - 0x50], rax
mov dword [rbp - 0x50], 0x40
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x140028b75
mov rax, qword [rbp - 0x48]
xorps xmm3, xmm3
sub rax, qword [rbp - 0x40]
movaps xmmword [rsp + 0x110], xmm6
movsd xmm6, qword [0x1400644c0]
cvtsi2sd xmm3, rax
jns 0x140028a10
addsd xmm3, xmm6
mulsd xmm3, qword [0x140064438]
lea rdi, [0x14005bfd8]
lea r8, str._2f__s
mov qword [rsp + 0x20], rdi
mov edx, 0x20
lea rcx, [0x140089af4]
movq r9, xmm3
call fcn.14000e2d0
mov rax, qword [rbp - 0x40]
xorps xmm3, xmm3
cvtsi2sd xmm3, rax
test rax, rax
jns 0x140028a56
addsd xmm3, xmm6
mulsd xmm3, qword [0x140064438]
lea r8, str._2f__s
mov edx, 0x20
mov qword [rsp + 0x20], rdi
lea rcx, [0x140089b34]
movq r9, xmm3
call fcn.14000e2d0
mov rcx, qword [rbp - 0x48]
xorps xmm3, xmm3
mov rax, rcx
sub rax, qword [rbp - 0x40]
cvtsi2sd xmm3, rax
jns 0x140028a99
addsd xmm3, xmm6
mulsd xmm3, qword [0x1400572e8]
xorps xmm0, xmm0
cvtsi2sd xmm0, rcx
test rcx, rcx
jns 0x140028ab2
addsd xmm0, xmm6
divsd xmm3, xmm0
lea r8, str._2f__s
mov qword [rsp + 0x20], r15
mov edx, 0x20
lea rcx, [0x140089b74]
movq r9, xmm3
call fcn.14000e2d0
mov edi, dword [rbp - 0x4c]
cmp dword [0x14008f368], edi
movaps xmm6, xmmword [rsp + 0x110]
je 0x140028b75
lea r8, [0x140089af4]
mov edx, 0x1774
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
lea r8, [0x140089b34]
mov edx, 0x1776
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
lea r8, [0x140089b74]
mov edx, 0x1778
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp edi, 0x3c
jbe 0x140028b3f
cmp edi, 0x55
mov esi, 0x2088ff
cmova rsi, r14
mov rcx, qword [0x14008f328]
mov r9, rsi
xor r8d, r8d
mov edx, 0x409
call qword [sym.imp.USER32.dll_PostMessageW]
mov rcx, qword [0x14008f328]
mov r8, rdi
xor r9d, r9d
mov edx, 0x402
call qword [sym.imp.USER32.dll_PostMessageW]
mov dword [0x14008f368], edi
cmp byte [0x140077192], 1
mov r15, qword [rsp + 0x120]
mov r14, qword [rsp + 0x128]
mov rdi, qword [rsp + 0x160]
mov rsi, qword [rsp + 0x158]
jne 0x140028ba6
mov rcx, rbx
call fcn.140030220
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14003e040
add rsp, 0x138
pop rbx
pop rbp
ret