Function at 0x5ce2a0
Capabilities:
Get disk size

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbp, rsp
mov rbx, rcx
mov esi, edx
mov eax, dword [0x006958f8]
mov dword [0x00695858], eax
mov eax, dword [0x00693928]
mov dword [0x00693528], eax
mov eax, dword [0x006931bc]
add eax, dword [0x006932a4]
mov ecx, dword [0x006933b8]
add ecx, dword [0x00693440]
cmp eax, ecx
jle 0x5ce2ee
mov dword [0x006931bc], 0x27
mov eax, dword [0x006932a0]
add eax, 1
cmp dword [0x006932a0], eax
jne 0x5ce317
mov ecx, dword [0x006957f0]
mov edx, dword [0x00693530]
mov r8d, dword [0x0069395c]
call sub.kernel32.dll_GetDiskFreeSpaceExW
mov eax, dword [0x0069587c]
mov dword [0x00695820], eax
mov eax, dword [0x006932f8]
add eax, 1
cmp dword [0x006932f8], eax
jne 0x5ce34c
mov ecx, dword [0x00693204]
mov edx, dword [0x006933d4]
mov r8d, dword [0x006934e0]
call sub.kernel32.dll_GetDiskFreeSpaceExW
mov eax, dword [0x0069587c]
mov dword [0x00695820], eax
mov eax, dword [0x0069412c]
cmp eax, dword [0x006942f4]
je 0x5ce372
mov eax, dword [0x0069412c]
mov dword [0x006942f4], eax
mov eax, dword [0x0069392c]
add eax, dword [0x006940bc]
mov ecx, dword [0x00694288]
add ecx, dword [0x006942e0]
cmp eax, ecx
jle 0x5ce393
call fcn.004096f0
mov ecx, 0x200
call fcn.00409030
mov rdi, rax
mov eax, dword [0x006958fc]
mov dword [0x00695858], eax
xor ecx, ecx
mov edx, esi
lea r8, [rbp + 0x38]
call qword [0x006a9030]
mov rcx, qword [rbp + 0x38]
mov rdx, rdi
call qword [0x006a9038]
mov eax, dword [0x006940b8]
add eax, dword [0x0069413c]
mov ecx, dword [0x006942d8]
add ecx, dword [0x00695848]
cmp eax, ecx
jle 0x5ce3f0
mov eax, dword [0x00695848]
mov dword [0x006940b8], eax
mov rcx, rbx
mov rdx, rdi
call fcn.0040fee0
mov rcx, rbx
lea rdx, [0x005ce588]
call fcn.00410070
mov rcx, rdi
call fcn.00409060
mov eax, dword [0x006940b8]
add eax, dword [0x0069413c]
mov ecx, dword [0x006942d8]
add ecx, dword [0x00695848]
cmp eax, ecx
jle 0x5ce43a
mov eax, dword [0x00695848]
mov dword [0x006940b8], eax
mov eax, dword [0x0069413c]
cmp eax, dword [0x006957f0]
je 0x5ce454
mov eax, dword [0x0069413c]
mov dword [0x006957f0], eax
mov eax, dword [0x006940c8]
add eax, dword [0x00694294]
mov ecx, dword [0x006942ec]
add ecx, dword [0x0069585c]
cmp eax, ecx
jle 0x5ce47c
mov eax, dword [0x0069585c]
mov dword [0x006940c8], eax
mov eax, dword [0x006931e0]
mov dword [0x006958fc], eax
mov eax, dword [0x006931e0]
mov dword [0x006958fc], eax
mov eax, dword [0x006942d8]
cmp eax, dword [0x00695818]
je 0x5ce4ae
mov eax, dword [0x006942d8]
mov dword [0x00695818], eax
mov eax, dword [0x006940a8]
add eax, dword [0x0069412c]
mov ecx, dword [0x006942f8]
add ecx, dword [0x00695838]
cmp eax, ecx
jle 0x5ce4d6
mov eax, dword [0x00695838]
mov dword [0x006940a8], eax
mov eax, dword [0x006932c0]
add eax, 1
cmp dword [0x006932c0], eax
jne 0x5ce510
mov ecx, dword [0x0069582c]
mov edx, dword [0x006931b0]
mov r8d, dword [0x006932c4]
mov r9d, dword [0x00693404]
mov eax, dword [0x006934e4]
mov dword [rsp + 0x20], eax
call sub.kernel32.dll_LockFile
call fcn.005cc640
cmp eax, dword [0x006931ec]
jle 0x5ce527
mov dword [0x006931ec], 0x32
mov eax, dword [0x006940a8]
add eax, dword [0x0069412c]
mov ecx, dword [0x006942f8]
add ecx, dword [0x00695838]
cmp eax, ecx
jle 0x5ce54f
mov eax, dword [0x00695838]
mov dword [0x006940a8], eax
mov eax, dword [0x006957f8]
cmp eax, dword [0x0069587c]
je 0x5ce569
mov eax, dword [0x006957f8]
mov dword [0x0069587c], eax
mov eax, dword [0x00695934]
mov dword [0x00695890], eax
mov rax, rbx
lea rsp, [rbp + 0x48]
pop rbx
pop rsi
pop rdi
pop rbp
ret