Function at 0x5a8f10
Capabilities:
Get disk size

Disassembly:
push rbp
sub rsp, 0x70
mov rbp, rsp
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x38], rbp
mov qword [rbp + 0x80], rcx
mov qword [rbp + 0x88], rdx
mov rcx, qword [rbp + 0x88]
call fcn.0040ead0
nop
mov dword [0x006931d0], 0x2fe
mov eax, dword [0x006931d0]
sub eax, 0x1a1
mov dword [0x0069327c], eax
mov eax, dword [0x00693540]
cmp eax, dword [0x006935f0]
je 0x5a8f75
mov eax, dword [0x00693540]
mov dword [0x006935f0], eax
mov eax, dword [0x00693974]
mov dword [0x00693928], eax
mov eax, dword [0x00693974]
mov dword [0x00693928], eax
mov eax, dword [0x00693524]
cmp eax, dword [0x006935f0]
je 0x5a8fa7
mov eax, dword [0x00693524]
mov dword [0x006935f0], eax
nop
mov eax, dword [0x0069329c]
add eax, 1
cmp dword [0x0069329c], eax
jne 0x5a8fe2
mov ecx, dword [0x00693974]
mov edx, dword [0x00693308]
mov r8d, dword [0x00693418]
mov r9d, dword [0x006934bc]
mov eax, dword [0x00693520]
mov dword [rsp + 0x20], eax
call sub.kernel32.dll_LockFile
mov eax, dword [0x00693444]
add eax, dword [0x006934e8]
mov ecx, dword [0x00693534]
add ecx, dword [0x006937fc]
cmp eax, ecx
jle 0x5a900a
mov eax, dword [0x006937fc]
mov dword [0x00693444], eax
mov eax, dword [0x00693434]
add eax, dword [0x006934d8]
mov ecx, dword [0x00693524]
add ecx, dword [0x006935f0]
cmp eax, ecx
jle 0x5a902b
call fcn.004096f0
mov eax, dword [0x00693434]
add eax, dword [0x006934d8]
mov ecx, dword [0x00693524]
add ecx, dword [0x006935f0]
cmp eax, ecx
jle 0x5a904c
call fcn.004096f0
mov eax, dword [0x00693550]
cmp eax, dword [0x00693914]
je 0x5a9066
mov eax, dword [0x00693550]
mov dword [0x00693914], eax
mov eax, dword [0x00693284]
add eax, 1
cmp dword [0x00693284], eax
jne 0x5a90a0
mov ecx, dword [0x006931d0]
mov edx, dword [0x006932b0]
mov r8d, dword [0x006933bc]
mov r9d, dword [0x00693408]
mov eax, dword [0x006934c4]
mov dword [rsp + 0x20], eax
call sub.kernel32.dll_LockFile
mov eax, dword [0x006932b4]
add eax, 1
cmp dword [0x006932b4], eax
jne 0x5a90bc
mov ecx, dword [0x00693980]
call sub.kernel32.dll_SetConsoleKeyShortcuts
mov eax, dword [0x00693944]
mov dword [0x006937fc], eax
mov eax, dword [0x00693944]
mov dword [0x006937fc], eax
mov eax, dword [0x0069353c]
cmp eax, dword [0x00693800]
je 0x5a90ee
mov eax, dword [0x0069353c]
mov dword [0x00693800], eax
lea rcx, [rbp + 0x60]
xor edx, edx
xor r8, r8
mov r9d, 1
mov dword [rsp + 0x20], 0xf0000000
call qword [0x006a8ea8]
test eax, eax
je 0x5a93ea
nop
mov rcx, qword [rbp + 0x60]
mov edx, 0x8003
xor r8, r8
xor r9, r9
lea rax, [rbp + 0x68]
mov qword [rsp + 0x20], rax
call qword [0x006a8eb0]
test eax, eax
je 0x5a93ce
mov eax, dword [0x006931c4]
add eax, dword [0x0069320c]
mov ecx, dword [0x006932b8]
add ecx, dword [0x00693304]
cmp eax, ecx
jle 0x5a9162
mov dword [0x006931c4], 0xab
mov eax, dword [0x00693290]
add eax, 1
cmp dword [0x00693290], eax
jne 0x5a917e
mov ecx, dword [0x006932ec]
call sub.kernel32.dll_SetConsoleKeyShortcuts
mov eax, dword [0x006931c4]
add eax, dword [0x0069320c]
mov ecx, dword [0x006932b8]
add ecx, dword [0x00693304]
cmp eax, ecx
jle 0x5a91a4
mov dword [0x006931c4], 0xab
mov eax, dword [0x00693548]
cmp eax, dword [0x0069390c]
je 0x5a91be
mov eax, dword [0x00693548]
mov dword [0x0069390c], eax
mov eax, dword [0x00693410]
mov dword [0x006933dc], eax
mov eax, dword [0x006934f4]
add eax, dword [0x0069353c]
mov ecx, dword [0x00693900]
add ecx, dword [0x0069394c]
cmp eax, ecx
jle 0x5a91f2
mov eax, dword [0x0069394c]
mov dword [0x006934f4], eax
call fcn.005a8820
nop
mov dword [rbp + 0x4c], 0
mov rax, qword [rbp + 0x88]
test rax, rax
je 0x5a9211
mov ecx, dword [rax - 4]
mov dword [rbp + 0x4c], ecx
mov rcx, qword [rbp + 0x68]
mov rdx, rax
mov r8d, dword [rbp + 0x4c]
xor r9, r9
call qword [0x006a8eb8]
test eax, eax
je 0x5a939d
mov dword [0x006931d8], 0x308
mov eax, dword [0x006931d8]
sub eax, 0x1a6
mov dword [0x0069320c], eax
call fcn.005a8970
cmp eax, dword [0x006931c8]
jle 0x5a9260
mov dword [0x006931c8], 0x19
mov eax, dword [0x006932b8]
add eax, 1
cmp dword [0x006932b8], eax
jne 0x5a9289
mov ecx, dword [0x00693960]
mov edx, dword [0x00693278]
mov r8d, dword [0x006932dc]
call sub.kernel32.dll_GetDiskFreeSpaceExW
mov dword [0x006931d8], 0x308
mov eax, dword [0x006931d8]
sub eax, 0x1a6
mov dword [0x0069320c], eax
mov eax, dword [0x00693508]
cmp eax, dword [0x00693554]
je 0x5a92bf
mov eax, dword [0x00693508]
mov dword [0x00693554], eax
mov dword [0x006931b0], 0x2f6
mov eax, dword [0x006931b0]
sub eax, 0x18e
mov dword [0x006931e4], eax
call fcn.005a7e20
mov eax, dword [0x006931c4]
mov dword [0x00693974], eax
mov eax, dword [0x00693210]
add eax, 1
cmp dword [0x00693210], eax
jne 0x5a9308
mov ecx, dword [0x00693948]
call sub.kernel32.dll_SetConsoleKeyShortcuts
mov rcx, qword [rbp + 0x68]
mov edx, 2
xor r8, r8
lea r9, [rbp + 0x5c]
mov dword [rsp + 0x20], 0
call qword [0x006a8ec0]
test eax, eax
je 0x5a939d
lea rcx, [rbp + 0x50]
mov rdx, qword [0x005a8ed0]
mov r8d, 1
mov r9d, dword [rbp + 0x5c]
call fcn.004129a0
mov rcx, qword [rbp + 0x68]
mov edx, 2
mov r8, qword [rbp + 0x50]
lea r9, [rbp + 0x5c]
mov dword [rsp + 0x20], 0
call qword [0x006a8ec0]
test eax, eax
je 0x5a939d
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x40], rax
cmp qword [rbp + 0x40], 0
je 0x5a9385
mov rax, qword [rbp + 0x40]
mov rax, qword [rax - 8]
mov qword [rbp + 0x40], rax
mov rcx, qword [rbp + 0x80]
mov rdx, qword [rbp + 0x50]
mov rax, qword [rbp + 0x40]
lea r8, [rax - 1]
call fcn.005a7320
nop
mov eax, dword [0x006931c4]
mov dword [0x00693974], eax
mov eax, dword [0x00693510]
cmp eax, dword [0x0069355c]
je 0x5a93c4
mov eax, dword [0x00693510]
mov dword [0x0069355c], eax
mov rcx, qword [rbp + 0x68]
call qword [0x006a8ec8]
nop
mov rcx, qword [rbp + 0x60]
xor edx, edx
call qword [0x006a8ed0]
jmp 0x5a93ea
mov eax, dword [0x00693934]
mov dword [0x006935f0], eax
mov eax, dword [0x0069355c]
add eax, dword [0x00693908]
mov ecx, dword [0x006934e0]
add ecx, dword [0x00693510]
cmp ecx, eax
jle 0x5a941e
mov ecx, dword [0x00693908]
mov dword [0x006934e0], ecx
mov ecx, dword [0x006934e0]
add ecx, dword [0x00693510]
cmp ecx, eax
jle 0x5a943a
mov eax, dword [0x00693908]
mov dword [0x006934e0], eax
mov eax, dword [0x00693528]
cmp eax, dword [0x006935f4]
je 0x5a9454
mov eax, dword [0x00693528]
mov dword [0x006935f4], eax
mov eax, dword [0x00693944]
mov dword [0x006937fc], eax
mov eax, dword [0x00693280]
add eax, 1
cmp dword [0x00693280], eax
jne 0x5a949a
mov ecx, dword [0x00693404]
mov edx, dword [0x006934d8]
mov r8d, dword [0x0069353c]
mov r9d, dword [0x00693918]
mov eax, dword [0x00693964]
mov dword [rsp + 0x20], eax
call sub.kernel32.dll_LockFile
mov dword [0x006931c8], 0x2f0
mov eax, dword [0x006931c8]
sub eax, 0x19a
mov dword [0x00693210], eax
nop
lea rcx, [rbp + 0x50]
mov rdx, qword [0x005a8ed0]
call fcn.00412b70
lea rcx, [rbp + 0x88]
call fcn.0040e970
mov rax, qword [rbp + 0x80]
lea rsp, [rbp + 0x70]
pop rbp
ret