Function at 0x14014a940
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 [0x14028a238]
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.14016d134
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 0x14014af41
mov eax, 2
mul rbx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14016d418
mov rsi, rax
test rax, rax
je 0x14014af41
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 0x14014aa70
test rcx, rcx
je 0x14014af39
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
jne 0x14014af0d
mov r8d, 0x104
lea rdx, [rbp]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x14014af0d
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.1401c153c
mov word [rdi], ax
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], r12
mov word [rbp - 0x28], r12w
test ax, ax
jne 0x14014aaf1
mov r8, r12
jmp 0x14014aaff
mov r8, rbx
inc r8
cmp word [rdi + r8*2], 0
jne 0x14014aaf4
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.1400c7f30
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 0x14014abaa
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.removable
lea rcx, [rsp + 0x20]
call fcn.1400c7f30
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 0x14014ac51
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.1400c7f30
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 0x14014acf8
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, [0x1402305b4]
lea rcx, [rsp + 0x20]
call fcn.1400c7f30
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 0x14014ad9f
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 0x14014ae58
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 0x14014ae96
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 0x14014aead
mov rcx, rbx
call fcn.1400caea0
mov rcx, qword [rbx + 8]
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x50], rcx
test rcx, rcx
je 0x14014aec9
lea rdx, [rsp + 0x38]
call fcn.1400c4200
nop
add qword [rbx + 8], 0x18
mov r8, qword [rbp - 0x10]
cmp r8, 8
jb 0x14014aee8
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 0x14014af10
lea rdi, [rdi + rax*2]
add rdi, 2
mov rax, rbx
inc rax
cmp word [rdi + rax*2], 0
jne 0x14014af26
test rax, rax
jne 0x14014aa83
mov rcx, rsi
call fcn.14016d8bc
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 0x14014afea
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 0x14014b062
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.1400c3a10
mov eax, dword [rsp + 0x58]
cmp eax, 3
jne 0x14014b094
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 0x14014b0a6
cmp eax, 2
jne 0x14014b168
mov rax, qword [rsp + 0x60]
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x14014b168
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 0x14014b158
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 0x14014b1ce
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.1400c3a10
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x78]
call fcn.1400c8210
mov rdx, rax
mov rcx, r15
call fcn.1400c9840
mov r8, qword [rbp - 0x30]
cmp r8, 8
jb 0x14014b201
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.14016ce60
mov rbx, qword [rsp + 0x360]
add rsp, 0x320
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret