Function at 0x140126fa8
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 rbx, [0x14017a048]
cmp rcx, rbx
je 0x14012701c
test byte [rcx + 0x1c], 1
je 0x14012701c
cmp byte [rcx + 0x19], 4
jb 0x14012701c
mov rcx, qword [rcx + 0x10]
lea r8, [0x140163850]
mov edx, 0x1e
call fcn.140004b70
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 0x1401270a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [0x14017a048]
cmp rcx, rbx
je 0x140127090
test byte [rcx + 0x1c], 1
je 0x140127090
cmp byte [rcx + 0x19], 2
jb 0x140127090
mov rcx, qword [rcx + 0x10]
lea edx, [r13 + 0x1f]
mov r9d, eax
lea r8, [0x140163850]
call fcn.140004b9c
mov rcx, qword [0x14017a048]
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
jmp 0x1401271e9
test rsi, rsi
je 0x1401270bc
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.14008b700
mov rsi, qword [rsp + 0x28]
mov ebx, eax
test eax, eax
jns 0x140127125
cmp eax, 0x80070005
jne 0x1401271bf
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x140127122
test dword [rcx + 0x1c], 0x200
je 0x140127122
cmp byte [rcx + 0x19], 3
jb 0x140127122
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x30]
mov edx, 0x20
lea r8, [0x140163850]
call fcn.140005c30
mov ebx, r13d
cmp word [rsp + 0x20], di
jne 0x140127145
movzx r8d, word [rsp + 0x20]
mov rdx, r12
mov rcx, rsi
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x140127249
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 0x1401270a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
cmp eax, 0x12
je 0x1401271bf
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x1401271b1
test byte [rcx + 0x1c], 1
je 0x1401271b1
cmp byte [rcx + 0x19], 2
jb 0x1401271b1
mov rcx, qword [rcx + 0x10]
lea r8, [0x140163850]
mov edx, 0x21
mov r9d, edi
call fcn.140004b9c
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 0x1401271e2
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 0x140127216
test byte [rcx + 0x1c], 1
je 0x140127216
cmp byte [rcx + 0x19], 4
jb 0x140127216
mov rcx, qword [rcx + 0x10]
lea r8, [0x140163850]
mov edx, 0x22
call fcn.140004b70
mov eax, ebx
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14014b700
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.14008859c
mov ebx, eax
jmp 0x1401271bf