Function at 0x140121cec
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 [0x14016a508]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov r15, r8
movzx edi, dx
mov r12, rcx
mov rcx, qword [0x14016a048]
lea rax, [0x14016a048]
cmp rcx, rax
je 0x140121d60
test byte [rcx + 0x1c], 1
je 0x140121d60
cmp byte [rcx + 0x19], 4
jb 0x140121d60
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158c00]
mov edx, 0x1e
call fcn.14000c0e8
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 0x140121df1
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14016a048]
lea rax, [0x14016a048]
cmp rcx, rax
je 0x140121ddb
test byte [rcx + 0x1c], 1
je 0x140121ddb
cmp byte [rcx + 0x19], 2
jb 0x140121ddb
mov rcx, qword [rcx + 0x10]
lea edx, [r13 + 0x1f]
mov r9d, ebx
lea r8, [0x140158c00]
call fcn.14000c23c
mov rcx, qword [0x14016a048]
test ebx, ebx
jle 0x140121f4a
movzx ebx, bx
or ebx, 0x80070000
jmp 0x140121f4a
test rsi, rsi
je 0x140121e0a
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.14008dad4
mov rsi, qword [rsp + 0x28]
mov ebx, eax
test eax, eax
jns 0x140121e73
cmp eax, 0x80070005
jne 0x140121f20
mov rcx, qword [0x14016a048]
lea rax, [0x14016a048]
cmp rcx, rax
je 0x140121e70
test dword [rcx + 0x1c], 0x200
je 0x140121e70
cmp byte [rcx + 0x19], 3
jb 0x140121e70
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x30]
mov edx, 0x20
lea r8, [0x140158c00]
call fcn.140014f10
mov ebx, r13d
cmp word [rsp + 0x20], di
jne 0x140121e8f
movzx r8d, word [rsp + 0x20]
mov rdx, r12
mov rcx, rsi
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x140121f03
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 0x140121df1
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
cmp eax, 0x12
je 0x140121f20
mov rcx, qword [0x14016a048]
lea rax, [0x14016a048]
cmp rcx, rax
je 0x140121efb
test byte [rcx + 0x1c], 1
je 0x140121efb
cmp byte [rcx + 0x19], 2
jb 0x140121efb
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158c00]
mov edx, 0x21
mov r9d, edi
call fcn.14000c23c
test edi, edi
jg 0x140121f17
mov ebx, edi
jmp 0x140121f20
xor r8d, r8d
lea rcx, [rsp + 0x30]
mov rdx, r15
call fcn.14008a470
mov ebx, eax
jmp 0x140121f20
movzx ebx, di
or ebx, 0x80070000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
nop dword [rax + rax]
test rsi, rsi
je 0x140121f43
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14016a048]
lea rax, [0x14016a048]
cmp rcx, rax
je 0x140121f77
test byte [rcx + 0x1c], 1
je 0x140121f77
cmp byte [rcx + 0x19], 4
jb 0x140121f77
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158c00]
mov edx, 0x22
call fcn.14000c0e8
mov eax, ebx
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1400071e0
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