Function at 0x5d19f0
Capabilities:
Get disk size

Disassembly:
push rbp
sub rsp, 0x90
mov rbp, rsp
mov qword [rbp + 0x38], rbp
mov qword [rbp + 0xa0], rcx
lea rcx, [rbp + 0xa0]
call fcn.0040eaf0
nop
call fcn.005cb8b0
mov eax, dword [0x006958fc]
mov dword [0x0069584c], eax
mov eax, dword [0x00695c10]
add eax, dword [0x0069328c]
mov ecx, dword [0x006933b4]
add ecx, dword [0x00693414]
cmp eax, ecx
jle 0x5d1a4a
mov dword [0x00695c10], 0x159
mov eax, dword [0x0069320c]
mov dword [0x00695bf0], eax
mov eax, dword [0x0069320c]
mov dword [0x00695bf0], eax
mov eax, dword [0x00694134]
cmp eax, dword [0x006957f8]
je 0x5d1a7c
mov eax, dword [0x00694134]
mov dword [0x006957f8], eax
mov eax, dword [0x00695bdc]
add eax, dword [0x006931f8]
mov ecx, dword [0x006932ec]
add ecx, dword [0x00693410]
cmp eax, ecx
jle 0x5d1aa2
mov dword [0x00695bdc], 0x47
mov eax, dword [0x00695bec]
mov dword [0x00695920], eax
mov qword [rbp + 0x80], 0
nop
mov eax, dword [0x00693970]
add eax, dword [0x00694110]
mov ecx, dword [0x006942e8]
add ecx, dword [0x00695864]
cmp eax, ecx
jle 0x5d1adb
call fcn.004096f0
lea rcx, [rbp + 0x68]
mov edx, 0x18
xor r8, r8
call fcn.0040a9a0
mov dword [rbp + 0x68], 0x18
mov eax, dword [0x00694108]
add eax, dword [0x006942e0]
mov ecx, dword [0x0069585c]
add ecx, dword [0x006958dc]
cmp eax, ecx
jle 0x5d1b1c
mov eax, dword [0x006958dc]
mov dword [0x00694108], eax
mov eax, dword [0x00695928]
mov dword [0x00695878], eax
mov eax, dword [0x00693988]
add eax, dword [0x00694128]
mov ecx, dword [0x006942d0]
add ecx, dword [0x0069584c]
cmp eax, ecx
jle 0x5d1b49
call fcn.004096f0
mov eax, dword [0x00693298]
add eax, 1
cmp dword [0x00693298], eax
jne 0x5d1b72
mov ecx, dword [0x00695934]
mov edx, dword [0x006931ec]
mov r8d, dword [0x006933a4]
call sub.kernel32.dll_GetDiskFreeSpaceExW
mov eax, dword [0x0069329c]
add eax, 1
cmp dword [0x0069329c], eax
jne 0x5d1bac
mov ecx, dword [0x00693934]
mov edx, dword [0x00694138]
mov r8d, dword [0x0069582c]
mov r9d, dword [0x006958dc]
mov eax, dword [0x00695ba8]
mov dword [rsp + 0x20], eax
call sub.kernel32.dll_LockFile
mov eax, dword [0x00695c08]
add eax, dword [0x006931f4]
mov ecx, dword [0x006932e8]
add ecx, dword [0x00693410]
cmp eax, ecx
jle 0x5d1bd2
mov dword [0x00695c08], 0x14a
mov dword [rbp + 0x78], 0xffffffff
lea rax, [rbp + 0x40]
mov qword [rbp + 0x70], rax
mov eax, dword [0x00693278]
mov dword [0x00695bf8], eax
mov eax, dword [0x00693278]
mov dword [0x00695bf8], eax
mov eax, dword [0x00695868]
cmp eax, dword [0x00695918]
je 0x5d1c13
mov eax, dword [0x00695868]
mov dword [0x00695918], eax
lea rcx, [rbp + 0x40]
mov edx, 1
call qword [0x006a8f18]
test eax, eax
je 0x5d1da9
lea rcx, [rbp + 0x40]
or edx, 0xffffffff
xor r8, r8
xor r9, r9
call qword [0x006a8f38]
test eax, eax
je 0x5d1da9
mov rcx, qword [rbp + 0xa0]
call fcn.00410050
lea rcx, [rbp + 0x68]
or edx, 0xffffffff
xor r8, r8
mov r9, rax
call qword [0x006a8cd8]
mov qword [rbp + 0x80], rax
jmp 0x5d1d0e
mov eax, dword [0x006931d0]
mov dword [0x00695bb4], eax
mov eax, dword [0x006942cc]
add eax, dword [0x00695848]
mov ecx, dword [0x006958f8]
add ecx, dword [0x00695bc4]
cmp eax, ecx
jle 0x5d1d42
mov eax, dword [0x00695bc4]
mov dword [0x006942cc], eax
mov eax, dword [0x006931b4]
mov dword [0x00695b98], eax
mov eax, dword [0x006933e8]
add eax, dword [0x006934d4]
mov ecx, dword [0x006931d0]
add ecx, dword [0x006932c4]
cmp ecx, eax
jle 0x5d1d74
mov dword [0x006931d0], 0x184
mov ecx, dword [0x006931d0]
add ecx, dword [0x006932c4]
cmp ecx, eax
jle 0x5d1d8e
mov dword [0x006931d0], 0x184
mov eax, dword [0x0069581c]
cmp eax, dword [0x006958cc]
je 0x5d1da8
mov eax, dword [0x0069581c]
mov dword [0x006958cc], eax
nop
lea rcx, [rbp + 0xa0]
call fcn.0040e9c0
mov rax, qword [rbp + 0x80]
lea rsp, [rbp + 0x90]
pop rbp
ret