Function at 0x14007d080
Capabilities:
Get disk information
Get disk size

Disassembly:
push rdi
sub rsp, 0x160
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x170], rbx
mov rax, qword [0x140109010]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rcx
mov word [rsp + 0x28], 0x3a43
mov byte [rsp + 0x2a], 0
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x14007d26f
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov ebx, eax
lea rcx, [rsp + 0x50]
cmp eax, 1
jne 0x14007d1f8
mov rbx, qword [rsp + 0x30]
shr rbx, 0x14
call fcn.1400124e0
nop
lea rdx, str.C_disk_freeAvailable
lea rcx, [rsp + 0x60]
call fcn.140013a90
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [0x1400b7d10]
call fcn.1400138a0
mov rcx, rax
lea rdx, str.Hwa::Ux::IsMachineFreeSpaceOK
call fcn.140013a90
mov rcx, rax
lea rdx, [0x1400b7d0c]
call fcn.1400138a0
call qword [sym.imp.LogHelper.dll_public:_static_class_HwLogger____ptr64___cdecl_HwLogger::GetInstance_void_]
mov rcx, rax
lea r8, [rsp + 0x50]
mov edx, 4
call qword [sym.imp.LogHelper.dll_public:_void___cdecl_HwLogger::Log_enum_LOG_MESSAGE_LEVEL__class_std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64____ptr64]
nop
lea rcx, [rsp + 0x50]
call fcn.14000e840
lea rax, [rdi + rdi*2]
shr rax, 0x14
cmp rax, rbx
jb 0x14007d26f
lea rcx, [rsp + 0x50]
call fcn.1400124e0
nop
lea rdx, str.C_disk_is_not_disk_freeAvailable
lea rcx, [rsp + 0x60]
call fcn.140013a90
mov rcx, rax
lea rdx, [0x1400b7d10]
call fcn.1400138a0
mov rcx, rax
lea rdx, str.Hwa::Ux::IsMachineFreeSpaceOK
call fcn.140013a90
mov rcx, rax
lea rdx, [0x1400b7d0c]
call fcn.1400138a0
call qword [sym.imp.LogHelper.dll_public:_static_class_HwLogger____ptr64___cdecl_HwLogger::GetInstance_void_]
mov rcx, rax
lea r8, [rsp + 0x50]
mov edx, 3
call qword [sym.imp.LogHelper.dll_public:_void___cdecl_HwLogger::Log_enum_LOG_MESSAGE_LEVEL__class_std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64____ptr64]
nop
lea rcx, [rsp + 0x50]
call fcn.14000e840
xor al, al
jmp 0x14007d271
call fcn.1400124e0
nop
lea rdx, str.GetDiskFreeSpaceExA_failed
lea rcx, [rsp + 0x60]
call fcn.140013a90
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int____ptr64]
mov rcx, rax
lea rdx, [0x1400b7d10]
call fcn.1400138a0
mov rcx, rax
lea rdx, str.Hwa::Ux::IsMachineFreeSpaceOK
call fcn.140013a90
mov rcx, rax
lea rdx, [0x1400b7d0c]
call fcn.1400138a0
call qword [sym.imp.LogHelper.dll_public:_static_class_HwLogger____ptr64___cdecl_HwLogger::GetInstance_void_]
mov rcx, rax
lea r8, [rsp + 0x50]
mov edx, 4
call qword [sym.imp.LogHelper.dll_public:_void___cdecl_HwLogger::Log_enum_LOG_MESSAGE_LEVEL__class_std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64____ptr64]
nop
lea rcx, [rsp + 0x50]
call fcn.14000e840
xor al, al
jmp 0x14007d271
mov al, 1
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140093940
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret