Function at 0x140067b90
Capabilities:
Get memory capacity

Disassembly:
push rbp
push rbx
push rsi
push r13
push r14
lea rbp, [rsp - 0x2c0]
sub rsp, 0x3c0
mov rax, qword [0x140100258]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
mov qword [rcx + 0x48], rdx
mov r14, rcx
xor r13d, r13d
mov dword [rbp + 0x190], 0x11c
xor edx, edx
mov dword [rsp + 0x40], r13d
lea rcx, [rbp + 0x194]
mov r8d, 0x118
mov esi, r13d
call fcn.14008f9b0
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x140067c41
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
lea r9d, [r13 + 0x67]
lea r8, str..._.._.._snapshot_win_system_snapshot_win.cc
mov dword [rsp + 0x20], 1
lea rdx, str.void___cdecl_crashpad::internal::SystemSnapshotWin::Initialize_class_crashpad::ProcessReaderWin__
lea rcx, [rsp + 0x48]
call fcn.140028500
mov rcx, rax
lea rdx, str.GetVersionEx
call fcn.140007ed0
lea rcx, [rsp + 0x48]
call fcn.140028830
jmp 0x140067c4f
cmp byte [rbp + 0x2aa], 1
setne al
mov byte [r14 + 0x5c], al
mov qword [rbp + 0xa8], r13
lea rdx, str.kernel32.dll
mov qword [rbp + 0xb8], r13
mov r8, 0xffffffffffffffff
mov qword [rbp + 0xc0], 7
inc r8
cmp word [rdx + r8*2], r13w
jne 0x140067c76
lea rcx, [rbp + 0xa8]
call fcn.1400225c0
lea rdx, [rbp + 0xa8]
lea rcx, [rbp + 0x108]
call fcn.140026d00
mov rcx, rax
lea rdx, [rbp + 0x50]
call fcn.14003ce20
lea rcx, [rbp + 0x108]
movzx ebx, al
call fcn.140026dd0
mov rdx, qword [rbp + 0xc0]
cmp rdx, 8
jb 0x140067d00
mov rcx, qword [rbp + 0xa8]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140067cfb
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400682f2
call fcn.14008df80
mov qword [rsp + 0x400], r12
mov qword [rsp + 0x408], r15
test bl, bl
je 0x140068227
mov edx, dword [rbp + 0x6c]
lea rcx, [rbp + 0xa8]
call fcn.1400678e0
mov eax, dword [rbp + 0x70]
and eax, 0x40004
mov qword [rbp + 0xa0], 0xf
cmp eax, 0x40004
jne 0x140067d73
movsd xmm0, qword [str.Windows_NT]
movzx eax, word [0x1400d4f60]
movsd qword [rbp + 0x88], xmm0
mov word [rbp + 0x90], ax
mov qword [rbp + 0x98], 0xa
mov byte [rbp + 0x92], r13b
jmp 0x140067db3
mov eax, dword [str.Unknown]
mov qword [rbp + 0x88], r13
mov dword [rbp + 0x88], eax
movzx eax, word [0x1400d4f6c]
mov word [rbp + 0x8c], ax
movzx eax, byte [0x1400d4f6e]
mov byte [rbp + 0x8e], al
mov qword [rbp + 0x98], 7
mov byte [rbp + 0x8f], r13b
mov ecx, dword [rbp + 0x58]
lea rdx, [0x1400d5004]
mov eax, ecx
lea r12, [r14 + 0x28]
shr eax, 0x10
mov dword [r14 + 0x50], eax
movzx eax, cx
mov ecx, dword [rbp + 0x5c]
mov dword [r14 + 0x54], eax
mov eax, ecx
shr eax, 0x10
movzx r8d, cx
lea rcx, [rbp + 0x108]
mov dword [r14 + 0x58], eax
call fcn.140029ba0
mov rdx, rax
mov rcx, r12
call fcn.1400143b0
mov rdx, qword [rbp + 0x120]
cmp rdx, 0x10
jb 0x140067e39
mov rcx, qword [rbp + 0x108]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140067e34
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400682f8
call fcn.14008df80
mov r15, qword [rbp + 0xc0]
mov rbx, qword [rbp + 0xa8]
mov qword [rsp + 0x3f8], rdi
mov rdi, qword [rbp + 0xb8]
test rdi, rdi
jne 0x140067e67
lea rax, [0x1400c6d40]
jmp 0x140067fcd
cmp r15, 0x10
mov qword [rbp + 0xe8], r13
lea r9, [rbp + 0xa8]
mov qword [rbp + 0x100], 0xf
cmovae r9, rbx
mov qword [rbp + 0xf8], 2
mov byte [rbp + 0xea], r13b
mov eax, 0x2820
mov word [rbp + 0xe8], ax
cmp rdi, 0xd
ja 0x140067eda
lea rax, [rdi + 2]
mov r8, rdi
mov rdx, r9
mov qword [rbp + 0xf8], rax
lea rcx, [rbp + 0xea]
call fcn.14008f1a0
lea rax, [rbp + 0xe8]
mov byte [rbp + rdi + 0xea], r13b
jmp 0x140067eff
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rbp + 0xe8]
call fcn.140008c10
mov r15, qword [rbp + 0xc0]
mov rbx, qword [rbp + 0xa8]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xc8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xd8], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], r13b
mov rdx, qword [rbp + 0xe0]
mov rcx, qword [rbp + 0xd8]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x140067f6a
lea rax, [rcx + 1]
cmp rdx, 0x10
mov qword [rbp + 0xd8], rax
lea rax, [rbp + 0xc8]
cmovae rax, qword [rbp + 0xc8]
mov word [rax + rcx], 0x29
lea rax, [rbp + 0xc8]
jmp 0x140067f8d
xor r8d, r8d
mov qword [rsp + 0x20], 1
lea r9, [0x1400c82c8]
lea rcx, [rbp + 0xc8]
lea edx, [r8 + 1]
call fcn.140008c10
movups xmm0, xmmword [rax]
mov esi, 0xe
movups xmmword [rbp + 0x128], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x138], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], r13b
lea rax, [rbp + 0x128]
cmp qword [rbp + 0x140], 0x10
cmovae rax, qword [rbp + 0x128]
cmp qword [r12 + 0x18], 0x10
mov rdi, qword [rsp + 0x3f8]
jb 0x140067fe1
mov r12, qword [r12]
cmp qword [rbp + 0xa0], 0x10
lea r8, [rbp + 0x88]
mov r9d, dword [r14 + 0x50]
lea rdx, str._s__u._u._u._s_s
cmovae r8, qword [rbp + 0x88]
lea rcx, [rbp + 0x108]
mov qword [rsp + 0x38], rax
mov eax, dword [r14 + 0x58]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], eax
mov eax, dword [r14 + 0x54]
mov dword [rsp + 0x20], eax
call fcn.140029ba0
mov rdx, rax
lea rcx, [r14 + 8]
call fcn.1400143b0
mov rdx, qword [rbp + 0x120]
cmp rdx, 0x10
jb 0x140068076
mov rcx, qword [rbp + 0x108]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140068071
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400682fe
call fcn.14008df80
mov qword [rbp + 0x118], r13
mov qword [rbp + 0x120], 0xf
mov byte [rbp + 0x108], r13b
test sil, 8
je 0x1400680ef
mov rdx, qword [rbp + 0x140]
cmp rdx, 0x10
jb 0x1400680d6
mov rcx, qword [rbp + 0x128]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400680d1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400682fe
call fcn.14008df80
mov qword [rbp + 0x138], r13
mov qword [rbp + 0x140], 0xf
mov byte [rbp + 0x128], r13b
test sil, 4
je 0x14006814f
mov rdx, qword [rbp + 0xe0]
cmp rdx, 0x10
jb 0x140068136
mov rcx, qword [rbp + 0xc8]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140068131
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400682fe
call fcn.14008df80
mov qword [rbp + 0xd8], r13
mov qword [rbp + 0xe0], 0xf
mov byte [rbp + 0xc8], r13b
test sil, 2
je 0x140068196
mov rdx, qword [rbp + 0x100]
cmp rdx, 0x10
jb 0x140068196
mov rcx, qword [rbp + 0xe8]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140068191
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400682fe
call fcn.14008df80
mov rdx, qword [rbp + 0xa0]
cmp rdx, 0x10
jb 0x1400681d7
mov rcx, qword [rbp + 0x88]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400681d2
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400682ec
call fcn.14008df80
mov qword [rbp + 0x98], r13
mov qword [rbp + 0xa0], 0xf
mov byte [rbp + 0x88], r13b
cmp r15, 0x10
jb 0x140068227
lea rdx, [r15 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14006821f
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400682ec
mov rcx, rbx
call fcn.14008df80
lea rcx, [rbp + 0x150]
mov dword [rbp + 0x150], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x1400682be
mov rcx, qword [rbp + 0x158]
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsi2sd xmm1, qword [0x140100050]
test rcx, rcx
js 0x140068264
cvtsi2sd xmm0, rcx
jmp 0x140068279
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
mov rcx, qword [rbp + 0x160]
divsd xmm0, xmm1
cvttsd2si edx, xmm0
xorps xmm0, xmm0
mov dword [r14 + 0x64], edx
test rcx, rcx
js 0x14006829b
cvtsi2sd xmm0, rcx
jmp 0x1400682b0
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
divsd xmm0, xmm1
cvttsd2si eax, xmm0
sub edx, eax
mov dword [r14 + 0x60], edx
mov r12, qword [rsp + 0x400]
mov r15, qword [rsp + 0x408]
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.14008e050
add rsp, 0x3c0
pop r14
pop r13
pop rsi
pop rbx
pop rbp
ret
call fcn.14009464c
int3
call fcn.14009464c
int3
call fcn.14009464c
int3
call fcn.14009464c
int3