Function at 0x1400d7bcc
Capabilities:
Get disk information

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x600
mov qword [r11 - 0x478], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x5f0], rax
mov dword [rsp + 0x54], r9d
mov ebx, r8d
mov qword [rsp + 0x120], rcx
mov qword [rsp + 0x1a0], rdx
lea r12, [0x140028580]
mov qword [rsp + 0x60], r12
lea r13, [0x14002abb0]
mov qword [rsp + 0x68], r13
lea r14, [0x140028560]
mov qword [rsp + 0x70], r14
mov dword [rsp + 0x78], 0x447
mov esi, 1
mov dword [rsp + 0x7c], esi
mov dword [rsp + 0x80], 0xff
xor edi, edi
mov dword [rsp + 0x100], 0x1000000
lea r15d, [rsi + 0x77]
mov r8d, r15d
xor edx, edx
lea rcx, [r11 - 0x5a0]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x130]
call fcn.140052e50
nop
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r14
mov dword [rsp + 0x78], 0x449
mov dword [rsp + 0x7c], esi
mov dword [rsp + 0x80], 0xff
mov dword [rsp + 0x100], 0x1000000
mov r8d, r15d
xor edx, edx
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
mov r8d, 0x1777
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x130]
call fcn.14004b5f0
mov word [rsp + 0x1d0], di
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x1d2]
call sub.msvcrt.dll_memset
mov word [rsp + 0x3e0], di
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x3e2]
call sub.msvcrt.dll_memset
test bl, 2
je 0x1400d7d8f
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r14
mov dword [rsp + 0x78], 0x452
mov dword [rsp + 0x7c], esi
mov dword [rsp + 0x80], 0xff
mov dword [rsp + 0x100], 0x1000000
mov r8d, r15d
xor edx, edx
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
lea r8, [0x14002ac30]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x130]
call fcn.1400510b0
jmp 0x1400d83d9
cmp dword [rsp + 0x54], edi
jne 0x1400d7de1
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r14
mov dword [rsp + 0x78], 0x459
mov dword [rsp + 0x7c], esi
mov dword [rsp + 0x80], 0xff
mov dword [rsp + 0x100], 0x1000000
mov r8, r15
xor edx, edx
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
lea r8, [0x14002ac90]
jmp 0x1400d7d78
mov r14d, edi
mov dword [rsp + 0x54], edi
lea rbx, [0x140028560]
mov rdx, qword [rsp + 0x1a0]
cmp r14d, dword [rdx]
jae 0x1400d83d9
mov byte [rsp + 0x50], dil
mov eax, r14d
lea rcx, [rax + rax*4]
add rcx, rcx
mov rax, qword [rdx + 8]
mov rax, qword [rax + rcx*8 + 0x38]
mov qword [rsp + 0x58], rax
test rax, rax
jne 0x1400d7e8d
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r13
lea rbx, [0x140028560]
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x78], 0x46b
mov dword [rsp + 0x7c], esi
mov dword [rsp + 0x80], 0xff
mov dword [rsp + 0x100], 0x1000000
mov r8, r15
xor edx, edx
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
mov r9d, r14d
lea r8, [0x14002ad60]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x130]
call fcn.1400510b0
jmp 0x1400d83c5
mov qword [rsp + 0x118], rdi
lea rcx, [0x140001d20]
mov qword [rsp + 0x110], rcx
mov rdx, rax
lea rcx, [rsp + 0x110]
call fcn.140073e50
mov r15, qword [rsp + 0x118]
or rax, 0xffffffffffffffff
inc rax
cmp word [r15 + rax*2], di
jne 0x1400d7ec0
cmp word [r15 + rax*2 - 2], 0x5c
je 0x1400d7eef
lea rdx, [0x14000ca50]
lea rcx, [rsp + 0x110]
call fcn.140073148
mov r15, qword [rsp + 0x118]
mov dword [rsp + 0x38], 0x105
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov r8d, 0x105
lea rdx, [rsp + 0x3e0]
mov rcx, r15
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetVolumeInformationW]
test eax, eax
je 0x1400d834b
lea rdx, [0x14002adb8]
lea rcx, [rsp + 0x1d0]
call sub.msvcrt.dll_wcscmp
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r13
mov dword [rsp + 0x7c], esi
mov dword [rsp + 0x80], 0xff
mov dword [rsp + 0x100], 0x1000000
xor edx, edx
lea rcx, [rsp + 0x88]
test eax, eax
je 0x1400d7fbe
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x78], 0x483
lea r15d, [rdx + 0x78]
mov r8d, r15d
call sub.msvcrt.dll_memset
mov r9d, r14d
lea r8, [0x14002add0]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x130]
call fcn.1400510b0
nop
lea rcx, [rsp + 0x110]
call fcn.140070d4c
jmp 0x1400d83cc
lea rbx, [0x140028560]
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x78], 0x491
mov r8d, 0x78
call sub.msvcrt.dll_memset
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x20], rdx
mov r9d, r14d
lea r8, [0x14002ae90]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x130]
call fcn.1400510b0
lea r8, [rsp + 0x50]
mov rdx, r15
call fcn.1400d055c
mov dword [rsp + 0x138], eax
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r13
mov dword [rsp + 0x7c], esi
mov dword [rsp + 0x80], 0xff
mov dword [rsp + 0x100], 0x1000000
mov r8d, 0x78
lea rcx, [rsp + 0x88]
test eax, eax
jns 0x1400d808c
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x78], 0x497
xor edx, edx
call sub.msvcrt.dll_memset
mov eax, dword [rsp + 0x138]
mov dword [rsp + 0x20], eax
lea r9, [0x14002aef0]
mov r8d, 0x800423fb
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x130]
call fcn.140101d5c
int3
lea rbx, [0x14002af90]
lea rax, [0x14002aff0]
cmp byte [rsp + 0x50], dil
cmove rbx, rax
lea rax, [0x140028560]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x49d
xor edx, edx
call sub.msvcrt.dll_memset
mov r9, r15
mov r8, rbx
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x130]
call fcn.1400510b0
cmp byte [rsp + 0x50], dil
jne 0x1400d80f5
lea rcx, [rsp + 0x110]
call fcn.140070d4c
mov r15d, 0x78
jmp 0x1400d83c5
mov r8b, sil
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x120]
call fcn.1400c8fa4
mov qword [rsp + 0x38], rdi
mov byte [rsp + 0x30], dil
mov byte [rsp + 0x20], dil
mov r9b, sil
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
call fcn.1400de06c
nop
mov qword [rsp + 0x60], rdi
mov word [rsp + 0x88], 0
mov qword [rsp + 0x8c], 0
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0xa0], 0
mov dword [rsp + 0xa8], edi
mov qword [rsp + 0xb0], rdi
mov word [rsp + 0xb8], di
mov qword [rsp + 0xc8], rdi
lea rax, [0x140001b68]
mov qword [rsp + 0xc0], rax
xor edx, edx
lea r8d, [rdx + 0x20]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
nop
mov dword [rsp + 0x40], 0x80
mov dword [rsp + 0x38], 3
mov dword [rsp + 0x30], 0xc0000000
mov dword [rsp + 0x28], edi
mov byte [rsp + 0x20], dil
xor r9d, r9d
mov r8, r15
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x60]
call fcn.14007adbc
mov dword [rsp + 0x138], eax
lea rcx, [rsp + 0x60]
call fcn.1400711d0
nop
jmp 0x1400d820b
lea rbx, [0x140028560]
mov rax, qword [rsp + 0x58]
mov dword [rsp + 0x138], edi
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x120]
call fcn.1400c8fa4
mov qword [rsp + 0x38], rdi
mov byte [rsp + 0x30], dil
mov byte [rsp + 0x20], sil
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
call fcn.1400de06c
lea r8, [rsp + 0x50]
mov rdx, r15
call fcn.1400d055c
mov dword [rsp + 0x138], eax
test eax, eax
jns 0x1400d82d7
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x78], 0x4cd
mov dword [rsp + 0x7c], esi
mov dword [rsp + 0x80], 0xff
mov dword [rsp + 0x100], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
mov eax, dword [rsp + 0x138]
mov dword [rsp + 0x20], eax
lea r9, [0x14002b040]
mov r8d, 0x800423fb
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x130]
call fcn.140101d5c
int3
cmp byte [rsp + 0x50], dil
je 0x1400d80dd
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x78], 0x4d7
mov dword [rsp + 0x7c], esi
mov dword [rsp + 0x80], 0xff
mov dword [rsp + 0x100], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
mov qword [rsp + 0x20], r15
lea r9, [0x14002b0e0]
mov r8d, 0x800423fb
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x130]
call fcn.140101d5c
int3
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r13
lea rax, [0x140028560]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x489
mov dword [rsp + 0x7c], esi
mov dword [rsp + 0x80], 0xff
mov dword [rsp + 0x100], 0x1000000
mov r15d, 0x78
mov r8d, r15d
xor edx, edx
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
mov r9d, r14d
lea r8, [0x14002ae30]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x130]
call fcn.1400510b0
nop
lea rcx, [rsp + 0x110]
call fcn.140070d4c
lea rbx, [0x140028560]
add r14d, esi
mov dword [rsp + 0x54], r14d
jmp 0x1400d7def
lea rcx, [rsp + 0x130]
call fcn.140050f50
mov rcx, qword [rsp + 0x5f0]
xor rcx, rsp
call fcn.14005dc70
lea r11, [rsp + 0x600]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret