Function at 0x140156a80
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140300040]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r14, rcx
call fcn.14012bfe0
cmp dword [rax + 8], 1
jne 0x140156dc1
call fcn.14012bfe0
cmp dword [rax + 4], 0
jne 0x140156dc1
call fcn.1400f1ae0
cmp qword [rax + 8], 0
je 0x140156dc1
call fcn.1400f1ae0
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x98]
call qword [case.0x140038ca6.0]
test eax, eax
je 0x140156dc1
mov qword [rbp - 0x28], 0
call fcn.1400f1ae0
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x168]
call qword [case.0x140038ca6.0]
mov rbx, rax
call fcn.140019590
mov rcx, rax
test rax, rax
je 0x140156def
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038ca6.0]
add rax, 0x18
mov qword [rbp - 0x28], rax
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.140018bb0
mov rdi, 0xffffffffffffffff
test al, al
jne 0x140156b7b
test rbx, rbx
jne 0x140156b60
xor r8d, r8d
jmp 0x140156b6e
mov r8, rdi
inc r8
cmp word [rbx + r8*2], 0
jne 0x140156b63
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.140018f50
nop
mov rbx, qword [rbp - 0x28]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathGetDriveNumberW]
mov esi, eax
test eax, eax
js 0x140156da3
mov qword [rbp - 0x20], 0
call fcn.140019590
mov rcx, rax
test rax, rax
je 0x140156de4
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038ca6.0]
add rax, 0x18
mov qword [rbp - 0x20], rax
lea r8d, [rsi + 0x61]
lea rdx, str._c:_
lea rcx, [rbp - 0x20]
call fcn.14001c4c0
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x140156d7b
mov edx, 0x12019f
mov rcx, rbx
call fcn.14002c880
test eax, eax
jne 0x140156d7b
lea rax, [rbp - 0x38]
mov qword [rbp - 0x40], rax
call fcn.140044d30
mov rcx, rax
lea r8, str.TEXT
lea rdx, str.TEXT_ASK_ASK_UAC_ELEVATION
call fcn.140048480
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.1400190e0
mov rbx, rax
call fcn.14012bfe0
lea rcx, [0x1402670d8]
lea r8, [0x1402670e0]
cmp dword [rax + 0x88], 0
cmovne r8, rcx
mov r9d, 4
mov rdx, rbx
mov rcx, qword [r14 + 8]
call fcn.140061b80
cmp eax, 6
jne 0x140156d7b
mov qword [rbp - 0x18], 0
call fcn.1400f1ae0
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x168]
call qword [case.0x140038ca6.0]
mov r8, rax
lea rdx, str._open___s_
lea rcx, [rbp - 0x18]
call fcn.140028500
nop
lea rax, [rbp - 0x40]
mov qword [rbp - 0x30], rax
mov rcx, qword [rbp - 0x18]
add rcx, 0xffffffffffffffe8
call fcn.140019180
add rax, 0x18
mov qword [rbp - 0x40], rax
lea rdx, [rbp - 0x40]
mov rcx, qword [r14 + 8]
call fcn.14013ffc0
test eax, eax
je 0x140156d56
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_PostMessageW]
nop
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140156d08
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
nop
mov rdx, qword [rbp - 0x20]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140156d2d
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
nop
mov rdx, qword [rbp - 0x28]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140156d4f
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
mov eax, 1
jmp 0x140156dc3
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140156d7b
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
nop
mov rdx, qword [rbp - 0x20]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140156d9f
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
mov rbx, qword [rbp - 0x28]
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140156dc1
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
xor eax, eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401f74b0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140019300
nop
mov ecx, 0x80004005
call fcn.140019300
int3