Function at 0x615650
Capabilities:
Get disk size

Disassembly:
push rbp
push rbx
sub rsp, 0x68
mov rbp, rsp
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], rbp
mov dword [rbp + 0x80], ecx
mov word [rbp + 0x88], dx
nop
nop
mov eax, dword [0x006933b8]
add eax, 1
cmp dword [0x006933b8], eax
jne 0x6156c5
mov eax, dword [0x0069341c]
test eax, eax
jge 0x615694
call fcn.0040afc0
mov ecx, dword [0x006958a4]
test ecx, ecx
jge 0x6156a3
call fcn.0040afc0
mov edx, dword [0x00696178]
test edx, edx
jge 0x6156b2
call fcn.0040afc0
mov r8d, ecx
mov r9d, edx
mov ecx, eax
mov edx, r8d
mov r8d, r9d
call sub.kernel32.dll_GetDiskFreeSpaceExW
mov dword [0x006932ec], 0x31b
mov eax, dword [0x006932ec]
sub eax, 0x1af
mov dword [0x006934e0], eax
call fcn.005ea0b0
mov ecx, 2
mov edx, 1
xor r8, r8
call qword [0x006a92d8]
mov qword [rbp + 0x48], rax
mov dword [0x006932ec], 0x31b
mov eax, dword [0x006932ec]
sub eax, 0x1af
mov dword [0x006934e0], eax
mov eax, dword [0x006968a4]
cmp eax, dword [0x00696e84]
je 0x615735
mov eax, dword [0x006968a4]
mov dword [0x00696e84], eax
mov eax, dword [0x006931d0]
add eax, dword [0x006933cc]
mov ecx, dword [0x00693534]
add ecx, dword [0x006940c4]
cmp eax, ecx
jle 0x61575b
mov dword [0x006931d0], 0xdb
mov eax, dword [0x00693430]
add eax, 1
cmp dword [0x00693430], eax
jne 0x6157ac
mov eax, dword [0x0069744c]
test eax, eax
jge 0x61577b
call fcn.0040afc0
mov ecx, dword [0x0069412c]
test ecx, ecx
jge 0x61578a
call fcn.0040afc0
mov edx, dword [0x006958dc]
test edx, edx
jge 0x615799
call fcn.0040afc0
mov r8d, ecx
mov r9d, edx
mov ecx, eax
mov edx, r8d
mov r8d, r9d
call sub.kernel32.dll_GetDiskFreeSpaceExW
or rax, 0xffffffffffffffff
test rax, rax
jl 0x6157bf
cmp qword [rbp + 0x48], rax
jne 0x6157bf
mov al, 1
jmp 0x6157c1
xor eax, eax
test al, al
jne 0x615d6c
mov eax, dword [0x006931d0]
add eax, dword [0x006933cc]
mov ecx, dword [0x00693534]
add ecx, dword [0x006940c4]
cmp eax, ecx
jle 0x6157ef
mov dword [0x006931d0], 0xdb
mov eax, dword [0x006965a4]
cmp eax, dword [0x00696ca4]
je 0x615809
mov eax, dword [0x006965a4]
mov dword [0x00696ca4], eax
mov eax, dword [0x00697c80]
mov dword [0x00696e7c], eax
mov eax, dword [0x00697c80]
mov dword [0x00696e7c], eax
mov eax, dword [0x006965d8]
cmp eax, dword [0x00696abc]
je 0x61583b
mov eax, dword [0x006965d8]
mov dword [0x00696abc], eax
call fcn.00606240
cmp eax, dword [0x006931fc]
jle 0x615852
mov dword [0x006931fc], 0x58
mov eax, dword [0x00698140]
mov dword [0x006978ec], eax
mov eax, dword [0x00695bc0]
add eax, dword [0x0069618c]
mov ecx, dword [0x006965f4]
add ecx, dword [0x00696e5c]
cmp eax, ecx
jle 0x615886
mov eax, dword [0x00696e5c]
mov dword [0x00695bc0], eax
mov eax, dword [0x006942a8]
mov dword [0x006940b0], eax
mov eax, dword [0x00695d78]
add eax, dword [0x006961a0]
mov ecx, dword [0x00696890]
add ecx, dword [0x00696e74]
cmp eax, ecx
jle 0x6158ba
mov eax, dword [0x00696e74]
mov dword [0x00695d78], eax
mov eax, dword [0x006931c8]
mov dword [0x00697e80], eax
lea rcx, [rbp + 0x50]
mov edx, 0x10
xor r8, r8
call fcn.0040a9a0
mov eax, dword [0x006989ac]
add eax, dword [0x006933a0]
mov ecx, dword [0x00693454]
add ecx, dword [0x00693930]
cmp eax, ecx
jle 0x6158fe
mov dword [0x006989ac], 0xb2
mov eax, dword [0x006934ec]
add eax, 1
cmp dword [0x006934ec], eax
jne 0x615925
mov eax, dword [0x0069584c]
test eax, eax
jge 0x61591e
call fcn.0040afc0
mov ecx, eax
call sub.kernel32.dll_SetConsoleKeyShortcuts
call fcn.005ea1d0
call fcn.005e8470
mov eax, dword [0x0069689c]
add eax, dword [0x00696e80]
mov ecx, dword [0x00695be4]
add ecx, dword [0x006961ac]
cmp ecx, eax
jle 0x615957
mov ecx, dword [0x00696e80]
mov dword [0x00695be4], ecx
mov word [rbp + 0x50], 2
mov ecx, dword [0x00695be4]
add ecx, dword [0x006961ac]
cmp ecx, eax
jle 0x615979
mov eax, dword [0x00696e80]
mov dword [0x00695be4], eax
mov eax, dword [0x00696a94]
cmp eax, dword [0x00696e74]
je 0x615993
mov eax, dword [0x00696a94]
mov dword [0x00696e74], eax
mov eax, dword [0x006932b0]
add eax, 1
cmp dword [0x006932b0], eax
jne 0x6159ba
mov eax, dword [0x00693928]
test eax, eax
jge 0x6159b3
call fcn.0040afc0
mov ecx, eax
call sub.kernel32.dll_SetConsoleKeyShortcuts
mov eax, dword [0x00696128]
add eax, dword [0x00696594]
mov ecx, dword [0x00696a78]
add ecx, dword [0x00697448]
cmp eax, ecx
jle 0x6159e2
mov eax, dword [0x00697448]
mov dword [0x00696128], eax
movzx rcx, word [rbp + 0x88]
call qword [0x006a9328]
mov word [rbp + 0x52], ax
mov eax, dword [0x006980e8]
mov dword [0x00697458], eax
mov eax, dword [0x00696138]
add eax, dword [0x006965a0]
mov ecx, dword [0x00696ca0]
add ecx, dword [0x00697454]
cmp eax, ecx
jle 0x615a28
mov eax, dword [0x00697454]
mov dword [0x00696138], eax
call fcn.005fc010
cmp eax, dword [0x006989a8]
jle 0x615a3f
mov dword [0x006989a8], 0x3f
mov eax, dword [0x00693554]
add eax, 1
cmp dword [0x00693554], eax
jne 0x615aa7
mov eax, dword [0x00696ab8]
test eax, eax
jge 0x615a5f
call fcn.0040afc0
mov ecx, dword [0x00698118]
test ecx, ecx
jge 0x615a6e
call fcn.0040afc0
mov edx, dword [0x0069327c]
test edx, edx
jge 0x615a7d
call fcn.0040afc0
mov r8d, dword [0x006934cc]
test r8d, r8d
jge 0x615a8e
call fcn.0040afc0
mov r9d, ecx
mov r10d, edx
mov r11d, r8d
mov ecx, eax
mov edx, r9d
mov r8d, r10d
mov r9d, r11d
call sub.advapi32.dll_CryptDuplicateKey
mov eax, dword [0x006942bc]
mov dword [0x00693960], eax
mov eax, dword [0x006942bc]
mov dword [0x00693960], eax
mov eax, dword [0x00696cc4]
cmp eax, dword [0x006974d0]
je 0x615ad9
mov eax, dword [0x00696cc4]
mov dword [0x006974d0], eax
call fcn.005e9bb0
mov eax, dword [0x006962c4]
add eax, dword [0x006968a4]
mov ecx, dword [0x00696cc4]
add ecx, dword [0x006974d0]
cmp eax, ecx
jle 0x615b06
mov eax, dword [0x006974d0]
mov dword [0x006962c4], eax
mov eax, dword [0x006931f8]
mov dword [0x006980f4], eax
lea rcx, [rbp + 0x30]
mov edx, dword [rbp + 0x80]
call fcn.005a81d0
mov rcx, qword [rbp + 0x30]
call fcn.0040fbe0
mov rcx, rax
call qword [0x006a9320]
mov dword [rbp + 0x54], eax
mov eax, dword [0x006931f8]
mov dword [0x006980f4], eax
mov eax, dword [0x006962d8]
cmp eax, dword [0x006968b8]
je 0x615b5c
mov eax, dword [0x006962d8]
mov dword [0x006968b8], eax
mov rcx, qword [rbp + 0x48]
lea rdx, [rbp + 0x50]
mov r8d, 0x10
call qword [0x006a92e0]
test eax, eax
je 0x615cbd
mov eax, dword [0x0069617c]
add eax, dword [0x006965e8]
mov ecx, dword [0x00696e50]
add ecx, dword [0x006978d8]
cmp eax, ecx
jle 0x615ba1
mov eax, dword [0x006978d8]
mov dword [0x0069617c], eax
mov eax, dword [0x006932a4]
mov dword [0x0069813c], eax
call fcn.005fd1c0
cmp eax, dword [0x006989b4]
jle 0x615bc4
mov dword [0x006989b4], 0x43
mov eax, dword [0x00695bec]
add eax, dword [0x006962c8]
mov ecx, dword [0x006968a4]
add ecx, dword [0x00696e88]
cmp eax, ecx
jle 0x615be5
call fcn.004096f0
mov eax, dword [0x00696124]
mov dword [0x00695924], eax
mov rcx, qword [rbp + 0x48]
call fcn.00615380
mov eax, dword [0x006933dc]
add eax, 1
cmp dword [0x006933dc], eax
jne 0x615c21
mov eax, dword [0x006934d4]
test eax, eax
jge 0x615c1a
call fcn.0040afc0
mov ecx, eax
call sub.kernel32.dll_SetConsoleKeyShortcuts
mov eax, dword [0x00695bd8]
add eax, dword [0x006961a4]
mov ecx, dword [0x00696894]
add ecx, dword [0x00696e74]
cmp eax, ecx
jle 0x615c42
call fcn.004096f0
mov eax, dword [0x00695bd8]
add eax, dword [0x006961a4]
mov ecx, dword [0x00696894]
add ecx, dword [0x00696e74]
cmp eax, ecx
jle 0x615c63
call fcn.004096f0
mov eax, dword [0x006965f4]
cmp eax, dword [0x00696e60]
je 0x615c7d
mov eax, dword [0x006965f4]
mov dword [0x00696e60], eax
mov eax, dword [0x00693444]
add eax, 1
cmp dword [0x00693444], eax
jne 0x615ca4
mov eax, dword [0x00693274]
test eax, eax
jge 0x615c9d
call fcn.0040afc0
mov ecx, eax
call sub.kernel32.dll_SetConsoleKeyShortcuts
call fcn.005fbf20
mov qword [rbp + 0x48], 0
mov eax, dword [0x00693300]
mov dword [0x00698140], eax
mov eax, dword [0x00693408]
add eax, 1
cmp dword [0x00693408], eax
jne 0x615d3b
mov eax, dword [0x006962f4]
test eax, eax
jge 0x615cdd
call fcn.0040afc0
mov ecx, dword [0x006932f0]
test ecx, ecx
jge 0x615cec
call fcn.0040afc0
mov edx, dword [0x00693914]
test edx, edx
jge 0x615cfb
call fcn.0040afc0
mov r8d, dword [0x006942cc]
test r8d, r8d
jge 0x615d0c
call fcn.0040afc0
mov r9d, dword [0x00695938]
test r9d, r9d
jge 0x615d1d
call fcn.0040afc0
mov r10d, ecx
mov r11d, edx
mov ebx, r8d
mov dword [rsp + 0x20], r9d
mov ecx, eax
mov edx, r10d
mov r8d, r11d
mov r9d, ebx
call sub.kernel32.dll_LockFile
mov eax, dword [0x00693300]
mov dword [0x00698140], eax
mov eax, dword [0x0069659c]
cmp eax, dword [0x00696ca0]
je 0x615d6b
mov eax, dword [0x0069659c]
mov dword [0x00696ca0], eax
jmp 0x615d6b
nop
lea rcx, [rbp + 0x30]
call fcn.0040e970
mov rax, qword [rbp + 0x48]
lea rsp, [rbp + 0x68]
pop rbx
pop rbp
ret