Function at 0x5da9a0
Capabilities:
Get disk size

Disassembly:
push rbp
sub rsp, 0x170
mov rbp, rsp
mov qword [rbp + 0x120], 0
mov qword [rbp + 0x128], rbp
mov qword [rbp + 0x180], rcx
mov qword [rbp + 0x188], rdx
mov byte [rbp + 0x190], r8b
mov rcx, qword [rbp + 0x188]
call fcn.0040eab0
nop
mov eax, dword [0x00695bf8]
add eax, dword [0x00696174]
mov ecx, dword [0x00695824]
add ecx, dword [0x00695900]
cmp ecx, eax
jle 0x5daa07
mov ecx, dword [0x00696174]
mov dword [0x00695824], ecx
mov ecx, dword [0x00695824]
add ecx, dword [0x00695900]
cmp ecx, eax
jle 0x5daa23
mov eax, dword [0x00696174]
mov dword [0x00695824], eax
mov eax, dword [0x00695b8c]
cmp eax, dword [0x00695c08]
je 0x5daa3d
mov eax, dword [0x00695b8c]
mov dword [0x00695c08], eax
mov eax, dword [0x00695878]
add eax, dword [0x00695b8c]
mov ecx, dword [0x00695d94]
add ecx, dword [0x006962dc]
cmp eax, ecx
jle 0x5daa65
mov eax, dword [0x006962dc]
mov dword [0x00695878], eax
mov eax, dword [0x006940e0]
mov dword [0x00693918], eax
mov eax, dword [0x006957fc]
add eax, dword [0x006958d8]
mov ecx, dword [0x00695bd0]
add ecx, dword [0x0069614c]
cmp eax, ecx
jle 0x5daa99
mov eax, dword [0x0069614c]
mov dword [0x006957fc], eax
mov eax, dword [0x006933f8]
add eax, 1
cmp dword [0x006933f8], eax
jne 0x5daab5
mov ecx, dword [0x006931d4]
call sub.kernel32.dll_SetConsoleKeyShortcuts
call fcn.005d11a0
mov eax, dword [0x006965d8]
mov dword [0x006962d0], eax
mov byte [rbp + 0x16f], 0
nop
mov rax, qword [rbp + 0x180]
mov rax, qword [rax]
mov rcx, rax
mov rax, qword [rax]
call qword [rax]
mov qword [rbp + 0x160], rax
mov rax, qword [rbp + 0x180]
mov rax, qword [rax]
mov rcx, rax
xor edx, edx
xor r8, r8
mov rax, qword [rax]
call qword [rax + 0x48]
jmp 0x5dab59
mov rax, qword [rbp + 0x180]
mov rcx, qword [rax]
lea rdx, [rbp + 0x13f]
mov r8d, 0x21
call fcn.004fab00
lea rcx, [rbp + 0x120]
lea rdx, [rbp + 0x13f]
call fcn.004109a0
mov rcx, qword [rbp + 0x120]
mov rdx, qword [rbp + 0x188]
call fcn.00410d80
test eax, eax
jne 0x5dab51
mov byte [rbp + 0x16f], 1
jmp 0x5dab63
sub qword [rbp + 0x160], 0x21
cmp qword [rbp + 0x160], 0
jg 0x5dab01
nop
cmp byte [rbp + 0x16f], 0
sete al
test byte [rbp + 0x190], al
je 0x5dacb7
lea rcx, [rbp + 0x20]
mov rdx, qword [rbp + 0x188]
mov r8d, 0xff
call fcn.00410910
lea rcx, [rbp + 0x13f]
lea rdx, [rbp + 0x20]
mov r8b, 0x20
call fcn.0040f3e0
mov rax, qword [rbp + 0x180]
mov rax, qword [rax]
mov rcx, rax
mov rax, qword [rax]
call qword [rax]
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x180]
mov rax, qword [rax]
mov rcx, rax
mov rdx, qword [rbp + 0x130]
xor r8, r8
mov rax, qword [rax]
call qword [rax + 0x50]
mov rax, qword [rbp + 0x180]
mov rcx, qword [rax]
lea rdx, [rbp + 0x13f]
mov r8d, 0x21
call fcn.004fbd70
jmp 0x5dacb7
mov eax, dword [0x006965c4]
mov dword [0x006961a8], eax
mov eax, dword [0x0069587c]
add eax, dword [0x00695918]
mov ecx, dword [0x00695c0c]
add ecx, dword [0x00696148]
cmp eax, ecx
jle 0x5daceb
mov eax, dword [0x00696148]
mov dword [0x0069587c], eax
mov eax, dword [0x006965e0]
add eax, dword [0x006932a8]
mov ecx, dword [0x006933f8]
add ecx, dword [0x006934d0]
cmp eax, ecx
jle 0x5dad11
mov dword [0x006965e0], 0x11c
mov eax, dword [0x006965dc]
mov dword [0x00696314], eax
mov eax, dword [0x006933d4]
add eax, 1
cmp dword [0x006933d4], eax
jne 0x5dad46
mov ecx, dword [0x00695bb0]
mov edx, dword [0x00696300]
mov r8d, dword [0x006931f0]
call sub.kernel32.dll_GetDiskFreeSpaceExW
mov eax, dword [0x006942a8]
add eax, dword [0x00695850]
mov ecx, dword [0x0069592c]
add ecx, dword [0x00695d6c]
cmp eax, ecx
jle 0x5dad67
call fcn.004096f0
mov eax, dword [0x006965e0]
mov dword [0x00696318], eax
nop
lea rcx, [rbp + 0x120]
call fcn.0040e920
lea rcx, [rbp + 0x188]
call fcn.0040e920
movzx rax, byte [rbp + 0x16f]
lea rsp, [rbp + 0x170]
pop rbp
ret