Function at 0x1400f9bc0
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 [0x14027f238]
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.1400c02b0]
mov rcx, rbx
call qword [fcn.1400059b0]
lea rcx, [rsp + 0x50]
call rbx
mov dword [rsp + 0x58], 3
lea ecx, [r12 + 0x18]
call fcn.140165194
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 0x1400fa1c1
mov eax, 2
mul rbx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140165478
mov rsi, rax
test rax, rax
je 0x1400fa1c1
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 0x1400f9cf0
test rcx, rcx
je 0x1400fa1b9
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x1400fa18d
mov r8d, 0x104
lea rdx, [rbp]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x1400fa18d
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.1401b913c
mov word [rdi], ax
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], r12
mov word [rbp - 0x28], r12w
test ax, ax
jne 0x1400f9d71
mov r8, r12
jmp 0x1400f9d7f
mov r8, rbx
inc r8
cmp word [rdi + r8*2], 0
jne 0x1400f9d74
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.1400be520
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.1400c2c80
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.1400be520
nop
mov rax, qword [rsp + 0x38]
mov rbx, qword [rax + 0xf0]
mov rcx, rbx
call qword [fcn.1400059b0]
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x38]
call rbx
nop
mov r8, qword [rbp - 0x30]
cmp r8, 8
jb 0x1400f9e2a
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.1400be810
nop
mov qword [rsp + 0x20], r13
lea rcx, [rsp + 0x20]
call fcn.1400c02b0
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.1400c2c80
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.1400be520
nop
mov rax, qword [rsp + 0x38]
mov rbx, qword [rax + 0xf0]
mov rcx, rbx
call qword [fcn.1400059b0]
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x38]
call rbx
nop
mov r8, qword [rbp - 0x30]
cmp r8, 8
jb 0x1400f9ed1
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.1400be810
nop
mov qword [rsp + 0x20], r13
lea rcx, [rsp + 0x20]
call fcn.1400c02b0
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.1400c2c80
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.1400be520
nop
mov rax, qword [rsp + 0x38]
mov rbx, qword [rax + 0xf0]
mov rcx, rbx
call qword [fcn.1400059b0]
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x38]
call rbx
nop
mov r8, qword [rbp - 0x30]
cmp r8, 8
jb 0x1400f9f78
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.1400be810
nop
mov qword [rsp + 0x20], r13
lea rcx, [rsp + 0x20]
call fcn.1400c02b0
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, [0x1402271c4]
lea rcx, [rsp + 0x20]
call fcn.1400c2c80
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.1400be520
nop
mov rax, qword [rsp + 0x38]
mov rbx, qword [rax + 0xf0]
mov rcx, rbx
call qword [fcn.1400059b0]
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x38]
call rbx
nop
mov r8, qword [rbp - 0x30]
cmp r8, 8
jb 0x1400fa01f
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.1400be810
nop
mov qword [rsp + 0x20], r13
lea rcx, [rsp + 0x20]
call fcn.1400c02b0
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.1400c02b0]
mov rcx, rbx
call qword [fcn.1400059b0]
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.1400be520
nop
mov rax, qword [rsp + 0x38]
mov rbx, qword [rax + 0xf0]
mov rcx, rbx
call qword [fcn.1400059b0]
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x38]
call rbx
nop
mov r8, qword [rbp - 0x30]
cmp r8, 8
jb 0x1400fa0d8
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.1400be810
nop
mov qword [rsp + 0x20], r13
lea rcx, [rsp + 0x20]
call fcn.1400c02b0
nop
cmp dword [rsp + 0x58], 3
je 0x1400fa116
mov dword [rbp - 0x80], 3
mov rax, qword [rsp + 0x50]
mov rbx, qword [rax + 0x90]
mov rcx, rbx
call qword [fcn.1400059b0]
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 0x1400fa12d
mov rcx, rbx
call fcn.1400c5b30
mov rcx, qword [rbx + 8]
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x50], rcx
test rcx, rcx
je 0x1400fa149
lea rdx, [rsp + 0x38]
call fcn.1400bf000
nop
add qword [rbx + 8], 0x18
mov r8, qword [rbp - 0x10]
cmp r8, 8
jb 0x1400fa168
inc r8
mov rdx, qword [rbp - 0x28]
lea rcx, [rbp - 0x28]
call fcn.1400be810
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.1400c02b0
nop
or rbx, 0xffffffffffffffff
mov rax, rbx
lea rax, [rax + 1]
cmp word [rdi + rax*2], 0
jne 0x1400fa190
lea rdi, [rdi + rax*2]
add rdi, 2
mov rax, rbx
inc rax
cmp word [rdi + rax*2], 0
jne 0x1400fa1a6
test rax, rax
jne 0x1400f9d03
mov rcx, rsi
call fcn.14016591c
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.1400c02b0]
mov rcx, rbx
call qword [fcn.1400059b0]
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.1400be520
nop
mov rax, qword [rsp + 0x68]
mov rbx, qword [rax + 0xf0]
mov rcx, rbx
call qword [fcn.1400059b0]
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x68]
call rbx
nop
mov r8, qword [rbp - 0x30]
cmp r8, 8
jb 0x1400fa26a
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.1400be810
nop
mov qword [rsp + 0x20], r13
lea rcx, [rsp + 0x20]
call fcn.1400c02b0
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.1400be520
nop
mov rax, qword [rsp + 0x68]
mov rbx, qword [rax + 0xf8]
mov rcx, rbx
call qword [fcn.1400059b0]
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x68]
call rbx
nop
mov r8, qword [rbp - 0x30]
cmp r8, 8
jb 0x1400fa2e2
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.1400be810
mov eax, dword [rsp + 0x58]
cmp eax, 3
jne 0x1400fa314
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 0x1400fa326
cmp eax, 2
jne 0x1400fa3e8
mov rax, qword [rsp + 0x60]
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x1400fa3e8
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.1400c02b0]
mov rcx, rbx
call qword [fcn.1400059b0]
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.1400be520
nop
mov rax, qword [rsp + 0x68]
mov rbx, qword [rax + 0xf0]
mov rcx, rbx
call qword [fcn.1400059b0]
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x68]
call rbx
nop
mov r8, qword [rbp - 0x30]
cmp r8, 8
jb 0x1400fa3d8
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.1400be810
nop
mov qword [rsp + 0x20], r13
lea rcx, [rsp + 0x20]
call fcn.1400c02b0
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.1400be520
nop
mov rax, qword [rbp - 0x78]
mov rbx, qword [rax + 0xf8]
mov rcx, rbx
call qword [fcn.1400059b0]
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x78]
call rbx
nop
mov r8, qword [rbp - 0x30]
cmp r8, 8
jb 0x1400fa44e
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.1400be810
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x78]
call fcn.1400c2f60
mov rdx, rax
mov rcx, r15
call fcn.1400c44d0
mov r8, qword [rbp - 0x30]
cmp r8, 8
jb 0x1400fa481
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.1400be810
nop
mov qword [rbp - 0x78], r13
lea rcx, [rbp - 0x78]
call fcn.1400c02b0
nop
mov qword [rsp + 0x50], r13
lea rcx, [rsp + 0x50]
call fcn.1400c02b0
nop
mov qword [rsp + 0x68], r13
lea rcx, [rsp + 0x68]
call fcn.1400c02b0
nop
mov qword [r14], r13
mov rcx, r14
call fcn.1400c02b0
nop
xor eax, eax
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140164ec0
mov rbx, qword [rsp + 0x360]
add rsp, 0x320
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret