Function at 0x1400443b0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x338]
sub rsp, 0x438
mov rdi, rcx
xor r14d, r14d
mov dword [rsp + 0x40], r14d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r14
mov esi, reloc.WS2_32.dll_ntohs
mov qword [rcx + 0x18], rsi
mov byte [rcx], r14b
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x38], 0x105
lea rax, [rbp + 0x110]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x380]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x388]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x378]
mov r8d, 0x105
lea rdx, [rbp + 0x220]
lea rcx, [0x14014e8d4]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x140044982
lea rax, [0x14014f8a0]
mov qword [rbp + 0x10], rax
lea rax, [0x14014f180]
mov qword [rbp + 0x20], rax
lea rcx, [rbp + 0xa8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x40], 3
xor r8d, r8d
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x10], r15
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0xc], edx
lea rcx, [rbp + 0x28]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x90], r14
mov dword [rbp + 0x98], r14d
lea rdx, [0x140042070]
lea rcx, [rbp + 0x20]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rbx, rax
lea edx, [rsi - 7]
lea rcx, [rsp + 0x48]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov r8, qword [rax]
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call r8
mov rcx, qword [rbx]
movsxd rdx, dword [rcx + 4]
mov byte [rdx + rbx + 0x58], Ordinal_50
mov edx, dword [rbp + 0x378]
mov rcx, rbx
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]
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
movdqa xmm1, xmmword [0x14014fb00]
movdqu xmmword [rbp - 0x68], xmm1
mov byte [rbp - 0x78], r14b
mov dword [rsp + 0x40], recv
xor eax, eax
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rax
mov ecx, dword [rbp + 0x98]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140044589
mov rax, qword [rbp + 0x68]
mov r8, qword [rax]
test r8, r8
je 0x140044589
mov rax, qword [rbp + 0x48]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x90]
cmovb r8, qword [rbp + 0x90]
sub r8, rdx
jmp 0x1400445ba
test cl, 4
jne 0x1400445b0
mov rax, qword [rbp + 0x60]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400445b0
mov rax, qword [rbp + 0x40]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x78]
movsxd r8, dword [rax]
add r8, rcx
sub r8, rdx
jmp 0x1400445ba
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x1400445c9
lea rcx, [rbp - 0x78]
call fcn.14005f2c0
nop
mov dword [rsp + 0x40], 7
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 8], xmm1
mov rax, qword [rbp - 0x68]
cmp rax, 4
jb 0x1400449aa
add rax, 0xfffffffffffffffc
mov ebx, 4
mov r8d, ebx
cmp rax, rbx
cmovb r8, rax
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rdx, qword [rbp - 0x78]
add rdx, rbx
lea rcx, [rbp - 0x18]
call fcn.1400428e0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
movdqa xmm1, xmmword [0x14014fb00]
movdqu xmmword [rsp + 0x78], xmm1
mov byte [rsp + 0x68], 0
mov dword [rsp + 0x40], 0x57
xor eax, eax
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rax
mov ecx, dword [rbp + 0x98]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140044680
mov rax, qword [rbp + 0x68]
mov r8, qword [rax]
test r8, r8
je 0x140044680
mov rax, qword [rbp + 0x48]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x90]
cmovb r8, qword [rbp + 0x90]
sub r8, rdx
jmp 0x1400446b1
test cl, 4
jne 0x1400446a7
mov rax, qword [rbp + 0x60]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400446a7
mov rax, qword [rbp + 0x40]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x78]
movsxd r8, dword [rax]
add r8, rcx
sub r8, rdx
jmp 0x1400446b1
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x1400446c1
lea rcx, [rsp + 0x68]
call fcn.14005f2c0
nop
mov dword [rsp + 0x40], Ordinal_60
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x48], xmm1
cmp qword [rsp + 0x78], 4
cmovb rbx, qword [rsp + 0x78]
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova rdx, qword [rsp + 0x68]
mov r8, rbx
lea rcx, [rbp - 0x58]
call fcn.1400428e0
mov ebx, 0xb7
mov dword [rsp + 0x40], ebx
mov r8d, 1
lea rdx, reloc.WLDAP32.dll_Ordinal_45
lea rcx, [rbp - 0x58]
call fcn.14005f010
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], rsi
mov byte [rax], 0
bts ebx, 8
mov dword [rsp + 0x40], ebx
lea r9, [rbp - 0x18]
lea r8, [rsp + 0x48]
movzx edx, byte [rbp + 0x378]
lea rcx, [rbp - 0x38]
call fcn.1400612c0
lea rax, [rbp - 0x38]
cmp rdi, rax
je 0x1400447b3
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14004479b
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140044796
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400447e6
mov rcx, r8
call fcn.1400ccf04
mov byte [rdi], 0
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x28]
movups xmmword [rdi + 0x10], xmm1
mov byte [rbp - 0x38], 0
jmp 0x1400447b7
mov rsi, qword [rbp - 0x20]
cmp rsi, 0xf
jbe 0x1400447f3
lea rdx, [rsi + 1]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400447ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400447ed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ccf04
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140044834
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004482e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004482e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ccf04
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x140044872
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004486d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004486d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ccf04
movdqa xmm0, xmmword [0x14014fb00]
movdqu xmmword [rbp - 0x48], xmm0
mov byte [rbp - 0x58], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x1400448c3
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400448bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400448bd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ccf04
nop
mov rdx, qword [rbp]
cmp rdx, 0xf
jbe 0x140044902
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400448fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400448fc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ccf04
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x140044941
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004493b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004493b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ccf04
nop
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x10], r15
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0xc], edx
lea rcx, [rbp + 0x28]
call fcn.14005e430
lea rcx, [rbp + 0x30]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xa8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
jmp 0x140044997
mov r8d, 5
lea rdx, str.Error
mov rcx, rdi
call fcn.14005f2c0
mov rax, rdi
add rsp, 0x438
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14005f2a0
int3