Function at 0x140004e40
Capabilities:
Get disk information
Get process image filename

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x5e0]
sub rsp, 0x6e0
mov rax, qword [0x14007b010]
xor rax, rsp
mov qword [rbp + 0x5d0], rax
mov rsi, rcx
mov qword [rbp - 0x68], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, vtable.CVolCommonBaseWithMemManager.0
mov qword [rsp + 0x30], rcx
lea r15, vtable.CVolObject.0
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
lea rax, vtable.CWString.0
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rbp - 0x70], rax
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
lea r12, vtable.CVolMem.0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], r14
mov qword [rbp - 0x80], 0x40
mov qword [rsp + 0x48], r14
mov qword [rbp - 0x80], 0xfe
test edx, edx
jne 0x140004f08
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x140004f18
mov r8d, edx
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
jne 0x140004f8b
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x140004f3c
lea rax, [0x1400660e8]
cmp qword [rsp + 0x78], rdi
cmovne rax, qword [rsp + 0x68]
mov rdx, rax
mov rcx, rsi
call fcn.1400056c0
mov dword [rsp + 0x20], 1
lea rax, [rsp + 0x50]
mov qword [rbp - 0x70], rax
mov qword [rsp + 0x50], r12
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x140004f72
lea rcx, [rsp + 0x50]
call qword [method.CMStringArray.virtual_24]
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x50], r15
jmp 0x1400051ed
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x3c0]
call fcn.14003dfd0
mov r8d, 0x104
lea rdx, [rbp + 0x3c0]
mov rcx, rdi
call qword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x140005030
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x140004fe1
lea rax, [0x1400660e8]
cmp qword [rsp + 0x78], 0
cmovne rax, qword [rsp + 0x68]
mov rdx, rax
mov rcx, rsi
call fcn.1400056c0
mov dword [rsp + 0x20], 1
lea rax, [rsp + 0x50]
mov qword [rbp - 0x70], rax
mov qword [rsp + 0x50], r12
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x140005017
lea rcx, [rsp + 0x50]
call qword [method.CMStringArray.virtual_24]
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x50], r15
jmp 0x1400051ed
mov eax, dword [0x140065554]
mov dword [rbp - 0x60], eax
movzx eax, word [0x140065558]
mov word [rbp - 0x5c], ax
xor edx, edx
mov r8d, 0x202
lea rcx, [rbp - 0x5a]
call fcn.14003dfd0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1b0]
call fcn.14003dfd0
mov edi, r14d
nop dword [rax]
lea eax, [rdi + 0x41]
mov word [rbp - 0x60], ax
mov r8d, 0x104
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea rax, [rbp + 0x1b0]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400050a0
test ebx, ebx
je 0x1400050c8
mov r8d, ebx
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0x3c0]
call fcn.1400485e4
test eax, eax
je 0x1400050d5
inc edi
cmp edi, 0x1a
jge 0x140005183
jmp 0x140005070
mov eax, ebx
lea r8, [rbp + 0x3c0]
lea r8, [r8 + rax*2]
lea rcx, [rbp - 0x60]
sub rcx, 2
nop word [rax + rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1400050f0
xor edx, edx
nop dword [rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x140005100
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x140005126
mov rdx, rax
jmp 0x140005131
cmp qword [rsp + 0x78], 0
je 0x14000513a
mov rdx, rcx
lea r8, [rbp - 0x60]
cmp r8, rdx
je 0x14000518d
mov rax, r14
mov qword [rsp + 0x48], rax
test rcx, rcx
je 0x14000515c
mov rdx, rcx
lea rcx, [rsp + 0x50]
mov rax, qword [rsp + 0x50]
call qword [rax + 0x18]
mov rax, qword [rsp + 0x48]
mov rcx, r14
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], r14
cmp word [rbp - 0x60], r14w
je 0x14000518d
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x50]
call fcn.14002ba70
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x68]
test rax, rax
jne 0x1400051a3
lea rax, [0x1400660e8]
cmp qword [rsp + 0x78], 0
cmovne rax, rcx
mov rdx, rax
mov rcx, rsi
call fcn.1400056c0
mov dword [rsp + 0x20], 1
lea rax, [rsp + 0x50]
mov qword [rbp - 0x70], rax
mov qword [rsp + 0x50], r12
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x1400051d9
lea rcx, [rsp + 0x50]
call qword [method.CMStringArray.virtual_24]
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x30], r15
mov rax, rsi
mov rcx, qword [rbp + 0x5d0]
xor rcx, rsp
call fcn.14003bcb0
lea r11, [rsp + 0x6e0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret