Function at 0x1400069d0
Capabilities:
Enumerate disk volumes
Get disk information via ioctl

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x178
lea rcx, [rax - 0xc0]
mov edx, 0x527c
mov r15, r9
mov rbx, r8
call fcn.1400616c8
mov rax, qword [rsp + 0xf8]
lea rcx, [rax + 0x5a0]
lea r14, [rax + 0xf08]
xor edi, edi
mov qword [rsp + 0x118], rcx
lea rcx, [rax + 0x618]
lea r13, [r14 + 0x320]
mov qword [rsp + 0xd8], rcx
lea rcx, [rax + 0x690]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0xe8], rcx
lea rcx, [rax + 0x708]
lea rbp, [rax + 0x398]
mov qword [rsp + 0xb8], rcx
lea rcx, [rsp + 0x88]
mov qword [rsp + 0xa0], r14
mov r12, rdi
mov qword [rsp + 0x80], r13
call fcn.140061664
lea rsi, [r14 + 0x334]
xor edx, edx
mov r8d, 0x3b80
mov qword [rsp + 0x68], rsi
lea rsi, [r14 + 0x3f4]
mov qword [rsp + 0x70], 0xffffffffffffff9c
mov rcx, rsi
mov qword [rsp + 0xa8], rdi
mov qword [rsp + 0x100], rsi
call fcn.1400fa350
mov r14, rbp
lea r11d, [rdi - 2]
mov dword [rsi + 4], r11d
mov dword [rsi], r11d
cmp r15, rdi
cmovne r14, r15
mov rsi, rbx
mov word [rbp], di
shr rsi, 0x10
mov dword [rsp + 0x94], 2
mov word [rsp + 0x1d0], di
mov eax, esi
mov ebp, esi
and esi, 0x20
and eax, 0x10
and ebp, 8
mov qword [rsp + 0x110], r14
mov dword [rsp + 0x98], eax
movsx rax, bx
mov rbx, rdi
mov qword [rsp + 0x120], rdi
mov qword [rsp + 0xe0], rbx
mov qword [rsp + 0x128], rax
cmp r15, rdi
jne 0x140006b58
mov edx, 0x103
mov rcx, r14
call qword [sym.imp.KERNEL32.DLL_FindFirstVolumeW]
mov qword [rsp + 0x120], rax
cmp rax, 0xffffffffffffffff
je 0x140007581
mov eax, esi
neg eax
mov rax, qword [rsp + 0xb8]
sbb ecx, ecx
and ecx, 0x20
mov dword [rax], ecx
cmp r15, rdi
je 0x140006bef
lea rcx, [0x140115038]
mov r8d, 4
mov rdx, r15
call qword [sym.imp.SHLWAPI.DLL_StrCmpNW]
cmp eax, edi
jne 0x140006bb4
lea rax, [r15 + 8]
cmp word [rax], di
je 0x140006bb4
mov ecx, 0x3a
cmp cx, word [r15 + 0xa]
jne 0x140006bb4
mov qword [rsp + 0xe0], rax
movzx eax, word [rax]
mov word [rsp + 0x1d0], ax
jmp 0x140006bef
lea rcx, [0x140115028]
mov r8d, 0xb
mov rdx, r15
call fcn.14005a9ec
cmp al, dil
je 0x140006bef
lea rax, [r15 + 0x16]
cmp word [rax], di
je 0x140006bef
cmp word [r15 + 0x18], di
je 0x140006bef
cmp word [r15 + 0x1a], di
cmovne rbx, rax
mov qword [rsp + 0xe0], rbx
movsxd rax, esi
mov esi, 0x5c
mov qword [rsp + 0x138], rax
movsxd rax, ebp
mov qword [rsp + 0x150], rax
mov rcx, r14
mov ebx, 0x80000000
call qword [sym.imp.KERNEL32.DLL_lstrlenW]
mov qword [rsp + 0x108], r14
sub eax, 1
js 0x140006c34
movsxd rcx, eax
cmp si, word [r14 + rcx*2]
jne 0x140006c34
mov word [r14 + rcx*2], di
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_SetLastError]
cmp r15, rdi
je 0x140006c60
mov rcx, r14
call fcn.14000697c
cmp eax, edi
je 0x140006c60
mov r8d, 7
mov rdx, rbx
mov rcx, r14
call fcn.14001d394
jmp 0x140006c87
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov edx, ebx
lea r8d, [r9 + 7]
mov rcx, r14
mov dword [rsp + 0x28], 0x2000080
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.DLL_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400074ee
cmp rax, rdi
je 0x1400074ee
xor edx, edx
mov rcx, r13
lea r8d, [rdx + 0xc]
call fcn.1400fa350
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_SetLastError]
mov rsi, qword [rsp + 0xa0]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rsi
xor r9d, r9d
xor r8d, r8d
mov edx, 0x2d1080
mov rcx, rbx
mov dword [rsp + 0x28], 0xc
mov dword [r13 + 8], 0xffffffaa
mov dword [r13 + 4], 0xffffffaa
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.DLL_DeviceIoControl]
cmp eax, edi
je 0x140006d00
cmp dword [r13 + 4], edi
jge 0x140006d10
mov dword [r13 + 8], 0xffffffaa
mov dword [r13 + 4], 0xffffffaa
mov rbp, qword [rsp + 0x68]
xor edx, edx
mov r8d, 0x90
mov rcx, rbp
call fcn.1400fa350
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rsi
xor r9d, r9d
xor r8d, r8d
mov edx, 0x70048
mov rcx, rbx
mov dword [rsp + 0x28], 0x90
mov dword [rbp + 0x18], 0xffffffaa
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.DLL_DeviceIoControl]
mov esi, edi
mov r13d, edi
cmp eax, edi
je 0x140006d6a
mov esi, dword [rbp]
movzx r13d, byte [rbp + 0x20]
jmp 0x140006d79
mov qword [rbp + 0x10], rdi
mov qword [rbp + 8], rdi
mov dword [rbp + 0x18], 0xffffffaa
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rdx, qword [rsp + 0xa0]
cmp esi, 1
mov ebp, edi
sete bpl
cmp dword [rdx + 0x324], edi
jl 0x140006da7
cmp dword [rdx + 0x328], edi
jge 0x140006ff8
mov rsi, qword [rsp + 0xe0]
lea rcx, [rsp + 0xb0]
call fcn.140061940
lea rcx, [rsp + 0xd0]
call fcn.140061940
mov ax, word [rsp + 0x1d0]
cmp ax, di
je 0x140006ed5
lea rdx, [rsp + 0xb0]
movzx ecx, ax
call fcn.14005e1d0
mov rcx, qword [rsp + 0x60]
mov edx, 0x103
add rcx, 0x398
mov rsi, rdi
call qword [sym.imp.KERNEL32.DLL_FindFirstVolumeW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140006ed5
mov rcx, qword [rsp + 0x60]
add rcx, 0x398
call qword [sym.imp.KERNEL32.DLL_lstrlenW]
mov r8d, 0x5c
dec eax
movsxd rcx, eax
mov rax, qword [rsp + 0x60]
cmp r8w, word [rax + rcx*2 + 0x398]
jne 0x140006e46
mov word [rax + rcx*2 + 0x398], di
mov ecx, 0x3f
lea r8, [rax + 0x398]
lea rdx, [rsp + 0xd0]
mov word [rax + 0x39a], cx
lea rcx, [rax + 0x398]
call fcn.14008acd8
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.DLL_lstrcmpiW]
cmp eax, edi
je 0x140006eb2
mov rcx, qword [rsp + 0x60]
mov r8d, 0x103
lea rdx, [rcx + 0x398]
mov word [rcx + 0x398], di
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_FindNextVolumeW]
cmp eax, edi
je 0x140006ecc
jmp 0x140006e11
mov rax, qword [rsp + 0x60]
add rax, 0x398
mov r14, rax
mov qword [rsp + 0x110], rax
lea rsi, [rax + 0x16]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_FindVolumeClose]
mov rax, qword [rsp + 0x70]
cmp rax, 0xffffffffffffff9c
jg 0x140006efd
mov rcx, qword [rsp + 0x1c8]
lea rdx, [rsp + 0x88]
mov r8, rsi
call fcn.14008a7f8
mov qword [rsp + 0x70], rax
cmp rax, rdi
jle 0x140006f8e
mov rbx, qword [rsp + 0x88]
add rbx, 4
cmp rsi, rdi
jne 0x140006fb7
lea rcx, [0x140115010]
mov r8d, 0xb
mov rdx, r14
call qword [sym.imp.SHLWAPI.DLL_StrCmpNIW]
cmp eax, edi
jne 0x140006f8e
lea rax, [r14 + 0x16]
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x78]
mov r8d, 1
mov qword [rsp + 0x78], rax
call fcn.1400750f0
cmp al, dil
jle 0x140006f8e
cmp qword [rsp + 0x70], rdi
mov esi, edi
jle 0x140006f8e
lea rdx, [rsp + 0x158]
mov r8d, 0x10
mov rcx, rbx
call fcn.1400593a0
cmp eax, edi
je 0x140006fb7
inc esi
add rbx, 0x34
movsxd rax, esi
cmp rax, qword [rsp + 0x70]
jl 0x140006f64
mov rsi, qword [rsp + 0x68]
lea rcx, [rsp + 0xd0]
call fcn.140059370
lea rcx, [rsp + 0xb0]
call fcn.140059370
mov rdx, qword [rsp + 0xa0]
jmp 0x140006ffd
mov eax, dword [rbx + 0x10]
mov rsi, qword [rsp + 0xa0]
or ebp, 0x10
mov dword [rsi + 0x324], eax
mov eax, dword [rbx + 0x14]
mov dword [rsi + 0x328], eax
mov eax, dword [rbx + 0x18]
mov dword [rsi + 0x320], eax
mov rax, qword [rbx + 0x20]
mov rsi, qword [rsp + 0x68]
mov r13d, dword [rbx + 0x1c]
mov qword [rsi + 8], rax
mov rax, qword [rbx + 0x28]
mov qword [rsi + 0x10], rax
jmp 0x140006f93
mov rsi, qword [rsp + 0x68]
mov rax, qword [rsp + 0x128]
cmp ax, di
jl 0x140007017
cwde
cmp eax, dword [rdx + 0x328]
jne 0x1400074e1
mov rcx, qword [rsp + 0x1c8]
cmp rcx, rdi
jl 0x140007034
movsxd rax, dword [rdx + 0x324]
cmp rcx, rax
jne 0x1400074e1
movsxd rax, dword [rsp + 0x98]
cmp rax, rdi
jne 0x14000756b
mov r12, qword [rsp + 0x118]
mov rdx, qword [rsi + 8]
mov rcx, r12
call fcn.1400df64c
mov rdx, qword [rsi + 0x10]
mov rcx, qword [rsp + 0xd8]
call fcn.1400df64c
mov rbx, qword [rsp + 0xe8]
mov rcx, rbx
cmp ebp, 1
jne 0x140007088
lea rdx, [rsi + 0x20]
xor r8d, r8d
call fcn.14005ddb0
jmp 0x140007098
lea rdx, [0x140115008]
mov r8d, r13d
call qword [sym.imp.USER32.DLL_wsprintfW]
cmp qword [rsp + 0x138], rdi
je 0x1400070c6
mov rdx, qword [rsp + 0xb8]
lea r9, [0x140116830]
mov r8d, 0x13
add rdx, 2
mov rcx, r15
mov word [rdx], di
call fcn.140073de8
mov r13, qword [rsp + 0x80]
mov rdx, qword [rsp + 0xb8]
mov r8, qword [rsp + 0x108]
mov eax, dword [r13]
mov qword [rsp + 0x50], rdx
mov rdx, qword [rsp + 0xd8]
mov qword [rsp + 0x48], rdx
or ecx, 0xffffffff
cmp dword [r13 + 4], edi
cmovge ecx, dword [r13 + 4]
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
or r15d, 0xffffffff
cmp dword [r13 + 8], edi
cmovge r15d, dword [r13 + 8]
mov dword [rsp + 0x90], ecx
lea r9, [0x1401145d8]
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], ecx
mov rcx, qword [rsp + 0x60]
lea rdx, [0x140114fd0]
mov dword [rsp + 0xf0], eax
call qword [sym.imp.USER32.DLL_wsprintfW]
mov rcx, qword [rsp + 0x1c0]
or esi, 0xffffffff
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.DLL_lstrlenW]
movsxd rbp, dword [r13 + 4]
lea r9, [rsp + 0xa8]
xor r8d, r8d
xor edx, edx
mov rcx, r14
mov dword [rsp + 0xc0], eax
mov rbx, r14
call fcn.14001d44c
cmp rax, rdi
je 0x14000719b
mov rax, qword [rsp + 0xa8]
cmp rax, rdi
je 0x14000719b
cmp word [rax], di
cmovne rbx, rax
cmp qword [rsp + 0x150], rdi
je 0x14000749a
mov rsi, qword [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_lstrlenW]
mov edx, 0x20
movsxd rcx, eax
lea rax, [rsi + rcx*2]
mov word [rax], dx
add rax, 2
mov rcx, rax
mov word [rax], di
sub rcx, rsi
mov rsi, rax
sar rcx, 1
mov qword [rsp + 0x78], rcx
mov cx, word [rsp + 0x1d0]
cmp cx, di
je 0x1400071fe
mov word [rax], cx
lea ecx, [rdx + 0x1a]
add rax, 4
mov word [rax - 2], cx
mov word [rax], di
jmp 0x140007224
movsxd r8, dword [r13 + 8]
mov r9, qword [rsp + 0x100]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rdx
mov rcx, rax
mov rdx, rbp
mov qword [rsp + 0x20], rdi
call fcn.1400749a8
sub rax, rsi
sar rax, 1
cmp eax, edi
ja 0x140007495
mov rax, qword [rsp + 0x70]
mov word [rsi - 2], di
cmp rax, 0xffffffffffffff9c
jg 0x14000725e
mov rcx, qword [rsp + 0x1c8]
lea rdx, [rsp + 0x88]
xor r8d, r8d
call fcn.14008a7f8
mov qword [rsp + 0x70], rax
cmp rax, rdi
jle 0x140007495
mov r13, qword [rsp + 0x88]
lea rcx, [0x140115010]
mov r8d, 0xb
mov rdx, r14
add r13, 4
call qword [sym.imp.SHLWAPI.DLL_StrCmpNIW]
cmp eax, edi
jne 0x14000748d
lea rcx, [rsp + 0xc8]
mov dword [rsp + 0x9c], edi
call fcn.140061664
mov eax, 0x3f
lea r9, [rsp + 0xc8]
mov word [r14 + 2], ax
lea rax, [rsp + 0x9c]
lea rdx, [0x140114fa0]
mov r8, r14
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.1400671f0
cmp dword [rsp + 0x9c], 0x18
mov rbx, qword [rsp + 0xc8]
jne 0x140007325
lea rcx, [0x14011cc30]
mov r8d, 8
mov rdx, rbx
call fcn.1400593a0
cmp eax, edi
jne 0x140007325
lea rdx, [rbx + 8]
lea rcx, [rsp + 0x140]
mov r8d, 0x10
call fcn.14001d310
mov bl, 2
jmp 0x14000734f
lea rax, [r14 + 0x16]
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x130]
mov r8d, 1
mov qword [rsp + 0x130], rax
call fcn.1400750f0
mov rbx, rax
lea rcx, [rsp + 0xc8]
call fcn.140059370
cmp bl, dil
jle 0x14000748d
cmp qword [rsp + 0x70], rdi
mov r12d, edi
jle 0x14000748d
mov r14d, dword [rsp + 0xf0]
lea rbx, [r13 + 0x14]
lea rdx, [rsp + 0x140]
mov r8d, 0x10
mov rcx, r13
call fcn.1400593a0
cmp eax, edi
jne 0x14000746c
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x140]
xor r8d, r8d
xor r9d, r9d
call fcn.14008af48
mov ebp, eax
mov eax, dword [rsp + 0x90]
cmp eax, edi
jl 0x1400073d1
cmp r15d, edi
jl 0x1400073e0
cmp r14d, edi
jge 0x14000744c
jmp 0x1400073db
mov eax, dword [rbx - 4]
mov dword [rsp + 0x90], eax
cmp r15d, edi
jge 0x1400073e3
mov r15d, dword [rbx]
cmp r14d, edi
jge 0x1400073ec
mov r14d, dword [rbx + 4]
mov rcx, qword [rsp + 0xd8]
mov rsi, qword [rsp + 0x60]
mov r8, qword [rsp + 0x108]
mov qword [rsp + 0x48], rcx
mov rcx, qword [rsp + 0x118]
lea r9, [0x1401145d8]
mov qword [rsp + 0x40], rcx
mov rcx, qword [rsp + 0xe8]
lea rdx, [0x140114f68]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], r14d
mov rcx, rsi
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.DLL_wsprintfW]
movsxd rcx, eax
lea rsi, [rsi + rcx*2]
cmp ebp, edi
jle 0x14000746c
mov word [rsi], bp
mov eax, 0x20
add rsi, 4
mov word [rsi - 6], ax
mov eax, 0x3a
mov word [rsi - 2], ax
mov word [rsi], di
inc r12d
add r13, 0x34
add rbx, 0x34
movsxd rax, r12d
cmp rax, qword [rsp + 0x70]
jl 0x14000737f
mov r14, qword [rsp + 0x110]
mov r13, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x60]
movsxd rbp, dword [rsp + 0x94]
mov rbx, qword [rsp + 0x1c0]
lea rdx, [rcx + rbp*2]
mov rcx, rbx
call fcn.140061a7c
mov eax, dword [rsp + 0xc0]
mov r15, qword [rsp + 0x1d8]
sub eax, ebp
mov dword [rsp + 0x94], edi
add eax, esi
movsxd rcx, eax
mov rax, qword [rbx]
lea r12, [rax + rcx*2]
jmp 0x1400074e9
mov r13, qword [rsp + 0x80]
mov esi, 0x5c
mov rbx, qword [rsp + 0x120]
cmp rbx, rdi
je 0x140007522
mov r8d, 0x103
mov rdx, r14
mov rcx, rbx
mov word [r14], di
call qword [sym.imp.KERNEL32.DLL_FindNextVolumeW]
cmp eax, edi
jne 0x140006c0a
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_FindVolumeClose]
lea rcx, [rsp + 0xa8]
call fcn.140059370
lea rcx, [rsp + 0x88]
call fcn.140059370
lea rcx, [rsp + 0xf8]
call fcn.140059370
cmp dword [rsp + 0x98], edi
cmovne r12, rdi
mov rax, r12
add rsp, 0x178
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rbx, qword [rsp + 0x1c0]
mov rdx, r14
mov rcx, rbx
call fcn.14006d930
mov rdi, qword [rbx]
lea rcx, [rsp + 0xa8]
call fcn.140059370
lea rcx, [rsp + 0x88]
call fcn.140059370
lea rcx, [rsp + 0xf8]
call fcn.140059370
mov rax, rdi
jmp 0x140007557