Function at 0x5a4f40
Capabilities:
Get disk size

Disassembly:
push rbp
sub rsp, 0xd0
mov rbp, rsp
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x58], rbp
mov qword [rbp + 0xe0], rcx
mov qword [rbp + 0xe8], rdx
mov qword [rbp + 0xf0], r8
mov dword [rbp + 0xf8], r9d
lea rcx, [rbp + 0xe8]
call fcn.0040eaf0
lea rcx, [rbp + 0xf0]
call fcn.0040eaf0
nop
nop
mov eax, dword [0x00693418]
add eax, dword [0x00693454]
mov ecx, dword [0x006934e8]
add ecx, dword [0x00693510]
cmp eax, ecx
jle 0x5a4fb5
mov eax, dword [0x00693510]
mov dword [0x00693418], eax
lea rcx, [rbp + 0x68]
mov edx, 0x68
xor r8, r8
call fcn.0040a9a0
mov eax, dword [0x006933ec]
mov dword [0x006933b0], eax
mov eax, dword [0x00693560]
add eax, dword [0x006931dc]
mov ecx, dword [0x00693278]
add ecx, dword [0x006932b4]
cmp eax, ecx
jle 0x5a4ff9
mov dword [0x00693560], 0x146
mov eax, dword [0x00693528]
mov dword [0x006934ec], eax
mov eax, dword [0x00693274]
add eax, 1
cmp dword [0x00693274], eax
jne 0x5a5021
mov ecx, dword [0x00693504]
call sub.kernel32.dll_SetConsoleKeyShortcuts
mov eax, dword [0x00693528]
mov dword [0x006934ec], eax
mov eax, dword [0x006934b8]
cmp eax, dword [0x006934e0]
je 0x5a5047
mov eax, dword [0x006934b8]
mov dword [0x006934e0], eax
mov dword [0x006931c4], 0x2f9
mov eax, dword [0x006931c4]
sub eax, 0x19e
mov dword [0x00693200], eax
mov dword [rbp + 0x68], 0x68
mov eax, dword [0x0069327c]
add eax, 1
cmp dword [0x0069327c], eax
jne 0x5a5093
mov ecx, dword [0x006934f0]
mov edx, dword [0x006933ac]
mov r8d, dword [0x00693410]
call sub.kernel32.dll_GetDiskFreeSpaceExW
mov eax, dword [0x00693548]
mov dword [0x00693524], eax
mov eax, dword [0x00693548]
mov dword [0x00693524], eax
mov eax, dword [0x00693430]
cmp eax, dword [0x006934c4]
je 0x5a50c5
mov eax, dword [0x00693430]
mov dword [0x006934c4], eax
mov eax, dword [0x00693538]
mov dword [0x00693510], eax
call fcn.005a49b0
cmp eax, dword [0x006931cc]
jle 0x5a50e8
mov dword [0x006931cc], 0x17
call fcn.005a49b0
cmp eax, dword [0x006931d4]
jle 0x5a50ff
mov dword [0x006931d4], 0x14
mov qword [rbp + 0x78], 0
mov eax, dword [0x00693538]
mov dword [0x00693510], eax
mov eax, dword [0x006934c4]
cmp eax, dword [0x006934fc]
je 0x5a512d
mov eax, dword [0x006934c4]
mov dword [0x006934fc], eax
mov eax, dword [0x00693550]
mov dword [0x00693514], eax
mov eax, dword [0x006934e4]
add eax, dword [0x00693520]
mov ecx, dword [0x00693418]
add ecx, dword [0x00693450]
cmp ecx, eax
jle 0x5a5161
mov ecx, dword [0x00693520]
mov dword [0x00693418], ecx
mov dword [rbp + 0xa4], 1
mov ecx, dword [0x00693418]
add ecx, dword [0x00693450]
cmp ecx, eax
jle 0x5a5187
mov ecx, dword [0x00693520]
mov dword [0x00693418], ecx
mov ecx, dword [0x006934c0]
cmp ecx, dword [0x006934fc]
je 0x5a51a1
mov ecx, dword [0x006934c0]
mov dword [0x006934fc], ecx
mov ecx, dword [0x00693418]
add ecx, dword [0x00693454]
cmp ecx, eax
jle 0x5a51bd
mov eax, dword [0x00693520]
mov dword [0x00693418], eax
call fcn.005a48e0
mov eax, dword [0x00693274]
add eax, 1
cmp dword [0x00693274], eax
jne 0x5a51fc
mov ecx, dword [0x006934b8]
mov edx, dword [0x0069352c]
mov r8d, dword [0x00693568]
mov r9d, dword [0x006931f8]
mov eax, dword [0x006932a8]
mov dword [rsp + 0x20], eax
call sub.kernel32.dll_LockFile
mov eax, dword [0x006933d4]
mov dword [0x006933ac], eax
mov eax, dword [0x006933d4]
mov dword [0x006933ac], eax
mov eax, dword [0x006934d0]
cmp eax, dword [0x0069350c]
je 0x5a522e
mov eax, dword [0x006934d0]
mov dword [0x0069350c], eax
mov dword [0x006931ec], 0x313
mov eax, dword [0x006931ec]
sub eax, 0x1ab
mov dword [0x00693284], eax
mov eax, dword [0x00693290]
add eax, dword [0x006932cc]
mov ecx, dword [0x006931cc]
add ecx, dword [0x00693208]
cmp ecx, eax
jle 0x5a5270
mov dword [0x006931cc], 0x1e
mov ecx, dword [0x006931cc]
add ecx, dword [0x00693208]
cmp ecx, eax
jle 0x5a528a
mov dword [0x006931cc], 0x1e
mov eax, dword [0x006934bc]
cmp eax, dword [0x006934f8]
je 0x5a52a4
mov eax, dword [0x006934bc]
mov dword [0x006934f8], eax
movzx rax, word [rbp + 0xf8]
mov word [rbp + 0xa8], ax
mov eax, dword [0x00693548]
mov dword [0x0069350c], eax
mov rcx, qword [rbp + 0xf0]
xor edx, edx
call fcn.00410520
test eax, eax
je 0x5a534f
lea rcx, [rbp + 0x50]
mov edx, 3
mov r8, qword [rbp + 0xe8]
lea r9, [0x005a5484]
mov rax, qword [rbp + 0xf0]
mov qword [rsp + 0x20], rax
call fcn.00410400
mov rcx, qword [rbp + 0x50]
call fcn.00410050
xor ecx, ecx
mov rdx, rax
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0
mov eax, dword [rbp + 0x100]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
lea rax, [rbp + 0x68]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0xe0]
mov qword [rsp + 0x48], rax
call qword [0x006a8be0]
jmp 0x5a53a5
mov rcx, qword [rbp + 0xe8]
call fcn.00410050
xor ecx, ecx
mov rdx, rax
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0
mov eax, dword [rbp + 0x100]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
lea rax, [rbp + 0x68]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0xe0]
mov qword [rsp + 0x48], rax
call qword [0x006a8be0]
mov eax, dword [0x006933f4]
add eax, dword [0x00693430]
mov ecx, dword [0x00693458]
add ecx, dword [0x006934ec]
cmp eax, ecx
jle 0x5a53cd
mov eax, dword [0x006934ec]
mov dword [0x006933f4], eax
mov eax, dword [0x00693564]
add eax, dword [0x006931dc]
mov ecx, dword [0x00693278]
add ecx, dword [0x006932b4]
cmp eax, ecx
jle 0x5a53f3
mov dword [0x00693564], 0x159
mov eax, dword [0x00693550]
mov dword [0x00693514], eax
jmp 0x5a5409
nop
lea rcx, [rbp + 0x50]
call fcn.0040e9c0
lea rcx, [rbp + 0xe8]
mov edx, 2
call fcn.0040ea60
mov rax, qword [rbp + 0xe0]
lea rsp, [rbp + 0xd0]
pop rbp
ret