Function at 0x1400fef60
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 0x1400ff561
mov eax, 2
mul rbx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14016d418
mov rsi, rax
test rax, rax
je 0x1400ff561
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 0x1400ff090
test rcx, rcx
je 0x1400ff559
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x1400ff52d
mov r8d, 0x104
lea rdx, [rbp]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x1400ff52d
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 0x1400ff111
mov r8, r12
jmp 0x1400ff11f
mov r8, rbx
inc r8
cmp word [rdi + r8*2], 0
jne 0x1400ff114
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 0x1400ff1ca
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.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 0x1400ff271
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 0x1400ff318
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 0x1400ff3bf
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 0x1400ff478
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 0x1400ff4b6
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 0x1400ff4cd
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 0x1400ff4e9
lea rdx, [rsp + 0x38]
call fcn.1400c4200
nop
add qword [rbx + 8], 0x18
mov r8, qword [rbp - 0x10]
cmp r8, 8
jb 0x1400ff508
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 0x1400ff530
lea rdi, [rdi + rax*2]
add rdi, 2
mov rax, rbx
inc rax
cmp word [rdi + rax*2], 0
jne 0x1400ff546
test rax, rax
jne 0x1400ff0a3
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 0x1400ff60a
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 0x1400ff682
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.1400c3a10
mov eax, dword [rsp + 0x58]
cmp eax, 3
jne 0x1400ff6b4
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 0x1400ff6c6
cmp eax, 2
jne 0x1400ff788
mov rax, qword [rsp + 0x60]
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x1400ff788
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 0x1400ff778
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 0x1400ff7ee
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 0x1400ff821
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