Function at 0x140051d40
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x2c0]
sub rsp, 0x3c0
mov rax, qword [0x1400ccbe0]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
mov rbx, rcx
mov qword [rsp + 0x68], rcx
xor esi, esi
mov dword [rsp + 0x40], esi
lea rcx, [rsp + 0x48]
call fcn.14004bdd0
nop
cmp qword [rax + 0x18], 8
jb 0x140051d93
mov rax, qword [rax]
mov dword [rsp + 0x38], 0x100
lea rcx, [rbp + 0xb0]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x7c]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x80]
mov r8d, 0x100
lea rdx, [rbp + 0x1b0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
setne dil
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x140051e1b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051e16
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051ff4
call fcn.14008dd90
movdqa xmm0, xmmword [0x1400ba1e0]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], si
test dil, dil
jne 0x140051e55
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], send
mov byte [rbx], dil
mov dword [rsp + 0x40], 1
jmp 0x140051fc9
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x50]
call fcn.14008ffc0
lea rcx, [0x140000000]
lea rax, [rcx + 0xb85f8]
mov qword [rbp - 0x50], rax
lea rax, [rcx + 0xb8370]
mov qword [rbp - 0x40], rax
lea rax, [rbp + 0x48]
mov qword [rsp + 0x70], rax
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x50], rsi
mov qword [rbp + 0x78], rsi
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x80], xmm0
lea rax, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x48], rax
mov dword [rsp + 0x40], 2
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x50]
call fcn.14003c780
nop
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x40], rax
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx - 0x44], edx
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x50], rax
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x20]
mov dword [rbp + rcx - 0x54], edx
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x50], rax
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x54], edx
lea rax, [rbp - 0x38]
mov qword [rsp + 0x78], rax
lea rcx, [rbp - 0x38]
call fcn.14003c920
nop
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp - 0x38], rax
mov qword [rbp + 0x30], rsi
mov dword [rbp + 0x38], esi
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
mov eax, dword [rbp + rcx - 0x28]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rbp + rcx - 0x28], eax
mov edx, dword [rbp - 0x80]
lea rcx, [rbp - 0x40]
call fcn.14005b030
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x50]
call fcn.140039c40
nop
movups xmm0, xmmword [rbp - 0x70]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x60]
movups xmmword [rbx + 0x10], xmm1
movdqa xmm0, xmmword [0x1400ba1f0]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
mov dword [rsp + 0x40], 3
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
lea rcx, [rbp - 0x50]
call fcn.140038800
mov rax, rbx
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.14008dd70
lea r11, [rsp + 0x3c0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14006ff04
int3