Function at 0x140103bc0
Capabilities:
Get disk information

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x360], rbx
mov rax, qword [0x14028c238]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov r15, r8
mov r14, rdx
mov qword [rbp - 0x58], rdx
lea r13, vtable.WaJson.0
mov qword [rsp + 0x68], r13
xor r12d, r12d
mov qword [rsp + 0x78], r12
mov dword [rsp + 0x78], r12d
mov byte [rsp + 0x78], r12b
mov dword [rsp + 0x70], 5
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x60], r12d
mov byte [rsp + 0x60], r12b
mov dword [rsp + 0x58], 5
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x68], r12
mov dword [rbp - 0x68], r12d
mov byte [rbp - 0x68], r12b
mov dword [rbp - 0x70], 5
mov rbx, qword [fcn.1400c54b0]
mov rcx, rbx
call qword [fcn.140005fb0]
lea rcx, [rsp + 0x50]
call rbx
mov dword [rsp + 0x58], 3
lea ecx, [r12 + 0x18]
call fcn.14016e754
mov qword [rbp - 0x80], rax
mov qword [rax], r12
mov qword [rax + 8], r12
mov qword [rax + 0x10], r12
mov qword [rsp + 0x60], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov ebx, eax
test eax, eax
je 0x1401041c1
mov eax, 2
mul rbx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14016ea40
mov rsi, rax
test rax, rax
je 0x1401041c1
mov rdx, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov rdi, rsi
or rbx, 0xffffffffffffffff
mov rcx, rbx
nop dword [rax]
inc rcx
cmp word [rsi + rcx*2], 0
jne 0x140103cf0
test rcx, rcx
je 0x1401041b9
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x14010418d
mov r8d, 0x104
lea rdx, [rbp]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x14010418d
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x48], r12
mov dword [rsp + 0x48], r12d
mov byte [rsp + 0x48], al
mov dword [rsp + 0x40], 5
movzx ecx, word [rdi]
call fcn.1401c2bbc
mov word [rdi], ax
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], r12
mov word [rbp - 0x28], r12w
test ax, ax
jne 0x140103d71
mov r8, r12
jmp 0x140103d7f
mov r8, rbx
inc r8
cmp word [rdi + r8*2], 0
jne 0x140103d74
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.1400c3720
nop
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rdx, qword [rbp - 0x28]
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x30], r12d
mov byte [rsp + 0x30], 0
mov dword [rsp + 0x28], 5
lea rcx, [rsp + 0x20]
call fcn.1400c8870
nop
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r12
mov word [rbp - 0x48], r12w
mov r8d, 4
lea rdx, str.path
lea rcx, [rbp - 0x48]
call fcn.1400c3720
nop
mov rax, qword [rsp + 0x38]
mov rbx, qword [rax + 0xf0]
mov rcx, rbx
call qword [fcn.140005fb0]
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x38]
call rbx
nop
mov r8, qword [rbp - 0x30]
cmp r8, 8
jb 0x140103e2a
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.1400c3a10
nop
mov qword [rsp + 0x20], r13
lea rcx, [rsp + 0x20]
call fcn.1400c54b0
nop
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x30], r12d
mov byte [rsp + 0x30], 0
mov dword [rsp + 0x28], 5
lea rdx, str.virtual
lea rcx, [rsp + 0x20]
call fcn.1400c8870
nop
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r12
mov word [rbp - 0x48], r12w
mov r8d, 4
lea rdx, str.type
lea rcx, [rbp - 0x48]
call fcn.1400c3720
nop
mov rax, qword [rsp + 0x38]
mov rbx, qword [rax + 0xf0]
mov rcx, rbx
call qword [fcn.140005fb0]
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x38]
call rbx
nop
mov r8, qword [rbp - 0x30]
cmp r8, 8
jb 0x140103ed1
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.1400c3a10
nop
mov qword [rsp + 0x20], r13
lea rcx, [rsp + 0x20]
call fcn.1400c54b0
nop
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x30], r12d
mov byte [rsp + 0x30], 0
mov dword [rsp + 0x28], 5
lea rdx, str.encrypted
lea rcx, [rsp + 0x20]
call fcn.1400c8870
nop
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r12
mov word [rbp - 0x48], r12w
mov r8d, 5
lea rdx, str.state
lea rcx, [rbp - 0x48]
call fcn.1400c3720
nop
mov rax, qword [rsp + 0x38]
mov rbx, qword [rax + 0xf0]
mov rcx, rbx
call qword [fcn.140005fb0]
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x38]
call rbx
nop
mov r8, qword [rbp - 0x30]
cmp r8, 8
jb 0x140103f78
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.1400c3a10
nop
mov qword [rsp + 0x20], r13
lea rcx, [rsp + 0x20]
call fcn.1400c54b0
nop
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x30], r12d
mov byte [rsp + 0x30], 0
mov dword [rsp + 0x28], 5
lea rdx, [0x1402325f4]
lea rcx, [rsp + 0x20]
call fcn.1400c8870
nop
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r12
mov word [rbp - 0x48], r12w
mov r8d, 9
lea rdx, str.algorithm
lea rcx, [rbp - 0x48]
call fcn.1400c3720
nop
mov rax, qword [rsp + 0x38]
mov rbx, qword [rax + 0xf0]
mov rcx, rbx
call qword [fcn.140005fb0]
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x38]
call rbx
nop
mov r8, qword [rbp - 0x30]
cmp r8, 8
jb 0x14010401f
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.1400c3a10
nop
mov qword [rsp + 0x20], r13
lea rcx, [rsp + 0x20]
call fcn.1400c54b0
nop
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x30], r12d
mov byte [rsp + 0x30], 0
mov dword [rsp + 0x28], 5
mov rbx, qword [fcn.1400c54b0]
mov rcx, rbx
call qword [fcn.140005fb0]
lea rcx, [rsp + 0x20]
call rbx
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], 1
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r12
mov word [rbp - 0x48], r12w
mov r8d, 8
lea rdx, str.strength
lea rcx, [rbp - 0x48]
call fcn.1400c3720
nop
mov rax, qword [rsp + 0x38]
mov rbx, qword [rax + 0xf0]
mov rcx, rbx
call qword [fcn.140005fb0]
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x38]
call rbx
nop
mov r8, qword [rbp - 0x30]
cmp r8, 8
jb 0x1401040d8
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.1400c3a10
nop
mov qword [rsp + 0x20], r13
lea rcx, [rsp + 0x20]
call fcn.1400c54b0
nop
cmp dword [rsp + 0x58], 3
je 0x140104116
mov dword [rbp - 0x80], 3
mov rax, qword [rsp + 0x50]
mov rbx, qword [rax + 0x90]
mov rcx, rbx
call qword [fcn.140005fb0]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x50]
call rbx
mov rbx, qword [rsp + 0x60]
mov rax, qword [rbx + 0x10]
cmp qword [rbx + 8], rax
jne 0x14010412d
mov rcx, rbx
call fcn.1400cb7e0
mov rcx, qword [rbx + 8]
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x50], rcx
test rcx, rcx
je 0x140104149
lea rdx, [rsp + 0x38]
call fcn.1400c4200
nop
add qword [rbx + 8], 0x18
mov r8, qword [rbp - 0x10]
cmp r8, 8
jb 0x140104168
inc r8
mov rdx, qword [rbp - 0x28]
lea rcx, [rbp - 0x28]
call fcn.1400c3a10
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], r12
mov word [rbp - 0x28], r12w
mov qword [rsp + 0x38], r13
lea rcx, [rsp + 0x38]
call fcn.1400c54b0
nop
or rbx, 0xffffffffffffffff
mov rax, rbx
lea rax, [rax + 1]
cmp word [rdi + rax*2], 0
jne 0x140104190
lea rdi, [rdi + rax*2]
add rdi, 2
mov rax, rbx
inc rax
cmp word [rdi + rax*2], 0
jne 0x1401041a6
test rax, rax
jne 0x140103d03
mov rcx, rsi
call fcn.14016ea38
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x30], r12d
mov byte [rsp + 0x30], 0
mov dword [rsp + 0x28], 5
mov rbx, qword [fcn.1400c54b0]
mov rcx, rbx
call qword [fcn.140005fb0]
lea rcx, [rsp + 0x20]
call rbx
mov byte [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r12
mov word [rbp - 0x48], r12w
mov r8d, reloc.OLEAUT32.dll_SafeArrayDestroy
lea rdx, str.fully_encrypted
lea rcx, [rbp - 0x48]
call fcn.1400c3720
nop
mov rax, qword [rsp + 0x68]
mov rbx, qword [rax + 0xf0]
mov rcx, rbx
call qword [fcn.140005fb0]
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x68]
call rbx
nop
mov r8, qword [rbp - 0x30]
cmp r8, 8
jb 0x14010426a
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.1400c3a10
nop
mov qword [rsp + 0x20], r13
lea rcx, [rsp + 0x20]
call fcn.1400c54b0
nop
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r12
mov word [rbp - 0x48], r12w
mov r8d, 9
lea rdx, str.locations
lea rcx, [rbp - 0x48]
call fcn.1400c3720
nop
mov rax, qword [rsp + 0x68]
mov rbx, qword [rax + 0xf8]
mov rcx, rbx
call qword [fcn.140005fb0]
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x68]
call rbx
nop
mov r8, qword [rbp - 0x30]
cmp r8, 8
jb 0x1401042e2
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.1400c3a10
mov eax, dword [rsp + 0x58]
cmp eax, 3
jne 0x140104314
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 8]
sub rcx, qword [rax]
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
jmp 0x140104326
cmp eax, 2
jne 0x1401043e8
mov rax, qword [rsp + 0x60]
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x1401043e8
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x30], r12d
mov byte [rsp + 0x30], 0
mov dword [rsp + 0x28], 5
mov rbx, qword [fcn.1400c54b0]
mov rcx, rbx
call qword [fcn.140005fb0]
lea rcx, [rsp + 0x20]
call rbx
mov byte [rsp + 0x30], 1
mov dword [rsp + 0x28], 4
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r12
mov word [rbp - 0x48], r12w
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetElemsize
lea rdx, str.encryption_active
lea rcx, [rbp - 0x48]
call fcn.1400c3720
nop
mov rax, qword [rsp + 0x68]
mov rbx, qword [rax + 0xf0]
mov rcx, rbx
call qword [fcn.140005fb0]
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x68]
call rbx
nop
mov r8, qword [rbp - 0x30]
cmp r8, 8
jb 0x1401043d8
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.1400c3a10
nop
mov qword [rsp + 0x20], r13
lea rcx, [rsp + 0x20]
call fcn.1400c54b0
nop
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r12
mov word [rbp - 0x48], r12w
mov r8d, 6
lea rdx, str.result
lea rcx, [rbp - 0x48]
call fcn.1400c3720
nop
mov rax, qword [rbp - 0x78]
mov rbx, qword [rax + 0xf8]
mov rcx, rbx
call qword [fcn.140005fb0]
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x78]
call rbx
nop
mov r8, qword [rbp - 0x30]
cmp r8, 8
jb 0x14010444e
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.1400c3a10
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x78]
call fcn.1400c8b50
mov rdx, rax
mov rcx, r15
call fcn.1400ca180
mov r8, qword [rbp - 0x30]
cmp r8, 8
jb 0x140104481
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.1400c3a10
nop
mov qword [rbp - 0x78], r13
lea rcx, [rbp - 0x78]
call fcn.1400c54b0
nop
mov qword [rsp + 0x50], r13
lea rcx, [rsp + 0x50]
call fcn.1400c54b0
nop
mov qword [rsp + 0x68], r13
lea rcx, [rsp + 0x68]
call fcn.1400c54b0
nop
mov qword [r14], r13
mov rcx, r14
call fcn.1400c54b0
nop
xor eax, eax
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.14016e480
mov rbx, qword [rsp + 0x360]
add rsp, 0x320
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret