Function at 0x1400e6798
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor eax, eax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
test rdx, rdx
je 0x1400e67c1
cmp word [rdx], ax
je 0x1400e67c1
test r8, r8
jne 0x1400e67d9
lea r8, str.pstrFilePath__pstrFilePath__pFindData
mov edx, 0x464
lea rcx, [0x1401547c0]
call fcn.140088f60
mov r8b, byte [rsi + 0x5e8]
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x1400e992c
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x14016a508]
xor rax, rsp
mov qword [rbp + 0x40], rax
xor r12d, r12d
mov r15b, r8b
mov rdi, rdx
mov rbx, rcx
test rcx, rcx
je 0x1400e9972
cmp word [rcx], r12w
je 0x1400e9972
test rdx, rdx
jne 0x1400e998a
lea r8, str.pstrFilePath__pstrFilePath__pFindData
mov edx, 0x75c
lea rcx, [0x1401550d0]
call fcn.140088f60
mov dword [rsp + 0x38], r12d
xor r9d, r9d
mov qword [rsp + 0x30], r12
xor r8d, r8d
mov qword [rsp + 0x28], r12
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
nop dword [rax + rax]
test eax, eax
je 0x1400e9a71
mov r9b, r15b
lea r8, [rsp + 0x48]
mov rcx, rbx
call fcn.1400e9370
mov esi, eax
test eax, eax
js 0x1400e9a25
mov r14d, dword [rsp + 0x48]
bt r14d, 0xa
jb 0x1400e9a71
lea rcx, [rdi + 0x24]
xor edx, edx
mov r8d, 0x22c
call sub.msvcrt.dll_memset
mov rax, qword [rsp + 0x54]
mov rcx, qword [rsp + 0x4c]
mov qword [rdi + 0xc], rax
mov rax, qword [rsp + 0x5c]
mov qword [rdi + 0x14], rax
mov eax, dword [rsp + 0x64]
mov dword [rdi + 0x1c], eax
mov eax, dword [rsp + 0x68]
mov dword [rdi + 0x20], eax
mov dword [rdi], r14d
mov qword [rdi + 4], rcx
jmp 0x1400e9b1a
mov rcx, qword [0x14016a048]
lea rax, [0x14016a048]
cmp rcx, rax
je 0x1400e9b5b
test byte [rcx + 0x1c], 8
je 0x1400e9b5b
cmp byte [rcx + 0x19], 2
jb 0x1400e9b5b
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401558b0]
mov edx, 0xe
mov dword [rsp + 0x20], esi
mov r9, rbx
call fcn.140014f78
jmp 0x1400e9b5b
or rsi, 0xffffffffffffffff
inc rsi
cmp word [rbx + rsi*2], r12w
jne 0x1400e9a75
mov r13d, 0x5c
test esi, esi
je 0x1400e9a93
lea eax, [rsi - 1]
cmp word [rbx + rax*2], r13w
je 0x1400e9aab
lea r8, str.dwPathLength___0__pstrFilePath_dwPathLength_1___L
mov edx, 0x790
lea rcx, [0x1401550d0]
call fcn.140088f60
mov r14d, esi
lea rcx, [rsp + 0x70]
mov word [rbx + r14*2 - 2], r12w
call fcn.1400ec1a4
mov r9b, r15b
mov qword [rsp + 0x20], r12
mov r8, rdi
lea rcx, [rsp + 0x70]
mov rdx, rbx
call fcn.1400ec6c4
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x78], 4
mov esi, eax
call fcn.1400ec2b8
test eax, eax
jns 0x1400e9b06
xor r9d, r9d
xor r8d, r8d
mov ecx, eax
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_RaiseException]
lea rcx, [rsp + 0x70]
mov word [rbx + r14*2 - 2], r13w
call fcn.1400ec23c
test esi, esi
js 0x1400e9b5b
test byte [rdi], 0x10
jne 0x1400e9b5b
mov esi, 0x80070057
mov rcx, qword [0x14016a048]
lea rax, [0x14016a048]
cmp rcx, rax
je 0x1400e9b5b
test byte [rcx + 0x1c], 8
je 0x1400e9b5b
cmp byte [rcx + 0x19], 2
jb 0x1400e9b5b
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401558b0]
mov edx, 0xf
mov r9, rbx
call fcn.140014f10
mov eax, esi
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1400071e0
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret