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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x238]
sub rsp, 0x320
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400bd288]
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 0x140027ef0
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 0x140027ec1
inc rax
jmp 0x140027ec8
lea rax, str.admin_appman_appv_sharedincludepaths_short_paths.hpp
mov rdx, rax
lea rcx, [0x1400be678]
call fcn.140012a04
shl rax, 0x34
or rax, rsi
movabs rcx, 0x72500000000
or rax, rcx
jmp 0x140028372
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x140028365
cmp eax, 1
je 0x140028360
add eax, 0xfffffffe
cmp eax, 1
ja 0x14002831b
movdqa xmm0, xmmword [0x140097cf0]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], r14w
lea rdx, [rbp - 0x78]
mov rcx, rbx
call fcn.140027bb4
test al, al
jne 0x140027f83
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 0x140027f4f
inc rax
jmp 0x140027f56
lea rax, str.admin_appman_appv_sharedincludepaths_short_paths.hpp
mov rdx, rax
lea rcx, [0x1400be678]
call fcn.140012a04
mov rbx, rax
shl rbx, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
movabs rax, 0xb2500000000
jmp 0x14002812c
mov esi, 3
cmp dword [rsp + 0x40], esi
jne 0x1400280c1
movdqa xmm0, xmmword [0x140097cf0]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r14w
lea rcx, [rbp - 0x28]
call fcn.140027c80
test al, al
jne 0x140028005
lea edx, [rsi + 0x59]
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 0x140027fcb
inc rax
jmp 0x140027fd2
lea rax, str.admin_appman_appv_sharedincludepaths_short_paths.hpp
mov rdx, rax
lea rcx, [0x1400be678]
call fcn.140012a04
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 0x1400280b8
movdqa xmm0, xmmword [0x140097cf0]
movdqu xmmword [rbp - 0x38], xmm0
mov word [rbp - 0x48], r14w
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x28]
call fcn.140027bb4
test al, al
jne 0x14002807b
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 0x140028044
inc rax
jmp 0x14002804b
lea rax, str.admin_appman_appv_sharedincludepaths_short_paths.hpp
mov rdx, rax
lea rcx, [0x1400be678]
call fcn.140012a04
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 0x1400280ae
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rcx, qword [rbp - 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
lea rcx, [rbp - 0x48]
call fcn.140003c44
nop
lea rcx, [rbp - 0x28]
jmp 0x140028307
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rcx, qword [rbp - 0x78]
mov r8d, 0x104
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x140028137
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 0x1400280fd
inc rax
jmp 0x140028104
lea rax, str.admin_appman_appv_sharedincludepaths_short_paths.hpp
mov rdx, rax
lea rcx, [0x1400be678]
call fcn.140012a04
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 0x14002830d
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r14w
lea rdx, [rbp]
lea rcx, [rsp + 0x58]
call fcn.140003cac
lea rax, [rsp + 0x58]
mov rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x70]
cmp r8, 8
cmovae rax, rdx
mov rcx, qword [rsp + 0x68]
mov ebx, 0x5c
cmp bx, word [rax + rcx*2 - 2]
jne 0x1400281a5
dec rcx
mov qword [rsp + 0x68], rcx
lea rax, [rsp + 0x58]
cmp r8, 8
cmovae rax, rdx
mov word [rax + rcx*2], r14w
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x58]
cmp r8, 8
cmovae rcx, rdx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8d, esi
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14002822d
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 0x1400281f3
inc rax
jmp 0x1400281fa
lea rax, str.admin_appman_appv_sharedincludepaths_short_paths.hpp
mov rdx, rax
lea rcx, [0x1400be678]
call fcn.140012a04
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 0x140028302
xor eax, eax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x7c], 1
mov dword [rbp - 0x80], 1
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov dword [rsp + 0x48], r14d
mov qword [rsp + 0x38], r14
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], reloc.OLEAUT32.dll_SafeArrayGetDim
lea rax, [rbp - 0x58]
mov qword [rsp + 0x20], rax
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea r8, [rsp + 0x78]
mov edx, 0x9023c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400282e1
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 0x1400282aa
inc rax
jmp 0x1400282b1
lea rax, str.admin_appman_appv_sharedincludepaths_short_paths.hpp
mov rdx, rax
lea rcx, [0x1400be678]
call fcn.140012a04
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 0x1400282f4
mov al, byte [rbp - 0x58]
not al
and al, 1
mov byte [rdi], al
movabs rdi, 0x8000000000
test rsi, rsi
je 0x140028302
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x58]
call fcn.140003c44
nop
lea rcx, [rbp - 0x78]
call fcn.140003c44
mov rax, rdi
jmp 0x140028372
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 0x140028337
inc rax
jmp 0x14002833e
lea rax, str.admin_appman_appv_sharedincludepaths_short_paths.hpp
mov rdx, rax
lea rcx, [0x1400be678]
call fcn.140012a04
shl rax, 0x34
movabs rcx, 0xa250000000d
jmp 0x140027ee8
mov byte [rdi], r14b
jmp 0x140028368
mov byte [rdi], 1
movabs rax, 0x8000000000
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.1400663d0
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret