Function at 0x5bbff0
Capabilities:
Get disk size

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov eax, dword [0x006931c8]
add eax, dword [0x0069328c]
mov ecx, dword [0x006932f4]
add ecx, dword [0x006933ec]
cmp eax, ecx
jle 0x5bc01f
mov dword [0x006931c8], 0xd5
mov eax, dword [0x006931d8]
mov dword [0x006942cc], eax
mov eax, dword [0x006931d8]
mov dword [0x006942cc], eax
mov eax, dword [0x0069394c]
cmp eax, dword [0x006940c0]
je 0x5bc051
mov eax, dword [0x0069394c]
mov dword [0x006940c0], eax
cmp byte [rbx + 0x23], 1
je 0x5bc23c
cmp byte [rbx + 0xab], 0
je 0x5bc23c
mov eax, dword [0x006931e4]
add eax, 1
cmp dword [0x006931e4], eax
jne 0x5bc084
mov ecx, dword [0x006935ec]
call sub.kernel32.dll_SetConsoleKeyShortcuts
mov dword [0x00694300], 0x305
mov eax, dword [0x00694300]
sub eax, 0x195
mov dword [0x006931e8], eax
mov eax, dword [0x006942e4]
add eax, dword [0x006931cc]
mov ecx, dword [0x00693210]
add ecx, dword [0x006932b8]
cmp eax, ecx
jle 0x5bc0c6
mov dword [0x006942e4], 2
mov eax, dword [0x006942bc]
mov dword [0x00694110], eax
call fcn.005ad620
cmp eax, dword [0x006942c8]
jle 0x5bc0e9
mov dword [0x006942c8], 2
call fcn.005ad620
mov rax, qword [rbx + 0x18]
movzx rax, byte [rax]
mov byte [rbx + 0x20], al
lea rax, [rbx + 0x18]
add qword [rax], 1
mov eax, dword [0x00694294]
mov dword [0x00694108], eax
mov eax, dword [0x00694294]
mov dword [0x00694108], eax
mov eax, dword [0x00693920]
cmp eax, dword [0x00693964]
je 0x5bc133
mov eax, dword [0x00693920]
mov dword [0x00693964], eax
mov eax, dword [0x00693430]
mov dword [0x006933ec], eax
call fcn.005aba50
mov eax, dword [0x006942bc]
add eax, dword [0x006931c8]
mov ecx, dword [0x0069320c]
add ecx, dword [0x006932d4]
cmp eax, ecx
jle 0x5bc16a
mov dword [0x006942bc], 0x13c
call fcn.005ae6a0
cmp eax, dword [0x006931bc]
jle 0x5bc181
mov dword [0x006931bc], 0x15
mov eax, dword [0x00694130]
mov dword [0x006940ec], eax
mov eax, dword [0x00694130]
mov dword [0x006940ec], eax
mov eax, dword [0x00693960]
cmp eax, dword [0x006940b4]
je 0x5bc1b3
mov eax, dword [0x00693960]
mov dword [0x006940b4], eax
mov eax, dword [0x006934fc]
add eax, dword [0x00693564]
mov ecx, dword [0x00693920]
add ecx, dword [0x00693988]
cmp eax, ecx
jle 0x5bc1db
mov eax, dword [0x00693988]
mov dword [0x006934fc], eax
call fcn.005b0ad0
cmp eax, dword [0x006931e4]
jle 0x5bc1f2
mov dword [0x006931e4], 0x1f
mov eax, dword [0x006932d4]
add eax, 1
cmp dword [0x006932d4], eax
jne 0x5bc21b
mov ecx, dword [0x0069327c]
mov edx, dword [0x00693304]
mov r8d, dword [0x00693500]
call sub.kernel32.dll_GetDiskFreeSpaceExW
mov dword [0x006931c0], 0x302
mov eax, dword [0x006931c0]
sub eax, 0x1a3
mov dword [0x00693208], eax
jmp 0x5bc445
mov rsi, rbx
call fcn.005ad620
cmp eax, dword [0x006942c8]
jle 0x5bc256
mov dword [0x006942c8], 2
call fcn.005ad620
mov rax, qword [rsi + 0x18]
movzx rax, byte [rax]
mov byte [rsi + 0x20], al
lea rax, [rsi + 0x18]
add qword [rax], 1
mov eax, dword [0x00694294]
mov dword [0x00694108], eax
mov eax, dword [0x00694294]
mov dword [0x00694108], eax
mov eax, dword [0x00693920]
cmp eax, dword [0x00693964]
je 0x5bc2a0
mov eax, dword [0x00693920]
mov dword [0x00693964], eax
mov eax, dword [0x00693430]
mov dword [0x006933ec], eax
call fcn.005aba50
mov eax, dword [0x006942bc]
add eax, dword [0x006931c8]
mov ecx, dword [0x0069320c]
add ecx, dword [0x006932d4]
cmp eax, ecx
jle 0x5bc2d7
mov dword [0x006942bc], 0x13c
call fcn.005ae6a0
cmp eax, dword [0x006931bc]
jle 0x5bc2ee
mov dword [0x006931bc], 0x15
mov eax, dword [0x00694130]
mov dword [0x006940ec], eax
mov eax, dword [0x00694130]
mov dword [0x006940ec], eax
mov eax, dword [0x00693960]
cmp eax, dword [0x006940b4]
je 0x5bc320
mov eax, dword [0x00693960]
mov dword [0x006940b4], eax
mov eax, dword [0x006934fc]
add eax, dword [0x00693564]
mov ecx, dword [0x00693920]
add ecx, dword [0x00693988]
cmp eax, ecx
jle 0x5bc348
mov eax, dword [0x00693988]
mov dword [0x006934fc], eax
mov rcx, rbx
call fcn.005b00b0
mov rcx, rbx
movzx rdx, byte [rbx + 0xac]
call fcn.005b06d0
mov eax, dword [0x00693558]
mov dword [0x006934f0], eax
mov eax, dword [0x006942e4]
mov dword [0x00694138], eax
call fcn.005b6b80
cmp eax, dword [0x00694300]
jle 0x5bc38f
mov dword [0x00694300], 0x17
mov eax, dword [0x006942e4]
mov dword [0x00694138], eax
mov eax, dword [0x00693928]
cmp eax, dword [0x0069409c]
je 0x5bc3b5
mov eax, dword [0x00693928]
mov dword [0x0069409c], eax
mov eax, dword [0x00693294]
add eax, 1
cmp dword [0x00693294], eax
jne 0x5bc3d1
mov ecx, dword [0x00693450]
call sub.kernel32.dll_SetConsoleKeyShortcuts
mov eax, dword [0x006932f8]
add eax, 1
cmp dword [0x006932f8], eax
jne 0x5bc40b
mov ecx, dword [0x006934cc]
mov edx, dword [0x00693914]
mov r8d, dword [0x006940ac]
mov r9d, dword [0x00694114]
mov eax, dword [0x006942e0]
mov dword [rsp + 0x20], eax
call sub.kernel32.dll_LockFile
mov eax, dword [0x0069327c]
add eax, 1
cmp dword [0x0069327c], eax
jne 0x5bc445
mov ecx, dword [0x006932f0]
mov edx, dword [0x0069342c]
mov r8d, dword [0x00693954]
mov r9d, dword [0x006940ec]
mov eax, dword [0x006942b8]
mov dword [rsp + 0x20], eax
call sub.kernel32.dll_LockFile
add rsp, 0x28
pop rbx
pop rsi
ret