Function at 0x140011cf0
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xad0
mov qword [rsp + 0x150], 0xfffffffffffffffe
mov rax, qword [0x14014dcf0]
xor rax, rsp
mov qword [rsp + 0xac8], rax
mov eax, r8d
mov dword [rsp + 0x34], eax
mov r14, rdx
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x38], eax
xor r12d, r12d
mov dword [rsp + 0x30], r12d
mov rcx, rdx
call fcn.14000b650
lea ebx, [r12 + 1]
mov r13d, r12d
mov dword [rsp + 0x40], r12d
lea r15, [0x1400ccc70]
lea rdi, [0x1400cd378]
lea rcx, [0x1400d4a00]
lea rax, [0x1400cddf8]
cmp r13d, 0x40
jge 0x140012683
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], rcx
or ebx, 4
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0xe8], r15
mov qword [rsp + 0x58], r12
lea rcx, [rsp + 0xe8]
call fcn.140008c90
lea r11, [rsp + 0x68]
mov qword [rsp + 0x130], r11
mov qword [rsp + 0x138], r12
mov dl, 0x20
lea rcx, [rsp + 0xe8]
call fcn.14000bbb0
mov word [rsp + 0x140], ax
cmp qword [rsp + 0x130], 0
jne 0x140011dfb
mov edx, dword [rsp + 0xf8]
or edx, 4
xor r8d, r8d
lea rcx, [rsp + 0xe8]
call fcn.140008b00
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [0x1400ccc60]
mov qword [rsp + rcx + 0x60], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [0x1400ccc80]
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x50], rdi
lea rcx, [rsp + 0x68]
call fcn.140009c10
nop
lea rax, [0x1400cce78]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0xd8], r12
mov dword [rsp + 0xe0], r12d
lea rdx, str.DeviceHarddisk
lea rcx, [rsp + 0x60]
call fcn.14000c610
mov rcx, rax
mov edx, dword [rsp + 0x34]
call fcn.14000ca90
mov rcx, rax
lea rdx, str.Partition
call fcn.14000c610
mov rcx, rax
mov edx, r13d
call fcn.14000ca90
mov word [rsp + 0x260], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x262]
call fcn.1400a4ea0
xor edx, edx
mov qword [rsp + 0x468], rdx
mov qword [rsp + 0x470], rdx
mov qword [rsp + 0x478], rdx
mov qword [rsp + 0x480], rdx
mov qword [rsp + 0x488], rdx
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x50]
call fcn.140010dc0
mov rdi, rax
cmp qword [rax + 0x18], 8
jb 0x140011ef8
mov rdi, qword [rax]
mov edx, 0x104
lea rcx, [rsp + 0x260]
lea rax, [rsp + 0x260]
sub rdi, rax
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x140011f33
movzx eax, word [rdi + rcx]
test ax, ax
je 0x140011f33
mov word [rcx], ax
add rcx, 2
dec rdx
jne 0x140011f10
jmp 0x140011f38
test rdx, rdx
jne 0x140011f3c
sub rcx, 2
mov word [rcx], r12w
cmp qword [rsp + 0x170], 8
jb 0x140011f59
mov rcx, qword [rsp + 0x158]
call fcn.1400a58b8
nop
mov dword [rsp + 0x28], 0x230
lea rax, [rsp + 0x260]
mov qword [rsp + 0x20], rax
mov r9d, 0x230
lea r8, [rsp + 0x260]
mov edx, 0x222038
mov rcx, rsi
call fcn.14000a980
nop
mov eax, dword [rsp + 0x488]
cmp eax, 1
je 0x140011f9e
test eax, eax
jne 0x14001259b
mov eax, dword [rsp + 0x48c]
cmp eax, 1
je 0x140011fb2
test eax, eax
jne 0x14001259b
movzx eax, byte [rsp + 0x481]
cmp al, 1
je 0x140011fc6
test al, al
jne 0x14001259b
movzx eax, byte [rsp + 0x482]
cmp al, 1
je 0x140011fda
test al, al
jne 0x14001259b
movzx eax, byte [rsp + 0x483]
cmp al, 1
je 0x140011fee
test al, al
jne 0x14001259b
cmp qword [rsp + 0x468], 0
jl 0x14001259b
cmp qword [rsp + 0x470], 0
jl 0x14001259b
mov qword [rsp + 0x198], 7
mov qword [rsp + 0x190], r12
mov word [rsp + 0x180], r12w
mov qword [rsp + 0x1e0], 7
mov qword [rsp + 0x1d8], r12
mov word [rsp + 0x1c8], r12w
mov qword [rsp + 0x218], 7
mov qword [rsp + 0x210], r12
mov word [rsp + 0x200], r12w
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x50]
call fcn.140010dc0
mov rdi, rax
lea rax, [rsp + 0x180]
cmp rax, rdi
je 0x140012117
cmp qword [rsp + 0x198], 8
jb 0x1400120a1
mov rcx, qword [rsp + 0x180]
call fcn.1400a58b8
mov qword [rsp + 0x198], 7
mov qword [rsp + 0x190], r12
mov word [rsp + 0x180], r12w
cmp qword [rdi + 0x18], 8
jae 0x1400120e1
mov r8, qword [rdi + 0x10]
inc r8
add r8, r8
mov rdx, rdi
lea rcx, [rsp + 0x180]
call fcn.1400a4990
jmp 0x1400120ef
mov rax, qword [rdi]
mov qword [rsp + 0x180], rax
mov qword [rdi], r12
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x190], rax
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x198], rax
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], r12
mov word [rdi], r12w
cmp qword [rsp + 0x170], 8
jb 0x14001212f
mov rcx, qword [rsp + 0x158]
call fcn.1400a58b8
movsxd rax, r13d
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x468]
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x470]
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x478]
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x480]
mov qword [rsp + 0x1c0], rax
mov eax, dword [rsp + 0x488]
mov dword [rsp + 0x1f8], eax
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x50]
call fcn.140010dc0
cmp qword [rax + 0x18], 8
jb 0x1400121a4
mov rax, qword [rax]
mov rcx, rax
call fcn.14001f450
mov esi, eax
cmp qword [rsp + 0x170], 8
jb 0x1400121c6
mov rcx, qword [rsp + 0x158]
call fcn.1400a58b8
test esi, esi
js 0x1400122d0
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1d8]
sub rax, rcx
cmp rax, 1
ja 0x1400121f0
lea rcx, str.string_too_long
call fcn.1400c33ac
int3
lea rdi, [rcx + 1]
movabs rax, 0x7ffffffffffffffe
cmp rdi, rax
jbe 0x140012210
lea rcx, str.string_too_long
call fcn.1400c33ac
int3
mov rdx, qword [rsp + 0x1e0]
cmp rdx, rdi
jae 0x140012232
mov r8, rcx
mov rdx, rdi
lea rcx, [rsp + 0x1c8]
call fcn.1400055a0
jmp 0x140012258
test rdi, rdi
jne 0x14001226b
mov qword [rsp + 0x1d8], r12
lea rax, [rsp + 0x1c8]
cmp rdx, 8
cmovae rax, qword [rsp + 0x1c8]
mov word [rax], r12w
mov rcx, qword [rsp + 0x1d8]
mov rdx, qword [rsp + 0x1e0]
test rdi, rdi
setne al
test al, al
je 0x1400122b6
add si, 0x41
lea rax, [rsp + 0x1c8]
cmp rdx, 8
cmovae rax, qword [rsp + 0x1c8]
mov word [rax + rcx*2], si
mov qword [rsp + 0x1d8], rdi
lea rax, [rsp + 0x1c8]
cmp qword [rsp + 0x1e0], 8
cmovae rax, qword [rsp + 0x1c8]
mov word [rax + rdi*2], r12w
mov r8d, 1
lea rdx, [0x1400ce250]
lea rcx, [rsp + 0x1c8]
call fcn.14000b850
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x50]
call fcn.140010dc0
cmp qword [rax + 0x18], 8
jb 0x1400122ec
mov rax, qword [rax]
mov r8d, 0x208
lea rdx, [rsp + 0x8b0]
mov rcx, rax
call fcn.14001ee60
mov edi, eax
cmp qword [rsp + 0x170], 8
jb 0x14001231c
mov rcx, qword [rsp + 0x158]
call fcn.1400a58b8
test edi, edi
je 0x1400124c4
mov edx, 0x104
lea rcx, [rsp + 0x490]
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400124c4
mov qword [rsp + 0x170], 7
mov qword [rsp + 0x168], r12
mov word [rsp + 0x158], r12w
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x490]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x490]
lea rcx, [rsp + 0x158]
call fcn.140006260
nop
mov r9, qword [rsp + 0x168]
add r9, 0xfffffffffffffffb
mov r8d, 4
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x158]
call fcn.140006410
or ebx, 2
mov dword [rsp + 0x30], ebx
cmp qword [rax + 0x18], 8
jb 0x1400123c7
mov rax, qword [rax]
mov r8d, 0x104
lea rdx, [rsp + 0x6a0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x140012411
lea rax, [rsp + 0x8b0]
lea rdi, [rsp + 0x6a0]
sub rdi, rax
movzx edx, word [rax]
movzx ecx, word [rax + rdi]
sub edx, ecx
jne 0x140012408
add rax, 2
test ecx, ecx
jne 0x1400123f5
test edx, edx
jne 0x140012411
mov dil, 1
jmp 0x140012414
xor dil, dil
test bl, 2
je 0x140012438
and ebx, 0xfffffffd
mov dword [rsp + 0x30], ebx
cmp qword [rsp + 0x248], 8
jb 0x140012438
mov rcx, qword [rsp + 0x230]
call fcn.1400a58b8
test dil, dil
jne 0x140012475
cmp qword [rsp + 0x170], 8
jb 0x140012455
mov rcx, qword [rsp + 0x158]
call fcn.1400a58b8
mov r8d, 0x104
lea rdx, [rsp + 0x490]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
je 0x1400124bb
jmp 0x140012344
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x490]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x490]
lea rcx, [rsp + 0x200]
call fcn.140006260
nop
cmp qword [rsp + 0x170], 8
jb 0x1400124bb
mov rcx, qword [rsp + 0x158]
call fcn.1400a58b8
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov rdi, qword [r14]
lea r9, [rsp + 0x180]
mov r8, qword [rdi + 8]
mov rdx, rdi
mov rcx, r14
call fcn.140011090
mov rdx, rax
mov rcx, qword [r14 + 8]
movabs rax, 0x186186186186185
sub rax, rcx
cmp rax, 1
jae 0x140012505
lea rcx, str.list_T__too_long
call fcn.1400c33ac
int3
lea rax, [rcx + 1]
mov qword [r14 + 8], rax
mov qword [rdi + 8], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rdx
cmp qword [rsp + 0x218], 8
jb 0x140012530
mov rcx, qword [rsp + 0x200]
call fcn.1400a58b8
mov qword [rsp + 0x218], 7
mov qword [rsp + 0x210], r12
mov word [rsp + 0x200], r12w
cmp qword [rsp + 0x1e0], 8
jb 0x140012565
mov rcx, qword [rsp + 0x1c8]
call fcn.1400a58b8
mov qword [rsp + 0x1e0], 7
mov qword [rsp + 0x1d8], r12
mov word [rsp + 0x1c8], r12w
cmp qword [rsp + 0x198], 8
jb 0x14001259b
mov rcx, qword [rsp + 0x180]
call fcn.1400a58b8
nop
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rdi, [0x1400cd378]
mov qword [rsp + rcx + 0x50], rdi
lea rcx, [rsp + 0x68]
call fcn.1400093b0
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [0x1400ccc80]
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [0x1400ccc60]
mov qword [rsp + rcx + 0x60], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x50], r15
lea rax, [0x1400ccae8]
mov qword [rsp + 0xe8], rax
lea rcx, [rsp + 0xe8]
call fcn.1400c3e48
jmp 0x14001266e
inc r13d
mov dword [rsp + 0x40], r13d
mov rsi, qword [rsp + 0xb10]
jmp 0x140011d66
mov rax, r14
mov rcx, qword [rsp + 0xac8]
xor rcx, rsp
call fcn.1400a4e70
add rsp, 0xad0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret