Function at 0x14000d300
Capabilities:
Check mutex on windows
Get process image filename
Query or enumerate registry value

Disassembly:
push rbp
push rdi
lea rbp, [rsp - 0x428]
sub rsp, 0x528
mov rax, qword [0x1400b2080]
xor rax, rsp
mov qword [rbp + 0x410], rax
xor edx, edx
xor ecx, ecx
mov rdi, r8
call sub.ole32.dll_CoInitializeEx
test eax, eax
js 0x14000dcb2
mov qword [rsp + 0x540], rbx
lea rdx, str.shortcut_guide
mov qword [rsp + 0x548], rsi
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x558], r14
mov qword [rsp + 0x520], r15
call fcn.14000ea70
xorps xmm0, xmm0
lea rdx, [0x14009ad50]
xorps xmm1, xmm1
lea rcx, [rbp - 0x50]
mov r8d, 0xd
mov rbx, rax
movups xmmword [rbp - 0x50], xmm0
movdqu xmmword [rbp - 0x40], xmm1
call fcn.140003dd0
lea rdx, [0x1400ba4a8]
lea rcx, [rsp + 0x50]
call fcn.14000ce40
mov r8, rbx
lea rdx, [rbp - 0x50]
mov rcx, rax
call fcn.14000c580
xor r15d, r15d
mov dword [rsp + 0x40], 0xfffffffe
cmp qword [0x1400b8e80], 8
lea rax, [rsp + 0x38]
lea r14, [0x1400b8e68]
mov qword [rsp + 0x38], r15
mov rdx, r14
mov dword [rsp + 0x30], 4
cmovae rdx, qword [0x1400b8e68]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
lea rsi, [0x1400b9148]
test eax, eax
jne 0x14000d459
cmp qword [0x1400b9160], 8
lea rax, [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov rdx, rsi
cmovae rdx, qword [0x1400b9148]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test ebx, ebx
je 0x14000d4dd
cmp qword [0x1400b8e80], 8
lea rax, [rsp + 0x38]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
cmovae r14, qword [0x1400b8e68]
mov rcx, 0xffffffff80000001
mov rdx, r14
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000d51a
cmp qword [0x1400b9160], 8
lea rax, [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
cmovae rsi, qword [0x1400b9148]
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov rdx, rsi
lea rax, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test ebx, ebx
jne 0x14000d51a
cmp dword [rsp + 0x40], r15d
jne 0x14000d51a
mov rcx, qword [0x1400ba020]
lea rdx, [rsp + 0x50]
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x70], r15
movups xmm0, xmmword [rbp - 0x70]
mov qword [rbp - 0x60], r15
movsd xmm1, qword [rbp - 0x60]
movaps xmmword [rsp + 0x50], xmm0
movsd qword [rsp + 0x60], xmm1
call fcn.1400120c0
jmp 0x14000dc71
call fcn.14000b400
mov rcx, qword [0x1400ba020]
lea rax, str.Starting_Shortcut_Guide
mov qword [rsp + 0x58], r15
lea r9, [rbp - 0x70]
mov qword [rsp + 0x50], r15
lea rdx, [rbp - 0x50]
movups xmm0, xmmword [rsp + 0x50]
mov qword [rsp + 0x60], r15
xor r8d, r8d
movsd xmm1, qword [rsp + 0x60]
movaps xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], SafeArrayPutElement
movsd qword [rbp - 0x40], xmm1
call fcn.1400099d0
call fcn.14000cf70
test al, al
je 0x14000dc71
cmp qword [0x1400b2d60], r15
mov rax, qword [0x1400b2d48]
movups xmm0, xmmword [rax - 0x10]
movups xmmword [rbp - 0x70], xmm0
je 0x14000d598
mov ecx, 5
int 0x29
xorps xmm0, xmm0
lea r9, [0x1400b2d60]
lea r8, [0x1400b2d40]
lea rdx, section..text
lea rcx, [rbp - 0x70]
movdqu xmmword [0x1400b2d68], xmm0
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventRegister]
test eax, eax
jne 0x14000d5e1
mov r8, qword [0x1400b2d48]
lea edx, [rax + 2]
mov rcx, qword [0x1400b2d60]
movzx r9d, word [r8]
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventSetInformation]
xorps xmm0, xmm0
xorps xmm1, xmm1
mov rbx, 0xffffffffffffffff
movups xmmword [rbp + 0x80], xmm0
mov r8, rbx
movdqu xmmword [rbp + 0x90], xmm1
inc r8
cmp word [rdi + r8*2], r15w
jne 0x14000d600
mov rdx, rdi
lea rcx, [rbp + 0x80]
call fcn.140003dd0
mov r9, qword [rbp + 0x98]
lea rdx, [rbp + 0x80]
mov r8, qword [rbp + 0x80]
cmp r9, 8
mov rax, qword [rbp + 0x90]
cmovae rdx, r8
test rax, rax
je 0x14000d673
cmp word [rdx], 0x20
mov rcx, rdx
mov rsi, r15
je 0x14000d663
nop
cmp rax, 1
je 0x14000d666
add rcx, 2
dec rax
cmp word [rcx], 0x20
jne 0x14000d650
mov rsi, rcx
test rsi, rsi
je 0x14000d673
sub rsi, rdx
sar rsi, 1
jmp 0x14000d676
mov rsi, rbx
cmp r9, 8
jb 0x14000d6b1
lea rdx, [r9*2 + 2]
mov rax, r8
cmp rdx, 0x1000
jb 0x14000d6a9
mov r8, qword [r8 - 8]
add rdx, 0x27
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000dcac
mov rcx, r8
call fcn.140057c14
cmp rsi, rbx
je 0x14000d79d
mov rcx, qword [0x1400ba020]
lea rax, str.Sending_settings_telemetry
mov qword [rsp + 0x58], r15
lea r9, [rbp - 0x70]
mov qword [rsp + 0x50], r15
lea rdx, [rbp - 0x50]
movups xmm0, xmmword [rsp + 0x50]
mov qword [rsp + 0x60], r15
xor r8d, r8d
movsd xmm1, qword [rsp + 0x60]
movaps xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 0x1a
movsd qword [rbp - 0x40], xmm1
call fcn.1400099d0
lea rcx, [rbp + 0xa0]
call fcn.140026de0
lea rdx, [rbp + 0xa0]
lea rcx, [rbp - 0x50]
call fcn.14000ce40
mov eax, dword [rbp + 0xc0]
lea rdx, [rbp + 0xc8]
lea rcx, [rbp - 0x28]
mov dword [rbp - 0x30], eax
call fcn.14000ce40
lea rdx, [rbp + 0xe8]
lea rcx, [rbp - 8]
call fcn.14000ce40
movzx eax, byte [rbp + 0x108]
lea rcx, [rbp - 0x50]
mov byte [rbp + 0x18], al
mov eax, dword [rbp + 0x10c]
mov dword [rbp + 0x1c], eax
mov eax, dword [rbp + 0x110]
mov dword [rbp + 0x20], eax
call fcn.14002b4a0
mov rcx, qword [0x1400b2d60]
mov qword [0x1400b2d60], r15
mov dword [0x1400b2d40], r15d
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventUnregister]
lea rcx, [rbp + 0xa0]
call fcn.14000dd00
jmp 0x14000dc71
cmp qword [0x1400b9080], 8
lea r8, [0x1400b9068]
mov edx, 1
cmovae r8, qword [0x1400b9068]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
test rax, rax
jne 0x14000d879
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x30]
call fcn.140009ed0
mov qword [rbp - 0x68], 0x1a
lea rcx, str.Failed_to_create_mutex._
mov qword [rbp - 0x70], rcx
lea r9, [rbp - 0x70]
movaps xmm0, xmmword [rbp - 0x70]
lea rdx, [rbp - 0x50]
mov rcx, qword [0x1400ba020]
mov r8d, 4
movdqa xmmword [rbp - 0x70], xmm0
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
movups xmm1, xmmword [rsp + 0x50]
mov qword [rsp + 0x60], r15
movsd xmm0, qword [rsp + 0x60]
movsd qword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x50], xmm1
mov qword [rsp + 0x20], rax
call fcn.140011d60
mov rdx, qword [rbp + 0x48]
cmp rdx, 8
jb 0x14000d879
mov rcx, qword [rbp + 0x30]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d874
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000dce7
call fcn.140057c14
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000d8d9
mov rcx, qword [0x1400ba020]
lea rdx, [rbp - 0x50]
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
movups xmm0, xmmword [rsp + 0x50]
mov qword [rsp + 0x60], r15
movsd xmm1, qword [rsp + 0x60]
movaps xmmword [rbp - 0x50], xmm0
movsd qword [rbp - 0x40], xmm1
call fcn.140012310
mov rcx, qword [0x1400b2d60]
mov qword [0x1400b2d60], r15
mov dword [0x1400b2d40], r15d
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventUnregister]
jmp 0x14000dc71
xorps xmm0, xmm0
mov qword [rbp + 0x70], r15
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x78], r15
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp word [rdi + r8*2], r15w
jne 0x14000d8f0
mov rdx, rdi
lea rcx, [rbp + 0x60]
call fcn.140003dd0
cmp qword [rbp + 0x70], r15
je 0x14000d941
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rcx, vtable.std::_Func_impl_no_alloc_class__int___cdecl_wWinMain_struct_HINSTANCE______ptr64__struct_HINSTANCE______ptr64__wchar_t____ptr64__int_::_20::_lambda_1___void__unsigned_long_int_.0
mov dword [rbp - 0x48], eax
mov qword [rbp - 0x50], rcx
lea rax, [rbp - 0x50]
lea rcx, [rbp + 0x30]
mov qword [rbp - 0x18], rax
lea rdx, [rbp + 0x60]
call fcn.14000ce40
lea rdx, [rbp - 0x50]
mov rcx, rax
call fcn.140009b10
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdx, rax
lea rcx, [rbp + 0x120]
call fcn.140025b40
xor edx, edx
mov word [rbp + 0x200], r15w
mov r8d, 0x206
lea rcx, [rbp + 0x202]
call fcn.14005a3a0
mov rcx, qword [0x1400b8c60]
mov rax, qword [rcx + 0x40]
cmp qword [rcx + 0x38], rax
je 0x14000d9dc
mov rcx, qword [rbp + 0x170]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], r15d
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x30]
test r8d, r8d
je 0x14000d9dc
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x14000d9dc
mov r8d, 0x104
lea rdx, [rbp + 0x200]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
test eax, eax
je 0x14000d9dc
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rbp + 0x200]
inc rbx
cmp word [rax + rbx*2], r15w
jne 0x14000d9e3
test rbx, rbx
je 0x14000da7a
lea rdx, [rbp + 0x200]
lea rcx, [rbp + 0x120]
call fcn.1400269a0
test al, al
je 0x14000da7a
mov rcx, qword [0x1400ba020]
lea rax, str.SG_is_disabled_for_the_current_foreground_app._Exiting_SG
mov qword [rsp + 0x58], r15
lea r9, [rbp - 0x70]
mov qword [rsp + 0x50], r15
lea rdx, [rbp - 0x50]
movups xmm0, xmmword [rsp + 0x50]
mov qword [rsp + 0x60], r15
xor r8d, r8d
movsd xmm1, qword [rsp + 0x60]
movaps xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 0x39
movsd qword [rbp - 0x40], xmm1
call fcn.1400099d0
mov rcx, qword [0x1400b2d60]
mov qword [0x1400b2d60], r15
mov dword [0x1400b2d40], r15d
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventUnregister]
jmp 0x14000dc29
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rbp - 0x70], eax
xorps xmm1, xmm1
mov r8d, 0x42
lea rdx, str.LocalShortcutGuide_ExitEvent_35697cdd_a3d2_47d6_a246_34efcc73eac0
lea rax, [rbp + 0x120]
mov qword [rbp - 0x68], rax
lea rcx, [rbp - 0x50]
movups xmm0, xmmword [rbp - 0x70]
lea rax, vtable.std::_Func_impl_no_alloc_class__int___cdecl_wWinMain_struct_HINSTANCE______ptr64__struct_HINSTANCE______ptr64__wchar_t____ptr64__int_::_25::_lambda_2___void__unsigned_long_int_.0
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x50]
movups xmmword [rsp + 0x58], xmm0
mov qword [rbp - 0x78], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
movdqu xmmword [rbp - 0x40], xmm1
call fcn.140003dd0
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x70]
call fcn.14000cc60
mov rdi, qword [rax]
mov rsi, qword [rax + 8]
mov qword [rax], r15
mov qword [rax + 8], r15
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14000db0a
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x14000db19
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x14000db59
mov rcx, qword [rbp - 0x50]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000db54
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000dced
call fcn.140057c14
movdqa xmm0, xmmword [0x14009f540]
lea rcx, [rbp + 0x120]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], r15w
call fcn.140026250
xorps xmm0, xmm0
mov byte [rsp + 0x3c], r15b
mov rax, qword [rsp + 0x38]
mov rbx, r15
shr rax, 0x20
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
test al, al
je 0x14000dbb0
mov r8d, dword [rsp + 0x38]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_SetTimer]
mov rbx, rax
xor r9d, r9d
lea rcx, [rbp + 0x30]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x14000dbe9
lea rcx, [rbp + 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [rbp + 0x38], 0x113
jne 0x14000dbb0
cmp qword [rbp + 0x40], rbx
jne 0x14000dbb0
mov rcx, qword [0x1400b2d60]
mov qword [0x1400b2d60], r15
mov dword [0x1400b2d40], r15d
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventUnregister]
test rdi, rdi
je 0x14000dc1b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rsi, rsi
je 0x14000dc29
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0x120]
call fcn.140026780
mov rdx, qword [rbp + 0x78]
cmp rdx, 8
jb 0x14000dc71
mov rcx, qword [rbp + 0x60]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000dc6c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000dcac
call fcn.140057c14
mov r14, qword [rsp + 0x558]
xor eax, eax
mov rsi, qword [rsp + 0x548]
mov rbx, qword [rsp + 0x540]
mov r15, qword [rsp + 0x520]
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.140057960
add rsp, 0x528
pop rdi
pop rbp
ret
call fcn.14005e6c4
int3
lea rcx, str.C:_a_work1_s_srcmodulesShortcutGuideShortcutGuidex64ReleaseGenerated_Fileswinrt_base.h
mov dword [rsp + 0x50], 0x197f
mov qword [rsp + 0x58], rcx
lea rdx, [rsp + 0x50]
lea rcx, str.void___cdecl_winrt::init_apartment_const_enum_winrt::apartment_type_
mov dword [rsp + 0x54], 0xd
mov qword [rsp + 0x60], rcx
mov ecx, eax
call fcn.140004f10
int3
call fcn.14005e6c4
int3
call fcn.14005e6c4
int3