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

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x620
mov qword [rsp + 0x190], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rax, qword [0x100175150]
xor rax, rsp
mov qword [rsp + 0x610], rax
mov bl, r9b
mov byte [rsp + 0x40], bl
mov qword [rsp + 0xf8], r8
mov rbp, rdx
mov qword [rsp + 0x100], rdx
mov rdi, rcx
mov qword [rsp + 0xf0], rcx
lea r13, [0x10003b560]
mov qword [rsp + 0x48], r13
lea r14, [0x10003bd30]
mov qword [rsp + 0x50], r14
lea r15, [0x10003b540]
mov qword [rsp + 0x58], r15
mov dword [rsp + 0x60], 0x276
mov dword [rsp + 0x64], 4
mov dword [rsp + 0x68], 0xff
xor r12d, r12d
mov word [r11 - 0x570], r12w
mov byte [r11 - 0x56e], r12b
mov byte [rsp + 0xeb], 1
xor edx, edx
lea r8d, [r12 + 0x78]
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x110]
call fcn.1000e7c38
nop
cmp bl, r12b
jne 0x1000fe4d1
mov word [rsp + 0x1f0], r12w
mov ebx, 0x206
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x1f2]
call sub.msvcrt.dll_memset
mov word [rsp + 0x400], r12w
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x402]
call sub.msvcrt.dll_memset
mov r15d, 0x104
mov edx, r15d
lea rcx, [rsp + 0x1f0]
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov rbx, rax
lea rax, [0x10003c4d8]
mov qword [rsp + 0x180], rax
mov qword [rsp + 0x188], rbx
mov rbp, qword [rsp + 0x698]
mov r12, qword [rsp + 0x690]
mov r13, qword [rsp + 0x688]
mov r14b, byte [rsp + 0x680]
xor esi, esi
cmp rbx, 0xffffffffffffffff
jne 0x1000fe2f7
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1000fe4b9
lea rax, [0x10003b560]
mov qword [rsp + 0x48], rax
lea rax, [0x10003bd30]
mov qword [rsp + 0x50], rax
lea rax, [0x10003b540]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x60], 0x286
mov dword [rsp + 0x64], 4
mov dword [rsp + 0x68], 0xff
mov word [rsp + 0xe8], si
mov byte [rsp + 0xea], sil
mov byte [rsp + 0xeb], 1
xor edx, edx
lea r8d, [rbx + 0x79]
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll_memset
mov edi, dword [rsp + 0x118]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, edi
lea r8, [0x10003bd90]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x110]
call fcn.1000e8e14
jmp 0x1000fe49d
lea rcx, [rsp + 0x1f0]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x1000fe49d
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x1f0]
repne scasw ax, word [rdi]
not rcx
cmp word [rsp + rcx*2 + 0x1ec], 0x5c
jne 0x1000fe335
mov word [rsp + rcx*2 + 0x1ec], si
mov rdi, qword [rsp + 0x100]
mov rax, qword [rdi + 0x10]
cmp rax, rsi
je 0x1000fe422
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x1f0]
lea r8, [0x10000a068]
mov rdx, r15
lea rcx, [rsp + 0x400]
call fcn.100052590
mov esi, eax
mov dword [rsp + 0x118], eax
xor eax, eax
cmp esi, eax
jge 0x1000fe420
lea rcx, [0x10003b560]
mov qword [rsp + 0x48], rcx
lea rcx, [0x10003bd30]
mov qword [rsp + 0x50], rcx
lea rcx, [0x10003b540]
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x60], 0x299
mov dword [rsp + 0x64], 4
mov dword [rsp + 0x68], 0xff
mov word [rsp + 0xe8], ax
mov byte [rsp + 0xea], al
mov byte [rsp + 0xeb], 1
xor edx, edx
lea r8d, [rax + 0x78]
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll_memset
mov rdi, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x1f0]
lea r8, [0x10003be10]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x110]
call fcn.1000e8e14
xor esi, esi
jmp 0x1000fe49d
xor esi, esi
mov rax, qword [rdi + 0x20]
mov rcx, qword [rsp + 0xf8]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x400]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
mov dl, byte [rdi]
lea rcx, [rsp + 0x1a0]
call fcn.1000fb574
nop
mov byte [rsp + 0x30], r14b
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], r12
mov r9, qword [rsp + 0x6a0]
xor r8d, r8d
lea rdx, [rsp + 0x1a0]
mov rcx, qword [rsp + 0xf0]
call fcn.1000fe9c4
nop
lea rcx, [rsp + 0x1a0]
call fcn.1000fd914
mov r8d, r15d
lea rdx, [rsp + 0x1f0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextVolumeW]
cmp eax, esi
jne 0x1000fe248
cmp rbx, 0xffffffffffffffff
je 0x1000fe891
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
jmp 0x1000fe891
mov rcx, qword [rdi + 8]
cmp rcx, r12
je 0x1000fe91c
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rsi, rax
cmp rax, r12
je 0x1000fe91c
mov rcx, qword [rdi + 8]
cmp rcx, r12
je 0x1000fe8a3
mov rdx, qword [rcx]
call qword [rdx + 0x40]
mov edi, eax
cmp eax, r12d
je 0x1000fe8a3
mov word [rsp + 0x1f0], r12w
mov r8d, 0x206
xor edx, edx
lea rcx, [rsp + 0x1f2]
call sub.msvcrt.dll_memset
cmp edi, r12d
jbe 0x1000fe891
mov rbx, rdi
mov r15d, 0x104
mov r12, qword [rsp + 0x698]
mov r13, qword [rsp + 0x690]
mov r14, qword [rsp + 0x688]
mov r8, qword [rsi]
mov rdx, r15
lea rcx, [rsp + 0x1f0]
xor r9d, r9d
mov edi, r9d
lea rax, [rsp + 0x1f0]
sub r8, rax
lea rax, [rdx + 0x7ffffefa]
cmp rax, r9
je 0x1000fe599
movzx eax, word [r8 + rcx]
cmp ax, r9w
je 0x1000fe599
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1000fe575
cmp rdx, r9
jne 0x1000fe5a7
sub rcx, 2
mov edi, 0x8007007a
mov word [rcx], r9w
mov dword [rsp + 0x118], edi
cmp edi, r9d
jge 0x1000fe64b
lea rax, [0x10003b560]
mov qword [rsp + 0x48], rax
lea rax, [0x10003bd30]
mov qword [rsp + 0x50], rax
lea rax, [0x10003b540]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x60], 0x2c2
mov dword [rsp + 0x64], 4
mov dword [rsp + 0x68], 0xff
mov word [rsp + 0xe8], r9w
mov byte [rsp + 0xea], r9b
mov byte [rsp + 0xeb], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll_memset
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, edi
lea r8, [0x10003bf20]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x110]
call fcn.1000e8e14
jmp 0x1000fe883
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x1f0]
repne scasw ax, word [rdi]
not rcx
cmp qword [rbp + 0x10], r9
je 0x1000fe7e8
lea eax, [rcx - 2]
cmp word [rsp + rax*2 + 0x1f0], 0x5c
je 0x1000fe733
lea r8, [0x1000021a0]
mov rdx, r15
lea rcx, [rsp + 0x1f0]
call fcn.1000524c4
mov edi, eax
mov dword [rsp + 0x118], eax
xor eax, eax
cmp edi, eax
jge 0x1000fe733
lea rcx, [0x10003b560]
mov qword [rsp + 0x48], rcx
lea rcx, [0x10003bd30]
mov qword [rsp + 0x50], rcx
lea rcx, [0x10003b540]
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x60], 0x2d2
mov dword [rsp + 0x64], 4
mov dword [rsp + 0x68], 0xff
mov word [rsp + 0xe8], ax
mov byte [rsp + 0xea], al
mov byte [rsp + 0xeb], 1
xor edx, edx
lea r8d, [rax + 0x78]
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll_memset
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, edi
lea r8, [0x10003bf80]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x110]
call fcn.1000e8e14
jmp 0x1000fe883
mov r8, qword [rbp + 0x10]
mov rdx, r15
lea rcx, [rsp + 0x1f0]
call fcn.1000524c4
mov edi, eax
mov dword [rsp + 0x118], eax
xor eax, eax
cmp edi, eax
jge 0x1000fe7ff
lea rcx, [0x10003b560]
mov qword [rsp + 0x48], rcx
lea rcx, [0x10003bd30]
mov qword [rsp + 0x50], rcx
lea rcx, [0x10003b540]
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x60], 0x2da
mov dword [rsp + 0x64], 4
mov dword [rsp + 0x68], 0xff
mov word [rsp + 0xe8], ax
mov byte [rsp + 0xea], al
mov byte [rsp + 0xeb], 1
xor edx, edx
lea r8d, [rax + 0x78]
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll_memset
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, edi
lea r8, [0x10003bfe0]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x110]
call fcn.1000e8e14
jmp 0x1000fe883
lea eax, [rcx - 2]
cmp word [rsp + rax*2 + 0x1f0], 0x5c
jne 0x1000fe7ff
mov word [rsp + rax*2 + 0x1f0], r9w
mov rax, qword [rbp + 0x20]
mov rcx, qword [rsp + 0xf8]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x1f0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
mov dl, byte [rbp]
lea rcx, [rsp + 0x1a0]
call fcn.1000fb574
nop
mov al, byte [rsp + 0x680]
mov byte [rsp + 0x30], al
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r13
mov r9, qword [rsp + 0x6a0]
mov r8b, byte [rsp + 0x40]
lea rdx, [rsp + 0x1a0]
mov rcx, qword [rsp + 0xf0]
call fcn.1000fe9c4
nop
lea rcx, [rsp + 0x1a0]
call fcn.1000fd914
add rsi, 8
sub rbx, 1
jne 0x1000fe556
lea rcx, [rsp + 0x110]
call fcn.1000e7d24
jmp 0x1000fe993
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r15
mov dword [rsp + 0x60], 0x2b5
mov dword [rsp + 0x64], 4
mov dword [rsp + 0x68], 0xff
mov word [rsp + 0xe8], r12w
mov byte [rsp + 0xea], r12b
mov byte [rsp + 0xeb], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll_memset
lea r8, [0x10003bee0]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x110]
call fcn.1000e8e14
nop
lea rcx, [rsp + 0x110]
call fcn.1000e7d24
jmp 0x1000fe993
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r15
mov dword [rsp + 0x60], 0x2ae
mov dword [rsp + 0x64], 4
mov dword [rsp + 0x68], 0xff
mov word [rsp + 0xe8], r12w
mov byte [rsp + 0xea], r12b
mov byte [rsp + 0xeb], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll_memset
lea r8, [0x10003be90]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x110]
call fcn.1000e8e14
nop
lea rcx, [rsp + 0x110]
call fcn.1000e7d24
mov rcx, qword [rsp + 0x610]
xor rcx, rsp
call fcn.1001303c0
mov rbx, qword [rsp + 0x678]
add rsp, 0x620
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret