Function at 0x140052dd0
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 [0x140173708]
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 [0x140173048]
lea rsi, [0x140173048]
cmp rcx, rsi
je 0x140052e68
test dword [rcx + 0x1c], 0x200
je 0x140052e68
cmp byte [rcx + 0x19], 4
jb 0x140052e68
mov rcx, qword [rcx + 0x10]
lea edx, [r13 + 0x48]
lea r8, [0x140153368]
call fcn.14000c328
mov rcx, qword [0x140173048]
mov rax, qword [rsp + 0x38]
test rdi, rdi
jne 0x140052e74
mov ebx, 0x80004003
jmp 0x140052e8c
and dword [rdi], r13d
test rax, rax
jne 0x140052f0f
mov ebx, 0x80004003
mov rcx, qword [0x140173048]
cmp rcx, rsi
je 0x140052ee2
test byte [rcx + 0x1c], 1
je 0x140052ebc
cmp byte [rcx + 0x19], 2
jb 0x140052ebc
mov rcx, qword [rcx + 0x10]
lea r8, [0x140153368]
mov edx, 0x52
mov r9d, ebx
call fcn.14000c354
mov rcx, qword [0x140173048]
cmp rcx, rsi
je 0x140052ee2
test byte [rcx + 0x1c], 1
je 0x140052ee2
cmp byte [rcx + 0x19], 4
jb 0x140052ee2
mov rcx, qword [rcx + 0x10]
lea r8, [0x140153368]
mov edx, 0x53
call fcn.14000c328
mov eax, ebx
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140007410
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.14004c314
mov ebx, eax
test eax, eax
js 0x140052e85
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 0x140052fa0
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x140173048]
cmp rcx, rsi
je 0x140052f8a
test byte [rcx + 0x1c], 1
je 0x140052f8a
cmp byte [rcx + 0x19], 2
jb 0x140052f8a
mov rcx, qword [rcx + 0x10]
lea edx, [r12 + 0x4a]
mov r9d, eax
lea r8, [0x140153368]
call fcn.14000c47c
mov rcx, qword [0x140173048]
test ebx, ebx
jle 0x140053412
movzx ebx, bx
or ebx, 0x80070000
jmp 0x140053410
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 0x140052fa0
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
cmp eax, 0x12
jne 0x140053383
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 0x140053014
mov ebx, 0x8007000e
jmp 0x140052e85
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 0x140053094
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x140173048]
cmp rcx, rsi
je 0x14005307e
test byte [rcx + 0x1c], 1
je 0x14005307e
cmp byte [rcx + 0x19], 2
jb 0x14005307e
mov rcx, qword [rcx + 0x10]
lea edx, [r12 + 0x4c]
mov r9d, eax
lea r8, [0x140153368]
call fcn.14000c47c
test ebx, ebx
jle 0x1400533d6
movzx ebx, bx
or ebx, 0x80070000
jmp 0x1400533d6
mov ebx, 0x8007000e
lea rdx, [rsp + 0x30]
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x50]
call fcn.14011750c
test eax, eax
jns 0x1400530f1
mov rcx, qword [0x140173048]
cmp rcx, rsi
je 0x1400530ea
test dword [rcx + 0x1c], 0x200
je 0x1400530ea
cmp byte [rcx + 0x19], 3
jb 0x1400530ea
mov edx, 0x4c
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x50]
lea r8, [0x140153368]
mov dword [rsp + 0x20], eax
call fcn.1400151b8
xor edi, edi
jmp 0x140053283
cmp byte [rsp + 0x30], 0
jne 0x14005312f
mov rcx, qword [0x140173048]
cmp rcx, rsi
je 0x1400530ea
test dword [rcx + 0x1c], 0x200
je 0x1400530ea
cmp byte [rcx + 0x19], 3
jb 0x1400530ea
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x50]
mov edx, 0x4d
lea r8, [0x140153368]
call fcn.140015150
jmp 0x1400530ea
cmp r15d, r13d
jne 0x140053186
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 0x1400532ec
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, [0x140173048]
jae 0x14005332f
lea rsi, [r15 + r15*2]
shl rsi, 5
lea rcx, [rsp + 0x50]
add rsi, r14
mov rdx, rsi
call fcn.140048e54
mov edi, eax
test eax, eax
jns 0x1400531c0
cmp eax, ebx
je 0x1400533c0
xor edi, edi
lea rsi, [0x140173048]
jmp 0x140053283
lea r8, [rsp + 0x32]
lea rdx, [rsp + 0x31]
lea rcx, [rsp + 0x50]
call fcn.140117630
test eax, eax
jns 0x14005320d
mov rcx, qword [0x140173048]
lea rsi, [0x140173048]
cmp rcx, rsi
je 0x1400530ea
test byte [rcx + 0x1c], 1
je 0x1400530ea
cmp byte [rcx + 0x19], 3
jb 0x1400530ea
mov edx, 0x4f
jmp 0x1400530d1
cmp byte [rsp + 0x31], 0
jne 0x14005321f
cmp byte [rsp + 0x32], 0
je 0x14005321f
mov al, 1
jmp 0x140053221
xor al, al
lea rdx, [rsi + 0x5c]
mov byte [rsi + 0x49], al
lea rcx, [rsp + 0x50]
call fcn.140113c10
mov edi, eax
test eax, eax
jns 0x140053279
mov rcx, qword [0x140173048]
lea rsi, [0x140173048]
cmp rcx, rsi
je 0x140053275
test byte [rcx + 0x1c], 1
je 0x140053275
cmp byte [rcx + 0x19], 3
jb 0x140053275
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x50]
mov edx, 0x50
mov dword [rsp + 0x20], eax
lea r8, [0x140153368]
call fcn.1400151b8
xor edi, edi
jmp 0x140053280
lea rsi, [0x140173048]
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 0x140053099
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0x12
jne 0x1400532f3
test r15d, r15d
jne 0x1400532d4
test r14, r14
je 0x1400532d4
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 0x1400533c0
mov edi, ebx
jmp 0x1400533c0
mov rcx, qword [0x140173048]
cmp rcx, rsi
je 0x140053323
test byte [rcx + 0x1c], 1
je 0x140053323
cmp byte [rcx + 0x19], 2
jb 0x140053323
mov rcx, qword [rcx + 0x10]
lea r8, [0x140153368]
mov edx, 0x51
mov r9d, ebx
call fcn.14000c47c
test ebx, ebx
jle 0x1400532ec
movzx edi, bx
jmp 0x1400533ba
lea r8, str.cTarget___cMaxTarget
mov edx, 0x534
lea rcx, str.base_stor_blbengine_serviceengine.cpp
call fcn.1400906e0
mov rcx, qword [0x140173048]
cmp rcx, rsi
je 0x14005337c
test byte [rcx + 0x1c], 1
je 0x14005337c
cmp byte [rcx + 0x19], 2
jb 0x14005337c
mov rcx, qword [rcx + 0x10]
lea r8, [0x140153368]
mov edx, 0x4e
mov dword [rsp + 0x20], r13d
mov r9d, r15d
call fcn.14004099c
mov edi, 0x8000ffff
jmp 0x1400533c0
mov rcx, qword [0x140173048]
cmp rcx, rsi
je 0x1400533b3
test byte [rcx + 0x1c], 1
je 0x1400533b3
cmp byte [rcx + 0x19], 2
jb 0x1400533b3
mov rcx, qword [rcx + 0x10]
lea r8, [0x140153368]
mov edx, 0x4a
mov r9d, edi
call fcn.14000c47c
test edi, edi
jle 0x1400533c0
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 0x140053402
test r13d, r13d
je 0x1400533f3
mov rdi, r14
mov esi, r13d
mov rcx, rdi
call fcn.140140e34
add rdi, 0x60
sub rsi, 1
jne 0x1400533e1
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x140173048]
lea rsi, [0x140173048]
test ebx, ebx
jns 0x140052ebc
jmp 0x140052e8c