Function at 0x140026984
Capabilities:
Get disk information
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r13
push r14
lea rbp, [rax - 0x248]
sub rsp, 0x320
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1400c2270]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov rdi, rdx
mov rbx, rcx
xor r14d, r14d
mov byte [rdx], r14b
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x44], 4
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 0x10]
lea r8, str.NtfsDisable8dot3NameCreation
lea rdx, str.SYSTEMCurrentControlSetControlFileSystem
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov esi, eax
test eax, eax
je 0x140026a5b
lea edx, [r14 + 0x5c]
lea rcx, str.admin_appman_appv_sharedincludepaths_short_paths.hpp
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
test rax, rax
je 0x140026a2c
inc rax
jmp 0x140026a33
lea rax, str.admin_appman_appv_sharedincludepaths_short_paths.hpp
mov rdx, rax
lea rcx, [0x1400c3688]
call fcn.14000f3ec
shl rax, 0x34
or rax, rsi
movabs rcx, 0x72500000000
or rax, rcx
jmp 0x140026f34
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x140026f27
cmp eax, 1
je 0x140026f22
add eax, 0xfffffffe
cmp eax, 1
ja 0x140026edd
mov qword [rbp - 0x78], r14
mov esi, 7
mov qword [rbp - 0x70], rsi
mov word [rsp + 0x78], r14w
lea rdx, [rsp + 0x78]
mov rcx, rbx
call fcn.140026780
lea r13d, [rsi - 5]
test al, al
jne 0x140026af2
lea edx, [rsi + 0x55]
lea rcx, str.admin_appman_appv_sharedincludepaths_short_paths.hpp
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
test rax, rax
je 0x140026abe
inc rax
jmp 0x140026ac5
lea rax, str.admin_appman_appv_sharedincludepaths_short_paths.hpp
mov rdx, rax
lea rcx, [0x1400c3688]
call fcn.14000f3ec
mov rbx, rax
shl rbx, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
movabs rax, 0xb2500000000
jmp 0x140026cb1
cmp dword [rsp + 0x40], 3
jne 0x140026c44
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], rsi
mov word [rbp - 0x28], r14w
lea rcx, [rbp - 0x28]
call fcn.140026870
test al, al
jne 0x140026b6d
mov edx, 0x5c
lea rcx, str.admin_appman_appv_sharedincludepaths_short_paths.hpp
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
test rax, rax
je 0x140026b33
inc rax
jmp 0x140026b3a
lea rax, str.admin_appman_appv_sharedincludepaths_short_paths.hpp
mov rdx, rax
lea rcx, [0x1400c3688]
call fcn.14000f3ec
mov rbx, rax
shl rbx, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
or rdi, rbx
movabs rax, 0xc2500000000
or rdi, rax
jmp 0x140026c2d
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], rsi
mov word [rbp - 0x58], r14w
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x28]
call fcn.140026780
test al, al
jne 0x140026bde
mov edx, 0x5c
lea rcx, str.admin_appman_appv_sharedincludepaths_short_paths.hpp
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
test rax, rax
je 0x140026ba7
inc rax
jmp 0x140026bae
lea rax, str.admin_appman_appv_sharedincludepaths_short_paths.hpp
mov rdx, rax
lea rcx, [0x1400c3688]
call fcn.14000f3ec
mov rbx, rax
shl rbx, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
or rdi, rbx
movabs rax, 0xc2500000000
or rdi, rax
jmp 0x140026c13
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rdx, qword [rbp - 0x58]
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
test eax, eax
sete al
mov byte [rdi], al
movabs rdi, 0x8000000000
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x140026c2d
inc rdx
mov r8, r13
mov rcx, qword [rbp - 0x58]
call fcn.140002ec0
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x140026ebe
mov rcx, qword [rbp - 0x28]
jmp 0x140026eb2
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
mov r8d, 0x104
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x140026cbc
lea edx, [rax + 0x5c]
lea rcx, str.admin_appman_appv_sharedincludepaths_short_paths.hpp
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
test rax, rax
je 0x140026c82
inc rax
jmp 0x140026c89
lea rax, str.admin_appman_appv_sharedincludepaths_short_paths.hpp
mov rdx, rax
lea rcx, [0x1400c3688]
call fcn.14000f3ec
mov rbx, rax
shl rbx, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
movabs rax, 0xd2500000000
or rdi, rbx
or rdi, rax
jmp 0x140026ebe
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], rsi
mov word [rsp + 0x58], r14w
lea rax, [rbp]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r14w
jne 0x140026cd4
lea rdx, [rbp]
lea rcx, [rsp + 0x58]
call fcn.1400030f0
nop
lea rax, [rsp + 0x58]
mov r8, qword [rsp + 0x58]
mov r9, qword [rsp + 0x70]
cmp r9, 8
cmovae rax, r8
mov rdx, qword [rsp + 0x68]
mov ebx, 0x5c
cmp bx, word [rax + rdx*2 - 2]
jne 0x140026d45
lea rcx, [rdx - 1]
cmp rdx, rcx
jae 0x140026d24
call fcn.1400031f0
int3
mov qword [rsp + 0x68], rcx
lea rax, [rsp + 0x58]
cmp r9, 8
cmovae rax, r8
mov word [rax + rcx*2], r14w
mov r9, qword [rsp + 0x70]
mov r8, qword [rsp + 0x58]
lea rcx, [rsp + 0x58]
cmp r9, 8
cmovae rcx, r8
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140026dd2
mov edx, ebx
lea rcx, str.admin_appman_appv_sharedincludepaths_short_paths.hpp
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
test rax, rax
je 0x140026d98
inc rax
jmp 0x140026d9f
lea rax, str.admin_appman_appv_sharedincludepaths_short_paths.hpp
mov rdx, rax
lea rcx, [0x1400c3688]
call fcn.14000f3ec
mov rbx, rax
shl rbx, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
or rdi, rbx
movabs rax, 0xf2500000000
or rdi, rax
jmp 0x140026ea2
xor eax, eax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov dword [rbp - 0x64], 1
mov dword [rbp - 0x60], 1
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov dword [rsp + 0x48], r14d
mov qword [rsp + 0x38], r14
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
mov dword [rsp + 0x28], r9d
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x68]
mov edx, 0x9023c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x140026e80
mov edx, ebx
lea rcx, str.admin_appman_appv_sharedincludepaths_short_paths.hpp
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
test rax, rax
je 0x140026e49
inc rax
jmp 0x140026e50
lea rax, str.admin_appman_appv_sharedincludepaths_short_paths.hpp
mov rdx, rax
lea rcx, [0x1400c3688]
call fcn.14000f3ec
mov rbx, rax
shl rbx, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
or rdi, rbx
movabs rax, 0x112500000000
or rdi, rax
jmp 0x140026e93
mov al, byte [rbp - 0x38]
not al
and al, 1
mov byte [rdi], al
movabs rdi, 0x8000000000
test rsi, rsi
je 0x140026ea2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140026ebe
mov rcx, qword [rsp + 0x58]
mov r8, r13
inc rdx
call fcn.140002ec0
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x140026ed8
inc rdx
mov r8, r13
mov rcx, qword [rsp + 0x78]
call fcn.140002ec0
mov rax, rdi
jmp 0x140026f34
mov edx, 0x5c
lea rcx, str.admin_appman_appv_sharedincludepaths_short_paths.hpp
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
test rax, rax
je 0x140026ef9
inc rax
jmp 0x140026f00
lea rax, str.admin_appman_appv_sharedincludepaths_short_paths.hpp
mov rdx, rax
lea rcx, [0x1400c3688]
call fcn.14000f3ec
shl rax, 0x34
movabs rcx, 0xa250000000d
jmp 0x140026a53
mov byte [rdi], r14b
jmp 0x140026f2a
mov byte [rdi], 1
movabs rax, 0x8000000000
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140065760
mov rbx, qword [rsp + 0x360]
add rsp, 0x320
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret