Function at 0x1400787b4
Capabilities:
Get disk information

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x48
movzx r14d, dx
mov edx, 0x400015
mov ebx, r8d
mov r15, rcx
call fcn.140063720
lea rcx, [rsp + 0x38]
mov edx, 0xca
call fcn.140063694
mov r11d, dword [rsp + 0xb0]
xor r8d, r8d
mov eax, r8d
mov ecx, r8d
mov r10d, r11d
and r10d, 0x100
mov edx, r11d
movsx ebp, r11b
and edx, 0x200
cmp r14w, r8w
mov dword [rsp + 0xb0], ebp
setne cl
cmp ebx, r8d
mov dword [rsp + 0x20], edx
setne al
mov r13b, r8b
lea eax, [rcx + rax + 1]
mov dword [rsp + 0x98], eax
movsxd rax, r10d
mov qword [rsp + 0x28], rax
cmp edx, r8d
jne 0x14007892d
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov rbx, qword [r15]
xor r10d, r10d
mov edi, eax
or eax, 0xffffffff
cmp ebp, r10d
mov r12d, 1
mov esi, r10d
cmovl r12d, eax
lea eax, [r10 + 0x19]
cmp ebp, r10d
cmovl esi, eax
mov eax, dword [rsp + 0xa8]
cmp eax, r10d
je 0x140078896
cmp eax, 1
not edi
jle 0x140078896
and edi, 0xfffffffc
cmp esi, 0x1a
jge 0x140078914
mov r15d, 0x3a
cmp esi, r10d
jl 0x14007890c
mov ecx, esi
mov edx, 1
movsx eax, r12b
shl edx, cl
lea ebp, [rsi + 0x41]
add esi, eax
test edi, edx
je 0x140078907
cmp qword [rsp + 0x28], r10
je 0x1400788d4
movsx ecx, bpl
call fcn.140101cdc
xor r10d, r10d
cmp eax, r10d
je 0x140078907
cmp r13b, r10b
je 0x1400788e7
cmp r14w, r10w
je 0x1400788e7
mov word [rbx], r14w
add rbx, 2
movsx eax, bpl
mov r13b, 1
mov word [rbx], ax
add rbx, 2
cmp dword [rsp + 0xa0], r10d
je 0x140078907
mov word [rbx], r15w
add rbx, 2
cmp esi, 0x1a
jl 0x1400788a1
mov r15, qword [rsp + 0x90]
mov r13d, dword [rsp + 0xa8]
mov r12d, dword [rsp + 0x98]
mov word [rbx], r10w
jmp 0x140078b5d
mov rbx, qword [r15]
xor ecx, ecx
lea rdi, [rbx + 0x400010]
mov rdx, rdi
mov qword [rdi], r8
mov qword [rbx], r8
mov r8d, 0x1ffffe
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
xor r10d, r10d
mov r12d, 0x3a
mov eax, eax
cmp rax, r10
mov qword [rsp + 0x30], rax
lea rbp, [rdi + rax*2]
jle 0x1400789f9
cmp rdi, rbp
jae 0x1400789f9
mov r15d, dword [rsp + 0xa0]
movzx esi, word [rdi]
add rdi, 2
cmp esi, r10d
je 0x1400789dc
cmp word [rdi], r12w
jne 0x1400789dc
cmp word [rdi + 2], r10w
jne 0x1400789dc
cmp qword [rsp + 0x28], r10
je 0x1400789ac
movzx ecx, si
call fcn.140101cdc
xor r10d, r10d
cmp eax, r10d
je 0x1400789dc
cmp r13b, r10b
je 0x1400789bf
cmp r14w, r10w
je 0x1400789bf
mov word [rbx], r14w
add rbx, 2
mov word [rbx], si
add rbx, 2
mov r13b, 1
cmp r15d, r10d
je 0x1400789dc
mov word [rbx], r12w
add rbx, 2
jmp 0x1400789dc
add rdi, 2
cmp word [rdi], r10w
jne 0x1400789d8
add rdi, 2
cmp word [rdi], r10w
je 0x1400789f1
cmp rdi, rbp
jb 0x14007897c
mov r15, qword [rsp + 0x90]
mov r13d, dword [rsp + 0xa8]
mov word [rbx], r10w
cmp r13d, r10d
je 0x140078af3
mov rbp, qword [rsp + 0xb8]
cmp rbp, r10
je 0x140078af3
mov rdi, qword [r15]
mov rbx, rbp
mov edx, 0x2a
cmp word [rbp], r10w
je 0x140078a63
mov r13d, edx
movzx edx, word [rbx]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_StrChrIW]
xor r10d, r10d
cmp rax, r10
je 0x140078a4c
mov word [rbx], r13w
add rbx, 2
cmp word [rbx], r10w
jne 0x140078a34
mov r13d, dword [rsp + 0xa8]
mov edx, 0x2a
mov rbx, qword [r15]
mov sil, r10b
mov rdi, rbp
cmp word [rbp], r10w
je 0x140078aef
mov r15d, dword [rsp + 0xa0]
movzx ecx, word [rdi]
mov eax, ecx
cmp ecx, edx
je 0x140078ad8
cmp r13d, 1
jle 0x140078a97
and eax, 0xffffffdf
cmp eax, 0x41
je 0x140078ad8
cmp eax, 0x42
je 0x140078ad8
cmp qword [rsp + 0x28], r10
je 0x140078aab
call fcn.140101cdc
xor r10d, r10d
cmp eax, r10d
je 0x140078ad8
cmp sil, r10b
je 0x140078abe
cmp r14w, r10w
je 0x140078abe
mov word [rbx], r14w
add rbx, 2
movzx eax, word [rdi]
mov sil, 1
mov word [rbx], ax
add rbx, 2
cmp r15d, r10d
je 0x140078ad8
mov word [rbx], r12w
add rbx, 2
add rdi, 2
mov edx, 0x2a
cmp word [rdi], r10w
jne 0x140078a7b
mov r15, qword [rsp + 0x90]
mov word [rbx], r10w
movsxd r12, dword [rsp + 0x98]
mov esi, dword [rsp + 0xb0]
mov rdx, qword [r15]
lea r9, [r12 + r12]
mov r8, rbx
sub r8, r9
cmp esi, r10d
je 0x140078b5d
cmp qword [rsp + 0x30], r10
je 0x140078b5d
cmp rdx, r8
jae 0x140078b5d
xor r14d, r14d
lea r10, [r9 + rdx]
mov rcx, r10
cmp r10, rbx
jae 0x140078b52
movzx edi, word [rcx]
movzx r11d, word [rdx]
mov eax, edi
sub eax, r11d
imul eax, esi
cmp eax, r14d
jge 0x140078b4a
mov word [rcx], r11w
mov word [rdx], di
add rcx, r9
cmp rcx, rbx
jb 0x140078b2f
mov rdx, r10
cmp r10, r8
jb 0x140078b23
xor r10d, r10d
mov rbp, qword [rsp + 0xb8]
cmp rbp, r10
je 0x140078bc7
cmp dword [rsp + 0x20], r10d
je 0x140078b76
cmp r13d, r10d
jne 0x140078bc7
lea rdi, [rbx + 2]
mov rbx, qword [r15]
mov cx, word [rbx]
cmp cx, r10w
je 0x140078bc7
movsxd rax, r12d
sub rdi, rax
xor r14d, r14d
lea rsi, [rax + rax]
movzx edx, cx
mov rcx, rbp
call qword [sym.imp.SHLWAPI.dll_StrChrIW]
cmp rax, r14
je 0x140078ba9
add rbx, rsi
jmp 0x140078bbe
mov r8, rdi
lea rdx, [rsi + rbx]
mov rcx, rbx
sub r8, rbx
call fcn.14001d744
sub rdi, rsi
mov cx, word [rbx]
cmp cx, r14w
jne 0x140078b93
mov rbx, qword [r15]
lea rcx, [rsp + 0x38]
call fcn.14005b104
mov rax, rbx
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret