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

Disassembly:
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0x4320
call fcn.1800599c0
sub rsp, rax
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov qword [rsp + 0x4358], rbx
mov qword [rsp + 0x4360], rbp
mov rax, qword [0x1800824d0]
xor rax, rsp
mov qword [rsp + 0x4318], rax
mov rsi, rcx
mov qword [rsp + 0x78], rcx
xor r14d, r14d
mov dword [rsp + 0x34], r14d
lea ecx, [r14 + 8]
call fcn.18004316c
cmp rax, r14
je 0x180013747
mov qword [rax], rsi
jmp 0x18001374a
mov rax, r14
mov qword [rsi], rax
mov qword [rsi + 0x18], r14
mov qword [rsi + 0x20], r14
mov qword [rsi + 0x28], r14
mov dword [rsp + 0x34], 1
mov word [rsp + 0x100], r14w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x102]
call fcn.180045560
mov edx, 0x104
lea rcx, [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x180013add
movabs r12, 0x2e8ba2e8ba2e8ba3
mov bl, byte [rsp + 0x30]
mov qword [rsp + 0xc0], 7
mov qword [rsp + 0xb8], r14
mov word [rsp + 0xa8], r14w
mov ecx, 8
call fcn.18004316c
cmp rax, r14
je 0x1800137e6
lea rcx, [rsp + 0xc8]
mov qword [rax], rcx
jmp 0x1800137e9
mov rax, r14
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xe0], r14
mov qword [rsp + 0xe8], r14
mov qword [rsp + 0xf0], r14
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x100]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0xa0]
call fcn.18000297c
mov word [rsp + 0x310], r14w
xor edx, edx
mov r8d, 0x3ffe
lea rcx, [rsp + 0x312]
call fcn.180045560
mov dword [rsp + 0x38], r14d
lea r9, [rsp + 0x38]
mov r8d, 0x2000
lea rdx, [rsp + 0x310]
lea rcx, [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
cmp eax, r14d
je 0x180013905
lea rbp, [rsp + 0x310]
cmp word [rsp + 0x310], r14w
je 0x180013905
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r14
mov word [rsp + 0x58], r14w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbp
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rbp
lea rcx, [rsp + 0x50]
call fcn.18000297c
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xc8]
call fcn.180016dcc
nop
cmp qword [rsp + 0x70], 8
jb 0x1800138f0
mov rcx, qword [rsp + 0x58]
call fcn.180043070
movzx eax, word [rbp]
add rbp, 2
cmp ax, r14w
jne 0x1800138f0
cmp word [rbp], r14w
jne 0x180013896
mov r8, qword [rsi + 0x18]
cmp r8, r14
jne 0x180013913
mov rdi, r14
jmp 0x180013931
mov rcx, qword [rsi + 0x28]
sub rcx, r8
mov rax, r12
imul rcx
mov rdi, rdx
sar rdi, 4
mov rax, rdi
shr rax, 0x3f
add rdi, rax
mov rbp, qword [rsi + 0x20]
mov rcx, rbp
sub rcx, r8
mov rax, r12
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, rdi
jae 0x180013982
xor eax, eax
lea r9, [rsi + 0x10]
mov byte [rsp + 0x28], al
mov byte [rsp + 0x20], bl
lea r8, [rsp + 0xa0]
lea edx, [rax + 1]
mov rcx, rbp
call fcn.18001c49c
lea rdx, [rbp + 0x58]
mov qword [rsi + 0x20], rdx
jmp 0x180013a8f
cmp r8, rbp
jbe 0x18001398c
call fcn.180043018
mov rdi, qword [rsi]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rbp
mov r12, qword [rsi + 0x18]
mov rcx, qword [rsi + 0x20]
sub rcx, r12
movabs rax, 0x2e8ba2e8ba2e8ba3
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
jne 0x1800139c6
mov rdi, r14
jmp 0x180013a01
cmp r12, qword [rsi + 0x20]
jbe 0x1800139d1
call fcn.180043018
cmp rdi, r14
je 0x1800139db
cmp rdi, qword [rsi]
je 0x1800139e0
call fcn.180043018
sub rbp, r12
movabs rax, 0x2e8ba2e8ba2e8ba3
imul rbp
mov rdi, rdx
sar rdi, 4
mov rax, rdi
shr rax, 0x3f
add rdi, rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x80], xmm0
lea r9, [rsp + 0xa0]
mov r8d, 1
lea rdx, [rsp + 0x80]
mov rcx, rsi
call fcn.18001a85c
mov r12, qword [rsi + 0x18]
cmp r12, qword [rsi + 0x20]
jbe 0x180013a3c
call fcn.180043018
mov rbp, qword [rsi]
cmp rbp, r14
jne 0x180013a4e
call fcn.180043018
mov r11, r14
jmp 0x180013a52
mov r11, qword [rbp]
imul rdi, rdi, 0x58
lea rcx, [rdi + r12]
cmp rcx, qword [r11 + 0x20]
ja 0x180013a74
cmp rbp, r14
je 0x180013a6b
mov rax, qword [rbp]
jmp 0x180013a6e
mov rax, r14
cmp rcx, qword [rax + 0x18]
jae 0x180013a85
call fcn.180043018
movabs r12, 0x2e8ba2e8ba2e8ba3
jmp 0x180013a8f
movabs r12, 0x2e8ba2e8ba2e8ba3
lea rcx, [rsp + 0xc8]
call fcn.180007cc8
cmp qword [rsp + 0xc0], 8
jb 0x180013ab4
mov rcx, qword [rsp + 0xa8]
call fcn.180043070
mov r8d, 0x104
lea rdx, [rsp + 0x100]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindNextVolumeW]
cmp eax, r14d
jne 0x1800137ad
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov rax, rsi
mov rcx, qword [rsp + 0x4318]
xor rcx, rsp
call fcn.180042bb0
lea r11, [rsp + 0x4320]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret