Function at 0x14003daf0
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x140183808]
xor rax, rsp
mov qword [rbp + 0x190], rax
xor edi, edi
mov qword [rsp + 0x68], rdx
mov rax, r8
mov dword [rsp + 0x34], edi
mov qword [rsp + 0x58], rax
mov r12d, edi
mov r14d, edi
mov qword [rsp + 0x40], rdi
mov esi, edi
mov qword [rsp + 0x48], rdi
mov word [rsp + 0x38], di
mov rbx, rdx
mov r13, rcx
mov rcx, qword [0x140183048]
lea rdx, [0x140183048]
cmp rcx, rdx
je 0x14003db91
test dword [rcx + 0x1c], 0x200
je 0x14003db91
cmp byte [rcx + 0x19], 4
jb 0x14003db91
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x39]
lea r8, [0x14015df88]
call fcn.140004e50
mov rcx, qword [0x140183048]
mov rax, qword [rsp + 0x58]
mov r15b, dil
mov edx, 1
test rbx, rbx
jne 0x14003dba8
mov edi, 0x80004003
jmp 0x14003e373
mov dword [rbx], edi
test rax, rax
jne 0x14003dbb9
mov edi, 0x80004003
jmp 0x14003e36c
mov rcx, r13
mov qword [rax], rdi
call fcn.140053804
mov edi, eax
test eax, eax
js 0x14003e367
mov al, byte [0x140185840]
lea rdx, [rsp + 0x38]
mov edi, 1
lea rcx, [rsp + 0x48]
and al, dil
mov byte [rsp + 0x30], al
call fcn.140097da4
test eax, eax
jns 0x14003dc28
mov rcx, qword [0x140183048]
lea rdx, [0x140183048]
cmp rcx, rdx
je 0x14003dc28
test byte [rcx + 0x1c], dil
je 0x14003dc28
cmp byte [rcx + 0x19], 3
jb 0x14003dc28
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x39]
mov r9d, eax
lea r8, [0x14015df88]
call fcn.140004e7c
mov edx, 0x104
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
nop dword [rax + rax]
mov qword [rsp + 0x50], rax
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14003dca8
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x140183048]
lea rsi, [0x140183048]
cmp rcx, rsi
je 0x14003dc95
test byte [rcx + 0x1c], 1
je 0x14003dc95
cmp byte [rcx + 0x19], 2
jb 0x14003dc95
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x3c]
mov r9d, eax
lea r8, [0x14015df88]
call fcn.140004e7c
mov rcx, qword [0x140183048]
movzx edi, bx
or edi, 0x80070000
test ebx, ebx
cmovle edi, ebx
jmp 0x14003e33c
mov r8d, 0x104
lea rdx, [rbp - 0x80]
mov rcx, rdi
inc r12d
call qword [sym.imp.KERNEL32.dll_FindNextVolumeW]
nop dword [rax + rax]
test eax, eax
jne 0x14003dca8
mov dword [rsp + 0x3c], r12d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0x12
jne 0x14003e2b5
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
nop dword [rax + rax]
mov ebx, r12d
shl rbx, 7
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov qword [rsp + 0x40], rax
mov rsi, rax
test rax, rax
jne 0x14003dd20
mov edi, 0x8007000e
jmp 0x14003e32e
mov r8, rbx
xor edx, edx
mov rcx, rsi
call sub.msvcrt.dll_memset
mov bl, byte [rsp + 0x30]
xor r15d, r15d
test bl, bl
je 0x14003de4b
test r12d, r12d
jne 0x14003dd59
lea r8, str.cVolume___cMaxVolume
mov edx, 0x3ba
lea rcx, str.base_stor_blbengine_serviceengine.cpp
call fcn.14008f4c8
lea rcx, [0x140184760]
mov bl, r15b
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
mov rcx, qword [r13 + 0x68]
mov edi, 1
mov r15b, dil
test rcx, rcx
je 0x14003dde1
mov rdx, rsi
call fcn.14014a24c
mov edi, eax
test eax, eax
jns 0x14003ddd6
mov rcx, qword [0x140183048]
lea rax, [0x140183048]
cmp rcx, rax
je 0x14003e31a
test byte [rcx + 0x1c], r15b
je 0x14003e31a
cmp byte [rcx + 0x19], 2
jb 0x14003e31a
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015df88]
mov edx, 0x3d
mov r9d, edi
call fcn.140004e7c
jmp 0x14003e313
mov edi, 1
mov r14d, edi
mov bl, dil
lea rcx, [0x140184760]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
xor r15d, r15d
test bl, bl
jne 0x14003de47
mov r8, rsi
mov dl, dil
xor ecx, ecx
call fcn.14004b22c
test eax, eax
jns 0x14003de44
mov rcx, qword [0x140183048]
lea rdx, [0x140183048]
cmp rcx, rdx
je 0x14003de47
test byte [rcx + 0x1c], dil
je 0x14003de47
cmp byte [rcx + 0x19], 3
jb 0x14003de47
mov rcx, qword [rcx + 0x10]
lea edx, [r15 + 0x3e]
mov r9d, eax
lea r8, [0x14015df88]
call fcn.140004e7c
jmp 0x14003de47
add r14d, edi
mov bl, byte [rsp + 0x30]
mov edx, 0x104
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
nop dword [rax + rax]
mov r13, rax
cmp rax, 0xffffffffffffffff
jne 0x14003dec7
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x140183048]
lea rax, [0x140183048]
cmp rcx, rax
je 0x14003deb4
test byte [rcx + 0x1c], 1
je 0x14003deb4
cmp byte [rcx + 0x19], 2
jb 0x14003deb4
mov rcx, qword [rcx + 0x10]
lea edx, [r13 + 0x40]
mov r9d, ebx
lea r8, [0x14015df88]
call fcn.140004e7c
mov rcx, qword [0x140183048]
movzx edi, bx
or edi, 0x80070000
test ebx, ebx
cmovle edi, ebx
jmp 0x14003e31a
mov rcx, qword [0x140183048]
lea rax, [0x140183048]
cmp rcx, rax
je 0x14003df01
mov eax, 1
test byte [rcx + 0x1c], al
je 0x14003df01
cmp byte [rcx + 0x19], 4
jb 0x14003df01
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x3f]
lea r9, [rbp - 0x80]
lea r8, [0x14015df88]
call fcn.140005f10
test bl, bl
je 0x14003e085
lea rax, [rbp - 0x80]
or rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], r15w
jne 0x14003df11
lea r8, [rsp + 0x70]
lea rcx, [rbp - 0x80]
call fcn.140092f30
mov edi, eax
test eax, eax
jns 0x14003df37
mov edi, r15d
jmp 0x14003e056
mov rcx, qword [0x140183048]
lea rax, [0x140183048]
mov r15d, dword [rsp + 0x34]
mov ebx, 1
cmp rcx, rax
je 0x14003dfbe
test byte [rcx + 0x1c], bl
je 0x14003dfbe
cmp byte [rcx + 0x19], 4
jb 0x14003dfbe
or r15d, ebx
lea rdx, [0x1401859e8]
or r15d, 2
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x34], r15d
call fcn.14001044c
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x60]
mov rbx, qword [rax]
call fcn.14001044c
mov rcx, qword [0x140183048]
lea r8, [0x14015df88]
mov edx, 0x41
mov qword [rsp + 0x20], rbx
mov r9, qword [rax]
mov rcx, qword [rcx + 0x10]
call fcn.140006004
mov rcx, qword [0x140183048]
mov ebx, 1
test r15b, 2
je 0x14003dfe5
mov rcx, qword [rsp + 0x60]
and r15d, 0xfffffffd
mov dword [rsp + 0x34], r15d
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
mov rcx, qword [0x140183048]
test bl, r15b
je 0x14003e00b
mov rcx, qword [rsp + 0x50]
and r15d, 0xfffffffe
mov dword [rsp + 0x34], r15d
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
mov rcx, qword [0x140183048]
mov rax, qword [rsp + 0x70]
cmp rax, qword [0x1401859e8]
jne 0x14003e080
mov rax, qword [rsp + 0x78]
cmp rax, qword [0x1401859f0]
jne 0x14003e080
lea rax, [0x140183048]
cmp rcx, rax
je 0x14003e053
test byte [rcx + 0x1c], bl
je 0x14003e053
cmp byte [rcx + 0x19], 4
jb 0x14003e053
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015df88]
mov edx, 0x42
call fcn.140004e50
xor r15d, r15d
mov r8d, 0x104
lea rdx, [rbp - 0x80]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindNextVolumeW]
nop dword [rax + rax]
test eax, eax
je 0x14003e1c6
mov bl, byte [rsp + 0x30]
jmp 0x14003dec7
xor r15d, r15d
jmp 0x14003e08a
mov ebx, 1
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
nop dword [rax + rax]
cmp eax, 3
movzx ecx, r15b
cmove ecx, ebx
mov edi, r15d
test cl, cl
je 0x14003e056
cmp r14d, r12d
jb 0x14003e109
lea ebx, [r12 + 8]
mov rcx, rsi
mov edx, ebx
shl rdx, 7
call qword [sym.imp.ole32.dll_CoTaskMemRealloc]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x14003e1bc
mov r8d, ebx
mov ecx, r12d
sub r8d, r12d
shl rcx, 7
shl r8, 7
add rcx, rax
xor edx, edx
call sub.msvcrt.dll_memset
mov dword [rsp + 0x3c], ebx
mov r12d, ebx
mov qword [rsp + 0x40], rdi
mov rsi, rdi
cmp r14d, ebx
jae 0x14003e23e
mov ebx, r14d
lea rcx, [rbp - 0x80]
shl rbx, 7
xor edx, edx
add rbx, rsi
mov r8, rbx
call fcn.14004b22c
mov edi, eax
test eax, eax
jns 0x14003e186
cmp eax, 0x8007000e
je 0x14003e304
mov rcx, qword [0x140183048]
lea rax, [0x140183048]
cmp rcx, rax
je 0x14003df2f
test dword [rcx + 0x1c], 0x200
je 0x14003df2f
cmp byte [rcx + 0x19], 3
jb 0x14003df2f
mov rcx, qword [rcx + 0x10]
lea rax, [rbp - 0x80]
mov edx, 0x43
mov qword [rsp + 0x20], rax
mov r9d, edi
lea r8, [0x14015df88]
call fcn.1400105f0
jmp 0x14003df2f
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14003e1b4
mov rdx, qword [rbx + 0x60]
test rdx, rdx
je 0x14003e1b4
movzx eax, word [rsp + 0x38]
cmp ax, word [rbx + 0x5c]
jne 0x14003e1b4
mov r8d, eax
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x14003e1b4
or dword [rbx + 0x58], 2
inc r14d
jmp 0x14003e056
mov edi, 0x8007000e
jmp 0x14003e304
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0x12
jne 0x14003e27a
test r14d, r14d
jne 0x14003e1fb
test rsi, rsi
je 0x14003e248
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rsi, r15
jmp 0x14003e25d
cmp r14d, r12d
jbe 0x14003e248
mov rcx, qword [0x140183048]
lea rax, [0x140183048]
cmp rcx, rax
je 0x14003e23e
mov eax, 1
test byte [rcx + 0x1c], al
je 0x14003e23e
cmp byte [rcx + 0x19], 2
jb 0x14003e23e
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x44]
mov r9d, r14d
mov dword [rsp + 0x20], r12d
lea r8, [0x14015df88]
call fcn.1400104d0
mov edi, 0x8000ffff
jmp 0x14003e304
mov edx, r14d
mov rcx, rsi
call fcn.1401195e0
mov edi, eax
test eax, eax
js 0x14003e304
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x40], r15
mov dword [rax], r14d
mov rax, qword [rsp + 0x58]
mov qword [rax], rsi
mov rsi, r15
jmp 0x14003e304
mov rcx, qword [0x140183048]
lea rax, [0x140183048]
cmp rcx, rax
je 0x14003e2f6
mov eax, 1
test byte [rcx + 0x1c], al
je 0x14003e2f6
cmp byte [rcx + 0x19], 2
jb 0x14003e2f6
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x43]
mov r9d, ebx
lea r8, [0x14015df88]
call fcn.140004e7c
jmp 0x14003e2f6
mov rcx, qword [0x140183048]
lea rax, [0x140183048]
cmp rcx, rax
je 0x14003e2ee
mov eax, 1
test byte [rcx + 0x1c], al
je 0x14003e2ee
cmp byte [rcx + 0x19], 2
jb 0x14003e2ee
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x3b]
mov r9d, ebx
lea r8, [0x14015df88]
call fcn.140004e7c
mov r13, qword [rsp + 0x50]
xor r15d, r15d
movzx edi, bx
or edi, 0x80070000
test ebx, ebx
cmovle edi, ebx
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
nop dword [rax + rax]
mov rcx, qword [0x140183048]
test rsi, rsi
je 0x14003e335
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x40]
call fcn.1401497b4
mov rcx, qword [0x140183048]
lea rsi, [0x140183048]
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x14003e35c
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x140183048]
test edi, edi
jns 0x14003e3a9
mov edx, 1
jmp 0x14003e37a
mov edx, 1
mov rcx, qword [0x140183048]
lea rsi, [0x140183048]
cmp rcx, rsi
je 0x14003e3d2
test byte [rcx + 0x1c], dl
je 0x14003e3a9
cmp byte [rcx + 0x19], 2
jb 0x14003e3a9
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015df88]
mov edx, 0x46
mov r9d, edi
call fcn.140004e7c
mov rcx, qword [0x140183048]
cmp rcx, rsi
je 0x14003e3d2
test dword [rcx + 0x1c], 0x200
je 0x14003e3d2
cmp byte [rcx + 0x19], 4
jb 0x14003e3d2
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015df88]
mov edx, 0x47
call fcn.140004e50
test r15b, r15b
je 0x14003e3ea
lea rcx, [0x140184760]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov eax, edi
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1401534b0
mov rbx, qword [rsp + 0x2f8]
add rsp, 0x2a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret