Function at 0x14012df30
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 [0x14017a608]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov r15, r8
movzx edi, dx
mov r12, rcx
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x14012dfa4
test byte [rcx + 0x1c], 1
je 0x14012dfa4
cmp byte [rcx + 0x19], 4
jb 0x14012dfa4
mov rcx, qword [rcx + 0x10]
lea r8, [0x140168aa0]
mov edx, 0x1e
call fcn.140006b98
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 0x14012e035
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x14012e01f
test byte [rcx + 0x1c], 1
je 0x14012e01f
cmp byte [rcx + 0x19], 2
jb 0x14012e01f
mov rcx, qword [rcx + 0x10]
lea edx, [r13 + 0x1f]
mov r9d, ebx
lea r8, [0x140168aa0]
call fcn.140006cec
mov rcx, qword [0x14017a048]
test ebx, ebx
jle 0x14012e18e
movzx ebx, bx
or ebx, 0x80070000
jmp 0x14012e18e
test rsi, rsi
je 0x14012e04e
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.14008f7a0
mov rsi, qword [rsp + 0x28]
mov ebx, eax
test eax, eax
jns 0x14012e0b7
cmp eax, 0x80070005
jne 0x14012e164
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x14012e0b4
test dword [rcx + 0x1c], 0x200
je 0x14012e0b4
cmp byte [rcx + 0x19], 3
jb 0x14012e0b4
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x30]
mov edx, 0x20
lea r8, [0x140168aa0]
call fcn.1400112c8
mov ebx, r13d
cmp word [rsp + 0x20], di
jne 0x14012e0d3
movzx r8d, word [rsp + 0x20]
mov rdx, r12
mov rcx, rsi
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x14012e147
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 0x14012e035
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
cmp eax, 0x12
je 0x14012e164
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x14012e13f
test byte [rcx + 0x1c], 1
je 0x14012e13f
cmp byte [rcx + 0x19], 2
jb 0x14012e13f
mov rcx, qword [rcx + 0x10]
lea r8, [0x140168aa0]
mov edx, 0x21
mov r9d, edi
call fcn.140006cec
test edi, edi
jg 0x14012e15b
mov ebx, edi
jmp 0x14012e164
xor r8d, r8d
lea rcx, [rsp + 0x30]
mov rdx, r15
call fcn.14008c1cc
mov ebx, eax
jmp 0x14012e164
movzx ebx, di
or ebx, 0x80070000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
nop dword [rax + rax]
test rsi, rsi
je 0x14012e187
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x14012e1bb
test byte [rcx + 0x1c], 1
je 0x14012e1bb
cmp byte [rcx + 0x19], 4
jb 0x14012e1bb
mov rcx, qword [rcx + 0x10]
lea r8, [0x140168aa0]
mov edx, 0x22
call fcn.140006b98
mov eax, ebx
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140001d90
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