Function at 0x14122a6c0
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 [0x14136fbc0]
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.141221fc0
nop
mov rcx, rax
call fcn.1411c8780
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 0x14122a78a
mov ecx, edi
lock xadd dword [rdx], ecx
cmp ecx, 1
jne 0x14122a78a
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x68]
call fcn.1411dba10
cmp r14, rdi
je 0x14122ac03
mov ecx, 0x4000
call fcn.14131f6a8
mov rbx, rax
test rax, rax
je 0x14122ac31
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 0x14122a905
mov eax, dword [rbx]
cmp eax, 0xa0000003
jne 0x14122a7fa
movzx eax, word [rbx + 8]
shr rax, 1
add rax, 8
jmp 0x14122a80c
cmp eax, 0xa000000c
jne 0x14122a87b
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.1411af5d0
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 0x14122a87b
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14122a87b
mov r8d, 8
mov edx, 2
mov rcx, qword [rsp + 0x48]
call fcn.1411dba10
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 0x14122a89d
lock inc dword [rcx]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x60]
call fcn.141222100
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 0x14122a905
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14122a905
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x60]
call fcn.1411dba10
mov rcx, rbx
call fcn.14131d86c
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [0x141372a48]
call fcn.141226200
lea rax, [0x14007a7d0]
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.1411c2270
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 0x14122a9c4
mov eax, edi
lock xadd dword [rdx], eax
cmp eax, 1
jne 0x14122a9c4
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x48]
call fcn.1411dba10
nop
mov r8d, 1
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x70]
call fcn.1411dbae0
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14122aa03
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14122aa03
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x60]
call fcn.1411dba10
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.1411dcf90
nop
lea rcx, [rbp - 0x80]
call fcn.1411dcf80
test al, al
je 0x14122abf0
xor r8d, r8d
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x80]
call fcn.1411dc530
mov r15, rax
mov qword [rbp - 0x40], 4
lea rax, [0x14007a7f0]
mov qword [rbp - 0x38], rax
mov rdx, qword [r15 + 0x10]
add rdx, 4
xor r8d, r8d
lea rcx, [rbp - 0x68]
call fcn.1411bd870
lea r14, [0x1400011e0]
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.1411be8b0
lea rcx, [rbx + 8]
mov r8, qword [r15 + 0x10]
test r8, r8
je 0x14122aabc
mov rax, qword [r15 + 8]
test rax, rax
cmovne r14, rax
add r8, r8
mov rdx, r14
call fcn.141340f00
nop
mov dword [rsp + 0x40], 7
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14122aaec
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14122aaec
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x28]
call fcn.1411dba10
lea rcx, [rbp - 0x68]
call fcn.1411c8780
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 0x14122abc9
mov r8, rdi
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x60]
call fcn.1411c24e0
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 0x14122ab80
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14122ab80
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x60]
call fcn.1411dba10
nop
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.1411dc560
lea r9, [rsp + 0x48]
mov r8, rax
xor edx, edx
mov rcx, rsi
call fcn.1411c6010
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14122abc9
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14122abc9
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x48]
call fcn.1411dba10
nop
mov rax, qword [rbp - 0x68]
test rax, rax
je 0x14122abf0
lock xadd dword [rax], edi
cmp edi, 1
jne 0x14122abf0
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x68]
call fcn.1411dba10
nop
lea rcx, [rbp - 0x80]
call fcn.1411dbc60
nop
lea rcx, [rbp - 0x70]
call fcn.1411dbc30
mov rax, rsi
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1413164a0
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.1411ef210
int3