Function at 0x141db37d0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x141f1bb40]
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.141dab300
nop
mov rcx, rax
call fcn.141d45210
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 rdi, rax
mov r14, 0xffffffffffffffff
mov rdx, qword [rbp - 0x68]
test rdx, rdx
je 0x141db388e
mov ecx, r14d
lock xadd dword [rdx], ecx
cmp ecx, 1
jne 0x141db388e
mov rcx, qword [rbp - 0x68]
call fcn.141ec82c8
cmp rdi, r14
je 0x141db3d80
mov ecx, 0x4000
call fcn.141ec9494
mov rbx, rax
test rax, rax
je 0x141db3df7
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, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x141db3a49
mov eax, dword [rbx]
cmp eax, 0xa0000003
jne 0x141db3935
movzx eax, word [rbx + 8]
shr rax, 1
add rax, 8
lea rdx, [rbx + rax*2]
movzx r8d, word [rbx + 0xa]
shr r8, 1
lea rcx, [rsp + 0x48]
call fcn.141d3e900
nop
mov r15, qword [rax]
mov r12, qword [rax + 8]
mov r13, qword [rax + 0x10]
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov dword [rsp + 0x40], 0x41
jmp 0x141db3982
cmp eax, 0xa000000c
jne 0x141db39c9
movzx eax, word [rbx + 8]
shr rax, 1
add rax, 0xa
lea rdx, [rbx + rax*2]
movzx r8d, word [rbx + 0xa]
shr r8, 1
lea rcx, [rsp + 0x48]
call fcn.141d3e900
nop
mov r15, qword [rax]
mov r12, qword [rax + 8]
mov r13, qword [rax + 0x10]
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov dword [rsp + 0x40], 0x1001
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x141db39a2
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141db39a2
mov rcx, qword [rsp + 0x48]
call fcn.141ec82c8
mov rcx, qword [rsi]
test rcx, rcx
mov qword [rsi + 0x10], r13
mov qword [rsi + 8], r12
mov qword [rsi], r15
je 0x141db39c6
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141db39c6
call fcn.141ec82c8
xor r12d, r12d
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 0x141db39eb
lock inc dword [rcx]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x60]
call fcn.141dab490
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 0x141db3a49
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141db3a49
mov rcx, qword [rsp + 0x60]
call fcn.141ec82c8
mov rcx, rbx
call fcn.141ec82c8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [0x141f1e8b8]
nop
cmp al, 0xfe
jle 0x141db3a8d
mov ecx, dword [0x141f20ea0]
mov rax, qword gs:[0x58]
mov edx, 0x58
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x141f1e8c4], ecx
jg 0x141db3dad
lea rax, [0x140079e00]
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.141d3e5c0
mov edi, dword [rsp + 0x40]
or edi, 2
mov dword [rsp + 0x40], edi
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 0x141db3b2b
mov eax, r14d
lock xadd dword [rdx], eax
cmp eax, 1
jne 0x141db3b27
mov rcx, qword [rsp + 0x48]
call fcn.141ec82c8
mov edi, dword [rsp + 0x40]
mov r8d, 1
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x70]
call fcn.141d59bb0
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x141db3b64
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141db3b60
mov rcx, qword [rsp + 0x60]
call fcn.141ec82c8
mov edi, dword [rsp + 0x40]
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.141d5b000
nop
lea rcx, [rbp - 0x80]
call fcn.141d5aff0
test al, al
je 0x141db3d6d
xor r8d, r8d
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x80]
call fcn.141d5a5b0
mov r13, rax
mov qword [rbp - 0x40], 4
lea rax, [0x140079e20]
mov qword [rbp - 0x38], rax
mov rdx, qword [r13 + 0x10]
add rdx, 4
xor r8d, r8d
lea rcx, [rbp - 0x68]
call fcn.141d37e90
or edi, 8
lea r15, [0x140001220]
mov rbx, r15
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.141d39240
lea rcx, [rbx + 8]
mov r8, qword [r13 + 0x10]
test r8, r8
je 0x141db3c1f
mov rax, qword [r13 + 8]
test rax, rax
cmovne r15, rax
add r8, r8
mov rdx, r15
call fcn.141ee8ce0
and edi, 0xfffffff7
or edi, 4
mov dword [rsp + 0x40], edi
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x141db3c4b
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141db3c47
mov rcx, qword [rbp - 0x28]
call fcn.141ec82c8
mov edi, dword [rsp + 0x40]
lea rcx, [rbp - 0x68]
call fcn.141d45210
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 0x141db3d4f
mov r8, r14
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x60]
call fcn.141d3e900
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
or edi, 0x280
mov dword [rsp + 0x40], edi
bt edi, 8
jae 0x141db3ce2
btr edi, 8
mov dword [rsp + 0x40], edi
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x141db3ce2
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141db3cde
call fcn.141ec82c8
mov edi, dword [rsp + 0x40]
test dil, dil
jns 0x141db3d10
btr edi, 7
mov dword [rsp + 0x40], edi
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x141db3d10
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141db3d10
mov rcx, qword [rsp + 0x60]
call fcn.141ec82c8
nop
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.141d5a690
lea r9, [rsp + 0x48]
mov r8, rax
xor edx, edx
mov rcx, rsi
call fcn.141d42350
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x141db3d4f
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141db3d4f
mov rcx, qword [rsp + 0x48]
call fcn.141ec82c8
nop
mov rax, qword [rbp - 0x68]
test rax, rax
je 0x141db3d6d
lock xadd dword [rax], r14d
cmp r14d, 1
jne 0x141db3d6d
mov rcx, qword [rbp - 0x68]
call fcn.141ec82c8
nop
lea rcx, [rbp - 0x80]
call fcn.141d59d30
nop
lea rcx, [rbp - 0x70]
call fcn.141d59ca0
mov rax, rsi
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.141ec2250
mov rbx, qword [rsp + 0x360]
add rsp, 0x310
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x141f1e8c4]
call fcn.141ec283c
cmp dword [0x141f1e8c4], 0xffffffff
jne 0x141db3a8d
lea rcx, [0x141f1e8c0]
call fcn.141daed00
mov byte [0x141f1e8b8], 0xff
lea rcx, [0x141ef4520]
call fcn.141ec24dc
nop
lea rcx, [0x141f1e8c4]
call fcn.141ec27d0
jmp 0x141db3a8d
call fcn.141d6f2b0
int3