Function at 0x5a4400
Capabilities:
Get disk size

Disassembly:
push rbp
push rbx
sub rsp, 0xb8
mov rbp, rsp
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x58], rbp
mov qword [rbp + 0xd0], rcx
mov dword [rbp + 0xd8], edx
nop
mov eax, dword [0x006933d4]
add eax, dword [0x00693410]
mov ecx, dword [0x0069344c]
add ecx, dword [0x006934e0]
cmp eax, ecx
jle 0x5a445f
call fcn.004096f0
mov eax, dword [0x006931c8]
mov dword [0x0069354c], eax
mov eax, dword [0x00693288]
add eax, 1
cmp dword [0x00693288], eax
jne 0x5a4487
mov ecx, dword [0x006931d8]
call sub.kernel32.dll_SetConsoleKeyShortcuts
mov dword [0x006931d0], 0x30b
mov eax, dword [0x006931d0]
sub eax, 0x1a7
mov dword [0x006931f8], eax
mov eax, dword [0x00693564]
add eax, dword [0x006931f4]
mov ecx, dword [0x00693290]
add ecx, dword [0x006932cc]
cmp eax, ecx
jle 0x5a44c9
mov dword [0x00693564], 7
call fcn.005a4010
cmp eax, dword [0x00693564]
jle 0x5a44e0
mov dword [0x00693564], 0xd
call fcn.005a4010
cmp eax, dword [0x006931cc]
jle 0x5a44f7
mov dword [0x006931cc], 0x17
mov eax, dword [0x00693530]
mov dword [0x006934f8], eax
mov rcx, qword [rbp + 0xd0]
call fcn.0040e920
nop
mov eax, dword [0x00693274]
add eax, 1
cmp dword [0x00693274], eax
jne 0x5a4539
mov ecx, dword [0x0069328c]
mov edx, dword [0x006933f4]
mov r8d, dword [0x00693444]
call sub.kernel32.dll_GetDiskFreeSpaceExW
mov eax, dword [0x00693564]
add eax, dword [0x006931e0]
mov ecx, dword [0x0069327c]
add ecx, dword [0x006932b4]
cmp eax, ecx
jle 0x5a455f
mov dword [0x00693564], 0xf5
mov ecx, 0x400
xor edx, edx
mov r8d, dword [rbp + 0xd8]
call qword [0x006a8bd0]
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
je 0x5a484e
mov rcx, qword [rbp + 0x88]
mov edx, 8
lea r8, [rbp + 0x90]
call qword [0x006a8e88]
test eax, eax
je 0x5a47a1
mov rcx, qword [rbp + 0x90]
mov edx, 1
xor r8, r8
xor r9, r9
lea rax, [rbp + 0xac]
mov qword [rsp + 0x20], rax
call qword [0x006a8e68]
test eax, eax
setne al
mov byte [rbp + 0x7b], al
call qword [0x006a9208]
mov dword [rbp + 0x7c], eax
mov qword [rbp + 0xa0], 0
jmp 0x5a463e
lea rcx, [rbp + 0xa0]
mov edx, dword [rbp + 0xac]
call fcn.00409090
mov rcx, qword [rbp + 0x90]
mov edx, 1
mov r8, qword [rbp + 0xa0]
mov r9d, dword [rbp + 0xac]
lea rax, [rbp + 0xac]
mov qword [rsp + 0x20], rax
call qword [0x006a8e68]
test eax, eax
setne al
mov byte [rbp + 0x7b], al
call qword [0x006a9208]
mov dword [rbp + 0x7c], eax
cmp byte [rbp + 0x7b], 0
jne 0x5a464a
cmp dword [rbp + 0x7c], 0x7a
je 0x5a45ee
mov rcx, qword [rbp + 0x90]
call qword [0x006a8bc0]
cmp byte [rbp + 0x7b], 0
je 0x5a484f
mov dword [rbp + 0x84], 0
mov dword [rbp + 0x80], 0
xor ecx, ecx
mov rax, qword [rbp + 0xa0]
mov rdx, qword [rax]
xor r8, r8
lea r9, [rbp + 0x84]
mov qword [rsp + 0x20], 0
lea rax, [rbp + 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x9c]
mov qword [rsp + 0x30], rax
call qword [0x006a8e98]
cmp dword [rbp + 0x84], 0
je 0x5a478f
cmp dword [rbp + 0x80], 0
je 0x5a478f
lea rcx, [rbp + 0x70]
mov edx, dword [rbp + 0x84]
sub edx, 1
call fcn.00410650
lea rcx, [rbp + 0x68]
mov edx, dword [rbp + 0x80]
sub edx, 1
call fcn.00410650
mov rcx, qword [rbp + 0x70]
call fcn.00410050
mov rbx, rax
mov rcx, qword [rbp + 0x68]
call fcn.00410050
xor ecx, ecx
mov rdx, qword [rbp + 0xa0]
mov rdx, qword [rdx]
mov r8, rbx
lea r9, [rbp + 0x84]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x9c]
mov qword [rsp + 0x30], rax
call qword [0x006a8e98]
test eax, eax
je 0x5a478f
lea rcx, [rbp + 0x50]
mov rdx, qword [rbp + 0x68]
call fcn.004108b0
mov rcx, qword [rbp + 0xd0]
mov rdx, qword [rbp + 0x50]
call fcn.00410aa0
mov rcx, qword [rbp + 0xd0]
lea rdx, [0x005a48d0]
call fcn.00410aa0
lea rcx, [rbp + 0x48]
mov rdx, qword [rbp + 0x70]
call fcn.004108b0
mov rcx, qword [rbp + 0xd0]
mov rdx, qword [rbp + 0x48]
call fcn.00410aa0
cmp byte [rbp + 0x7b], 0
je 0x5a47a1
mov rcx, qword [rbp + 0xa0]
call fcn.00409060
mov rcx, qword [rbp + 0x88]
call qword [0x006a8bc0]
jmp 0x5a484e
nop
lea rcx, [rbp + 0x48]
mov edx, 2
call fcn.0040ea00
lea rcx, [rbp + 0x68]
mov edx, 2
call fcn.0040ea60
mov rax, qword [rbp + 0xd0]
lea rsp, [rbp + 0xb8]
pop rbx
pop rbp
ret