Function at 0x14004ca4c
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x2b8]
sub rsp, 0x3b0
mov rax, qword [0x1401be0c0]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
mov rdi, rcx
mov qword [rbp - 0x68], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
and qword [rbp - 0x80], 0
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], 0
lea r9, str.Err_StringIsNull
mov esi, reloc.WS2_32.dll_recv
mov edx, esi
lea rcx, [rsp + 0x70]
call fcn.140003fc4
mov r8d, 0xff
mov dword [rsp + 0x38], r8d
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
lea rdx, [rbp + 0x1a0]
lea rcx, [0x1401aa01c]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x14004cb40
cmp qword [rbp - 0x78], rsi
jb 0x14004cb2c
lea rbx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rbx, qword [rsp + 0x70]
mov qword [rbp - 0x80], rsi
mov r8d, esi
lea rdx, str.Err_Not_Elevated
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x10], 0
jmp 0x14004cb40
lea r9, str.Err_Not_Elevated
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.140003fc4
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
mov edx, 1
lea rcx, [rbp - 0x60]
call fcn.1400031d4
nop
mov edx, dword [rsp + 0x68]
lea rcx, [rbp - 0x50]
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___unsigned_long_int____ptr64]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x48]
call fcn.140003a04
nop
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rdx, qword [rsp + 0x48]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
and qword [rdi + 0x10], 0
and qword [rdi + 0x18], 0
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x14004cba2
mov rcx, rdi
call fcn.140003db8
nop
mov ebx, 0x1000
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14004cbf6
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, rbx
jb 0x14004cbf1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004cbf1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140115d44
movdqa xmm0, xmmword [0x1401aa3f0]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
lea rcx, [rbp + 0x38]
call fcn.14000315c
lea rcx, [rbp + 0x38]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x14004cc58
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, rbx
jb 0x14004cc53
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004cc53
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140115d44
mov rax, rdi
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.140115ce0
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret