Function at 0x14003d8b0
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 [0x14017b608]
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 [0x14017b048]
lea rdx, [0x14017b048]
cmp rcx, rdx
je 0x14003d951
test dword [rcx + 0x1c], 0x200
je 0x14003d951
cmp byte [rcx + 0x19], 4
jb 0x14003d951
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x39]
lea r8, [0x140156d68]
call fcn.140004c10
mov rcx, qword [0x14017b048]
mov rax, qword [rsp + 0x58]
mov r15b, dil
mov edx, 1
test rbx, rbx
jne 0x14003d968
mov edi, 0x80004003
jmp 0x14003e133
mov dword [rbx], edi
test rax, rax
jne 0x14003d979
mov edi, 0x80004003
jmp 0x14003e12c
mov rcx, r13
mov qword [rax], rdi
call fcn.1400535c4
mov edi, eax
test eax, eax
js 0x14003e127
mov al, byte [0x14017d3e0]
lea rdx, [rsp + 0x38]
mov edi, 1
lea rcx, [rsp + 0x48]
and al, dil
mov byte [rsp + 0x30], al
call fcn.1400903e4
test eax, eax
jns 0x14003d9e8
mov rcx, qword [0x14017b048]
lea rdx, [0x14017b048]
cmp rcx, rdx
je 0x14003d9e8
test byte [rcx + 0x1c], dil
je 0x14003d9e8
cmp byte [rcx + 0x19], 3
jb 0x14003d9e8
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x39]
mov r9d, eax
lea r8, [0x140156d68]
call fcn.140004c3c
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 0x14003da68
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14017b048]
lea rsi, [0x14017b048]
cmp rcx, rsi
je 0x14003da55
test byte [rcx + 0x1c], 1
je 0x14003da55
cmp byte [rcx + 0x19], 2
jb 0x14003da55
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x3c]
mov r9d, eax
lea r8, [0x140156d68]
call fcn.140004c3c
mov rcx, qword [0x14017b048]
movzx edi, bx
or edi, 0x80070000
test ebx, ebx
cmovle edi, ebx
jmp 0x14003e0fc
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 0x14003da68
mov dword [rsp + 0x3c], r12d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0x12
jne 0x14003e075
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 0x14003dae0
mov edi, 0x8007000e
jmp 0x14003e0ee
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 0x14003dc0b
test r12d, r12d
jne 0x14003db19
lea r8, str.cVolume___cMaxVolume
mov edx, 0x3ba
lea rcx, str.base_stor_blbengine_serviceengine.cpp
call fcn.140087b08
lea rcx, [0x14017c300]
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 0x14003dba1
mov rdx, rsi
call fcn.14014288c
mov edi, eax
test eax, eax
jns 0x14003db96
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x14003e0da
test byte [rcx + 0x1c], r15b
je 0x14003e0da
cmp byte [rcx + 0x19], 2
jb 0x14003e0da
mov rcx, qword [rcx + 0x10]
lea r8, [0x140156d68]
mov edx, 0x3d
mov r9d, edi
call fcn.140004c3c
jmp 0x14003e0d3
mov edi, 1
mov r14d, edi
mov bl, dil
lea rcx, [0x14017c300]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
xor r15d, r15d
test bl, bl
jne 0x14003dc07
mov r8, rsi
mov dl, dil
xor ecx, ecx
call fcn.14004afec
test eax, eax
jns 0x14003dc04
mov rcx, qword [0x14017b048]
lea rdx, [0x14017b048]
cmp rcx, rdx
je 0x14003dc07
test byte [rcx + 0x1c], dil
je 0x14003dc07
cmp byte [rcx + 0x19], 3
jb 0x14003dc07
mov rcx, qword [rcx + 0x10]
lea edx, [r15 + 0x3e]
mov r9d, eax
lea r8, [0x140156d68]
call fcn.140004c3c
jmp 0x14003dc07
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 0x14003dc87
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x14003dc74
test byte [rcx + 0x1c], 1
je 0x14003dc74
cmp byte [rcx + 0x19], 2
jb 0x14003dc74
mov rcx, qword [rcx + 0x10]
lea edx, [r13 + 0x40]
mov r9d, ebx
lea r8, [0x140156d68]
call fcn.140004c3c
mov rcx, qword [0x14017b048]
movzx edi, bx
or edi, 0x80070000
test ebx, ebx
cmovle edi, ebx
jmp 0x14003e0da
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x14003dcc1
mov eax, 1
test byte [rcx + 0x1c], al
je 0x14003dcc1
cmp byte [rcx + 0x19], 4
jb 0x14003dcc1
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x3f]
lea r9, [rbp - 0x80]
lea r8, [0x140156d68]
call fcn.140005cd0
test bl, bl
je 0x14003de45
lea rax, [rbp - 0x80]
or rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], r15w
jne 0x14003dcd1
lea r8, [rsp + 0x70]
lea rcx, [rbp - 0x80]
call fcn.14008b570
mov edi, eax
test eax, eax
jns 0x14003dcf7
mov edi, r15d
jmp 0x14003de16
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
mov r15d, dword [rsp + 0x34]
mov ebx, 1
cmp rcx, rax
je 0x14003dd7e
test byte [rcx + 0x1c], bl
je 0x14003dd7e
cmp byte [rcx + 0x19], 4
jb 0x14003dd7e
or r15d, ebx
lea rdx, [0x14017d518]
or r15d, 2
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x34], r15d
call fcn.14001020c
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x60]
mov rbx, qword [rax]
call fcn.14001020c
mov rcx, qword [0x14017b048]
lea r8, [0x140156d68]
mov edx, 0x41
mov qword [rsp + 0x20], rbx
mov r9, qword [rax]
mov rcx, qword [rcx + 0x10]
call fcn.140005dc4
mov rcx, qword [0x14017b048]
mov ebx, 1
test r15b, 2
je 0x14003dda5
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 [0x14017b048]
test bl, r15b
je 0x14003ddcb
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 [0x14017b048]
mov rax, qword [rsp + 0x70]
cmp rax, qword [0x14017d518]
jne 0x14003de40
mov rax, qword [rsp + 0x78]
cmp rax, qword [0x14017d520]
jne 0x14003de40
lea rax, [0x14017b048]
cmp rcx, rax
je 0x14003de13
test byte [rcx + 0x1c], bl
je 0x14003de13
cmp byte [rcx + 0x19], 4
jb 0x14003de13
mov rcx, qword [rcx + 0x10]
lea r8, [0x140156d68]
mov edx, 0x42
call fcn.140004c10
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 0x14003df86
mov bl, byte [rsp + 0x30]
jmp 0x14003dc87
xor r15d, r15d
jmp 0x14003de4a
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 0x14003de16
cmp r14d, r12d
jb 0x14003dec9
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 0x14003df7c
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 0x14003dffe
mov ebx, r14d
lea rcx, [rbp - 0x80]
shl rbx, 7
xor edx, edx
add rbx, rsi
mov r8, rbx
call fcn.14004afec
mov edi, eax
test eax, eax
jns 0x14003df46
cmp eax, 0x8007000e
je 0x14003e0c4
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x14003dcef
test dword [rcx + 0x1c], 0x200
je 0x14003dcef
cmp byte [rcx + 0x19], 3
jb 0x14003dcef
mov rcx, qword [rcx + 0x10]
lea rax, [rbp - 0x80]
mov edx, 0x43
mov qword [rsp + 0x20], rax
mov r9d, edi
lea r8, [0x140156d68]
call fcn.1400103b0
jmp 0x14003dcef
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14003df74
mov rdx, qword [rbx + 0x60]
test rdx, rdx
je 0x14003df74
movzx eax, word [rsp + 0x38]
cmp ax, word [rbx + 0x5c]
jne 0x14003df74
mov r8d, eax
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x14003df74
or dword [rbx + 0x58], 2
inc r14d
jmp 0x14003de16
mov edi, 0x8007000e
jmp 0x14003e0c4
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0x12
jne 0x14003e03a
test r14d, r14d
jne 0x14003dfbb
test rsi, rsi
je 0x14003e008
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rsi, r15
jmp 0x14003e01d
cmp r14d, r12d
jbe 0x14003e008
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x14003dffe
mov eax, 1
test byte [rcx + 0x1c], al
je 0x14003dffe
cmp byte [rcx + 0x19], 2
jb 0x14003dffe
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x44]
mov r9d, r14d
mov dword [rsp + 0x20], r12d
lea r8, [0x140156d68]
call fcn.140010290
mov edi, 0x8000ffff
jmp 0x14003e0c4
mov edx, r14d
mov rcx, rsi
call fcn.140111c20
mov edi, eax
test eax, eax
js 0x14003e0c4
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 0x14003e0c4
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x14003e0b6
mov eax, 1
test byte [rcx + 0x1c], al
je 0x14003e0b6
cmp byte [rcx + 0x19], 2
jb 0x14003e0b6
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x43]
mov r9d, ebx
lea r8, [0x140156d68]
call fcn.140004c3c
jmp 0x14003e0b6
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x14003e0ae
mov eax, 1
test byte [rcx + 0x1c], al
je 0x14003e0ae
cmp byte [rcx + 0x19], 2
jb 0x14003e0ae
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x3b]
mov r9d, ebx
lea r8, [0x140156d68]
call fcn.140004c3c
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 [0x14017b048]
test rsi, rsi
je 0x14003e0f5
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x40]
call fcn.140141df4
mov rcx, qword [0x14017b048]
lea rsi, [0x14017b048]
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x14003e11c
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14017b048]
test edi, edi
jns 0x14003e169
mov edx, 1
jmp 0x14003e13a
mov edx, 1
mov rcx, qword [0x14017b048]
lea rsi, [0x14017b048]
cmp rcx, rsi
je 0x14003e192
test byte [rcx + 0x1c], dl
je 0x14003e169
cmp byte [rcx + 0x19], 2
jb 0x14003e169
mov rcx, qword [rcx + 0x10]
lea r8, [0x140156d68]
mov edx, 0x46
mov r9d, edi
call fcn.140004c3c
mov rcx, qword [0x14017b048]
cmp rcx, rsi
je 0x14003e192
test dword [rcx + 0x1c], 0x200
je 0x14003e192
cmp byte [rcx + 0x19], 4
jb 0x14003e192
mov rcx, qword [rcx + 0x10]
lea r8, [0x140156d68]
mov edx, 0x47
call fcn.140004c10
test r15b, r15b
je 0x14003e1aa
lea rcx, [0x14017c300]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov eax, edi
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14014bb60
mov rbx, qword [rsp + 0x2f8]
add rsp, 0x2a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret