Function at 0x140052b60
Capabilities:
Get disk information
Get disk information via ioctl

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x9680]
mov eax, 0x9780
call fcn.140247340
sub rsp, rax
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x97c0], rbx
mov r15, rcx
xor ebx, ebx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbx
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.140054ad0
mov rsi, rax
mov qword [rsp + 0x58], rax
movups xmm0, xmmword [str..PhysicalDrive0]
movaps xmmword [rbp + 0x270], xmm0
movzx ecx, word [0x140291240]
mov word [rbp + 0x280], cx
movzx ecx, byte [0x140291242]
mov byte [rbp + 0x282], cl
xor edx, edx
mov r8d, 0x3fd
lea rcx, [rbp + 0x283]
call fcn.140249b10
mov r12d, ebx
lea r13d, [rbx + 1]
nop word [rax + rax]
mov rcx, qword [r15 + 0x40]
mov rax, qword [rcx]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rbx
mov r9d, r13d
mov r8d, 0x80000000
lea rdx, [rbp + 0x270]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x140052e72
xor edx, edx
mov r8d, 0x8000
lea rcx, [rbp + 0x1680]
call fcn.140249b10
mov dword [rsp + 0x50], ebx
mov rcx, qword [r15 + 0x40]
mov r10, qword [rcx]
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x8000
lea rax, [rbp + 0x1680]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
xor r9d, r9d
mov r8d, 0x70050
mov rdx, r14
call qword [r10 + 0x98]
test eax, eax
je 0x140052e41
cmp dword [rsp + 0x50], 0
je 0x140052e41
cmp dword [rbp + 0x1684], 0
jbe 0x140052e3f
mov eax, ebx
lea rax, [rax + rax*8]
shl rax, 4
cmp byte [rbp + rax + 0x16d2], 0
je 0x140052e31
lea rdi, [rbp + 0x16b0]
add rdi, rax
cmp dword [rdi], 0
jne 0x140052e31
mov rax, qword [rbp + rax + 0x16b8]
mov qword [rsp + 0x70], rax
mov rcx, qword [r15 + 0x40]
mov r10, qword [rcx]
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x74]
mov r8d, eax
mov rdx, r14
call qword [r10 + 0x80]
mov rcx, qword [r15 + 0x40]
mov rax, qword [rcx]
mov qword [rsp + 0x28], 0
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9d, 0x1000
lea r8, [rbp + 0x680]
mov rdx, r14
call qword [rax + 0x28]
test eax, eax
je 0x140052e31
xor eax, eax
mov dword [rbp - 0x24], eax
mov dword [rbp - 0x80], r12d
mov dword [rbp - 0x7c], ebx
movaps xmm0, xmmword [rbp + 0x680]
movups xmmword [rbp - 0x78], xmm0
movaps xmm1, xmmword [rbp + 0x690]
movups xmmword [rbp - 0x68], xmm1
movaps xmm0, xmmword [rbp + 0x6a0]
movups xmmword [rbp - 0x58], xmm0
movaps xmm1, xmmword [rbp + 0x6b0]
movups xmmword [rbp - 0x48], xmm1
movaps xmm0, xmmword [rbp + 0x6c0]
movups xmmword [rbp - 0x38], xmm0
mov eax, dword [rbp + 0x6d0]
mov dword [rbp - 0x28], eax
movups xmm0, xmmword [rdi]
movaps xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rdi + 0x10]
movaps xmmword [rbp - 0x10], xmm1
movups xmm0, xmmword [rdi + 0x20]
movaps xmmword [rbp], xmm0
movups xmm1, xmmword [rdi + 0x30]
movaps xmmword [rbp + 0x10], xmm1
movups xmm0, xmmword [rdi + 0x40]
movaps xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rdi + 0x50]
movaps xmmword [rbp + 0x30], xmm1
movups xmm0, xmmword [rdi + 0x60]
movaps xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rdi + 0x70]
movaps xmmword [rbp + 0x50], xmm1
movups xmm0, xmmword [rdi + 0x80]
movaps xmmword [rbp + 0x60], xmm0
mov rdi, qword [rsi + 8]
lea r9, [rbp - 0x80]
mov r8, rdi
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.14004f340
movabs rcx, 0xfffffffffffffe
mov rdx, qword [rsp + 0x60]
sub rcx, rdx
cmp rcx, r13
jb 0x140052fa8
inc rdx
mov qword [rsp + 0x60], rdx
mov qword [rsi + 8], rax
mov qword [rdi], rax
mov rsi, qword [rsp + 0x58]
inc ebx
cmp ebx, dword [rbp + 0x1684]
jb 0x140052cc6
xor ebx, ebx
lea rax, [rbp + 0x270]
mov rcx, 0xffffffffffffffff
nop
lea rcx, [rcx + 1]
cmp byte [rax + rcx], 0
jne 0x140052e50
lea rax, [rbp + 0x270]
inc byte [rcx + rax - 1]
mov rcx, qword [r15 + 0x40]
mov rax, qword [rcx]
mov rdx, r14
call qword [rax + 0x38]
inc r12d
cmp r12d, 0x20
jb 0x140052c10
mov dword [rsp + 0x54], ebx
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x170]
call fcn.140249b10
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x70]
call fcn.140249b10
mov rdx, qword [rbp + 0x96c8]
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea rdx, [0x140287e84]
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [rsp + 0x38], 0x100
lea rax, [rbp + 0x170]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x54]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea rdx, str.NTFS
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x140052f2d
mov rax, qword [rsi]
cmp rax, rsi
je 0x140052f2d
mov ecx, dword [rsp + 0x54]
cmp dword [rax + 0x60], ecx
je 0x140052f80
mov rax, qword [rax]
cmp rax, rsi
jne 0x140052f20
mov r13d, ebx
mov rcx, qword [rsi]
mov qword [rsi], rsi
mov qword [rsi + 8], rsi
cmp rcx, rsi
je 0x140052f55
nop
mov rbx, qword [rcx]
mov edx, 0x100
call fcn.140247060
mov rcx, rbx
cmp rbx, rsi
jne 0x140052f40
mov edx, 0x100
mov rcx, rsi
call fcn.140247060
mov eax, r13d
mov rbx, qword [rsp + 0x97c0]
add rsp, 0x9780
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, dword [rax + 0x10]
mov rdx, qword [rbp + 0x96d0]
mov dword [rdx], ecx
mov ecx, dword [rax + 0x14]
mov rdx, qword [rbp + 0x96d8]
mov dword [rdx], ecx
mov rcx, qword [rax + 0x78]
mov rax, qword [rbp + 0x96e0]
mov qword [rax], rcx
jmp 0x140052f30
lea rcx, str.list_T__too_long
call fcn.1402453d0
int3