Function at 0x5fcba0
Capabilities:
Get disk size

Disassembly:
push rbp
push rbx
sub rsp, 0xc8
mov rbp, rsp
mov qword [rbp + 0x20], 0
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x38], rbp
mov byte [rbp + 0xe0], cl
mov qword [rbp + 0xe8], rdx
mov qword [rbp + 0xf0], r8
lea rcx, [rbp + 0xe8]
call fcn.0040eaf0
lea rcx, [rbp + 0xf0]
call fcn.0040eaf0
nop
mov eax, dword [0x00696c9c]
mov dword [0x006965b4], eax
mov eax, dword [0x00695bd8]
add eax, dword [0x00696138]
mov ecx, dword [0x0069658c]
add ecx, dword [0x006968b4]
cmp eax, ecx
jle 0x5fcc29
mov eax, dword [0x006968b4]
mov dword [0x00695bd8], eax
mov eax, dword [0x00695834]
mov dword [0x006942a8], eax
call fcn.005f3a00
cmp eax, dword [0x00693274]
jle 0x5fcc4c
mov dword [0x00693274], 0x43
nop
call fcn.005e7100
mov eax, dword [0x00696114]
add eax, dword [0x0069631c]
mov ecx, dword [0x00696a8c]
add ecx, dword [0x00697444]
cmp eax, ecx
jle 0x5fcc7a
mov eax, dword [0x00697444]
mov dword [0x00696114], eax
mov eax, dword [0x00693428]
add eax, 1
cmp dword [0x00693428], eax
jne 0x5fcccb
mov eax, dword [0x006968a4]
test eax, eax
jge 0x5fcc9a
call fcn.0040afc0
mov ecx, dword [0x006978d8]
test ecx, ecx
jge 0x5fcca9
call fcn.0040afc0
mov edx, dword [0x006933ac]
test edx, edx
jge 0x5fccb8
call fcn.0040afc0
mov r8d, ecx
mov r9d, edx
mov ecx, eax
mov edx, r8d
mov r8d, r9d
call sub.kernel32.dll_GetDiskFreeSpaceExW
mov eax, dword [0x0069351c]
add eax, 1
cmp dword [0x0069351c], eax
jne 0x5fccf2
mov eax, dword [0x006931fc]
test eax, eax
jge 0x5fcceb
call fcn.0040afc0
mov ecx, eax
call sub.kernel32.dll_SetConsoleKeyShortcuts
call fcn.005ea1d0
cmp eax, dword [0x006931b0]
jle 0x5fcd09
mov dword [0x006931b0], 0x3e
mov eax, dword [0x00695898]
add eax, dword [0x00695be0]
mov ecx, dword [0x00696140]
add ecx, dword [0x00696594]
cmp eax, ecx
jle 0x5fcd2a
call fcn.004096f0
lea rcx, [rbp + 0x48]
mov edx, 0x70
xor r8, r8
call fcn.0040a9a0
mov dword [rbp + 0x48], 0x70
mov dword [rbp + 0x4c], 0
mov qword [rbp + 0x50], 0
mov eax, dword [0x00693280]
mov dword [0x006974ac], eax
call fcn.005e9bb0
cmp eax, dword [0x006931cc]
jle 0x5fcd75
mov dword [0x006931cc], 0x45
mov eax, dword [0x00693544]
add eax, 1
cmp dword [0x00693544], eax
jne 0x5fcdc6
mov eax, dword [0x00693934]
test eax, eax
jge 0x5fcd95
call fcn.0040afc0
mov ecx, dword [0x00695858]
test ecx, ecx
jge 0x5fcda4
call fcn.0040afc0
mov edx, dword [0x00695bf0]
test edx, edx
jge 0x5fcdb3
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 [0x006932c4], 0x315
mov eax, dword [0x006932c4]
sub eax, 0x1ac
mov dword [0x006934f4], eax
mov eax, dword [0x006978f0]
add eax, dword [0x00693290]
mov ecx, dword [0x00693414]
add ecx, dword [0x00693560]
cmp eax, ecx
jle 0x5fce08
mov dword [0x006978f0], 0x3c
mov dword [0x006932dc], 0x31e
mov eax, dword [0x006932dc]
sub eax, 0x1b0
mov dword [0x006934bc], eax
lea rcx, [rbp + 0x28]
lea rdx, [0x00692493]
mov r8d, 5
mov r9d, 0x2d
call fcn.00597b20
lea rcx, [rbp + 0x30]
mov rdx, qword [rbp + 0x28]
xor r8, r8
call fcn.005a8ac0
mov rcx, qword [rbp + 0x30]
call fcn.00410050
mov qword [rbp + 0x58], rax
mov rcx, qword [rbp + 0xe8]
call fcn.00410050
mov qword [rbp + 0x60], rax
mov eax, dword [0x006978e4]
mov dword [0x00697460], eax
mov eax, dword [0x006978e4]
mov dword [0x00697460], eax
mov eax, dword [0x00696314]
cmp eax, dword [0x00696a80]
je 0x5fcea1
mov eax, dword [0x00696314]
mov dword [0x00696a80], eax
call fcn.005e9bb0
cmp eax, dword [0x006978e0]
jle 0x5fceb8
mov dword [0x006978e0], 0x31
mov eax, dword [0x00695894]
add eax, dword [0x00695d78]
mov ecx, dword [0x006962f4]
add ecx, dword [0x006968bc]
cmp eax, ecx
jle 0x5fced9
call fcn.004096f0
mov eax, dword [0x00697468]
mov dword [0x00696ab0], eax
mov eax, dword [0x00695c18]
mov dword [0x0069587c], eax
call fcn.005ea730
cmp eax, dword [0x006931c4]
jle 0x5fcf08
mov dword [0x006931c4], 0x43
mov ebx, dword [0x0069354c]
add ebx, dword [0x006940c4]
mov eax, dword [0x006931c8]
add eax, dword [0x006933ac]
cmp eax, ebx
jle 0x5fcf2e
mov dword [0x006931c8], 0x112
lea rax, [0x005fd1b0]
mov qword [rbp + 0x70], rax
lea rcx, [rbp + 0x20]
mov rdx, qword [rbp + 0xf0]
lea r8, [0x005fd1b8]
call fcn.00410100
mov rcx, qword [rbp + 0x20]
call fcn.00410050
mov qword [rbp + 0x68], rax
mov dword [rbp + 0x78], 5
mov eax, dword [0x006931c8]
add eax, dword [0x006933ac]
cmp eax, ebx
jle 0x5fcf7e
mov dword [0x006931c8], 0x112
mov eax, dword [0x00696a70]
cmp eax, dword [0x0069742c]
je 0x5fcf98
mov eax, dword [0x00696a70]
mov dword [0x0069742c], eax
mov eax, dword [0x00695bcc]
add eax, dword [0x0069617c]
mov ecx, dword [0x006965d0]
add ecx, dword [0x00696cb8]
cmp eax, ecx
jle 0x5fcfc0
mov eax, dword [0x00696cb8]
mov dword [0x00695bcc], eax
call fcn.005e7100
mov eax, dword [0x00695bcc]
add eax, dword [0x0069617c]
mov ecx, dword [0x006965d0]
add ecx, dword [0x00696cb8]
cmp eax, ecx
jle 0x5fcfed
mov eax, dword [0x00696cb8]
mov dword [0x00695bcc], eax
mov eax, dword [0x006962ec]
cmp eax, dword [0x006968b0]
je 0x5fd007
mov eax, dword [0x006962ec]
mov dword [0x006968b0], eax
mov eax, dword [0x006931fc]
add eax, dword [0x006933e0]
mov ecx, dword [0x00693530]
add ecx, dword [0x006940a8]
cmp eax, ecx
jle 0x5fd02d
mov dword [0x006931fc], 0x182
mov byte [rbp + 0xbf], 0
lea rcx, [rbp + 0x48]
call qword [0x006a9028]
test eax, eax
je 0x5fd04b
mov byte [rbp + 0xbf], 1
jmp 0x5fd054
cmp byte [rbp + 0xe0], 0
jne 0x5fd034
nop
mov eax, dword [0x00695b88]
mov dword [0x00695840], eax
jmp 0x5fd06b
mov eax, dword [0x00696e50]
add eax, dword [0x006978bc]
mov ecx, dword [0x0069615c]
add ecx, dword [0x00696600]
cmp ecx, eax
jle 0x5fd093
mov ecx, dword [0x006978bc]
mov dword [0x0069615c], ecx
mov ecx, dword [0x0069615c]
add ecx, dword [0x00696600]
cmp ecx, eax
jle 0x5fd0af
mov eax, dword [0x006978bc]
mov dword [0x0069615c], eax
mov eax, dword [0x0069658c]
cmp eax, dword [0x00696cc8]
je 0x5fd0c9
mov eax, dword [0x0069658c]
mov dword [0x00696cc8], eax
mov eax, dword [0x006932b0]
mov dword [0x0069748c], eax
mov eax, dword [0x00695874]
mov dword [0x00694298], eax
call fcn.005e7b40
mov eax, dword [0x00696e60]
mov dword [0x00696894], eax
mov eax, dword [0x006958a0]
add eax, dword [0x00695d84]
mov ecx, dword [0x00696300]
add ecx, dword [0x00696a70]
cmp eax, ecx
jle 0x5fd113
call fcn.004096f0
mov eax, dword [0x006958e8]
mov dword [0x00695828], eax
nop
lea rcx, [rbp + 0x20]
call fcn.0040e9c0
lea rcx, [rbp + 0x28]
call fcn.0040e970
lea rcx, [rbp + 0x30]
call fcn.0040e9c0
lea rcx, [rbp + 0xe8]
mov edx, 2
call fcn.0040ea60
movzx rax, byte [rbp + 0xbf]
lea rsp, [rbp + 0xc8]
pop rbx
pop rbp
ret