Function at 0x1400d47a8
Capabilities:
Get disk information

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x270
mov rax, qword [0x14017d140]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor ebx, ebx
mov rsi, r8
mov r14, rdx
mov dword [rsp + 0x40], ebx
mov rbp, rcx
mov rcx, qword [0x14017d3a8]
lea r12, [0x14017d3a8]
mov r15b, 4
cmp rcx, r12
je 0x1400d4810
test byte [rcx + 0x1c], r15b
je 0x1400d4810
cmp byte [rcx + 0x19], r15b
jb 0x1400d4810
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x1d]
lea r8, [0x14000d0d8]
call fcn.14001dd24
mov dword [rsi], ebx
test rbp, rbp
jne 0x1400d482f
lea r8, [0x14000cd18]
lea rcx, [0x14000cc88]
mov edx, 0x1d6
call fcn.1400a8be8
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x208
call sub.msvcrt.dll_memset
or rax, 0xffffffffffffffff
mov rcx, rax
inc rcx
cmp word [rbp + rcx*2], bx
jne 0x1400d4848
test rcx, rcx
jne 0x1400d4867
mov dword [rsi], 0x57
mov ebx, 0x16
jmp 0x1400d49b6
inc rax
cmp word [rbp + rax*2], bx
jne 0x1400d4867
cmp word [rbp + rax*2 - 2], 0x5c
mov r9, rbp
mov edx, 0x104
lea rcx, [rsp + 0x50]
lea r8, [0x14000cd28]
jne 0x1400d4894
lea r8, [0x14000cd38]
call fcn.1400d3208
test eax, eax
js 0x1400d4857
mov dword [rsp + 0x38], CoRevokeClassObject
mov qword [rsp + 0x30], r14
lea rcx, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x1400d4981
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [rsp + 0x40]
mov rcx, rbp
mov edi, eax
call fcn.1400d451c
test eax, eax
je 0x1400d4928
mov rcx, qword [0x14017d3a8]
cmp rcx, r12
je 0x1400d491c
test byte [rcx + 0x1c], r15b
je 0x1400d491c
cmp byte [rcx + 0x19], 2
jb 0x1400d491c
mov rcx, qword [rcx + 0x10]
lea r8, [0x14000d0d8]
mov edx, 0x1e
mov r9, rbp
mov dword [rsp + 0x20], eax
call fcn.14001ecbc
mov ebx, 0x16
mov dword [rsi], edi
jmp 0x1400d49b6
mov eax, dword [rsp + 0x40]
shr eax, 0xb
test al, 1
je 0x1400d4a07
mov rcx, qword [0x14017d3a8]
cmp rcx, r12
je 0x1400d4969
test byte [rcx + 0x1c], r15b
je 0x1400d4969
cmp byte [rcx + 0x19], r15b
jb 0x1400d4969
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x50]
lea r8, [0x14000d0d8]
mov edx, 0x1f
call fcn.14001ec40
lea r8, [0x140004018]
mov edx, CoRevokeClassObject
mov rcx, r14
call fcn.140052508
test eax, eax
js 0x1400d49b6
mov rcx, qword [0x14017d3a8]
cmp rcx, r12
je 0x1400d49e3
test byte [rcx + 0x1c], r15b
je 0x1400d49bd
cmp byte [rcx + 0x19], r15b
jb 0x1400d49bd
mov rcx, qword [rcx + 0x10]
lea r8, [0x14000d0d8]
mov edx, 0x22
mov r9, rbp
mov qword [rsp + 0x20], r14
call fcn.14001ed50
mov rcx, qword [0x14017d3a8]
cmp rcx, r12
je 0x1400d49e3
test byte [rcx + 0x1c], r15b
je 0x1400d49e3
cmp byte [rcx + 0x19], r15b
jb 0x1400d49e3
mov rcx, qword [rcx + 0x10]
lea r8, [0x14000d0d8]
mov edx, 0x23
call fcn.14001dd24
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140168920
add rsp, 0x270
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp edi, 0x3ed
je 0x1400d4a62
cmp edi, 1
je 0x1400d4a62
cmp edi, 0x57
je 0x1400d4a62
mov dword [rsi], edi
mov rcx, qword [0x14017d3a8]
cmp rcx, r12
je 0x1400d4a58
test byte [rcx + 0x1c], r15b
je 0x1400d4a58
cmp byte [rcx + 0x19], 2
jb 0x1400d4a58
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x50]
lea r8, [0x14000d0d8]
mov edx, 0x21
mov dword [rsp + 0x20], edi
call fcn.14001ecbc
mov rcx, qword [0x14017d3a8]
mov ebx, 0x16
jmp 0x1400d49bd
mov rcx, qword [0x14017d3a8]
cmp rcx, r12
je 0x1400d4a94
test byte [rcx + 0x1c], r15b
je 0x1400d4a94
cmp byte [rcx + 0x19], r15b
jb 0x1400d4a94
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x50]
lea r8, [0x14000d0d8]
mov edx, 0x20
call fcn.14001ec40
lea r8, [0x1400056c0]
jmp 0x1400d4970