Function at 0x140002060
Capabilities:
Get disk size
Get memory capacity

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rax, qword [0x14000a008]
xor rax, rsp
mov qword [rbp + 0x100], rax
xor r15d, r15d
lea rdx, [rsp + 0x28]
lea rcx, [0x140007770]
call qword [sym.imp.dxgi.dll_CreateDXGIFactory]
test eax, eax
js 0x1400022cb
mov r12d, r15d
xor edx, edx
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
lea r8, [rsp + 0x30]
call qword [rax + 0x38]
cmp eax, 0x887a0002
je 0x140002256
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea rdx, [rbp - 0x30]
call qword [rax + 0x40]
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x40]
call fcn.140003990
nop
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
setae r9b
cmovae rdx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x50]
lea r8, [rdx + rax*2]
lea rdx, [rsp + 0x40]
test r9b, r9b
cmovne rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140004420
lea r14, [rsp + 0x60]
mov r13, qword [rsp + 0x78]
cmp r13, 0x10
setae byte [rsp + 0x20]
mov rsi, qword [rsp + 0x60]
cmovae r14, rsi
mov rax, qword [rsp + 0x70]
cmp rax, 0xc
jb 0x1400021ac
lea rdi, [rax + r14]
lea r8, [rdi - 0xb]
sub r8, r14
mov edx, 0x42
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x1400021ac
mov r8d, 0xc
lea rdx, str.Basic_Render
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140002240
inc rbx
lea r8, [rdi - 0xb]
sub r8, rbx
mov edx, 0x42
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x140002170
mov rbx, 0xffffffffffffffff
lea eax, [r15 + 1]
cmp rbx, 0xffffffffffffffff
cmove eax, r15d
mov r15d, eax
cmp byte [rsp + 0x20], 0
je 0x1400021f7
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400021ee
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002248
mov rcx, rsi
call fcn.140004fd4
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140002235
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002230
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000224f
call fcn.140004fd4
inc r12d
mov edx, r12d
jmp 0x1400020ba
sub rbx, r14
jmp 0x1400021b3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x140002266
mov rax, qword [rcx]
call qword [rax + 0x10]
mov dword [rbp - 0x70], 0x40
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rbx, qword [rbp - 0x68]
shr rbx, 0x14
lea r9, [rbp - 0x80]
lea r8, [rsp + 0x38]
lea rdx, [rbp - 0x78]
lea rcx, [0x140007488]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x1400022a8
mov rax, qword [rsp + 0x38]
shr rax, 0x1e
jmp 0x1400022ac
mov eax, dword [rsp + 0x28]
cmp r15d, 2
jne 0x1400022c7
cmp ebx, 0x2328
jae 0x1400022c7
add eax, 0xffffff37
cmp eax, 0x30
setbe al
jmp 0x1400022cd
xor al, al
jmp 0x1400022cd
mov al, 1
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.140004f70
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret