Function at 0x5daf30
Capabilities:
Get disk size

Disassembly:
push rbp
sub rsp, 0x960
mov rbp, rsp
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0xa0], 0
mov qword [rbp + 0x98], 0
mov qword [rbp + 0x90], 0
mov qword [rbp + 0x4f0], 0
mov qword [rbp + 0x4e8], 0
mov qword [rbp + 0xa8], rbp
mov qword [rbp + 0x970], rcx
mov dword [rbp + 0x978], edx
mov qword [rbp + 0x980], r8
mov qword [rbp + 0x988], r9
lea rcx, [rbp + 0x980]
call fcn.0040eaf0
lea rcx, [rbp + 0x988]
call fcn.0040eaf0
nop
call fcn.005d9cb0
cmp eax, dword [0x00693294]
jle 0x5db022
mov dword [0x00693294], 0x42
mov eax, dword [0x006932e0]
add eax, 1
cmp dword [0x006932e0], eax
jne 0x5db03e
mov ecx, dword [0x0069391c]
call sub.kernel32.dll_SetConsoleKeyShortcuts
mov rax, qword [rbp + 0x970]
mov dword [rax + 0x10], 0
mov eax, dword [0x006932ec]
add eax, 1
cmp dword [0x006932ec], eax
jne 0x5db086
mov ecx, dword [0x006942b0]
mov edx, dword [0x00696128]
mov r8d, dword [0x006965c0]
mov r9d, dword [0x00693288]
mov eax, dword [0x00693418]
mov dword [rsp + 0x20], eax
call sub.kernel32.dll_LockFile
nop
mov rcx, qword [0x004d2058]
mov dl, 1
call fcn.0040b440
mov qword [rbp + 0x958], rax
nop
mov dword [rbp + 0x4f8], 0
mov eax, dword [0x0069581c]
add eax, dword [0x006958f8]
mov ecx, dword [0x00695bf0]
add ecx, dword [0x0069616c]
cmp eax, ecx
jle 0x5db0cf
mov eax, dword [0x0069616c]
mov dword [0x0069581c], eax
call fcn.005cf210
lea rcx, [rbp + 0x958]
mov dl, 1
call fcn.005da570
test al, al
jne 0x5db0f4
lea rcx, [rbp + 0x958]
xor edx, edx
call fcn.005da570
mov rcx, qword [rbp + 0x958]
mov rax, qword [rbp + 0x958]
mov rax, qword [rax]
call qword [rax]
test rax, rax
jle 0x5db141
mov rcx, qword [rbp + 0x958]
xor edx, edx
xor r8, r8
mov rax, qword [rbp + 0x958]
mov rax, qword [rax]
call qword [rax + 0x48]
mov rcx, qword [rbp + 0x958]
lea rdx, [rbp + 0x4f8]
mov r8d, 0x460
call fcn.004fab00
jmp 0x5db14b
mov dword [rbp + 0x4f8], 0
cmp dword [0x006a88b8], 0x20
jne 0x5db1b3
lea rcx, [rbp + 0xa0]
call fcn.005cc8c0
lea rcx, [rbp + 0x90]
lea rdx, [0x00692481]
mov r8d, 0xc
mov r9d, 0x2d
call fcn.00597b20
lea rcx, [rbp + 0x98]
mov rdx, qword [rbp + 0x90]
xor r8, r8
call fcn.005a8ac0
lea rcx, [rbp + 0x4f0]
mov rdx, qword [rbp + 0xa0]
mov r8, qword [rbp + 0x98]
call fcn.00410100
jmp 0x5db20a
lea rcx, [rbp + 0x88]
call fcn.005cc340
lea rcx, [rbp + 0x78]
lea rdx, [0x00692619]
mov r8d, 0x16
mov r9d, 0x2d
call fcn.00597b20
lea rcx, [rbp + 0x80]
mov rdx, qword [rbp + 0x78]
xor r8, r8
call fcn.005a8ac0
lea rcx, [rbp + 0x4f0]
mov rdx, qword [rbp + 0x88]
mov r8, qword [rbp + 0x80]
call fcn.00410100
lea rcx, [rbp + 0x70]
lea rdx, [0x006a84f8]
mov r8d, 0x104
call fcn.0040ff40
lea rcx, [rbp + 0x68]
lea rdx, [0x006a8742]
call fcn.0040ff20
lea rcx, [rbp + 0x4e8]
mov edx, 4
mov r8, qword [rbp + 0x70]
mov r9, qword [rbp + 0x68]
lea rax, [0x005dbed4]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x988]
mov qword [rsp + 0x28], rax
call fcn.00410400
mov dword [0x00693278], 0x304
mov eax, dword [0x00693278]
sub eax, 0x1a4
mov dword [0x006932f8], eax
mov eax, dword [0x006965e0]
mov dword [0x006962dc], eax
mov eax, dword [0x00695890]
add eax, dword [0x0069592c]
mov ecx, dword [0x00695d6c]
add ecx, dword [0x00696160]
cmp eax, ecx
jle 0x5db2b3
mov eax, dword [0x00696160]
mov dword [0x00695890], eax
call fcn.005d11a0
call fcn.005cce40
mov eax, dword [0x00695890]
add eax, dword [0x0069592c]
mov ecx, dword [0x00695d6c]
add ecx, dword [0x00696160]
cmp eax, ecx
jle 0x5db2e5
mov eax, dword [0x00696160]
mov dword [0x00695890], eax
mov eax, dword [0x00695bec]
cmp eax, dword [0x00696168]
je 0x5db2ff
mov eax, dword [0x00695bec]
mov dword [0x00696168], eax
mov eax, dword [0x006965cc]
mov dword [0x006962c4], eax
mov eax, dword [rbp + 0x978]
sub eax, 1
test eax, eax
je 0x5db333
sub eax, 1
test eax, eax
je 0x5db629
sub eax, 1
test eax, eax
jne 0x5dbce4
jmp 0x5db9a0
cmp byte [rbp + 0x990], 0
je 0x5db41b
mov eax, dword [0x006965cc]
mov dword [0x006962c4], eax
mov eax, dword [0x006958c4]
cmp eax, dword [0x00695bbc]
je 0x5db366
mov eax, dword [0x006958c4]
mov dword [0x00695bbc], eax
mov eax, dword [0x006942d0]
mov dword [0x006940cc], eax
call fcn.005d78a0
cmp eax, dword [0x00693208]
jle 0x5db389
mov dword [0x00693208], 0x47
mov eax, dword [0x006942d0]
mov dword [0x006940cc], eax
mov eax, dword [0x00695938]
cmp eax, dword [0x00695d78]
je 0x5db3af
mov eax, dword [0x00695938]
mov dword [0x00695d78], eax
cmp byte [rbp + 0x998], 0
je 0x5db3e6
mov rcx, qword [rbp + 0x970]
mov rdx, qword [rbp + 0x980]
mov r8, qword [rbp + 0x988]
mov r9d, 5
mov dword [rsp + 0x20], 0x20
call fcn.005a4f40
jmp 0x5dbce4
mov rcx, qword [rbp + 0x970]
mov edx, dword [rbp + 0x4f8]
mov r8, qword [rbp + 0x980]
mov r9, qword [rbp + 0x988]
mov dword [rsp + 0x20], 5
mov dword [rsp + 0x28], 0x20
call fcn.005a56a0
jmp 0x5dbce4
cmp byte [rbp + 0x998], 0
je 0x5db5fb
call fcn.005d78a0
cmp eax, dword [0x00693274]
jle 0x5db43f
mov dword [0x00693274], 0x4a
call fcn.005ccda0
call fcn.005d3250
cmp eax, dword [0x006965f0]
jle 0x5db45b
mov dword [0x006965f0], 0x1b
call fcn.005d78a0
cmp eax, dword [0x006931d0]
jle 0x5db472
mov dword [0x006931d0], 0x39
mov eax, dword [0x00695860]
add eax, dword [0x0069593c]
mov ecx, dword [0x00695bf4]
add ecx, dword [0x00696170]
cmp eax, ecx
jle 0x5db49a
mov eax, dword [0x00696170]
mov dword [0x00695860], eax
mov eax, dword [0x006962f4]
mov dword [0x00696120], eax
call fcn.005d2cb0
cmp eax, dword [0x006965dc]
jle 0x5db4bd
mov dword [0x006965dc], 0x26
mov dword [rbp + 0xb2], 1
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x980]
call fcn.004108b0
lea rcx, [rbp + 0xb6]
mov rdx, qword [rbp + 0x60]
call fcn.00430440
lea rcx, [rbp + 0x58]
mov rdx, qword [rbp + 0x988]
call fcn.004108b0
lea rcx, [rbp + 0x2be]
mov rdx, qword [rbp + 0x58]
call fcn.00430440
mov dword [rbp + 0x4c6], 1
mov dword [rbp + 0x4e4], 0xffffffff
lea rcx, [rbp + 0xb2]
call fcn.005d1210
test al, al
je 0x5dbce4
mov eax, dword [0x006942e0]
add eax, dword [0x00695888]
mov ecx, dword [0x00695b9c]
add ecx, dword [0x00695c1c]
cmp eax, ecx
jle 0x5db557
mov eax, dword [0x00695c1c]
mov dword [0x006942e0], eax
mov eax, dword [0x006933f8]
add eax, 1
cmp dword [0x006933f8], eax
jne 0x5db580
mov ecx, dword [0x00696128]
mov edx, dword [0x006931ec]
mov r8d, dword [0x006933dc]
call sub.kernel32.dll_GetDiskFreeSpaceExW
mov eax, dword [0x00694284]
mov dword [0x006940c0], eax
mov eax, dword [0x006933f0]
add eax, 1
cmp dword [0x006933f0], eax
jne 0x5db5b5
mov ecx, dword [0x00693448]
mov edx, dword [0x006940a4]
mov r8d, dword [0x006942e8]
call sub.kernel32.dll_GetDiskFreeSpaceExW
mov eax, dword [0x006931f0]
mov dword [0x00696588], eax
mov eax, dword [0x00693430]
add eax, 1
cmp dword [0x00693430], eax
jne 0x5db5ea
mov ecx, dword [0x00696310]
mov edx, dword [0x006932dc]
mov r8d, dword [0x00693504]
call sub.kernel32.dll_GetDiskFreeSpaceExW
mov rcx, qword [0x006a8ab0]
call fcn.005d1f60
jmp 0x5dbce4
mov rcx, qword [rbp + 0x970]
mov rdx, qword [rbp + 0x980]
mov r8, qword [rbp + 0x988]
mov r9d, 5
mov dword [rsp + 0x20], 0x20
call fcn.005a4f40
jmp 0x5dbce4
cmp byte [rbp + 0x990], 0
je 0x5db7a0
mov eax, dword [0x006933d4]
add eax, 1
cmp dword [0x006933d4], eax
jne 0x5db652
mov ecx, dword [0x00696188]
call sub.kernel32.dll_SetConsoleKeyShortcuts
mov eax, dword [0x006931f0]
mov dword [0x00696588], eax
mov eax, dword [0x00695be4]
cmp eax, dword [0x00696160]
je 0x5db678
mov eax, dword [0x00695be4]
mov dword [0x00696160], eax
mov eax, dword [0x00695884]
add eax, dword [0x00695b98]
mov ecx, dword [0x00696114]
add ecx, dword [0x006962e8]
cmp eax, ecx
jle 0x5db6a0
mov eax, dword [0x006962e8]
mov dword [0x00695884], eax
mov eax, dword [0x006931dc]
mov dword [0x00696574], eax
mov eax, dword [0x006957f4]
add eax, dword [0x006958d0]
mov ecx, dword [0x00695b88]
add ecx, dword [0x00695d90]
cmp eax, ecx
jle 0x5db6d4
mov eax, dword [0x00695d90]
mov dword [0x006957f4], eax
mov eax, dword [0x006932ec]
add eax, 1
cmp dword [0x006932ec], eax
jne 0x5db70e
mov ecx, dword [0x00695ba4]
mov edx, dword [0x006965bc]
mov r8d, dword [0x00693284]
mov r9d, dword [0x00693454]
mov eax, dword [0x00693924]
mov dword [rsp + 0x20], eax
call sub.kernel32.dll_LockFile
mov eax, dword [0x0069327c]
add eax, dword [0x006933cc]
mov ecx, dword [0x006934e4]
add ecx, dword [0x0069391c]
cmp eax, ecx
jle 0x5db734
mov dword [0x0069327c], 0x137
cmp byte [rbp + 0x998], 0
je 0x5db76b
mov rcx, qword [rbp + 0x970]
mov rdx, qword [rbp + 0x4f0]
mov r8, qword [rbp + 0x4e8]
mov r9d, 5
mov dword [rsp + 0x20], 0x20
call fcn.005a4f40
jmp 0x5dbce4
mov rcx, qword [rbp + 0x970]
mov edx, dword [rbp + 0x4f8]
mov r8, qword [rbp + 0x4f0]
mov r9, qword [rbp + 0x4e8]
mov dword [rsp + 0x20], 5
mov dword [rsp + 0x28], 0x20
call fcn.005a56a0
jmp 0x5dbce4
cmp byte [rbp + 0x998], 0
je 0x5db972
mov eax, dword [0x0069327c]
add eax, dword [0x006933cc]
mov ecx, dword [0x006934e4]
add ecx, dword [0x0069391c]
cmp eax, ecx
jle 0x5db7d3
mov dword [0x0069327c], 0x137
mov eax, dword [0x00695bb0]
cmp eax, dword [0x00695d78]
je 0x5db7ed
mov eax, dword [0x00695bb0]
mov dword [0x00695d78], eax
mov dword [rbp + 0xb2], 1
lea rcx, [rbp + 0x50]
mov rdx, qword [rbp + 0x4f0]
call fcn.004108b0
lea rcx, [rbp + 0xb6]
mov rdx, qword [rbp + 0x50]
call fcn.00430440
lea rcx, [rbp + 0x48]
mov rdx, qword [rbp + 0x4e8]
call fcn.004108b0
lea rcx, [rbp + 0x2be]
mov rdx, qword [rbp + 0x48]
call fcn.00430440
mov dword [rbp + 0x4c6], 2
mov dword [rbp + 0x4e4], 0xffffffff
lea rcx, [rbp + 0xb2]
call fcn.005d1210
test al, al
je 0x5dbce4
mov dword [0x006932a8], 0x31a
mov eax, dword [0x006932a8]
sub eax, 0x1ae
mov dword [0x006933f8], eax
mov eax, dword [0x00693408]
add eax, 1
cmp dword [0x00693408], eax
jne 0x5db897
mov ecx, dword [0x006932c8]
call sub.kernel32.dll_SetConsoleKeyShortcuts
mov dword [0x006932a8], 0x31a
mov eax, dword [0x006932a8]
sub eax, 0x1ae
mov dword [0x006933f8], eax
mov eax, dword [0x00695b88]
cmp eax, dword [0x00695d90]
je 0x5db8cd
mov eax, dword [0x00695b88]
mov dword [0x00695d90], eax
mov eax, dword [0x006931b4]
mov dword [0x00696304], eax
mov eax, dword [0x0069582c]
add eax, dword [0x00695908]
mov ecx, dword [0x00695c00]
add ecx, dword [0x0069617c]
cmp eax, ecx
jle 0x5db901
mov eax, dword [0x0069617c]
mov dword [0x0069582c], eax
call fcn.005d19c0
mov eax, dword [0x00696578]
mov dword [0x0069615c], eax
mov eax, dword [0x006933cc]
add eax, 1
cmp dword [0x006933cc], eax
jne 0x5db93b
mov ecx, dword [0x0069339c]
mov edx, dword [0x006935f4]
mov r8d, dword [0x00694134]
call sub.kernel32.dll_GetDiskFreeSpaceExW
mov eax, dword [0x00696578]
mov dword [0x0069615c], eax
mov eax, dword [0x00695bc0]
cmp eax, dword [0x0069613c]
je 0x5db961
mov eax, dword [0x00695bc0]
mov dword [0x0069613c], eax
mov rcx, qword [0x006a8ab0]
call fcn.005d1f60
jmp 0x5dbce4
mov rcx, qword [rbp + 0x970]
mov rdx, qword [rbp + 0x4f0]
mov r8, qword [rbp + 0x4e8]
mov r9d, 5
mov dword [rsp + 0x20], 0x20
call fcn.005a4f40
jmp 0x5dbce4
cmp byte [rbp + 0x990], 0
je 0x5dbac9
mov eax, dword [0x006934e8]
add eax, 1
cmp dword [0x006934e8], eax
jne 0x5db9c9
mov ecx, dword [0x006942ec]
call sub.kernel32.dll_SetConsoleKeyShortcuts
mov eax, dword [0x006942bc]
add eax, dword [0x00695820]
mov ecx, dword [0x006958fc]
add ecx, dword [0x00695bf4]
cmp eax, ecx
jle 0x5db9ea
call fcn.004096f0
call fcn.005d2170
cmp eax, dword [0x006965d0]
jle 0x5dba01
mov dword [0x006965d0], 0x23
mov eax, dword [0x006942d0]
add eax, dword [0x00695878]
mov ecx, dword [0x00695b8c]
add ecx, dword [0x00695c0c]
cmp eax, ecx
jle 0x5dba29
mov eax, dword [0x00695c0c]
mov dword [0x006942d0], eax
mov eax, dword [0x006962e0]
mov dword [0x0069614c], eax
mov dword [0x006931b0], 0x2ef
mov eax, dword [0x006931b0]
sub eax, 0x19a
mov dword [0x006932d0], eax
mov eax, dword [0x006965f4]
mov dword [0x006962ec], eax
cmp byte [rbp + 0x998], 0
je 0x5dba94
mov rcx, qword [rbp + 0x970]
mov rdx, qword [rbp + 0x4f0]
mov r8, qword [rbp + 0x4e8]
mov r9d, 5
mov dword [rsp + 0x20], 0x20
call fcn.005a4f40
jmp 0x5dbce4
mov rcx, qword [rbp + 0x970]
mov edx, dword [rbp + 0x4f8]
mov r8, qword [rbp + 0x4f0]
mov r9, qword [rbp + 0x4e8]
mov dword [rsp + 0x20], 5
mov dword [rsp + 0x28], 0x20
call fcn.005a56a0
jmp 0x5dbce4
cmp byte [rbp + 0x998], 0
je 0x5dbcbb
mov dword [rbp + 0xb2], 1
lea rcx, [rbp + 0x40]
mov rdx, qword [rbp + 0x4f0]
call fcn.004108b0
lea rcx, [rbp + 0xb6]
mov rdx, qword [rbp + 0x40]
call fcn.00430440
lea rcx, [rbp + 0x38]
mov rdx, qword [rbp + 0x4e8]
call fcn.004108b0
lea rcx, [rbp + 0x2be]
mov rdx, qword [rbp + 0x38]
call fcn.00430440
mov eax, dword [0x00694120]
add eax, dword [0x0069580c]
mov ecx, dword [0x0069588c]
add ecx, dword [0x00695ba0]
cmp eax, ecx
jle 0x5dbb41
call fcn.004096f0
mov eax, dword [0x0069584c]
add eax, dword [0x00695928]
mov ecx, dword [0x00695c20]
add ecx, dword [0x0069615c]
cmp eax, ecx
jle 0x5dbb69
mov eax, dword [0x0069615c]
mov dword [0x0069584c], eax
mov dword [0x006931d8], 0x303
mov eax, dword [0x006931d8]
sub eax, 0x1a3
mov dword [0x006932b8], eax
mov eax, dword [0x00693280]
add eax, 1
cmp dword [0x00693280], eax
jne 0x5dbba1
mov ecx, dword [0x00696584]
call sub.kernel32.dll_SetConsoleKeyShortcuts
mov dword [0x006931d8], 0x303
mov eax, dword [0x006931d8]
sub eax, 0x1a3
mov dword [0x006932b8], eax
mov eax, dword [0x00695bac]
cmp eax, dword [0x00695d74]
je 0x5dbbd7
mov eax, dword [0x00695bac]
mov dword [0x00695d74], eax
mov eax, dword [0x00693414]
add eax, 1
cmp dword [0x00693414], eax
jne 0x5dbc00
mov ecx, dword [0x006962d0]
mov edx, dword [0x006932a0]
mov r8d, dword [0x006934c8]
call sub.kernel32.dll_GetDiskFreeSpaceExW
mov eax, dword [0x00693288]
mov dword [0x006965c0], eax
mov dword [rbp + 0x4c6], 3
mov dword [rbp + 0x4e4], 0xffffffff
mov eax, dword [0x00693438]
add eax, 1
cmp dword [0x00693438], eax
jne 0x5dbc3c
mov ecx, dword [0x00696580]
call sub.kernel32.dll_SetConsoleKeyShortcuts
lea rcx, [rbp + 0xb2]
call fcn.005d1210
test al, al
je 0x5dbce4
mov rcx, qword [0x006a8ab0]
call fcn.005d1f60
mov eax, dword [0x00693530]
add eax, dword [0x006940b4]
mov ecx, dword [0x006942f8]
add ecx, dword [0x006958fc]
cmp eax, ecx
jle 0x5dbc82
mov dword [0x00693530], 5
mov eax, dword [0x006932e4]
mov dword [0x006965dc], eax
call fcn.005cff60
mov eax, dword [0x006932e4]
mov dword [0x006965dc], eax
mov eax, dword [0x00696148]
cmp eax, dword [0x006965a4]
je 0x5dbce4
mov eax, dword [0x00696148]
mov dword [0x006965a4], eax
jmp 0x5dbce4
mov rcx, qword [rbp + 0x970]
mov rdx, qword [rbp + 0x4f0]
mov r8, qword [rbp + 0x4e8]
mov r9d, 5
mov dword [rsp + 0x20], 0x20
call fcn.005a4f40
nop
mov rcx, qword [rbp + 0x958]
call fcn.0040b500
mov eax, dword [0x006965e4]
mov dword [0x00696188], eax
jmp 0x5dbd6c
nop
lea rcx, [rbp + 0x38]
mov edx, 6
call fcn.0040ea00
lea rcx, [rbp + 0x68]
mov edx, 2
call fcn.0040ea60
lea rcx, [rbp + 0x78]
call fcn.0040e970
lea rcx, [rbp + 0x80]
mov edx, 2
call fcn.0040ea60
lea rcx, [rbp + 0x90]
call fcn.0040e970
lea rcx, [rbp + 0x98]
mov edx, 2
call fcn.0040ea60
lea rcx, [rbp + 0x4e8]
mov edx, 2
call fcn.0040ea60
lea rcx, [rbp + 0x980]
mov edx, 2
call fcn.0040ea60
mov rax, qword [rbp + 0x970]
lea rsp, [rbp + 0x960]
pop rbp
ret