Function at 0x14012eda8
Capabilities:
Enumerate disk volumes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x178]
sub rsp, 0x250
mov rax, qword [0x140183808]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov r15, r8
movzx edi, dx
mov r12, rcx
mov rcx, qword [0x140183048]
lea rbx, [0x140183048]
cmp rcx, rbx
je 0x14012ee1c
test byte [rcx + 0x1c], 1
je 0x14012ee1c
cmp byte [rcx + 0x19], 4
jb 0x14012ee1c
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016c070]
mov edx, 0x1e
call fcn.140004e50
xor r13d, r13d
lea rcx, [rsp + 0x30]
mov edx, 0x104
mov qword [rsp + 0x28], r13
mov esi, r13d
mov word [rsp + 0x20], r13w
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
nop dword [rax + rax]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x14012eea3
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [0x140183048]
cmp rcx, rbx
je 0x14012ee90
test byte [rcx + 0x1c], 1
je 0x14012ee90
cmp byte [rcx + 0x19], 2
jb 0x14012ee90
mov rcx, qword [rcx + 0x10]
lea edx, [r13 + 0x1f]
mov r9d, eax
lea r8, [0x14016c070]
call fcn.140004e7c
mov rcx, qword [0x140183048]
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
jmp 0x14012efe9
test rsi, rsi
je 0x14012eebc
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rsp + 0x28], r13
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.140093500
mov rsi, qword [rsp + 0x28]
mov ebx, eax
test eax, eax
jns 0x14012ef25
cmp eax, 0x80070005
jne 0x14012efbf
mov rcx, qword [0x140183048]
lea rax, [0x140183048]
cmp rcx, rax
je 0x14012ef22
test dword [rcx + 0x1c], 0x200
je 0x14012ef22
cmp byte [rcx + 0x19], 3
jb 0x14012ef22
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x30]
mov edx, 0x20
lea r8, [0x14016c070]
call fcn.140005f10
mov ebx, r13d
cmp word [rsp + 0x20], di
jne 0x14012ef45
movzx r8d, word [rsp + 0x20]
mov rdx, r12
mov rcx, rsi
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x14012f049
mov r8d, 0x104
lea rdx, [rsp + 0x30]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextVolumeW]
nop dword [rax + rax]
test eax, eax
jne 0x14012eea3
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
cmp eax, 0x12
je 0x14012efbf
mov rcx, qword [0x140183048]
lea rax, [0x140183048]
cmp rcx, rax
je 0x14012efb1
test byte [rcx + 0x1c], 1
je 0x14012efb1
cmp byte [rcx + 0x19], 2
jb 0x14012efb1
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016c070]
mov edx, 0x21
mov r9d, edi
call fcn.140004e7c
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
nop dword [rax + rax]
test rsi, rsi
je 0x14012efe2
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x140183048]
lea rax, [0x140183048]
cmp rcx, rax
je 0x14012f016
test byte [rcx + 0x1c], 1
je 0x14012f016
cmp byte [rcx + 0x19], 4
jb 0x14012f016
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016c070]
mov edx, 0x22
call fcn.140004e50
mov eax, ebx
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1401534b0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
xor r8d, r8d
lea rcx, [rsp + 0x30]
mov rdx, r15
call fcn.14009039c
mov ebx, eax
jmp 0x14012efbf