Function at 0x14004f210
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rdi, rcx
xor esi, esi
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
xor eax, eax
xor ecx, ecx
cpuid
mov dword [rbp + 0x1b], ebx
mov dword [rbp + 0x1f], ecx
mov dword [rsp + 0x20], eax
mov r9d, edx
lea r8, str._08X_08X
lea edx, [rsi + 0x21]
lea rcx, [rbp + 0x2f]
call fcn.1400532e0
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], rsi
mov qword [rbp + 0xf], rsi
lea rax, [rbp + 0x2f]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], sil
jne 0x14004f280
lea rdx, [rbp + 0x2f]
lea rcx, [rbp - 9]
call fcn.14004b470
nop
mov dword [rbp + 0x6f], esi
mov dword [rsp + 0x38], esi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x6f]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140083914]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x14004f306
lea rdx, str.Error_getting_HD_C:_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140052ef0
lea rdx, [0x140053180]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov rcx, rsi
mov qword [rbp - 0x19], rcx
mov edx, 0xf
mov qword [rbp - 0x11], rdx
mov byte [rbp - 0x29], cl
jmp 0x14004f353
mov r9d, dword [rbp + 0x6f]
lea r8, str._08X
mov edx, 0xa
lea rcx, [rbp + 0x17]
call fcn.140053350
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rsi
mov qword [rbp - 0x11], rsi
lea rax, [rbp + 0x17]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14004f332
mov r8, rbx
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x29]
call fcn.14004b470
mov rdx, qword [rbp - 0x11]
mov rcx, qword [rbp - 0x19]
mov rbx, qword [rbp + 7]
test rbx, rbx
je 0x14004f44d
test rcx, rcx
je 0x14004f44d
movabs rax, 0x7fffffffffffffff
sub rax, rbx
cmp rax, rcx
jb 0x14004f4de
lea r9, [rbp - 9]
cmp qword [rbp + 0xf], 0xf
cmova r9, qword [rbp - 9]
lea rax, [rbp - 0x29]
cmp rdx, 0xf
cmova rax, qword [rbp - 0x29]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r8, [rbp - 9]
movzx edx, byte [rbp + 0x6f]
mov rcx, rdi
call fcn.140005e30
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x14004f3f6
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f3f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004f490
call fcn.14006f834
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x14004f431
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f42c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004f4d7
call fcn.14006f834
mov rax, rdi
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
cmp rdx, 0xf
jbe 0x14004f49d
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f497
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f497
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006f834
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x14004f431
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f42c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f42c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140002a60
int3