Function at 0x140153d80
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 [0x1402fa010]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r14, rcx
call fcn.1401285c0
cmp dword [rax + 8], 1
jne 0x1401540c1
call fcn.1401285c0
cmp dword [rax + 4], 0
jne 0x1401540c1
call fcn.1400ef2a0
cmp qword [rax + 8], 0
je 0x1401540c1
call fcn.1400ef2a0
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x98]
call qword [case.0x140038716.0]
test eax, eax
je 0x1401540c1
mov qword [rbp - 0x28], 0
call fcn.1400ef2a0
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x168]
call qword [case.0x140038716.0]
mov rbx, rax
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x1401540ef
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rbp - 0x28], rax
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.140018bd0
mov rdi, 0xffffffffffffffff
test al, al
jne 0x140153e7b
test rbx, rbx
jne 0x140153e60
xor r8d, r8d
jmp 0x140153e6e
mov r8, rdi
inc r8
cmp word [rbx + r8*2], 0
jne 0x140153e63
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.140018f70
nop
mov rbx, qword [rbp - 0x28]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathGetDriveNumberW]
mov esi, eax
test eax, eax
js 0x1401540a3
mov qword [rbp - 0x20], 0
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x1401540e4
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rbp - 0x20], rax
lea r8d, [rsi + 0x61]
lea rdx, str._c:_
lea rcx, [rbp - 0x20]
call fcn.14001c3d0
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x14015407b
mov edx, 0x12019f
mov rcx, rbx
call fcn.14002c770
test eax, eax
jne 0x14015407b
lea rax, [rbp - 0x38]
mov qword [rbp - 0x40], rax
call fcn.140044940
mov rcx, rax
lea r8, str.TEXT
lea rdx, str.TEXT_ASK_ASK_UAC_ELEVATION
call fcn.140048080
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.140019100
mov rbx, rax
call fcn.1401285c0
lea rcx, [0x1402620b8]
lea r8, [0x1402620c0]
cmp dword [rax + 0x88], 0
cmovne r8, rcx
mov r9d, 4
mov rdx, rbx
mov rcx, qword [r14 + 8]
call fcn.14005fae0
cmp eax, 6
jne 0x14015407b
mov qword [rbp - 0x18], 0
call fcn.1400ef2a0
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x168]
call qword [case.0x140038716.0]
mov r8, rax
lea rdx, str._open___s_
lea rcx, [rbp - 0x18]
call fcn.1400283d0
nop
lea rax, [rbp - 0x40]
mov qword [rbp - 0x30], rax
mov rcx, qword [rbp - 0x18]
add rcx, 0xffffffffffffffe8
call fcn.1400191a0
add rax, 0x18
mov qword [rbp - 0x40], rax
lea rdx, [rbp - 0x40]
mov rcx, qword [r14 + 8]
call fcn.14013c8f0
test eax, eax
je 0x140154056
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 0x140154008
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rdx, qword [rbp - 0x20]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14015402d
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rdx, qword [rbp - 0x28]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x14015404f
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
mov eax, 1
jmp 0x1401540c3
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14015407b
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rdx, qword [rbp - 0x20]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14015409f
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
mov rbx, qword [rbp - 0x28]
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1401540c1
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
xor eax, eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401f3bf0
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.140019320
nop
mov ecx, 0x80004005
call fcn.140019320
int3