Function at 0x140052b90
Capabilities:
Enumerate disk volumes

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x14016a508]
xor rax, rsp
mov qword [rbp + 0x160], rax
xor r13d, r13d
mov qword [rsp + 0x40], rdx
mov rax, r8
mov byte [rsp + 0x31], r13b
xor r15d, r15d
mov qword [rsp + 0x38], rax
xor r14d, r14d
mov byte [rsp + 0x32], r13b
mov rdi, rdx
mov rbx, rcx
mov rcx, qword [0x14016a048]
lea rsi, [0x14016a048]
cmp rcx, rsi
je 0x140052c28
test dword [rcx + 0x1c], 0x200
je 0x140052c28
cmp byte [rcx + 0x19], 4
jb 0x140052c28
mov rcx, qword [rcx + 0x10]
lea edx, [r13 + 0x48]
lea r8, [0x14014b118]
call fcn.14000c0e8
mov rcx, qword [0x14016a048]
mov rax, qword [rsp + 0x38]
test rdi, rdi
jne 0x140052c34
mov ebx, 0x80004003
jmp 0x140052c4c
and dword [rdi], r13d
test rax, rax
jne 0x140052ccf
mov ebx, 0x80004003
mov rcx, qword [0x14016a048]
cmp rcx, rsi
je 0x140052ca2
test byte [rcx + 0x1c], 1
je 0x140052c7c
cmp byte [rcx + 0x19], 2
jb 0x140052c7c
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b118]
mov edx, 0x52
mov r9d, ebx
call fcn.14000c114
mov rcx, qword [0x14016a048]
cmp rcx, rsi
je 0x140052ca2
test byte [rcx + 0x1c], 1
je 0x140052ca2
cmp byte [rcx + 0x19], 4
jb 0x140052ca2
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b118]
mov edx, 0x53
call fcn.14000c0e8
mov eax, ebx
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.1400071e0
mov rbx, qword [rsp + 0x2c8]
add rsp, 0x270
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
and qword [rax], r13
mov rcx, rbx
call fcn.14004c0d4
mov ebx, eax
test eax, eax
js 0x140052c45
mov ebx, 0x104
lea rcx, [rsp + 0x50]
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
nop dword [rax + rax]
mov r12, rax
cmp rax, 0xffffffffffffffff
jne 0x140052d60
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14016a048]
cmp rcx, rsi
je 0x140052d4a
test byte [rcx + 0x1c], 1
je 0x140052d4a
cmp byte [rcx + 0x19], 2
jb 0x140052d4a
mov rcx, qword [rcx + 0x10]
lea edx, [r12 + 0x4a]
mov r9d, eax
lea r8, [0x14014b118]
call fcn.14000c23c
mov rcx, qword [0x14016a048]
test ebx, ebx
jle 0x1400531d2
movzx ebx, bx
or ebx, 0x80070000
jmp 0x1400531d0
mov r8d, ebx
lea rdx, [rsp + 0x50]
mov rcx, r12
inc r13d
call qword [sym.imp.KERNEL32.dll_FindNextVolumeW]
nop dword [rax + rax]
test eax, eax
jne 0x140052d60
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
cmp eax, 0x12
jne 0x140053143
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
nop dword [rax + rax]
lea rbx, [r13*2]
add rbx, r13
shl rbx, 5
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov r14, rax
test rax, rax
jne 0x140052dd4
mov ebx, 0x8007000e
jmp 0x140052c45
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
mov edx, 0x104
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
nop dword [rax + rax]
mov r12, rax
cmp rax, 0xffffffffffffffff
jne 0x140052e54
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14016a048]
cmp rcx, rsi
je 0x140052e3e
test byte [rcx + 0x1c], 1
je 0x140052e3e
cmp byte [rcx + 0x19], 2
jb 0x140052e3e
mov rcx, qword [rcx + 0x10]
lea edx, [r12 + 0x4c]
mov r9d, eax
lea r8, [0x14014b118]
call fcn.14000c23c
test ebx, ebx
jle 0x140053196
movzx ebx, bx
or ebx, 0x80070000
jmp 0x140053196
mov ebx, 0x8007000e
lea rdx, [rsp + 0x30]
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x50]
call fcn.14010fd8c
test eax, eax
jns 0x140052eb1
mov rcx, qword [0x14016a048]
cmp rcx, rsi
je 0x140052eaa
test dword [rcx + 0x1c], 0x200
je 0x140052eaa
cmp byte [rcx + 0x19], 3
jb 0x140052eaa
mov edx, 0x4c
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x50]
lea r8, [0x14014b118]
mov dword [rsp + 0x20], eax
call fcn.140014f78
xor edi, edi
jmp 0x140053043
cmp byte [rsp + 0x30], 0
jne 0x140052eef
mov rcx, qword [0x14016a048]
cmp rcx, rsi
je 0x140052eaa
test dword [rcx + 0x1c], 0x200
je 0x140052eaa
cmp byte [rcx + 0x19], 3
jb 0x140052eaa
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x50]
mov edx, 0x4d
lea r8, [0x14014b118]
call fcn.140014f10
jmp 0x140052eaa
cmp r15d, r13d
jne 0x140052f46
lea esi, [r13 + 8]
mov rcx, r14
lea rdx, [rsi + rsi*2]
shl rdx, 5
call qword [sym.imp.ole32.dll_CoTaskMemRealloc]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x1400530ac
mov ecx, r13d
xor edx, edx
mov r8d, 0x300
lea rcx, [rcx + rcx*2]
shl rcx, 5
add rcx, rax
call sub.msvcrt.dll_memset
mov r13d, esi
mov r14, rdi
cmp r15d, r13d
lea rsi, [0x14016a048]
jae 0x1400530ef
lea rsi, [r15 + r15*2]
shl rsi, 5
lea rcx, [rsp + 0x50]
add rsi, r14
mov rdx, rsi
call fcn.140048c14
mov edi, eax
test eax, eax
jns 0x140052f80
cmp eax, ebx
je 0x140053180
xor edi, edi
lea rsi, [0x14016a048]
jmp 0x140053043
lea r8, [rsp + 0x32]
lea rdx, [rsp + 0x31]
lea rcx, [rsp + 0x50]
call fcn.14010feb0
test eax, eax
jns 0x140052fcd
mov rcx, qword [0x14016a048]
lea rsi, [0x14016a048]
cmp rcx, rsi
je 0x140052eaa
test byte [rcx + 0x1c], 1
je 0x140052eaa
cmp byte [rcx + 0x19], 3
jb 0x140052eaa
mov edx, 0x4f
jmp 0x140052e91
cmp byte [rsp + 0x31], 0
jne 0x140052fdf
cmp byte [rsp + 0x32], 0
je 0x140052fdf
mov al, 1
jmp 0x140052fe1
xor al, al
lea rdx, [rsi + 0x5c]
mov byte [rsi + 0x49], al
lea rcx, [rsp + 0x50]
call fcn.14010c490
mov edi, eax
test eax, eax
jns 0x140053039
mov rcx, qword [0x14016a048]
lea rsi, [0x14016a048]
cmp rcx, rsi
je 0x140053035
test byte [rcx + 0x1c], 1
je 0x140053035
cmp byte [rcx + 0x19], 3
jb 0x140053035
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x50]
mov edx, 0x50
mov dword [rsp + 0x20], eax
lea r8, [0x14014b118]
call fcn.140014f78
xor edi, edi
jmp 0x140053040
lea rsi, [0x14016a048]
inc r15d
mov r8d, 0x104
lea rdx, [rsp + 0x50]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextVolumeW]
nop dword [rax + rax]
test eax, eax
jne 0x140052e59
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0x12
jne 0x1400530b3
test r15d, r15d
jne 0x140053094
test r14, r14
je 0x140053094
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
xor r14d, r14d
mov rax, qword [rsp + 0x40]
mov dword [rax], r15d
mov rax, qword [rsp + 0x38]
mov qword [rax], r14
xor r14d, r14d
jmp 0x140053180
mov edi, ebx
jmp 0x140053180
mov rcx, qword [0x14016a048]
cmp rcx, rsi
je 0x1400530e3
test byte [rcx + 0x1c], 1
je 0x1400530e3
cmp byte [rcx + 0x19], 2
jb 0x1400530e3
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b118]
mov edx, 0x51
mov r9d, ebx
call fcn.14000c23c
test ebx, ebx
jle 0x1400530ac
movzx edi, bx
jmp 0x14005317a
lea r8, str.cTarget___cMaxTarget
mov edx, 0x534
lea rcx, str.base_stor_blbengine_serviceengine.cpp
call fcn.140088f60
mov rcx, qword [0x14016a048]
cmp rcx, rsi
je 0x14005313c
test byte [rcx + 0x1c], 1
je 0x14005313c
cmp byte [rcx + 0x19], 2
jb 0x14005313c
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b118]
mov edx, 0x4e
mov dword [rsp + 0x20], r13d
mov r9d, r15d
call fcn.14004075c
mov edi, 0x8000ffff
jmp 0x140053180
mov rcx, qword [0x14016a048]
cmp rcx, rsi
je 0x140053173
test byte [rcx + 0x1c], 1
je 0x140053173
cmp byte [rcx + 0x19], 2
jb 0x140053173
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b118]
mov edx, 0x4a
mov r9d, edi
call fcn.14000c23c
test edi, edi
jle 0x140053180
movzx edi, di
or edi, 0x80070000
mov rcx, r12
mov ebx, edi
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
nop dword [rax + rax]
test r14, r14
je 0x1400531c2
test r13d, r13d
je 0x1400531b3
mov rdi, r14
mov esi, r13d
mov rcx, rdi
call fcn.1401396b4
add rdi, 0x60
sub rsi, 1
jne 0x1400531a1
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14016a048]
lea rsi, [0x14016a048]
test ebx, ebx
jns 0x140052c7c
jmp 0x140052c4c