Function at 0x1400195f8
Capabilities:
Enumerate disk volumes
Get disk information
Get disk size

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x108]
sub rsp, 0x1e0
mov rax, qword [0x140035078]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov r13, rdx
mov dword [rsp + 0x48], ecx
mov r15d, ecx
xor esi, esi
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0xc8
mov ebx, esi
call sub.msvcrt.dll_memset
mov r12d, esi
test r13, r13
jne 0x140019660
mov eax, 0x80070057
jmp 0x140019b84
mov edx, 0x64
mov qword [r13], rsi
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
nop dword [rax + rax]
mov qword [rsp + 0x60], rax
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140019b73
xor eax, eax
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x68], rax
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
nop dword [rax + rax]
cmp eax, 3
jne 0x140019aea
xor r9d, r9d
lea rdx, [rsp + 0x68]
xor r8d, r8d
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
nop dword [rax + rax]
mov r14d, eax
mov dword [rsp + 0x40], eax
or rax, 0xffffffffffffffff
lea rcx, [rbp - 0x80]
inc rax
cmp word [rcx + rax*2], si
jne 0x1400196d5
lea rcx, [rbp - 0x80]
lea rax, [rcx + rax*2]
lea rcx, [rbp - 0x80]
cmp rax, rcx
jbe 0x140019707
mov edx, 0x5c
cmp dx, word [rax - 2]
jne 0x140019707
add rax, 0xfffffffffffffffe
lea rcx, [rbp - 0x80]
cmp rax, rcx
ja 0x1400196f4
mov word [rax], si
lea rcx, [rbp - 0x80]
mov rax, qword gs:[0x30]
mov dword [rax + 0x68], esi
call fcn.140007cac
xor ecx, ecx
mov rdi, rax
test rax, rax
je 0x140019ae3
mov eax, dword [rax]
test eax, eax
je 0x140019742
cmp r15d, dword [rdi + 8]
mov esi, ecx
cmovne eax, ecx
test eax, eax
setne sil
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
test esi, esi
je 0x140019ae3
xor esi, esi
mov ebx, esi
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov rcx, rax
lea edx, [rsi + 8]
lea r8d, [rsi + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
nop dword [rax + rax]
mov qword [rsp + 0x70], rax
mov rdi, rax
test rax, rax
jne 0x1400197de
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ecx, eax
mov r15d, 0x80070000
movzx eax, ax
or eax, r15d
test ecx, ecx
cmovle eax, ecx
test eax, eax
jns 0x1400197d9
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, r15d
test eax, eax
cmovle ebx, eax
jmp 0x1400197de
mov ebx, 0x80004005
test ebx, ebx
js 0x140019ad4
mov r14d, esi
lea rax, [rbp - 0x80]
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rax + rdi*2], si
jne 0x1400197f1
test edi, edi
je 0x140019814
mov eax, 0x5c
lea ecx, [rdi - 1]
cmp ax, word [rbp + rcx*2 - 0x80]
mov eax, 1
cmovne r14d, eax
mov rcx, qword gs:[0x60]
lea eax, [rdi + 1]
add eax, r14d
mov edx, 8
mov r15d, eax
mov rcx, qword [rcx + 0x30]
lea r8, [rax + rax]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
jne 0x14001985f
mov rax, qword gs:[0x30]
xor r15d, r15d
mov dword [rax + 0x68], 8
jmp 0x140019922
lea rax, [rsp + 0x50]
mov r9d, edi
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x80]
lea rax, [rsp + 0x58]
mov rdx, r15
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.140008850
xor r15d, r15d
mov edi, eax
test eax, eax
js 0x1400198f5
test r14d, r14d
je 0x1400198c3
mov rdx, qword [rsp + 0x50]
lea rax, [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
lea r9d, [r15 + 1]
mov qword [rsp + 0x28], rax
lea r8, [0x140028e20]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
call fcn.140008850
mov edi, eax
test edi, edi
js 0x1400198f5
mov rdx, qword [rsp + 0x50]
lea r8, [0x1400291ac]
mov rcx, qword [rsp + 0x58]
xor r9d, r9d
call fcn.140003a3c
mov edi, eax
test eax, eax
js 0x1400198f5
mov rax, qword gs:[0x30]
mov dword [rax + 0x68], r15d
jmp 0x140019925
mov rcx, qword gs:[0x60]
mov r8, rsi
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov rax, qword gs:[0x30]
movzx ecx, di
mov dword [rax + 0x68], ecx
mov rsi, r15
mov rdi, qword [rsp + 0x70]
mov qword [rdi + 8], rsi
test rsi, rsi
jne 0x140019976
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ecx, eax
mov r14d, 0x80070000
movzx eax, ax
or eax, r14d
test ecx, ecx
cmovle eax, ecx
test eax, eax
jns 0x14001996f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, r14d
test eax, eax
cmovle ebx, eax
jmp 0x140019978
mov ebx, 0x80004005
jmp 0x140019978
xor esi, esi
mov r14d, dword [rsp + 0x40]
test ebx, ebx
js 0x140019ad4
xor edx, edx
mov dword [rsp + 0x44], esi
mov r8d, 0x80
lea rcx, [rbp + 0x50]
call sub.msvcrt.dll_memset
mov rcx, qword [rdi + 8]
lea rax, [rbp + 0x50]
mov dword [rsp + 0x38], 0x40
xor r9d, r9d
mov qword [rsp + 0x30], rax
xor r8d, r8d
mov qword [rsp + 0x28], rsi
xor edx, edx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
nop dword [rax + rax]
test eax, eax
je 0x140019a11
cmp si, word [rbp + 0x50]
je 0x140019a11
or dword [rsp + 0x28], 0xffffffff
lea rax, [rbp + 0x50]
or r9d, 0xffffffff
mov qword [rsp + 0x20], rax
lea r8, str.ntfs
mov ecx, 0x409
lea r15d, [r9 + 2]
mov edx, r15d
call qword [sym.imp.KERNEL32.dll_CompareStringW]
nop dword [rax + rax]
cmp eax, 2
jne 0x140019a11
mov dword [rdi + 0x24], r15d
test r14d, r14d
je 0x140019a1f
mov rax, qword [rsp + 0x68]
mov qword [rdi + 0x10], rax
mov qword [rsp + 0x30], rsi
lea rcx, [rbp - 0x80]
mov r8d, 3
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov dword [rsp + 0x20], r8d
mov edx, 0x80000000
mov r15d, esi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140019a9c
mov rcx, rax
call fcn.140007e98
mov r15d, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, rsi
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
xor esi, esi
test r14d, r14d
je 0x140019a9e
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
jmp 0x140019a9e
xor esi, esi
lea rdx, [rsp + 0x44]
mov dword [rdi + 0x18], r15d
lea rcx, [rbp - 0x80]
call fcn.14001a608
test eax, eax
js 0x140019acb
mov ecx, dword [rsp + 0x44]
mov edx, 1
mov eax, ecx
shr ecx, 1
and eax, edx
and ecx, edx
mov dword [rdi + 0x1c], eax
mov dword [rdi + 0x20], ecx
mov qword [rdi], r12
mov r12, rdi
mov rdi, rsi
mov rcx, rdi
call fcn.14001956c
mov r15d, dword [rsp + 0x48]
jmp 0x140019ae5
xor esi, esi
mov rdi, qword [rsp + 0x60]
test ebx, ebx
js 0x140019b60
mov r8d, 0x64
lea rdx, [rbp - 0x80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextVolumeW]
nop dword [rax + rax]
test eax, eax
jne 0x14001968b
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x12
je 0x140019b60
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
test eax, eax
jns 0x140019b5b
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x140019b60
mov ebx, 0x80004005
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
nop dword [rax + rax]
test ebx, ebx
js 0x140019b7a
mov qword [r13], r12
mov r12, rsi
mov rcx, r12
call fcn.14001956c
mov eax, ebx
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.140023d70
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret