Function at 0x140144890
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 - 0x330]
sub rsp, 0x430
movaps xmmword [rsp + 0x420], xmm6
mov rax, qword [0x14038d940]
xor rax, rsp
mov qword [rbp + 0x310], rax
mov rax, rdx
mov rdi, rcx
mov qword [rbp + 0x28], rcx
xor r13d, r13d
mov dword [rsp + 0x40], r13d
mov qword [rcx], r13
mov qword [rcx + 8], r13
mov qword [rcx + 0x10], r13
mov dword [rsp + 0x40], 1
lea rdx, [rbp + 0x40]
mov rcx, rax
call fcn.14013bf80
nop
mov rcx, rax
call fcn.140094620
mov rcx, rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x2200000
mov dword [rsp + 0x20], 3
xor r9d, r9d
lea edx, [r13 + 8]
lea r8d, [r13 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
lea rbx, [r13 - 1]
mov rdx, qword [rbp + 0x40]
test rdx, rdx
je 0x14014494f
mov ecx, ebx
lock xadd dword [rdx], ecx
cmp ecx, 1
jne 0x14014494f
mov rcx, qword [rbp + 0x40]
call fcn.1402275a0
cmp r14, rbx
je 0x140144e8d
mov ecx, 0x4000
call fcn.14022f948
mov rsi, rax
test rax, rax
je 0x140144f0c
mov dword [rsp + 0x50], r13d
mov qword [rsp + 0x38], r13
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x4000
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
mov edx, 0x900a8
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140144b23
mov eax, dword [rsi]
cmp eax, 0xa0000003
jne 0x140144a11
movzx eax, word [rsi + 8]
shr rax, 1
add rax, 8
lea rdx, [rsi + rax*2]
movzx r8d, word [rsi + 0xa]
shr r8, 1
lea rcx, [rbp + 0x58]
call fcn.14008d720
nop
mov r15, qword [rax]
mov qword [rax], r13
mov r12, qword [rax + 8]
mov qword [rax + 8], r13
mov r13, qword [rax + 0x10]
mov qword [rax + 0x10], 0
mov dword [rsp + 0x40], 0x41
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x140144a7c
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140144a7c
mov rcx, qword [rbp + 0x58]
jmp 0x140144a77
cmp eax, 0xa000000c
jne 0x140144aa2
movzx eax, word [rsi + 8]
shr rax, 1
add rax, 0xa
lea rdx, [rsi + rax*2]
movzx r8d, word [rsi + 0xa]
shr r8, 1
lea rcx, [rbp + 0x70]
call fcn.14008d720
nop
mov r15, qword [rax]
mov qword [rax], r13
mov r12, qword [rax + 8]
mov qword [rax + 8], r13
mov r13, qword [rax + 0x10]
mov qword [rax + 0x10], 0
mov dword [rsp + 0x40], 0x1001
mov rcx, qword [rbp + 0x70]
test rcx, rcx
je 0x140144a7c
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140144a7c
mov rcx, qword [rbp + 0x70]
call fcn.1402275a0
mov rcx, qword [rdi]
test rcx, rcx
mov qword [rdi + 0x10], r13
mov qword [rdi + 8], r12
mov qword [rdi], r15
je 0x140144a9f
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140144a9f
call fcn.1402275a0
xor r13d, r13d
mov rcx, qword [rdi]
mov qword [rbp - 0x48], rcx
mov rax, qword [rdi + 8]
mov qword [rbp - 0x40], rax
mov rax, qword [rdi + 0x10]
mov qword [rbp - 0x38], rax
test rcx, rcx
je 0x140144ac1
lock inc dword [rcx]
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x88]
call fcn.14013c140
mov rdx, rax
mov rcx, qword [rdi]
mov rax, qword [rax]
mov qword [rdi], rax
mov qword [rdx], rcx
mov rcx, qword [rdi + 8]
mov rax, qword [rdx + 8]
mov qword [rdi + 8], rax
mov qword [rdx + 8], rcx
mov rcx, qword [rdi + 0x10]
mov rax, qword [rdx + 0x10]
mov qword [rdi + 0x10], rax
mov qword [rdx + 0x10], rcx
mov rcx, qword [rbp + 0x88]
test rcx, rcx
je 0x140144b23
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140144b23
mov rcx, qword [rbp + 0x88]
call fcn.1402275a0
mov rcx, rsi
call fcn.1402275a0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [0x140395bd8]
nop
cmp al, 0xfe
jle 0x140144b67
mov ecx, dword [0x140398168]
mov rax, qword gs:[0x58]
mov edx, 0x58
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x140395be8], ecx
jg 0x140144ec2
lea rax, str.Volume__a_z__0_9____
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r13
mov qword [rbp - 0x10], 0x1d
mov qword [rbp - 8], rax
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x78]
call fcn.14008d3f0
or dword [rsp + 0x40], 2
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x78], rdx
mov rcx, qword [rsp + 0x60]
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x60], rax
mov qword [rbp - 0x80], rcx
mov rcx, qword [rsp + 0x68]
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x68], rax
mov qword [rbp - 0x78], rcx
test rdx, rdx
je 0x140144bee
mov eax, ebx
lock xadd dword [rdx], eax
cmp eax, 1
jne 0x140144bee
mov rcx, qword [rsp + 0x78]
call fcn.1402275a0
nop
mov r8d, 1
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.140148da0
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140144c23
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140144c23
mov rcx, qword [rsp + 0x58]
call fcn.1402275a0
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
mov r8, rdi
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.14014a350
nop
lea rcx, [rsp + 0x48]
call fcn.14014a340
test al, al
je 0x140144e78
xor r8d, r8d
lea rdx, [rbp + 0xa0]
lea rcx, [rsp + 0x48]
call fcn.140149930
nop
mov qword [rbp], 4
lea rcx, [0x1402d8150]
mov qword [rbp + 8], rcx
movaps xmm6, xmmword [rbp]
movups xmmword [rbp + 0xd0], xmm6
mov rsi, qword [rax]
mov qword [rax], r13
mov qword [rbp + 0xe0], rsi
mov r14, qword [rax + 8]
mov qword [rax + 8], r13
mov qword [rbp + 0xe8], r14
mov r12, qword [rax + 0x10]
mov qword [rax + 0x10], r13
mov qword [rbp + 0xf0], r12
lea rdx, [r12 + 4]
xor r8d, r8d
lea rcx, [rbp + 0x10]
call fcn.140086b60
mov r15, qword [rbp + 0x18]
movdqa xmmword [rbp + 0x30], xmm6
mov rdx, r15
lea rcx, [rbp + 0x30]
call fcn.140087e60
test r12, r12
je 0x140144cf9
lea rdx, [0x14025be10]
test r14, r14
cmovne rdx, r14
lea r8, [r12 + r12]
lea rcx, [r15 + 8]
call fcn.14024bde0
movups xmm0, xmmword [rbp + 0x10]
movups xmmword [rbp - 0x30], xmm0
movsd xmm1, qword [rbp + 0x20]
movsd qword [rbp - 0x20], xmm1
or dword [rsp + 0x40], 8
or dword [rsp + 0x40], 4
test rsi, rsi
je 0x140144d2e
mov eax, ebx
lock xadd dword [rsi], eax
cmp eax, 1
jne 0x140144d2e
mov rcx, rsi
call fcn.1402275a0
nop
mov rcx, qword [rbp + 0xa0]
test rcx, rcx
je 0x140144d51
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140144d51
mov rcx, qword [rbp + 0xa0]
call fcn.1402275a0
lea rcx, [rbp - 0x30]
call fcn.140094620
mov rcx, rax
lea r9, [rbp - 0x70]
mov r8d, 0x104
lea rdx, [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
test eax, eax
je 0x140144e5c
mov r8, rbx
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0xb8]
call fcn.14008d720
mov rcx, rax
mov rax, qword [rax]
mov qword [rcx], r13
mov qword [rbp - 0x60], rax
mov rax, qword [rcx + 8]
mov qword [rcx + 8], r13
mov qword [rbp - 0x58], rax
mov rax, qword [rcx + 0x10]
mov qword [rcx + 0x10], r13
mov qword [rbp - 0x50], rax
mov eax, dword [rsp + 0x40]
or eax, 0x280
mov dword [rsp + 0x40], eax
bt eax, 8
jae 0x140144dec
and dword [rsp + 0x40], 0xfffffeff
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x140144dec
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140144dec
call fcn.1402275a0
nop
mov eax, dword [rsp + 0x40]
test al, al
jns 0x140144e20
and dword [rsp + 0x40], 0xffffff7f
mov rcx, qword [rbp + 0xb8]
test rcx, rcx
je 0x140144e20
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140144e20
mov rcx, qword [rbp + 0xb8]
call fcn.1402275a0
nop
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.140149a00
lea r9, [rbp - 0x60]
mov r8, rax
xor edx, edx
mov rcx, rdi
call fcn.140091180
nop
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x140144e5c
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140144e5c
mov rcx, qword [rbp - 0x60]
call fcn.1402275a0
nop
mov rax, qword [rbp - 0x30]
test rax, rax
je 0x140144e78
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x140144e78
mov rcx, qword [rbp - 0x30]
call fcn.1402275a0
nop
lea rcx, [rsp + 0x48]
call fcn.140148f20
nop
lea rcx, [rsp + 0x70]
call fcn.140148e90
mov rax, rdi
mov rcx, qword [rbp + 0x310]
xor rcx, rsp
call fcn.1402200b0
mov rbx, qword [rsp + 0x480]
movaps xmm6, xmmword [rsp + 0x420]
add rsp, 0x430
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x140395be8]
call fcn.1402206cc
cmp dword [0x140395be8], 0xffffffff
jne 0x140144b67
lea rcx, [0x140395be4]
call fcn.14013f940
mov byte [0x140395bd8], 0xff
lea rcx, [0x140258d20]
call fcn.14022060c
nop
lea rcx, [0x140395be8]
call fcn.140220660
jmp 0x140144b67
call fcn.14010bc70
int3