Function at 0x1800066e0
Capabilities:
Get disk size

Disassembly:
push rbp
sub rsp, 0x60
lea rbp, [rsp + 0x60]
mov rax, qword [0x1800cf380]
xor rax, rbp
mov qword [rbp - 8], rax
mov dword [rbp - 0x4c], 0x4994f799
mov eax, dword [rbp - 0x4c]
mov dword [rbp - 0x50], eax
sub eax, 0x8acef70e
je 0x180006dee
jmp 0x180006715
mov eax, dword [rbp - 0x50]
sub eax, 0x9ec657e0
je 0x180006d86
jmp 0x180006728
mov eax, dword [rbp - 0x50]
sub eax, 0xaae15605
je 0x180006981
jmp 0x18000673b
mov eax, dword [rbp - 0x50]
sub eax, 0xaf388fc8
je 0x1800069a3
jmp 0x18000674e
mov eax, dword [rbp - 0x50]
sub eax, 0xccef9dd0
je 0x180006c66
jmp 0x180006761
mov eax, dword [rbp - 0x50]
sub eax, 0xd65016e9
je 0x1800069f2
jmp 0x180006774
mov eax, dword [rbp - 0x50]
sub eax, 0xd6c75679
je 0x180006dde
jmp 0x180006787
mov eax, dword [rbp - 0x50]
sub eax, 0xe0f767ac
je 0x180006b9d
jmp 0x18000679a
mov eax, dword [rbp - 0x50]
sub eax, 0xe66977ba
je 0x180006b61
jmp 0x1800067ad
mov eax, dword [rbp - 0x50]
sub eax, 0xf3f5717f
je 0x180006db7
jmp 0x1800067c0
mov eax, dword [rbp - 0x50]
sub eax, 0x44f889e
je 0x180006ce7
jmp 0x1800067d3
mov eax, dword [rbp - 0x50]
sub eax, 0xc7c7e6a
je 0x180006b6d
jmp 0x1800067e6
mov eax, dword [rbp - 0x50]
sub eax, 0x12dec870
je 0x180006be7
jmp 0x1800067f9
mov eax, dword [rbp - 0x50]
sub eax, 0x13b4db81
je 0x180006c46
jmp 0x18000680c
mov eax, dword [rbp - 0x50]
sub eax, 0x1a203f2b
je 0x180006b91
jmp 0x18000681f
mov eax, dword [rbp - 0x50]
sub eax, 0x3ab25a6a
je 0x180006c3a
jmp 0x180006832
mov eax, dword [rbp - 0x50]
sub eax, 0x4994f799
je 0x1800068cf
jmp 0x180006845
mov eax, dword [rbp - 0x50]
sub eax, 0x4d3407ed
je 0x180006946
jmp 0x180006858
mov eax, dword [rbp - 0x50]
sub eax, 0x4db80d3e
je 0x180006ac1
jmp 0x18000686b
mov eax, dword [rbp - 0x50]
sub eax, 0x4f48f9e7
je 0x180006a72
jmp 0x18000687e
mov eax, dword [rbp - 0x50]
sub eax, 0x5779957d
je 0x180006a66
jmp 0x180006891
mov eax, dword [rbp - 0x50]
sub eax, 0x5ab2edcc
je 0x180006c52
jmp 0x1800068a4
mov eax, dword [rbp - 0x50]
sub eax, 0x5be4da4c
je 0x180006d63
jmp 0x1800068b7
mov eax, dword [rbp - 0x50]
sub eax, 0x79ee390e
je 0x1800068ef
jmp 0x1800068ca
jmp 0x180006df5
mov eax, 0x10
call fcn.180095140
sub rsp, rax
mov rax, rsp
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x4c], 0x79ee390e
jmp 0x180006df5
mov eax, 0x10
call fcn.180095140
sub rsp, rax
mov rax, rsp
mov qword [rbp - 0x30], rax
lea rax, [0x1800bb4df]
mov qword [rbp - 0x48], rax
mov rcx, qword [rbp - 0x48]
mov r9, qword [rbp - 0x38]
xor eax, eax
mov r8d, eax
sub rsp, 0x20
mov rdx, r8
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
add rsp, 0x20
mov edx, eax
mov eax, 0x4f48f9e7
mov ecx, 0x4d3407ed
cmp edx, 0
cmovne eax, ecx
mov dword [rbp - 0x4c], eax
jmp 0x180006df5
mov rax, qword [rbp - 0x38]
movq xmm0, qword [rax]
movaps xmm1, xmmword [0x1800bb460]
punpckldq xmm0, xmm1
movapd xmm1, xmmword [0x1800bb470]
subpd xmm0, xmm1
movaps xmm1, xmm0
unpckhpd xmm0, xmm0
addsd xmm0, xmm1
movsd qword [rbp - 0x28], xmm0
mov dword [rbp - 0x4c], 0xaae15605
jmp 0x180006df5
movsd xmm0, qword [rbp - 0x28]
movsd xmm1, qword [0x1800bb458]
divsd xmm0, xmm1
movsd qword [rbp - 0x20], xmm0
mov dword [rbp - 0x4c], 0xaf388fc8
jmp 0x180006df5
mov eax, dword [0x1800d2c1c]
mov ecx, dword [0x1800d2c18]
mov edx, eax
sub edx, 0xd496e5e4
sub edx, 1
add edx, 0xd496e5e4
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x9ec657e0
mov ecx, 0xd65016e9
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x4c], eax
jmp 0x180006df5
mov rax, qword [rbp - 0x30]
movsd xmm0, qword [rbp - 0x20]
movsd qword [rax], xmm0
mov rax, qword [rbp - 0x30]
movsd xmm0, qword [0x1800bb480]
ucomisd xmm0, qword [rax]
seta al
and al, 1
mov byte [rbp - 0x39], al
mov eax, dword [0x1800d2c1c]
mov ecx, dword [0x1800d2c18]
mov edx, eax
sub edx, 0x907d74d3
sub edx, 1
add edx, 0x907d74d3
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x9ec657e0
mov ecx, 0x5779957d
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x4c], eax
jmp 0x180006df5
mov dword [rbp - 0x4c], 0x5ab2edcc
jmp 0x180006df5
mov eax, dword [0x1800d2c1c]
mov ecx, dword [0x1800d2c18]
mov edx, eax
add edx, 0x549ce556
sub edx, 1
sub edx, 0x549ce556
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0xf3f5717f
mov ecx, 0x4db80d3e
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x4c], eax
jmp 0x180006df5
lea rcx, [0x1800d0a30]
lea rdx, str.Error_retrieving_disk_information.
sub rsp, 0x20
call fcn.18000f680
add rsp, 0x20
mov qword [rbp - 0x18], rax
mov ecx, dword [0x1800d2c1c]
mov eax, dword [0x1800d2c18]
mov edx, ecx
sub edx, 0x68b9ace5
sub edx, 1
add edx, 0x68b9ace5
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete r11b
cmp eax, 0xa
setl r10b
mov al, r11b
xor al, 0xff
mov r8b, r10b
xor r8b, 0xff
mov cl, 1
xor cl, 1
mov dl, al
and dl, 0xff
and r11b, cl
mov r9b, r8b
and r9b, 0xff
and r10b, cl
or dl, r11b
or r9b, r10b
xor dl, r9b
or al, r8b
xor al, 0xff
or cl, 1
and al, cl
or dl, al
mov eax, 0xf3f5717f
mov ecx, 0xe66977ba
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x4c], eax
jmp 0x180006df5
mov dword [rbp - 0x4c], 0xc7c7e6a
jmp 0x180006df5
mov rcx, qword [rbp - 0x18]
lea rdx, [0x1800134c0]
sub rsp, 0x20
call fcn.180013430
add rsp, 0x20
mov dword [rbp - 0x4c], 0x1a203f2b
jmp 0x180006df5
mov dword [rbp - 0x4c], 0xe0f767ac
jmp 0x180006df5
mov eax, dword [0x1800d2c1c]
mov ecx, dword [0x1800d2c18]
xor r8d, r8d
sub r8d, 1
mov edx, eax
add edx, r8d
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0xd6c75679
mov ecx, 0x12dec870
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x4c], eax
jmp 0x180006df5
mov byte [rbp - 0x39], 1
mov eax, dword [0x1800d2c1c]
mov ecx, dword [0x1800d2c18]
mov edx, eax
add edx, 0x3970bad0
sub edx, 1
sub edx, 0x3970bad0
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0xd6c75679
mov ecx, 0x3ab25a6a
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x4c], eax
jmp 0x180006df5
mov dword [rbp - 0x4c], 0x13b4db81
jmp 0x180006df5
mov dword [rbp - 0x4c], 0x5ab2edcc
jmp 0x180006df5
mov al, byte [rbp - 0x39]
and al, 1
mov byte [rbp - 9], al
mov dword [rbp - 0x4c], 0xccef9dd0
jmp 0x180006df5
mov ecx, dword [0x1800d2c1c]
mov eax, dword [0x1800d2c18]
mov edx, ecx
sub edx, 0xa88b33ea
sub edx, 1
add edx, 0xa88b33ea
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete r11b
cmp eax, 0xa
setl r10b
mov al, r11b
xor al, 0xff
mov r8b, r10b
xor r8b, 0xff
mov cl, 1
xor cl, 0
mov dl, al
and dl, 0
and r11b, cl
mov r9b, r8b
and r9b, 0
and r10b, cl
or dl, r11b
or r9b, r10b
xor dl, r9b
or al, r8b
xor al, 0xff
or cl, 0
and al, cl
or dl, al
mov eax, 0x8acef70e
mov ecx, 0x44f889e
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x4c], eax
jmp 0x180006df5
mov ecx, dword [0x1800d2c1c]
mov eax, dword [0x1800d2c18]
xor r8d, r8d
sub r8d, 1
mov edx, ecx
add edx, r8d
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete r11b
cmp eax, 0xa
setl r10b
mov al, r11b
xor al, 0xff
mov r8b, r10b
xor r8b, 0xff
mov cl, 1
xor cl, 0
mov dl, al
and dl, 0
and r11b, cl
mov r9b, r8b
and r9b, 0
and r10b, cl
or dl, r11b
or r9b, r10b
xor dl, r9b
or al, r8b
xor al, 0xff
or cl, 0
and al, cl
or dl, al
mov eax, 0x8acef70e
mov ecx, 0x5be4da4c
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x4c], eax
jmp 0x180006df5
mov al, byte [rbp - 9]
and al, 1
movzx eax, al
mov dword [rbp - 0x54], eax
mov rcx, qword [rbp - 8]
xor rcx, rbp
sub rsp, 0x20
call fcn.1800951a0
mov eax, dword [rbp - 0x54]
mov rsp, rbp
pop rbp
ret
mov rax, qword [rbp - 0x30]
movsd xmm0, qword [rbp - 0x20]
movsd qword [rax], xmm0
mov rax, qword [rbp - 0x30]
movsd xmm0, qword [0x1800bb480]
ucomisd xmm0, qword [rax]
seta al
and al, 1
mov byte [rbp - 0x39], al
mov dword [rbp - 0x4c], 0xd65016e9
jmp 0x180006df5
lea rcx, [0x1800d0a30]
lea rdx, str.Error_retrieving_disk_information.
sub rsp, 0x20
call fcn.18000f680
add rsp, 0x20
mov dword [rbp - 0x4c], 0x4db80d3e
jmp 0x180006df5
mov byte [rbp - 0x39], 1
mov dword [rbp - 0x4c], 0x12dec870
jmp 0x180006df5
mov dword [rbp - 0x4c], 0x44f889e
jmp 0x1800066ff