Function at 0x1401273e8
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 [0x14017b608]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov r15, r8
movzx edi, dx
mov r12, rcx
mov rcx, qword [0x14017b048]
lea rbx, [0x14017b048]
cmp rcx, rbx
je 0x14012745c
test byte [rcx + 0x1c], 1
je 0x14012745c
cmp byte [rcx + 0x19], 4
jb 0x14012745c
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401649c0]
mov edx, 0x1e
call fcn.140004c10
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 0x1401274e3
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [0x14017b048]
cmp rcx, rbx
je 0x1401274d0
test byte [rcx + 0x1c], 1
je 0x1401274d0
cmp byte [rcx + 0x19], 2
jb 0x1401274d0
mov rcx, qword [rcx + 0x10]
lea edx, [r13 + 0x1f]
mov r9d, eax
lea r8, [0x1401649c0]
call fcn.140004c3c
mov rcx, qword [0x14017b048]
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
jmp 0x140127629
test rsi, rsi
je 0x1401274fc
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.14008bb40
mov rsi, qword [rsp + 0x28]
mov ebx, eax
test eax, eax
jns 0x140127565
cmp eax, 0x80070005
jne 0x1401275ff
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x140127562
test dword [rcx + 0x1c], 0x200
je 0x140127562
cmp byte [rcx + 0x19], 3
jb 0x140127562
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x30]
mov edx, 0x20
lea r8, [0x1401649c0]
call fcn.140005cd0
mov ebx, r13d
cmp word [rsp + 0x20], di
jne 0x140127585
movzx r8d, word [rsp + 0x20]
mov rdx, r12
mov rcx, rsi
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x140127689
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 0x1401274e3
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
cmp eax, 0x12
je 0x1401275ff
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x1401275f1
test byte [rcx + 0x1c], 1
je 0x1401275f1
cmp byte [rcx + 0x19], 2
jb 0x1401275f1
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401649c0]
mov edx, 0x21
mov r9d, edi
call fcn.140004c3c
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 0x140127622
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x140127656
test byte [rcx + 0x1c], 1
je 0x140127656
cmp byte [rcx + 0x19], 4
jb 0x140127656
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401649c0]
mov edx, 0x22
call fcn.140004c10
mov eax, ebx
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14014bb60
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.1400889dc
mov ebx, eax
jmp 0x1401275ff