Function at 0x5cdc90
Capabilities:
Get disk size

Disassembly:
push rbp
sub rsp, 0xa0
mov rbp, rsp
mov qword [rbp + 0x38], rbp
call fcn.005c9c20
mov eax, dword [0x006958e4]
mov dword [0x00695844], eax
call fcn.005cb700
cmp eax, dword [0x00695934]
jle 0x5cdcc7
mov dword [0x00695934], 0x1a
mov dword [rbp + 0x9c], 0
nop
mov dword [rbp + 0x5c], 0x30
mov eax, dword [0x00693210]
mov dword [0x00695930], eax
mov eax, dword [0x006957f8]
cmp eax, dword [0x00695880]
je 0x5cdcff
mov eax, dword [0x006957f8]
mov dword [0x00695880], eax
mov eax, dword [0x006940fc]
add eax, dword [0x006942c4]
mov ecx, dword [0x00695834]
add ecx, dword [0x006958d4]
cmp eax, ecx
jle 0x5cdd27
mov eax, dword [0x006958d4]
mov dword [0x006940fc], eax
call qword [0x006a8bc8]
mov rcx, rax
xor edx, edx
lea r8, [rbp + 0x68]
mov r9d, dword [rbp + 0x5c]
mov qword [rsp + 0x20], 0
call qword [0x006a9168]
test eax, eax
jne 0x5cdfb6
call fcn.005cce40
cmp eax, dword [0x00693280]
jle 0x5cdd68
mov dword [0x00693280], 0x3e
mov eax, dword [0x006940b4]
add eax, dword [0x00694138]
mov ecx, dword [0x00694304]
add ecx, dword [0x00695870]
cmp eax, ecx
jle 0x5cdd90
mov eax, dword [0x00695870]
mov dword [0x006940b4], eax
mov eax, dword [0x00695938]
mov dword [0x00695898], eax
mov eax, dword [0x00693964]
mov dword [0x0069390c], eax
mov eax, dword [0x00693940]
add eax, dword [0x006940d0]
mov ecx, dword [0x0069429c]
add ecx, dword [0x00695808]
cmp eax, ecx
jle 0x5cddd0
mov eax, dword [0x00695808]
mov dword [0x00693940], eax
mov eax, dword [0x00693284]
add eax, 1
cmp dword [0x00693284], eax
jne 0x5cddf9
mov ecx, dword [0x006958fc]
mov edx, dword [0x006932c4]
mov r8d, dword [0x00693434]
call sub.kernel32.dll_GetDiskFreeSpaceExW
mov eax, dword [0x006937f8]
add eax, dword [0x0069394c]
mov ecx, dword [0x006940dc]
add ecx, dword [0x006942a8]
cmp eax, ecx
jle 0x5cde1a
call fcn.004096f0
mov eax, dword [0x0069409c]
mov dword [0x0069390c], eax
mov eax, dword [0x006940cc]
add eax, dword [0x00694298]
mov ecx, dword [0x00695808]
add ecx, dword [0x0069588c]
cmp eax, ecx
jle 0x5cde4e
mov eax, dword [0x0069588c]
mov dword [0x006940cc], eax
mov rax, qword [rbp + 0x70]
lea rax, [rax + 0x118]
mov qword [rbp + 0x50], rax
mov rcx, qword [rbp + 0x50]
lea rdx, [rbp + 0x64]
mov r8d, 4
call fcn.004093d0
mov eax, dword [0x006940cc]
add eax, dword [0x00694298]
mov ecx, dword [0x00695808]
add ecx, dword [0x0069588c]
cmp eax, ecx
jle 0x5cde99
mov eax, dword [0x0069588c]
mov dword [0x006940cc], eax
mov eax, dword [0x006942bc]
cmp eax, dword [0x0069582c]
je 0x5cdeb3
mov eax, dword [0x006942bc]
mov dword [0x0069582c], eax
mov eax, dword [0x006940a8]
add eax, dword [0x00694130]
mov ecx, dword [0x006942f8]
add ecx, dword [0x00695868]
cmp eax, ecx
jle 0x5cdedb
mov eax, dword [0x00695868]
mov dword [0x006940a8], eax
mov eax, dword [0x00695918]
mov dword [0x00695874], eax
mov eax, dword [0x006933b8]
add eax, 1
cmp dword [0x006933b8], eax
jne 0x5cdf17
mov ecx, dword [0x006931f4]
mov edx, dword [0x006933c4]
mov r8d, dword [0x00694114]
mov r9d, dword [0x00695820]
call sub.advapi32.dll_CryptDuplicateKey
mov eax, dword [0x006932d8]
add eax, 1
cmp dword [0x006932d8], eax
jne 0x5cdf51
mov ecx, dword [0x0069390c]
mov edx, dword [0x00694124]
mov r8d, dword [0x00695800]
mov r9d, dword [0x00695888]
mov eax, dword [0x006931b4]
mov dword [rsp + 0x20], eax
call sub.kernel32.dll_LockFile
mov rax, qword [rbp + 0x70]
lea rax, [rax + 0x11c]
mov qword [rbp + 0x48], rax
mov rcx, qword [rbp + 0x48]
lea rdx, [rbp + 0x60]
mov r8d, 4
call fcn.004093d0
mov eax, dword [rbp + 0x64]
add eax, eax
lea rax, [rax + rax*4]
add eax, dword [rbp + 0x60]
mov dword [rbp + 0x9c], eax
jmp 0x5cdfb6
mov eax, dword [0x006932a4]
add eax, 1
cmp dword [0x006932a4], eax
jne 0x5cdff0
mov ecx, dword [0x006933fc]
mov edx, dword [0x00694098]
mov r8d, dword [0x006942bc]
mov r9d, dword [0x00695858]
mov eax, dword [0x00695924]
mov dword [rsp + 0x20], eax
call sub.kernel32.dll_LockFile
mov eax, dword [0x00695828]
add eax, dword [0x006958c8]
mov ecx, dword [0x006940f0]
add ecx, dword [0x006942b8]
cmp ecx, eax
jle 0x5ce018
mov ecx, dword [0x006958c8]
mov dword [0x006940f0], ecx
mov ecx, dword [0x006940f0]
add ecx, dword [0x006942b8]
cmp ecx, eax
jle 0x5ce034
mov eax, dword [0x006958c8]
mov dword [0x006940f0], eax
mov eax, dword [0x006957fc]
cmp eax, dword [0x00695880]
je 0x5ce04e
mov eax, dword [0x006957fc]
mov dword [0x00695880], eax
mov eax, dword [0x00693960]
add eax, dword [0x006940f4]
mov ecx, dword [0x00694290]
add ecx, dword [0x00695800]
cmp eax, ecx
jle 0x5ce076
mov eax, dword [0x00695800]
mov dword [0x00693960], eax
mov eax, dword [0x006931f0]
mov dword [0x0069590c], eax
mov eax, dword [0x006932a8]
add eax, 1
cmp dword [0x006932a8], eax
jne 0x5ce0bc
mov ecx, dword [0x00693530]
mov edx, dword [0x006940c0]
mov r8d, dword [0x006942b8]
mov r9d, dword [0x00695850]
mov eax, dword [0x00695920]
mov dword [rsp + 0x20], eax
call sub.kernel32.dll_LockFile
mov eax, dword [rbp + 0x9c]
lea rsp, [rbp + 0xa0]
pop rbp
ret