Function at 0x5a9750
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 dword [rbp + 0x90], r8d
nop
mov eax, dword [0x006931f0]
add eax, 1
cmp dword [0x006931f0], eax
jne 0x5a97b4
mov ecx, dword [0x006933b8]
mov edx, dword [0x006934f4]
mov r8d, dword [0x00693900]
mov r9d, dword [0x0069394c]
mov eax, dword [0x006931d0]
mov dword [rsp + 0x20], eax
call sub.kernel32.dll_LockFile
mov eax, dword [0x00693980]
add eax, dword [0x006931ec]
mov ecx, dword [0x00693298]
add ecx, dword [0x006932e0]
cmp eax, ecx
jle 0x5a97da
mov dword [0x00693980], 0x30
mov eax, dword [0x00693980]
mov dword [0x00693938], eax
mov eax, dword [0x00693980]
mov dword [0x00693938], eax
mov eax, dword [0x00693548]
cmp eax, dword [0x0069390c]
je 0x5a980c
mov eax, dword [0x00693548]
mov dword [0x0069390c], eax
nop
mov eax, dword [0x006931f8]
add eax, 1
cmp dword [0x006931f8], eax
jne 0x5a9836
mov ecx, dword [0x006931e4]
mov edx, dword [0x006933d0]
mov r8d, dword [0x00693434]
call sub.kernel32.dll_GetDiskFreeSpaceExW
mov eax, dword [0x006934c4]
add eax, dword [0x00693510]
mov ecx, dword [0x00693558]
add ecx, dword [0x0069391c]
cmp eax, ecx
jle 0x5a985e
mov eax, dword [0x0069391c]
mov dword [0x006934c4], eax
call fcn.005a8cb0
cmp eax, dword [0x00693980]
jle 0x5a9875
mov dword [0x00693980], 0xf
mov eax, dword [0x0069327c]
add eax, 1
cmp dword [0x0069327c], eax
jne 0x5a9891
mov ecx, dword [0x00693950]
call sub.kernel32.dll_SetConsoleKeyShortcuts
mov eax, dword [0x006931f8]
add eax, 1
cmp dword [0x006931f8], eax
jne 0x5a98ba
mov ecx, dword [0x006933d4]
mov edx, dword [0x00693454]
mov r8d, dword [0x0069355c]
call sub.kernel32.dll_GetDiskFreeSpaceExW
mov eax, dword [0x0069342c]
mov dword [0x006933f8], eax
mov eax, dword [0x00693958]
mov dword [0x0069390c], 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 0x5a9ab0
nop
call fcn.005a8820
mov eax, dword [0x0069397c]
add eax, dword [0x006931e8]
mov ecx, dword [0x00693294]
add ecx, dword [0x006932dc]
cmp eax, ecx
jle 0x5a9924
mov dword [0x0069397c], 0x2e
mov eax, dword [0x00693978]
mov dword [0x0069392c], eax
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 0x5a9a1b
nop
mov rcx, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x88]
mov r8d, dword [rbp + 0x90]
xor r9, r9
call qword [0x006a8eb8]
test eax, eax
je 0x5a9a10
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 0x5a9a10
lea rcx, [rbp + 0x50]
mov rdx, qword [0x005a9708]
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 0x5a9a10
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
je 0x5a99f8
mov rax, qword [rbp + 0x48]
mov rax, qword [rax - 8]
mov qword [rbp + 0x48], rax
mov rcx, qword [rbp + 0x80]
mov rdx, qword [rbp + 0x50]
mov rax, qword [rbp + 0x48]
lea r8, [rax - 1]
call fcn.005a7320
nop
mov rcx, qword [rbp + 0x68]
call qword [0x006a8ec8]
nop
mov eax, dword [0x00693978]
mov dword [0x0069392c], eax
mov eax, dword [0x00693508]
cmp eax, dword [0x00693554]
je 0x5a9a42
mov eax, dword [0x00693508]
mov dword [0x00693554], eax
mov rcx, qword [rbp + 0x60]
xor edx, edx
call qword [0x006a8ed0]
jmp 0x5a9ab0
mov eax, dword [0x00693988]
mov dword [0x0069393c], eax
call fcn.005a9580
cmp eax, dword [0x006931cc]
jle 0x5a9ad3
mov dword [0x006931cc], 0x1b
mov eax, dword [0x0069343c]
add eax, dword [0x006934e0]
mov ecx, dword [0x00693510]
add ecx, dword [0x0069355c]
cmp eax, ecx
jle 0x5a9af4
call fcn.004096f0
mov eax, dword [0x0069343c]
add eax, dword [0x006934e0]
mov ecx, dword [0x00693510]
add ecx, dword [0x0069355c]
cmp eax, ecx
jle 0x5a9b15
call fcn.004096f0
mov eax, dword [0x00693520]
cmp eax, dword [0x00693550]
je 0x5a9b2f
mov eax, dword [0x00693520]
mov dword [0x00693550], eax
mov eax, dword [0x006934c0]
mov dword [0x0069341c], eax
mov eax, dword [0x006931b8]
add eax, dword [0x00693200]
mov ecx, dword [0x006932ac]
add ecx, dword [0x006932f8]
cmp eax, ecx
jle 0x5a9b61
mov dword [0x006931b8], 0x2f
mov dword [0x006931b0], 0x2f6
mov eax, dword [0x006931b0]
sub eax, 0x18e
mov dword [0x006931fc], eax
nop
lea rcx, [rbp + 0x50]
mov rdx, qword [0x005a9708]
call fcn.00412b70
mov rax, qword [rbp + 0x80]
lea rsp, [rbp + 0x70]
pop rbp
ret