Function at 0x5a6760
Capabilities:
Get disk size

Disassembly:
push rbp
push rbx
sub rsp, 0x78
mov rbp, rsp
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0x90], rcx
mov qword [rbp + 0x98], rdx
nop
mov eax, dword [0x00693400]
mov dword [0x006933c4], eax
mov eax, dword [0x00693298]
add eax, 1
cmp dword [0x00693298], eax
jne 0x5a67d2
mov ecx, dword [0x006933fc]
mov edx, dword [0x006934bc]
mov r8d, dword [0x006935f8]
mov r9d, dword [0x006931f0]
mov eax, dword [0x006932a0]
mov dword [rsp + 0x20], eax
call sub.kernel32.dll_LockFile
mov eax, dword [0x00693400]
mov dword [0x006933c4], eax
mov eax, dword [0x006934f4]
cmp eax, dword [0x00693534]
je 0x5a67f8
mov eax, dword [0x006934f4]
mov dword [0x00693534], eax
call fcn.005a6230
cmp eax, dword [0x006937fc]
jle 0x5a680f
mov dword [0x006937fc], 0xd
mov dword [0x006931b8], 0x303
mov eax, dword [0x006931b8]
sub eax, 0x194
mov dword [0x006931f8], eax
mov eax, dword [0x00693294]
add eax, 1
cmp dword [0x00693294], eax
jne 0x5a6854
mov ecx, dword [0x00693284]
mov edx, dword [0x006932ec]
mov r8d, dword [0x006933cc]
call sub.kernel32.dll_GetDiskFreeSpaceExW
mov eax, dword [0x00693424]
add eax, dword [0x006934bc]
mov ecx, dword [0x006934f8]
add ecx, dword [0x00693538]
cmp eax, ecx
jle 0x5a687c
mov eax, dword [0x00693538]
mov dword [0x00693424], eax
nop
call fcn.005a6230
mov eax, dword [0x006931dc]
add eax, 1
cmp dword [0x006931dc], eax
jne 0x5a689e
mov ecx, dword [0x00693568]
call sub.kernel32.dll_SetConsoleKeyShortcuts
mov eax, dword [0x00693424]
add eax, dword [0x006934bc]
mov ecx, dword [0x006934f8]
add ecx, dword [0x00693538]
cmp eax, ecx
jle 0x5a68c6
mov eax, dword [0x00693538]
mov dword [0x00693424], eax
mov eax, dword [0x006934d8]
cmp eax, dword [0x00693518]
je 0x5a68e0
mov eax, dword [0x006934d8]
mov dword [0x00693518], eax
mov eax, dword [0x006935f8]
mov dword [0x00693538], eax
mov dword [rbp + 0x64], 0
mov rax, qword [rbp + 0x98]
test rax, rax
je 0x5a6905
mov eax, dword [rax - 4]
mov dword [rbp + 0x64], eax
mov rcx, qword [rbp + 0x90]
mov edx, dword [rbp + 0x64]
add edx, edx
call fcn.004109c0
mov dword [rbp + 0x60], 0
mov rax, qword [rbp + 0x90]
mov rax, qword [rax]
test rax, rax
je 0x5a6932
mov eax, dword [rax - 4]
mov dword [rbp + 0x60], eax
mov rcx, qword [rbp + 0x98]
call fcn.00410730
mov rbx, rax
mov rax, qword [rbp + 0x90]
mov rcx, qword [rax]
call fcn.00410730
mov rcx, rbx
mov rdx, rax
mov r8d, dword [rbp + 0x60]
add r8d, r8d
call qword [0x006a8c10]
mov dword [rbp + 0x68], eax
mov dword [rbp + 0x5c], 0
mov rax, qword [rbp + 0x90]
mov rax, qword [rax]
test rax, rax
je 0x5a6982
mov eax, dword [rax - 4]
mov dword [rbp + 0x5c], eax
mov eax, dword [rbp + 0x68]
cmp eax, dword [rbp + 0x5c]
jle 0x5a69da
mov rcx, qword [rbp + 0x90]
mov edx, dword [rbp + 0x68]
call fcn.004109c0
mov dword [rbp + 0x58], 0
mov rax, qword [rbp + 0x90]
mov rax, qword [rax]
test rax, rax
je 0x5a69b5
mov eax, dword [rax - 4]
mov dword [rbp + 0x58], eax
mov rax, qword [rbp + 0x90]
mov rcx, qword [rax]
call fcn.00410730
mov rcx, rbx
mov rdx, rax
mov r8d, dword [rbp + 0x58]
add r8d, r8d
call qword [0x006a8c10]
mov dword [rbp + 0x68], eax
mov rcx, qword [rbp + 0x90]
mov edx, dword [rbp + 0x68]
call fcn.004109c0
lea rcx, [rbp + 0x40]
mov rax, qword [rbp + 0x90]
mov rdx, qword [rax]
call fcn.0042fe90
lea rcx, [rbp + 0x38]
mov rdx, qword [rbp + 0x98]
call fcn.004300a0
mov rcx, qword [rbp + 0x90]
mov rdx, qword [rbp + 0x40]
mov r8, qword [rbp + 0x38]
call fcn.00410b70
jmp 0x5a6b15
mov eax, dword [0x00693508]
add eax, dword [0x00693548]
mov ecx, dword [0x00693434]
add ecx, dword [0x006934cc]
cmp ecx, eax
jle 0x5a6b3d
mov ecx, dword [0x00693548]
mov dword [0x00693434], ecx
mov ecx, dword [0x00693434]
add ecx, dword [0x006934cc]
cmp ecx, eax
jle 0x5a6b59
mov eax, dword [0x00693548]
mov dword [0x00693434], eax
mov eax, dword [0x006934b4]
cmp eax, dword [0x006934f0]
je 0x5a6b73
mov eax, dword [0x006934b4]
mov dword [0x006934f0], eax
mov eax, dword [0x00693430]
add eax, dword [0x006934c8]
mov ecx, dword [0x00693504]
add ecx, dword [0x00693544]
cmp eax, ecx
jle 0x5a6b9b
mov eax, dword [0x00693544]
mov dword [0x00693430], eax
call fcn.005a6580
cmp eax, dword [0x006931e0]
jle 0x5a6bb2
mov dword [0x006931e0], 0x1c
mov eax, dword [0x00693558]
mov dword [0x0069351c], eax
call fcn.005a6230
mov eax, dword [0x00693800]
add eax, dword [0x006931e4]
mov ecx, dword [0x00693284]
add ecx, dword [0x006932c0]
cmp eax, ecx
jle 0x5a6be9
mov dword [0x00693800], 0x114
nop
lea rcx, [rbp + 0x38]
mov edx, 2
call fcn.0040ea00
mov rax, qword [rbp + 0x90]
lea rsp, [rbp + 0x78]
pop rbx
pop rbp
ret