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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x1400b02e8]
xor rax, rsp
mov qword [rbp + 0x200], 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]
nop dword [rax + rax]
mov esi, eax
test eax, eax
je 0x140028799
lea edx, [r14 + 0x5c]
lea rcx, str.AdminAppManAppV_sharedincludepaths_short_paths.hpp
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x14002876a
inc rax
jmp 0x140028771
lea rax, str.AdminAppManAppV_sharedincludepaths_short_paths.hpp
mov rdx, rax
lea rcx, [0x1400b1690]
call fcn.140013934
shl rax, 0x34
or rax, rsi
movabs rcx, 0x72500000000
or rax, rcx
jmp 0x140028ce3
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x140028cd6
cmp eax, 1
je 0x140028cd1
add eax, 0xfffffffe
cmp eax, 1
ja 0x140028c86
mov qword [rbp - 0x60], r14
mov r12d, 7
mov qword [rbp - 0x58], r12
mov word [rbp - 0x70], r14w
lea rdx, [rbp - 0x70]
mov rcx, rbx
call fcn.140028508
test al, al
jne 0x140028839
lea edx, [r12 + 0x55]
lea rcx, str.AdminAppManAppV_sharedincludepaths_short_paths.hpp
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x1400287ff
inc rax
jmp 0x140028806
lea rax, str.AdminAppManAppV_sharedincludepaths_short_paths.hpp
mov rdx, rax
lea rcx, [0x1400b1690]
call fcn.140013934
mov rbx, rax
shl rbx, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
movabs rax, 0xb2500000000
jmp 0x140028a47
mov esi, 3
cmp dword [rsp + 0x40], esi
jne 0x1400289ca
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], r12
mov word [rbp - 0x40], r14w
lea rcx, [rbp - 0x40]
call fcn.1400285b8
test al, al
jne 0x1400288c2
lea edx, [rsi + 0x59]
lea rcx, str.AdminAppManAppV_sharedincludepaths_short_paths.hpp
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x140028882
inc rax
jmp 0x140028889
lea rax, str.AdminAppManAppV_sharedincludepaths_short_paths.hpp
mov rdx, rax
lea rcx, [0x1400b1690]
call fcn.140013934
mov rbx, rax
shl rbx, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
or rdi, rbx
movabs rax, 0xc2500000000
or rdi, rax
jmp 0x1400289a6
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r12
mov word [rsp + 0x70], r14w
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x40]
call fcn.140028508
test al, al
jne 0x140028941
mov edx, 0x5c
lea rcx, str.AdminAppManAppV_sharedincludepaths_short_paths.hpp
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x140028904
inc rax
jmp 0x14002890b
lea rax, str.AdminAppManAppV_sharedincludepaths_short_paths.hpp
mov rdx, rax
lea rcx, [0x1400b1690]
call fcn.140013934
mov rbx, rax
shl rbx, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
or rdi, rbx
movabs rax, 0xc2500000000
or rdi, rax
jmp 0x14002897c
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rcx, qword [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
nop dword [rax + rax]
test eax, eax
sete al
mov byte [rdi], al
movabs rdi, 0x8000000000
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x140028998
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
call fcn.140003d24
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r12
mov word [rsp + 0x70], r14w
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x140028c66
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
call fcn.140003d24
jmp 0x140028c66
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rcx, qword [rbp - 0x70]
mov r8d, 0x104
lea rdx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
nop dword [rax + rax]
test eax, eax
jne 0x140028a52
lea edx, [rax + 0x5c]
lea rcx, str.AdminAppManAppV_sharedincludepaths_short_paths.hpp
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x140028a12
inc rax
jmp 0x140028a19
lea rax, str.AdminAppManAppV_sharedincludepaths_short_paths.hpp
mov rdx, rax
lea rcx, [0x1400b1690]
call fcn.140013934
mov rbx, rax
shl rbx, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
movabs rax, 0xd2500000000
or rdi, rbx
or rdi, rax
jmp 0x140028c66
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r12
mov word [rsp + 0x50], r14w
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x50]
call fcn.140003b34
lea rcx, [rsp + 0x50]
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x68]
cmp r8, 8
cmovae rcx, rdx
mov r9, qword [rsp + 0x60]
dec r9
mov ebx, 0x5c
cmp bx, word [rcx + r9*2]
jne 0x140028abc
lea rax, [rsp + 0x50]
cmp r8, 8
cmovae rax, rdx
mov qword [rsp + 0x60], r9
mov word [rax + r9*2], r14w
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
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]
nop dword [rax + rax]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140028b56
mov edx, ebx
lea rcx, str.AdminAppManAppV_sharedincludepaths_short_paths.hpp
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x140028b16
inc rax
jmp 0x140028b1d
lea rax, str.AdminAppManAppV_sharedincludepaths_short_paths.hpp
mov rdx, rax
lea rcx, [0x1400b1690]
call fcn.140013934
mov rbx, rax
shl rbx, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
or rdi, rbx
movabs rax, 0xf2500000000
or rdi, rax
jmp 0x140028c39
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x4c], 1
mov dword [rbp - 0x48], 1
movups xmmword [rbp - 0x20], xmm0
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 - 0x20]
mov qword [rsp + 0x20], rax
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea r8, [rbp - 0x50]
mov edx, 0x9023c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
nop dword [rax + rax]
test eax, eax
jne 0x140028c12
mov edx, ebx
lea rcx, str.AdminAppManAppV_sharedincludepaths_short_paths.hpp
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x140028bd5
inc rax
jmp 0x140028bdc
lea rax, str.AdminAppManAppV_sharedincludepaths_short_paths.hpp
mov rdx, rax
lea rcx, [0x1400b1690]
call fcn.140013934
mov rbx, rax
shl rbx, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
or rdi, rbx
movabs rax, 0x112500000000
or rdi, rax
jmp 0x140028c25
mov al, byte [rbp - 0x20]
not al
and al, 1
mov byte [rdi], al
movabs rdi, 0x8000000000
test rsi, rsi
je 0x140028c39
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140028c56
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
call fcn.140003d24
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r12
mov word [rsp + 0x50], r14w
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140028c81
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
call fcn.140003d24
mov rax, rdi
jmp 0x140028ce3
mov edx, 0x5c
lea rcx, str.AdminAppManAppV_sharedincludepaths_short_paths.hpp
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x140028ca8
inc rax
jmp 0x140028caf
lea rax, str.AdminAppManAppV_sharedincludepaths_short_paths.hpp
mov rdx, rax
lea rcx, [0x1400b1690]
call fcn.140013934
shl rax, 0x34
movabs rcx, 0xa250000000d
jmp 0x140028791
mov byte [rdi], r14b
jmp 0x140028cd9
mov byte [rdi], 1
movabs rax, 0x8000000000
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.140066420
mov rbx, qword [rsp + 0x350]
add rsp, 0x310
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret