Function at 0x14006ab70
Capabilities:
Read virtual disk

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x1b0
mov rax, qword [0x140193440]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
movups xmm0, xmmword [0x140157b50]
mov dword [rsp + 0x80], 1
xor eax, eax
xorps xmm1, xmm1
mov qword [rsp + 0x58], rax
movups xmmword [rsp + 0x84], xmm0
mov dword [rsp + 0x40], 0x80
mov r14, rdx
xorps xmm0, xmm0
mov rdi, rcx
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x48], xmm1
call fcn.140067550
xor esi, esi
mov rbp, rax
mov ebx, esi
test rax, rax
je 0x14006ae80
mov rcx, qword [0x14019cca0]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14006ac34
xor r8d, r8d
xor edx, edx
call qword [sym.imp.VirtDisk.dll_DetachVirtualDisk]
mov rcx, qword [0x14019cca0]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14006ac2e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14019cca0], 0xffffffffffffffff
mov byte [0x1401e5bd0], bl
test rdi, rdi
je 0x14006ac7d
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rdi + rax], bl
jne 0x14006ac40
cmp rax, 4
jbe 0x14006ac7d
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rdi + rax], bl
jne 0x14006ac55
lea rbx, [rdi - 1]
add rbx, rax
cmp byte [rbx], 0x2e
je 0x14006ac7d
nop dword [rax]
cmp rbx, rdi
je 0x14006ac7d
dec rbx
cmp byte [rbx], 0x2e
jne 0x14006ac70
lea rax, str._NULL_
test rbx, rbx
lea rdx, [0x1401719a4]
cmove rbx, rax
mov rcx, rbx
call fcn.140107d64
test eax, eax
jne 0x14006acab
mov dword [rsp + 0x80], 3
jmp 0x14006acd2
lea rdx, [0x14017199c]
mov rcx, rbx
call fcn.140107d64
mov ecx, dword [rsp + 0x80]
test eax, eax
mov edx, 2
cmove ecx, edx
mov dword [rsp + 0x80], ecx
lea rax, [0x14019cca0]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x80]
mov r8d, 0xd0000
mov qword [rsp + 0x20], rsi
mov rdx, rbp
call qword [sym.imp.VirtDisk.dll_OpenVirtualDisk]
test eax, eax
je 0x14006ad15
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rbx, str.Could_not_open_image__s:__s
jmp 0x14006ae10
mov rcx, qword [0x14019cca0]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rsi
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], rax
mov r8d, 3
mov dword [rsp + 0x48], 1
call qword [sym.imp.VirtDisk.dll_AttachVirtualDisk]
test eax, eax
je 0x14006ad5c
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rbx, str.Could_not_mount_image__s:__s
jmp 0x14006ae10
mov rcx, qword [0x14019cca0]
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x40]
call qword [sym.imp.VirtDisk.dll_GetVirtualDiskPhysicalPath]
test eax, eax
je 0x14006ad8e
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rbx, str.Could_not_obtain_physical_path_for_mounted_image__s:__s
jmp 0x14006ae10
mov qword [rsp + 0x38], rsi
lea rbx, [0x1401e5bd0]
mov qword [rsp + 0x30], rsi
lea r8, [rsp + 0xa0]
mov dword [rsp + 0x28], 0x80
mov r9d, 0xffffffff
xor edx, edx
mov qword [rsp + 0x20], rbx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test r14, r14
je 0x14006ae72
mov qword [r14], rsi
lea r8, [rsp + 0x60]
mov rcx, qword [0x14019cca0]
lea rdx, [rsp + 0x40]
xor r9d, r9d
mov dword [rsp + 0x60], 1
mov dword [rsp + 0x40], 0x20
call qword [sym.imp.VirtDisk.dll_GetVirtualDiskInformation]
test eax, eax
je 0x14006ae6a
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rbx, str.Could_not_obtain_virtual_size_of_mounted_image__s:__s
call fcn.14004fba0
mov r8, rax
mov rdx, rdi
mov rcx, rbx
call fcn.14004f2f0
mov rcx, qword [0x14019cca0]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14006ae61
xor r8d, r8d
xor edx, edx
call qword [sym.imp.VirtDisk.dll_DetachVirtualDisk]
mov rcx, qword [0x14019cca0]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14006ae61
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14019cca0], 0xffffffffffffffff
mov byte [0x1401e5bd0], sil
jmp 0x14006ae75
mov rax, qword [rsp + 0x68]
mov qword [r14], rax
mov rsi, rbx
mov rcx, rbp
call fcn.1400e8c70
mov rax, rsi
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1400b2a30
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret