Function at 0x5d69a0
Capabilities:
Get disk size

Disassembly:
push rbp
sub rsp, 0x190
mov rbp, rsp
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x20], 0
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0x1a0], rcx
mov dword [rbp + 0x1a8], edx
lea rcx, [rbp + 0x1a0]
call fcn.0040eaf0
nop
mov dword [0x00693298], 0x318
mov eax, dword [0x00693298]
sub eax, 0x1ad
mov dword [0x006933d8], eax
mov eax, dword [0x0069584c]
add eax, dword [0x0069591c]
mov ecx, dword [0x00695c04]
add ecx, dword [0x00696170]
cmp eax, ecx
jle 0x5d6a35
mov eax, dword [0x00696170]
mov dword [0x0069584c], eax
mov dword [0x00693274], 0x305
mov eax, dword [0x00693274]
sub eax, 0x1a4
mov dword [0x006933b4], eax
mov eax, dword [0x0069584c]
add eax, dword [0x0069591c]
mov ecx, dword [0x00695c04]
add ecx, dword [0x00696138]
cmp eax, ecx
jle 0x5d6a79
mov eax, dword [0x00696138]
mov dword [0x0069584c], eax
mov eax, dword [0x00696170]
mov dword [0x00695c00], eax
mov eax, dword [0x00696170]
mov dword [0x00695c00], eax
mov eax, dword [0x00695bbc]
cmp eax, dword [0x00695d78]
je 0x5d6aab
mov eax, dword [0x00695bbc]
mov dword [0x00695d78], eax
mov eax, dword [0x006942bc]
add eax, dword [0x00695858]
mov ecx, dword [0x00695924]
add ecx, dword [0x00695c10]
cmp eax, ecx
jle 0x5d6ad3
mov eax, dword [0x00695c10]
mov dword [0x006942bc], eax
mov eax, dword [0x00694138]
add eax, dword [0x00695814]
mov ecx, dword [0x0069588c]
add ecx, dword [0x00695b90]
cmp eax, ecx
jle 0x5d6af4
call fcn.004096f0
mov byte [rbp + 0x18f], 0
nop
mov dword [0x006931fc], 0x318
mov eax, dword [0x006931fc]
sub eax, 0x1ae
mov dword [0x0069339c], eax
mov ecx, 2
xor edx, edx
call qword [0x006a8be8]
mov dword [rbp + 0x188], eax
mov eax, dword [0x00695854]
add eax, dword [0x006958e4]
mov ecx, dword [0x00695bd0]
add ecx, dword [0x0069613c]
cmp eax, ecx
jle 0x5d6b54
mov eax, dword [0x0069613c]
mov dword [0x00695854], eax
mov eax, dword [0x00693530]
sub eax, dword [0x006934bc]
mov dword [0x006934bc], eax
mov eax, dword [0x00696184]
mov dword [0x00695c18], eax
call fcn.005cc050
mov dword [0x006931ec], 0x2f0
mov eax, dword [0x006931ec]
sub eax, 0x19a
mov dword [0x006932c0], eax
mov eax, dword [0x00693200]
add eax, 1
cmp dword [0x00693200], eax
jne 0x5d6bbc
mov ecx, dword [0x00693928]
mov edx, dword [0x00694124]
mov r8d, dword [0x0069583c]
call sub.kernel32.dll_GetDiskFreeSpaceExW
mov eax, dword [0x00696164]
mov dword [0x00695bf4], eax
mov eax, dword [0x00696164]
mov dword [0x00695bf4], eax
mov eax, dword [0x006958dc]
cmp eax, dword [0x00695b8c]
je 0x5d6bee
mov eax, dword [0x006958dc]
mov dword [0x00695b8c], eax
mov eax, dword [rbp + 0x188]
cmp rax, 0xffffffffffffffff
je 0x5d6d25
mov dword [rbp + 0x50], 0x130
mov ecx, dword [rbp + 0x188]
lea rdx, [rbp + 0x50]
call qword [0x006a8ca8]
test eax, eax
je 0x5d6ce7
lea rcx, [rbp + 0x40]
lea rdx, [rbp + 0x7c]
mov r8d, 0x104
call fcn.00410800
cmp qword [rbp + 0x40], 0
je 0x5d6ccf
cmp dword [rbp + 0x58], 0
je 0x5d6ccf
mov ecx, dword [rbp + 0x58]
lea rdx, [rbp + 0x184]
call qword [0x006a8d10]
mov eax, dword [rbp + 0x184]
movsxd rcx, dword [rbp + 0x1a8]
cmp rax, rcx
jne 0x5d6ccf
lea rcx, [rbp + 0x30]
mov rdx, qword [rbp + 0x1a0]
call fcn.004108b0
lea rcx, [rbp + 0x38]
mov rdx, qword [rbp + 0x30]
call fcn.0042d7c0
lea rcx, [rbp + 0x20]
lea rdx, [rbp + 0x7c]
mov r8d, 0x104
call fcn.00410800
lea rcx, [rbp + 0x28]
mov rdx, qword [rbp + 0x20]
call fcn.0042d7c0
mov rcx, qword [rbp + 0x38]
mov rdx, qword [rbp + 0x28]
call fcn.005a6c40
test al, al
je 0x5d6ccf
mov byte [rbp + 0x18f], 1
mov ecx, dword [rbp + 0x188]
call qword [0x006a8bc0]
jmp 0x5d6dc7
mov ecx, dword [rbp + 0x188]
lea rdx, [rbp + 0x50]
call qword [0x006a8cb0]
test eax, eax
jne 0x5d6c1d
mov ecx, dword [rbp + 0x188]
call qword [0x006a8bc0]
jmp 0x5d6d25
mov eax, dword [0x00696168]
mov dword [0x00695bfc], eax
mov eax, dword [0x00693420]
add eax, 1
cmp dword [0x00693420], eax
jne 0x5d6d61
mov ecx, dword [0x00695b88]
mov edx, dword [0x006931b4]
mov r8d, dword [0x006933cc]
mov r9d, dword [0x006934d8]
call sub.advapi32.dll_CryptDuplicateKey
call fcn.005cc090
mov eax, dword [0x00694128]
add eax, dword [0x006942e0]
mov ecx, dword [0x0069587c]
add ecx, dword [0x00695910]
cmp eax, ecx
jle 0x5d6d8e
mov eax, dword [0x00695910]
mov dword [0x00694128], eax
call fcn.005d2cb0
cmp eax, dword [0x006931cc]
jle 0x5d6da5
mov dword [0x006931cc], 0x35
mov eax, dword [0x00694098]
add eax, dword [0x00694110]
mov ecx, dword [0x00694304]
add ecx, dword [0x00695864]
cmp eax, ecx
jle 0x5d6dc6
call fcn.004096f0
nop
lea rcx, [rbp + 0x20]
mov edx, 5
call fcn.0040ea00
lea rcx, [rbp + 0x1a0]
call fcn.0040e9c0
movzx rax, byte [rbp + 0x18f]
lea rsp, [rbp + 0x190]
pop rbp
ret