Function at 0x636d20
Capabilities:
Get disk size

Disassembly:
push rbp
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x60], rcx
mov dword [rbp + 0x68], edx
mov eax, dword [0x00696cb8]
add eax, dword [0x00697c8c]
mov ecx, dword [0x00698e34]
add ecx, dword [0x006994b4]
cmp eax, ecx
jle 0x636d5b
mov eax, dword [0x006994b4]
mov dword [0x00696cb8], eax
mov byte [rbp + 0x4f], 1
nop
call fcn.00618820
mov eax, dword [0x00696ac0]
mov dword [0x006962d4], eax
mov rax, qword [rbp + 0x60]
mov rax, qword [rax]
mov rcx, rax
mov rax, qword [rax]
call qword [rax]
mov qword [rbp + 0x40], rax
mov eax, dword [0x00693958]
add eax, 1
cmp dword [0x00693958], eax
jne 0x636dd5
mov eax, dword [0x006990c8]
test eax, eax
jge 0x636da4
call fcn.0040afc0
mov ecx, dword [0x00693908]
test ecx, ecx
jge 0x636db3
call fcn.0040afc0
mov edx, dword [0x0069582c]
test edx, edx
jge 0x636dc2
call fcn.0040afc0
mov r8d, ecx
mov r9d, edx
mov ecx, eax
mov edx, r8d
mov r8d, r9d
call sub.kernel32.dll_GetDiskFreeSpaceExW
call fcn.00627090
cmp eax, dword [0x006932dc]
jle 0x636dec
mov dword [0x006932dc], 0x91
mov eax, dword [0x006937f8]
add eax, 1
cmp dword [0x006937f8], eax
jne 0x636e13
mov eax, dword [0x006942f8]
test eax, eax
jge 0x636e0c
call fcn.0040afc0
mov ecx, eax
call sub.kernel32.dll_SetConsoleKeyShortcuts
mov eax, dword [0x00699c3c]
mov dword [0x00699508], eax
mov eax, dword [0x0069392c]
add eax, 1
cmp dword [0x0069392c], eax
jne 0x636e46
mov eax, dword [0x006932ec]
test eax, eax
jge 0x636e3f
call fcn.0040afc0
mov ecx, eax
call sub.kernel32.dll_SetConsoleKeyShortcuts
mov rax, qword [rbp + 0x60]
mov rax, qword [rax]
mov rcx, rax
xor edx, edx
xor r8, r8
mov rax, qword [rax]
call qword [rax + 0x48]
jmp 0x636e87
mov rax, qword [rbp + 0x60]
mov rcx, qword [rax]
lea rdx, [rbp + 0x3c]
mov r8d, 4
call fcn.004fab00
mov eax, dword [rbp + 0x3c]
cmp eax, dword [rbp + 0x68]
jne 0x636e82
mov byte [rbp + 0x4f], 0
jmp 0x636e8e
sub qword [rbp + 0x40], 4
cmp qword [rbp + 0x40], 0
jg 0x636e5d
nop
cmp byte [rbp + 0x4f], 0
je 0x636fc5
mov rax, qword [rbp + 0x60]
mov rax, qword [rax]
mov rcx, rax
mov rax, qword [rax]
call qword [rax]
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x60]
mov rax, qword [rax]
mov rcx, rax
mov rdx, qword [rbp + 0x30]
xor r8, r8
mov rax, qword [rax]
call qword [rax + 0x50]
mov rax, qword [rbp + 0x60]
mov rcx, qword [rax]
lea rdx, [rbp + 0x68]
mov r8d, 4
call fcn.004fbd70
jmp 0x636fc5
mov eax, dword [0x006965b4]
add eax, dword [0x00696e84]
mov ecx, dword [0x0069810c]
add ecx, dword [0x00698e94]
cmp eax, ecx
jle 0x636fe6
call fcn.004096f0
mov eax, dword [0x006965b4]
add eax, dword [0x00696e84]
mov ecx, dword [0x0069810c]
add ecx, dword [0x00698e94]
cmp eax, ecx
jle 0x637007
call fcn.004096f0
mov eax, dword [0x00698e44]
cmp eax, dword [0x006994c4]
je 0x637021
mov eax, dword [0x00698e44]
mov dword [0x006994c4], eax
mov eax, dword [0x006940a0]
add eax, 1
cmp dword [0x006940a0], eax
jne 0x637072
mov eax, dword [0x006962c4]
test eax, eax
jge 0x637041
call fcn.0040afc0
mov ecx, dword [0x00697468]
test ecx, ecx
jge 0x637050
call fcn.0040afc0
mov edx, dword [0x00698afc]
test edx, edx
jge 0x63705f
call fcn.0040afc0
mov r8d, ecx
mov r9d, edx
mov ecx, eax
mov edx, r8d
mov r8d, r9d
call sub.kernel32.dll_GetDiskFreeSpaceExW
call fcn.00615fc0
mov eax, dword [0x00698e7c]
add eax, dword [0x006994fc]
mov ecx, dword [0x00696e6c]
add ecx, dword [0x006980f4]
cmp ecx, eax
jle 0x63709f
mov ecx, dword [0x006994fc]
mov dword [0x00696e6c], ecx
mov ecx, dword [0x00696e6c]
add ecx, dword [0x006980f4]
cmp ecx, eax
jle 0x6370bb
mov eax, dword [0x006994fc]
mov dword [0x00696e6c], eax
mov eax, dword [0x006980d8]
cmp eax, dword [0x00698e60]
je 0x6370d5
mov eax, dword [0x006980d8]
mov dword [0x00698e60], eax
mov eax, dword [0x0069320c]
add eax, dword [0x006934c4]
mov ecx, dword [0x006940bc]
add ecx, dword [0x00695858]
cmp eax, ecx
jle 0x6370fb
mov dword [0x0069320c], 0xa5
mov eax, dword [0x00699554]
mov dword [0x00698fac], eax
mov eax, dword [0x00699554]
mov dword [0x00698fac], eax
mov eax, dword [0x00698104]
cmp eax, dword [0x00698e88]
je 0x63712d
mov eax, dword [0x00698104]
mov dword [0x00698e88], eax
movzx rax, byte [rbp + 0x4f]
lea rsp, [rbp + 0x50]
pop rbp
ret