Function at 0x1400761bc
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.1400622f4
lea rcx, [rsp + 0x38]
mov edx, 0xca
call fcn.140062268
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 0x140076335
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 0x14007629e
cmp eax, 1
not edi
jle 0x14007629e
and edi, 0xfffffffc
cmp esi, 0x1a
jge 0x14007631c
mov r15d, 0x3a
cmp esi, r10d
jl 0x140076314
mov ecx, esi
mov edx, 1
movsx eax, r12b
shl edx, cl
lea ebp, [rsi + 0x41]
add esi, eax
test edi, edx
je 0x14007630f
cmp qword [rsp + 0x28], r10
je 0x1400762dc
movsx ecx, bpl
call fcn.1400fce44
xor r10d, r10d
cmp eax, r10d
je 0x14007630f
cmp r13b, r10b
je 0x1400762ef
cmp r14w, r10w
je 0x1400762ef
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 0x14007630f
mov word [rbx], r15w
add rbx, 2
cmp esi, 0x1a
jl 0x1400762a9
mov r15, qword [rsp + 0x90]
mov r13d, dword [rsp + 0xa8]
mov r12d, dword [rsp + 0x98]
mov word [rbx], r10w
jmp 0x140076565
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 0x140076401
cmp rdi, rbp
jae 0x140076401
mov r15d, dword [rsp + 0xa0]
movzx esi, word [rdi]
add rdi, 2
cmp esi, r10d
je 0x1400763e4
cmp word [rdi], r12w
jne 0x1400763e4
cmp word [rdi + 2], r10w
jne 0x1400763e4
cmp qword [rsp + 0x28], r10
je 0x1400763b4
movzx ecx, si
call fcn.1400fce44
xor r10d, r10d
cmp eax, r10d
je 0x1400763e4
cmp r13b, r10b
je 0x1400763c7
cmp r14w, r10w
je 0x1400763c7
mov word [rbx], r14w
add rbx, 2
mov word [rbx], si
add rbx, 2
mov r13b, 1
cmp r15d, r10d
je 0x1400763e4
mov word [rbx], r12w
add rbx, 2
jmp 0x1400763e4
add rdi, 2
cmp word [rdi], r10w
jne 0x1400763e0
add rdi, 2
cmp word [rdi], r10w
je 0x1400763f9
cmp rdi, rbp
jb 0x140076384
mov r15, qword [rsp + 0x90]
mov r13d, dword [rsp + 0xa8]
mov word [rbx], r10w
cmp r13d, r10d
je 0x1400764fb
mov rbp, qword [rsp + 0xb8]
cmp rbp, r10
je 0x1400764fb
mov rdi, qword [r15]
mov rbx, rbp
mov edx, 0x2a
cmp word [rbp], r10w
je 0x14007646b
mov r13d, edx
movzx edx, word [rbx]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_StrChrIW]
xor r10d, r10d
cmp rax, r10
je 0x140076454
mov word [rbx], r13w
add rbx, 2
cmp word [rbx], r10w
jne 0x14007643c
mov r13d, dword [rsp + 0xa8]
mov edx, 0x2a
mov rbx, qword [r15]
mov sil, r10b
mov rdi, rbp
cmp word [rbp], r10w
je 0x1400764f7
mov r15d, dword [rsp + 0xa0]
movzx ecx, word [rdi]
mov eax, ecx
cmp ecx, edx
je 0x1400764e0
cmp r13d, 1
jle 0x14007649f
and eax, 0xffffffdf
cmp eax, 0x41
je 0x1400764e0
cmp eax, 0x42
je 0x1400764e0
cmp qword [rsp + 0x28], r10
je 0x1400764b3
call fcn.1400fce44
xor r10d, r10d
cmp eax, r10d
je 0x1400764e0
cmp sil, r10b
je 0x1400764c6
cmp r14w, r10w
je 0x1400764c6
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 0x1400764e0
mov word [rbx], r12w
add rbx, 2
add rdi, 2
mov edx, 0x2a
cmp word [rdi], r10w
jne 0x140076483
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 0x140076565
cmp qword [rsp + 0x30], r10
je 0x140076565
cmp rdx, r8
jae 0x140076565
xor r14d, r14d
lea r10, [r9 + rdx]
mov rcx, r10
cmp r10, rbx
jae 0x14007655a
movzx edi, word [rcx]
movzx r11d, word [rdx]
mov eax, edi
sub eax, r11d
imul eax, esi
cmp eax, r14d
jge 0x140076552
mov word [rcx], r11w
mov word [rdx], di
add rcx, r9
cmp rcx, rbx
jb 0x140076537
mov rdx, r10
cmp r10, r8
jb 0x14007652b
xor r10d, r10d
mov rbp, qword [rsp + 0xb8]
cmp rbp, r10
je 0x1400765cf
cmp dword [rsp + 0x20], r10d
je 0x14007657e
cmp r13d, r10d
jne 0x1400765cf
lea rdi, [rbx + 2]
mov rbx, qword [r15]
mov cx, word [rbx]
cmp cx, r10w
je 0x1400765cf
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 0x1400765b1
add rbx, rsi
jmp 0x1400765c6
mov r8, rdi
lea rdx, [rsi + rbx]
mov rcx, rbx
sub r8, rbx
call fcn.14001d898
sub rdi, rsi
mov cx, word [rbx]
cmp cx, r14w
jne 0x14007659b
mov rbx, qword [r15]
lea rcx, [rsp + 0x38]
call fcn.140059920
mov rax, rbx
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret