Function at 0x14007d660
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x1419a1b80]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rax, rdx
mov rsi, rcx
mov qword [rbp - 0x30], rcx
xor r12d, r12d
mov dword [rsp + 0x40], r12d
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
mov dword [rsp + 0x40], 1
lea rdx, [rbp - 0x68]
mov rcx, rax
call fcn.140074f40
nop
mov rcx, rax
call fcn.14001d9a0
mov rcx, rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x2200000
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 8
mov r8d, 7
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
mov rdi, 0xffffffffffffffff
mov rdx, qword [rbp - 0x68]
test rdx, rdx
je 0x14007d72a
mov ecx, edi
lock xadd dword [rdx], ecx
cmp ecx, 1
jne 0x14007d72a
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x68]
call fcn.140030bb0
cmp r14, rdi
je 0x14007dba3
mov ecx, 0x4000
call fcn.1401759d8
mov rbx, rax
test rax, rax
je 0x14007dbd1
mov dword [rbp - 0x78], r12d
mov qword [rsp + 0x38], r12
lea rax, [rbp - 0x78]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x4000
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x900a8
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14007d8a5
mov eax, dword [rbx]
cmp eax, 0xa0000003
jne 0x14007d79a
movzx eax, word [rbx + 8]
shr rax, 1
add rax, 8
jmp 0x14007d7ac
cmp eax, 0xa000000c
jne 0x14007d81b
movzx eax, word [rbx + 8]
shr rax, 1
add rax, 0xa
movzx r8d, word [rbx + 0xa]
shr r8, 1
lea rdx, [rbx + rax*2]
lea rcx, [rsp + 0x48]
call fcn.140002ce0
mov rdx, rax
mov rcx, qword [rsi]
mov rax, qword [rax]
mov qword [rsi], rax
mov qword [rdx], rcx
mov rcx, qword [rsi + 8]
mov rax, qword [rdx + 8]
mov qword [rsi + 8], rax
mov qword [rdx + 8], rcx
mov rcx, qword [rsi + 0x10]
mov rax, qword [rdx + 0x10]
mov qword [rsi + 0x10], rax
mov qword [rdx + 0x10], rcx
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14007d81b
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14007d81b
mov r8d, 8
mov edx, 2
mov rcx, qword [rsp + 0x48]
call fcn.140030bb0
mov rcx, qword [rsi]
mov qword [rsp + 0x48], rcx
mov rax, qword [rsi + 8]
mov qword [rsp + 0x50], rax
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0x58], rax
test rcx, rcx
je 0x14007d83d
lock inc dword [rcx]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x60]
call fcn.140075080
mov rdx, rax
mov rcx, qword [rsi]
mov rax, qword [rax]
mov qword [rsi], rax
mov qword [rdx], rcx
mov rcx, qword [rsi + 8]
mov rax, qword [rdx + 8]
mov qword [rsi + 8], rax
mov qword [rdx + 8], rcx
mov rcx, qword [rsi + 0x10]
mov rax, qword [rdx + 0x10]
mov qword [rsi + 0x10], rax
mov qword [rdx + 0x10], rcx
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14007d8a5
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14007d8a5
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x60]
call fcn.140030bb0
mov rcx, rbx
call fcn.140174a74
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [0x1419a4990]
call fcn.140079180
lea rax, [0x140214b30]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r12
mov qword [rbp - 0x50], 0x1d
mov qword [rbp - 0x48], rax
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x40], xmm0
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x48]
call fcn.1400174b0
mov dword [rsp + 0x40], 3
mov rdx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x48], rdx
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x50], rcx
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x58], rcx
test rdx, rdx
je 0x14007d964
mov eax, edi
lock xadd dword [rdx], eax
cmp eax, 1
jne 0x14007d964
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x48]
call fcn.140030bb0
nop
mov r8d, 1
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x70]
call fcn.140057630
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14007d9a3
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14007d9a3
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x60]
call fcn.140030bb0
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
mov r8, rsi
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x70]
call fcn.140058a80
nop
lea rcx, [rbp - 0x80]
call fcn.140058a70
test al, al
je 0x14007db90
xor r8d, r8d
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x80]
call fcn.140058020
mov r15, rax
mov qword [rbp - 0x40], 4
lea rax, [0x140214b50]
mov qword [rbp - 0x38], rax
mov rdx, qword [r15 + 0x10]
add rdx, 4
xor r8d, r8d
lea rcx, [rbp - 0x68]
call fcn.140012960
lea r14, [0x14019eac0]
mov rbx, r14
mov rax, qword [rbp - 0x60]
test rax, rax
cmovne rbx, rax
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rsp + 0x60], xmm0
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140013b70
lea rcx, [rbx + 8]
mov r8, qword [r15 + 0x10]
test r8, r8
je 0x14007da5c
mov rax, qword [r15 + 8]
test rax, rax
cmovne r14, rax
add r8, r8
mov rdx, r14
call fcn.140191f10
nop
mov dword [rsp + 0x40], 7
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14007da8c
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14007da8c
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x28]
call fcn.140030bb0
lea rcx, [rbp - 0x68]
call fcn.14001d9a0
mov rcx, rax
lea r9, [rbp - 0x50]
mov r8d, 0x104
lea rdx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
test eax, eax
je 0x14007db69
mov r8, rdi
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x60]
call fcn.140017720
mov rcx, rax
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rcx + 8]
mov qword [rsp + 0x50], rax
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x58], rax
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
mov dword [rsp + 0x40], 0x47
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14007db20
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14007db20
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x60]
call fcn.140030bb0
nop
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.140058050
lea r9, [rsp + 0x48]
mov r8, rax
xor edx, edx
mov rcx, rsi
call fcn.14001b230
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14007db69
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14007db69
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x48]
call fcn.140030bb0
nop
mov rax, qword [rbp - 0x68]
test rax, rax
je 0x14007db90
lock xadd dword [rax], edi
cmp edi, 1
jne 0x14007db90
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x68]
call fcn.140030bb0
nop
lea rcx, [rbp - 0x80]
call fcn.140057750
nop
lea rcx, [rbp - 0x70]
call fcn.140057720
mov rax, rsi
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.14016c210
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14003dc40
int3