Function at 0x14001c460
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x790
mov rax, qword [0x1400c9008]
xor rax, rsp
mov qword [rsp + 0x780], rax
mov r15, rdx
mov qword [rsp + 0x100], rdx
mov rsi, rcx
mov qword [rsp + 0xf0], rcx
mov qword [rsp + 0xc0], rdx
xor r13d, r13d
mov dword [rsp + 0x30], r13d
mov eax, r13d
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x34], eax
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x570]
call sub.VCRUNTIME140.dll_memset
nop
mov qword [rsp + 0x3b0], r13
mov qword [rsp + 0x3c0], r13
mov qword [rsp + 0x3c8], r13
mov qword [rsp + 0x3c0], r13
mov qword [rsp + 0x3c8], 7
mov word [rsp + 0x3b0], r13w
mov dword [rsp + 0x30], 2
lea rdx, [rsp + 0x430]
mov rcx, rsi
call fcn.14001ecd0
nop
cmp qword [rsp + 0x440], r13
je 0x14001c5a1
lea r8, [rsp + 0x430]
cmp qword [rsp + 0x448], 8
cmovae r8, qword [rsp + 0x430]
mov edx, 0x104
lea rcx, [rsp + 0x570]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov edx, 0x104
lea rcx, [rsp + 0x570]
call qword [sym.imp.api_ms_win_core_path_l1_1_0.dll_PathCchRemoveFileSpec]
test eax, eax
jne 0x14001c5a1
lea rax, [rsp + 0x570]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x14001c580
lea rdx, [rsp + 0x570]
lea rcx, [rsp + 0x3b0]
call fcn.140005a60
nop
mov rdx, qword [rsp + 0x448]
cmp rdx, 8
jb 0x14001c5ec
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x430]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c5e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001c5e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140061bc0
mov qword [rsp + 0x440], r13
mov qword [rsp + 0x448], 7
mov word [rsp + 0x430], r13w
lea rdx, [rsp + 0x3b0]
cmp qword [rsp + 0x3c8], 8
cmovae rdx, qword [rsp + 0x3b0]
mov r8d, dword [rsp + 0x3c0]
lea rcx, [rsp + 0x60]
call fcn.140005f20
nop
mov r12d, 2
and r12d, 0xfffffffd
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r12d
mov rdx, qword [rsp + 0x3c8]
cmp rdx, 8
jb 0x14001c695
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x3b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c690
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001c690
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140061bc0
mov qword [rsp + 0x3c0], r13
mov qword [rsp + 0x3c8], 7
mov word [rsp + 0x3b0], r13w
lea rdx, [rsp + 0x450]
mov rcx, rsi
call fcn.14001ecd0
nop
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x14001c6d1
mov rax, qword [rax]
mov r8d, ecx
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140005f20
nop
mov rdx, qword [rsp + 0x468]
cmp rdx, 8
jb 0x14001c72d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x450]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c728
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001c728
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140061bc0
mov qword [rsp + 0x460], r13
mov qword [rsp + 0x468], 7
mov word [rsp + 0x450], r13w
mov rbx, r13
mov qword [rsp + 0x58], rbx
mov rdi, r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov r14, qword [rsp + 0x60]
mov rcx, r14
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsGetStringLen
test eax, eax
jne 0x14001c7fb
call qword [sym.imp.Logging.dll_public:_static_class_Hp::Bridge::Logging::TraceLogger____ptr64___cdecl_Hp::Bridge::Logging::LogManager::GetLogger_void_]
lea rdx, str.RpcSecurityHelper::GetClientPermissionManifest___failed_to_get_caller_directory
mov rcx, rax
call qword [sym.imp.Logging.dll_public:_void___cdecl_Hp::Bridge::Logging::TraceLogger::LogWarning_wchar_t_const____ptr64____ptr64]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x40], r13
mov qword [r15], rax
or r12d, 1
mov dword [rsp + 0x30], r12d
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14001c7b9
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x40], r13
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001c7cd
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x48], r13
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14001c7e1
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x70], r13
test r14, r14
je 0x14001c7f3
mov rcx, r14
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x60], r13
mov rax, r15
jmp 0x14001e32a
lea rax, [rsp + 0x258]
mov qword [rsp + 0xa0], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x258], xmm0
mov rcx, qword [rsi + 0x118]
test rcx, rcx
je 0x14001c84f
lock inc dword [rcx + 8]
mov rcx, qword [rsi + 0x118]
mov r14, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
mov r12d, dword [rsp + 0x30]
mov dword [rsp + 0x38], r12d
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x78], eax
mov rax, qword [rsi + 0x110]
mov qword [rsp + 0x258], rax
mov qword [rsp + 0x260], rcx
lea rax, [rsp + 0x268]
mov qword [rsp + 0x248], rax
movdqu xmmword [rsp + 0x268], xmm0
mov rcx, qword [rsi + 0x108]
test rcx, rcx
je 0x14001c8b7
lock inc dword [rcx + 8]
mov rcx, qword [rsi + 0x108]
mov r14, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
mov r12d, dword [rsp + 0x30]
mov dword [rsp + 0x38], r12d
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x78], eax
mov rax, qword [rsi + 0x100]
mov qword [rsp + 0x268], rax
mov qword [rsp + 0x270], rcx
lea rax, [rsp + 0x330]
mov qword [rsp + 0x238], rax
xor edx, edx
mov r15, qword [rsp + 0x70]
mov rcx, r15
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsGetStringRawBuffer
mov rdx, rax
lea rcx, [rsp + 0x330]
call fcn.140005290
nop
lea rcx, [rsp + 0x258]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x268]
mov r8, rax
lea rdx, [rsp + 0x230]
call fcn.140020740
nop
lea rcx, [rsp + 0x48]
cmp rcx, rax
je 0x14001c94d
mov rsi, qword [rax]
mov qword [rax], r13
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001c948
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x48], rsi
mov rcx, qword [rsp + 0x230]
test rcx, rcx
je 0x14001c967
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x230], r13
call qword [sym.imp.Logging.dll_public:_static_class_Hp::Bridge::Logging::TraceLogger____ptr64___cdecl_Hp::Bridge::Logging::LogManager::GetLogger_void_]
mov rsi, rax
xor edx, edx
mov rcx, qword [rsp + 0x48]
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsGetStringRawBuffer
mov r8, rax
lea rdx, str.Security___cache___identifier___s
mov rcx, rsi
call qword [sym.imp.Logging.dll_public:_void___cdecl_Hp::Bridge::Logging::TraceLogger::LogInfo_wchar_t_const____ptr64____ptr64]
lea rax, [0x1400ce2e0]
mov qword [rsp + 0x280], rax
mov byte [rsp + 0x288], 0
mov rcx, rax
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14001c9bc
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov byte [rsp + 0x288], 1
cmp qword [0x1400ce338], 0
je 0x14001ca58
mov rax, qword [0x1400ce330]
mov qword [rsp + 0xd0], rax
mov rsi, qword [rax + 8]
cmp byte [rsi + 0x19], 0
jne 0x14001ca24
nop dword [rax + rax]
lea rdx, [rsi + 0x20]
lea r8, [rsp + 0x48]
call fcn.1400223b0
test al, al
je 0x14001ca10
mov rsi, qword [rsi + 0x10]
mov rax, qword [rsp + 0xd0]
jmp 0x14001ca1e
mov rax, rsi
mov qword [rsp + 0xd0], rax
mov rsi, qword [rsi]
cmp byte [rsi + 0x19], 0
je 0x14001c9f0
cmp byte [rax + 0x19], 0
jne 0x14001ca44
lea r8, [rax + 0x20]
lea rdx, [rsp + 0x48]
call fcn.1400223b0
test al, al
mov rax, qword [rsp + 0xd0]
je 0x14001ca4b
mov rax, qword [0x1400ce330]
cmp rax, qword [0x1400ce330]
jne 0x14001ddff
lea rdx, [rsp + 0x370]
mov rsi, qword [rsp + 0xf0]
mov rcx, rsi
call fcn.14001ede0
nop
lea r8, [0x140086274]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x180]
call fcn.14001a370
nop
lea r8, [rsp + 0x370]
mov rdx, rax
lea rcx, [rsp + 0x178]
call fcn.14001a250
nop
lea r8, [0x140085fe8]
mov rdx, rax
lea rcx, [rsp + 0x170]
call fcn.14001a370
nop
lea r8, [rsi + 8]
mov rdx, rax
lea rcx, [rsp + 0x250]
call fcn.14001a250
nop
lea r8, [rsi + 0x28]
mov rdx, rax
lea rcx, [rsp + 0x240]
call fcn.14001a250
nop
lea rcx, [rsp + 0x58]
cmp rcx, rax
je 0x14001cafb
mov rbx, qword [rax]
mov qword [rax], r13
mov qword [rsp + 0x58], rbx
mov rcx, qword [rsp + 0x240]
test rcx, rcx
je 0x14001cb15
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x240], r13
mov rcx, qword [rsp + 0x250]
test rcx, rcx
je 0x14001cb2f
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x250], r13
mov rcx, qword [rsp + 0x170]
test rcx, rcx
je 0x14001cb49
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x170], r13
mov rcx, qword [rsp + 0x178]
test rcx, rcx
je 0x14001cb63
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x178], r13
mov rcx, qword [rsp + 0x180]
test rcx, rcx
je 0x14001cb7d
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x180], r13
lea r8, [0x140086274]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x1a0]
call fcn.14001a370
nop
lea r8, [rsp + 0x370]
mov rdx, rax
lea rcx, [rsp + 0x198]
call fcn.14001a250
nop
lea r8, [0x140085fe8]
mov rdx, rax
lea rcx, [rsp + 0x190]
call fcn.14001a370
nop
lea r8, [rsi + 8]
mov rdx, rax
lea rcx, [rsp + 0x188]
call fcn.14001a250
nop
lea rcx, [rsp + 0x50]
cmp rcx, rax
je 0x14001cbf2
mov rdi, qword [rax]
mov qword [rax], r13
mov qword [rsp + 0x50], rdi
mov rcx, qword [rsp + 0x188]
test rcx, rcx
je 0x14001cc0c
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x188], r13
mov rcx, qword [rsp + 0x190]
test rcx, rcx
je 0x14001cc26
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x190], r13
mov rcx, qword [rsp + 0x198]
test rcx, rcx
je 0x14001cc40
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x198], r13
mov rcx, qword [rsp + 0x1a0]
test rcx, rcx
je 0x14001cc5a
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x1a0], r13
xor edx, edx
mov rcx, rbx
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsGetStringRawBuffer
lea rcx, [rsp + 0x3d0]
mov qword [rsp + 0x248], rcx
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14001cc80
mov qword [rsp + 0x3d0], r13
mov qword [rsp + 0x3e0], r13
mov qword [rsp + 0x3e8], r13
mov qword [rsp + 0x3e0], r13
mov qword [rsp + 0x3e8], 7
mov word [rsp + 0x3d0], r13w
mov rdx, rax
lea rcx, [rsp + 0x3d0]
call fcn.140005a60
or r12d, 8
mov dword [rsp + 0x30], r12d
and r12d, 0xfffffff7
mov dword [rsp + 0x30], r12d
or r12d, 4
mov dword [rsp + 0x30], r12d
and r12d, 0xfffffffb
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r12d
lea rcx, [rsp + 0x3d0]
call fcn.140011760
test al, al
sete sil
mov rdx, qword [rsp + 0x3e8]
cmp rdx, 8
jb 0x14001cd57
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x3d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001cd52
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001cd52
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140061bc0
movdqa xmm0, xmmword [0x1400a9130]
movdqu xmmword [rsp + 0x3e0], xmm0
mov word [rsp + 0x3d0], r13w
test sil, sil
je 0x14001d028
call qword [sym.imp.Logging.dll_public:_static_class_Hp::Bridge::Logging::TraceLogger____ptr64___cdecl_Hp::Bridge::Logging::LogManager::GetLogger_void_]
mov rsi, rax
xor edx, edx
mov rcx, rbx
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsGetStringRawBuffer
mov r8, rax
lea rdx, str.RpcSecurityHelper::GetClientPermissionManifest___1st_attempt_to_locate_manifest__s_failed._Trying_the_fallback
mov rcx, rsi
call qword [sym.imp.Logging.dll_public:_void___cdecl_Hp::Bridge::Logging::TraceLogger::LogWarning_wchar_t_const____ptr64____ptr64]
mov r12, qword [rsp + 0xf0]
mov rdx, qword [r12 + 0x100]
test rdx, rdx
je 0x14001d028
add rdx, 0xb8
cmp qword [rdx + 0x18], 8
jb 0x14001cdca
mov rdx, qword [rdx]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x14001cdd1
lea rcx, [rsp + 0xd8]
call fcn.140005f20
nop
mov rsi, qword [r12 + 0x100]
lea r8, [0x140086274]
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x1c8]
call fcn.14001a370
nop
lea r8, [rsi + 0x28]
mov rdx, rax
lea rcx, [rsp + 0x1c0]
call fcn.14001a250
nop
lea r8, [0x140085fe8]
mov rdx, rax
lea rcx, [rsp + 0x1b8]
call fcn.14001a370
nop
lea r8, [r12 + 8]
mov rdx, rax
lea rcx, [rsp + 0x1b0]
call fcn.14001a250
nop
lea r8, [r12 + 0x28]
mov rdx, rax
lea rcx, [rsp + 0x1a8]
call fcn.14001a250
nop
lea rcx, [rsp + 0x58]
cmp rcx, rax
je 0x14001ce92
mov rsi, qword [rax]
mov qword [rax], r13
test rbx, rbx
je 0x14001ce8a
mov rcx, rbx
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x58], r13
mov rbx, rsi
mov qword [rsp + 0x58], rbx
mov rcx, qword [rsp + 0x1a8]
test rcx, rcx
je 0x14001ceac
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x1a8], r13
mov rcx, qword [rsp + 0x1b0]
test rcx, rcx
je 0x14001cec6
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x1b0], r13
mov rcx, qword [rsp + 0x1b8]
test rcx, rcx
je 0x14001cee0
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x1b8], r13
mov rcx, qword [rsp + 0x1c0]
test rcx, rcx
je 0x14001cefa
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x1c0], r13
mov rcx, qword [rsp + 0x1c8]
test rcx, rcx
je 0x14001cf14
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x1c8], r13
mov rsi, qword [r12 + 0x100]
lea r8, [0x140086274]
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x1e8]
call fcn.14001a370
nop
lea r8, [rsi + 0x28]
mov rdx, rax
lea rcx, [rsp + 0x1e0]
call fcn.14001a250
nop
lea r8, [0x140085fe8]
mov rdx, rax
lea rcx, [rsp + 0x1d8]
call fcn.14001a370
nop
lea r8, [r12 + 8]
mov rdx, rax
lea rcx, [rsp + 0x1d0]
call fcn.14001a250
nop
lea rcx, [rsp + 0x50]
cmp rcx, rax
je 0x14001cfa6
mov rsi, qword [rax]
mov qword [rax], r13
test rdi, rdi
je 0x14001cf9e
mov rcx, rdi
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x50], r13
mov rdi, rsi
mov qword [rsp + 0x50], rsi
mov rcx, qword [rsp + 0x1d0]
test rcx, rcx
je 0x14001cfc0
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x1d0], r13
mov rcx, qword [rsp + 0x1d8]
test rcx, rcx
je 0x14001cfda
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x1d8], r13
mov rcx, qword [rsp + 0x1e0]
test rcx, rcx
je 0x14001cff4
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x1e0], r13
mov rcx, qword [rsp + 0x1e8]
test rcx, rcx
je 0x14001d00e
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x1e8], r13
mov rcx, qword [rsp + 0xd8]
test rcx, rcx
je 0x14001d028
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0xd8], r13
xor edx, edx
mov rcx, rbx
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsGetStringRawBuffer
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.140017cf0
nop
call qword [sym.imp.Logging.dll_public:_static_class_Hp::Bridge::Logging::TraceLogger____ptr64___cdecl_Hp::Bridge::Logging::LogManager::GetLogger_void_]
mov r12, rax
xor edx, edx
mov rcx, rdi
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsGetStringRawBuffer
mov rsi, rax
xor edx, edx
mov rcx, rbx
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsGetStringRawBuffer
mov r9, rsi
mov r8, rax
lea rdx, str.Security___Starting_HP_Manifest_validation___Manifest:__s__Catalog:__s
mov rcx, r12
call qword [sym.imp.Logging.dll_public:_void___cdecl_Hp::Bridge::Logging::TraceLogger::LogInfo_wchar_t_const____ptr64____ptr64]
mov qword [rsp + 0x68], r13
xor edx, edx
mov rcx, rbx
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsGetStringRawBuffer
lea rcx, [rsp + 0x3f0]
mov qword [rsp + 0x248], rcx
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x14001d0a0
mov qword [rsp + 0x3f0], r13
mov qword [rsp + 0x400], r13
mov qword [rsp + 0x408], r13
mov qword [rsp + 0x400], r13
mov qword [rsp + 0x408], 7
mov word [rsp + 0x3f0], r13w
mov rdx, rax
lea rcx, [rsp + 0x3f0]
call fcn.140005a60
mov r12d, dword [rsp + 0x38]
or r12d, 0x40
mov dword [rsp + 0x30], r12d
and r12d, 0xffffffbf
mov dword [rsp + 0x30], r12d
or r12d, 0x20
mov dword [rsp + 0x30], r12d
and r12d, 0xffffffdf
mov dword [rsp + 0x30], r12d
lea rcx, [rsp + 0x3f0]
call fcn.140011760
movzx esi, al
mov rdx, qword [rsp + 0x408]
cmp rdx, 8
jb 0x14001d174
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x3f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d16f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d16f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140061bc0
movdqa xmm0, xmmword [0x1400a9130]
movdqu xmmword [rsp + 0x400], xmm0
mov word [rsp + 0x3f0], r13w
test sil, sil
je 0x14001e128
mov qword [rsp + 0x4f0], rbx
lea rax, [rsp + 0x4f0]
mov qword [rsp + 0x278], rax
lea rdx, [rsp + 0x278]
lea rcx, [rsp + 0xe0]
call fcn.140013650
bts r12d, 7
mov dword [rsp + 0x30], r12d
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x2a0], rax
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x98]
call fcn.1400171f0
bts r12d, 0xb
mov dword [rsp + 0x30], r12d
lea rax, [rsp + 0x98]
mov qword [rsp + 0x2a8], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x2b0], rax
cmp qword [rsp + 0x68], 0
je 0x14001d22c
lea rcx, [rsp + 0x68]
call fcn.140013100
mov qword [rsp + 0x2b8], r13
lea rax, [rsp + 0x98]
mov qword [rsp + 0x2c0], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x98], r13
mov qword [rsp + 0x68], rax
btr r12d, 0xb
mov dword [rsp + 0x30], r12d
cmp qword [rsp + 0x98], 0
je 0x14001d27b
lea rcx, [rsp + 0x98]
call fcn.140013100
btr r12d, 7
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r12d
cmp qword [rsp + 0xe0], 0
je 0x14001d2a3
lea rcx, [rsp + 0xe0]
call fcn.140013100
nop
mov rbx, qword [rsp + 0xf0]
lea rdx, [rbx + 0x48]
lea rcx, [rsp + 0x510]
call fcn.1400052d0
nop
lea rdx, [rbx + 0x68]
lea rcx, [rsp + 0x530]
call fcn.1400052d0
nop
lea rdx, [rbx + 0x88]
lea rcx, [rsp + 0x550]
call fcn.1400052d0
nop
lea rbx, [rsp + 0x510]
nop dword [rax]
mov rdx, rbx
lea rcx, [rsp + 0x410]
call fcn.1400052d0
nop
xor edx, edx
mov rcx, rdi
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsGetStringRawBuffer
lea r8, [rsp + 0x410]
mov rdx, rax
lea rcx, [rsp + 0x390]
call fcn.140010110
nop
lea rcx, [rsp + 0x390]
cmp qword [rsp + 0x3a8], 8
cmovae rcx, qword [rsp + 0x390]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x14001d437
mov rdx, qword [rsp + 0x3a8]
cmp rdx, 8
jb 0x14001d398
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x390]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d393
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d393
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140061bc0
mov qword [rsp + 0x3a0], r13
mov qword [rsp + 0x3a8], 7
mov word [rsp + 0x390], r13w
mov rdx, qword [rsp + 0x428]
cmp rdx, 8
jb 0x14001d400
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x410]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d3fb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d3fb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140061bc0
mov qword [rsp + 0x420], r13
mov qword [rsp + 0x428], 7
mov word [rsp + 0x410], r13w
add rbx, 0x20
lea rax, [rsp + 0x570]
cmp rbx, rax
je 0x14001d599
jmp 0x14001d2f0
lea rdx, [rsp + 0x390]
cmp qword [rsp + 0x3a8], 8
cmovae rdx, qword [rsp + 0x390]
mov rsi, 0xffffffffffffffff
nop dword [rax + rax]
inc rsi
cmp word [rdx + rsi*2], 0
jne 0x14001d460
mov r8, rsi
lea rcx, [rsp + 0x1f0]
call fcn.140005f20
nop
mov rsi, qword [rsp + 0x1f0]
mov qword [rsp + 0x1f0], r13
test rdi, rdi
je 0x14001d49d
mov rcx, rdi
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x50], rsi
call qword [sym.imp.Logging.dll_public:_static_class_Hp::Bridge::Logging::TraceLogger____ptr64___cdecl_Hp::Bridge::Logging::LogManager::GetLogger_void_]
mov rbx, rax
xor edx, edx
mov rcx, rsi
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsGetStringRawBuffer
mov r8, rax
lea rdx, str.HP_Manifest_Catalogs_path.__s
mov rcx, rbx
call qword [sym.imp.Logging.dll_public:_void___cdecl_Hp::Bridge::Logging::TraceLogger::LogInfo_wchar_t_const____ptr64____ptr64]
nop
mov rdx, qword [rsp + 0x3a8]
cmp rdx, 8
jb 0x14001d514
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x390]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d50f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d50f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140061bc0
mov qword [rsp + 0x3a0], r13
mov qword [rsp + 0x3a8], 7
mov word [rsp + 0x390], r13w
mov rdx, qword [rsp + 0x428]
cmp rdx, 8
jb 0x14001d57c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x410]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d577
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d577
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140061bc0
mov qword [rsp + 0x420], r13
mov qword [rsp + 0x428], 7
mov word [rsp + 0x410], r13w
lea r9, [sym.DiagsCap.exe_public:_void___cdecl_Hp::Bridge::Server::Uwp::UwpPackageModel::destructor_void____ptr64]
mov edx, 0x20
lea r8d, [rdx - 0x1d]
lea rcx, [rsp + 0x510]
call fcn.1400631e8
lea rcx, [rsp + 0x90]
call fcn.14001a8b0
nop
lea r9, [rsp + 0x4b0]
lea r8, [rsp + 0x4b8]
mov edx, 0x2e
lea rcx, str.__xml_version_1.0__encoding_UTF_8____a_a__a_
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsCreateStringReference
nop
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x120]
call fcn.140021d00
mov r12d, dword [rsp + 0x38]
bts r12d, 0xf
mov dword [rsp + 0x30], r12d
btr r12d, 0xf
mov dword [rsp + 0x30], r12d
bts r12d, 0xe
mov dword [rsp + 0x30], r12d
mov rcx, qword [rsp + 0x120]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x4b0]
call qword [rax + 0x30]
mov dword [rsp + 0x110], eax
test eax, eax
js 0x14001e357
btr r12d, 0xe
mov dword [rsp + 0x30], r12d
cmp qword [rsp + 0x120], 0
je 0x14001d666
lea rcx, [rsp + 0x120]
call fcn.140013100
nop
lea rax, [rsp + 0x68]
mov qword [rsp + 0x238], rax
lea rdx, [rsp + 0x238]
lea rcx, [rsp + 0x128]
call fcn.14001aa90
bts r12d, 0x12
mov dword [rsp + 0x30], r12d
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x128]
call fcn.14001e3d0
nop
btr r12d, 0x12
mov dword [rsp + 0x30], r12d
cmp qword [rsp + 0x128], 0
je 0x14001d6ca
lea rcx, [rsp + 0x128]
call fcn.140013100
lea rcx, [rsp + 0x80]
call fcn.14001a8b0
nop
mov qword [rsp + 0x1f8], r13
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rcx]
lea rdx, [rsp + 0x1f8]
call qword [rax + 0x40]
mov dword [rsp + 0x114], eax
test eax, eax
js 0x14001e367
mov rbx, qword [rsp + 0x1f8]
mov qword [rsp + 0x200], rbx
bts r12d, 0x18
mov dword [rsp + 0x30], r12d
lea r9, [rsp + 0x4d0]
lea r8, [rsp + 0x4d8]
mov edx, 5
lea rcx, str.xmlns
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsCreateStringReference
lea r8, [rsp + 0x4d0]
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x200]
call fcn.14001e5c0
nop
btr r12d, 0x18
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r12d
test rbx, rbx
je 0x14001d77f
lea rcx, [rsp + 0x200]
call fcn.140013100
cmp qword [rsp + 0xf8], 0
je 0x14001dba0
mov qword [rsp + 0x208], r13
mov rcx, qword [rsp + 0xf8]
mov rax, qword [rcx]
lea rdx, [rsp + 0x208]
call qword [rax + 0x40]
mov dword [rsp + 0x118], eax
test eax, eax
js 0x14001e377
mov rbx, qword [rsp + 0x208]
mov qword [rsp + 0x218], rbx
bts r12d, 0x1a
mov dword [rsp + 0x30], r12d
lea r8, [rsp + 0x218]
lea rdx, str.xmlns_
lea rcx, [rsp + 0x210]
call fcn.14001a490
nop
lea r8, [0x1400797e8]
mov rdx, rax
lea rcx, [rsp + 0xe8]
call fcn.14001a370
nop
mov rcx, qword [rsp + 0x210]
test rcx, rcx
je 0x14001d824
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x210], r13
btr r12d, 0x1a
mov dword [rsp + 0x30], r12d
test rbx, rbx
je 0x14001d843
mov rcx, rbx
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x218], r13
mov qword [rsp + 0x220], r13
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x130]
call fcn.140021e00
bts r12d, 0x1d
mov dword [rsp + 0x30], r12d
btr r12d, 0x1d
mov dword [rsp + 0x30], r12d
bts r12d, 0x1c
mov dword [rsp + 0x30], r12d
mov rcx, qword [rsp + 0x130]
mov rax, qword [rcx]
lea rdx, [rsp + 0x220]
call qword [rax + 0x30]
mov dword [rsp + 0x11c], eax
test eax, eax
js 0x14001e387
btr r12d, 0x1c
mov dword [rsp + 0x30], r12d
cmp qword [rsp + 0x130], 0
je 0x14001d8c5
lea rcx, [rsp + 0x130]
call fcn.140013100
mov rbx, qword [rsp + 0x220]
mov qword [rsp + 0xa0], rbx
bts r12d, 0x1b
mov dword [rsp + 0x30], r12d
xor edx, edx
mov rcx, rbx
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsGetStringRawBuffer
mov rdx, rax
lea rcx, [rsp + 0x350]
call fcn.140005290
nop
btr r12d, 0x1b
mov dword [rsp + 0x30], r12d
test rbx, rbx
je 0x14001d919
mov rcx, rbx
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0xa0], r13
mov rcx, qword [rsp + 0xe8]
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsGetStringLen
mov ebx, eax
xor edx, edx
mov rcx, qword [rsp + 0xe8]
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsGetStringRawBuffer
mov rdx, rax
lea rcx, [rsp + 0x470]
call fcn.140005290
nop
mov rdx, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x14001d956
mov rax, qword [rax]
lea rcx, [rsp + 0x350]
cmp qword [rsp + 0x368], 8
cmovae rcx, qword [rsp + 0x350]
mov qword [rsp + 0x20], rdx
mov r9, rax
mov rdx, qword [rsp + 0x360]
call fcn.14000cc30
mov rdx, rax
cmp qword [rsp + 0x360], rax
jb 0x14001e397
lfence
mov r8, qword [rsp + 0x360]
mov rax, r8
sub rax, rdx
cmp rax, rbx
cmovb rbx, rax
lea rax, [rsp + 0x350]
cmp qword [rsp + 0x368], 8
cmovae rax, qword [rsp + 0x350]
lea rcx, [rax + rdx*2]
sub r8, rbx
mov qword [rsp + 0x360], r8
sub r8, rdx
lea r8, [r8*2 + 2]
lea rdx, [rcx + rbx*2]
call sub.VCRUNTIME140.dll_memmove
nop
mov rdx, qword [rsp + 0x488]
cmp rdx, 8
jb 0x14001da37
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x470]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001da32
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001da32
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140061bc0
mov qword [rsp + 0x480], r13
mov qword [rsp + 0x488], 7
mov word [rsp + 0x470], r13w
lea rcx, [rsp + 0x350]
cmp qword [rsp + 0x368], 8
cmovae rcx, qword [rsp + 0x350]
mov edx, dword [rsp + 0x360]
test edx, edx
jne 0x14001da83
mov qword [rsp + 0x490], r13
jmp 0x14001da99
lea r9, [rsp + 0x490]
lea r8, [rsp + 0x498]
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsCreateStringReference
nop
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x138]
call fcn.140021d00
mov dword [rsp + 0x34], 2
mov edi, 2
and edi, 0xfffffffd
mov dword [rsp + 0x34], edi
or edi, 1
mov dword [rsp + 0x34], edi
mov rcx, qword [rsp + 0x138]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x490]
call qword [rax + 0x30]
mov dword [rsp + 0x150], eax
test eax, eax
js 0x14001e39d
and edi, 0xfffffffe
mov dword [rsp + 0x34], edi
cmp qword [rsp + 0x138], 0
je 0x14001db0e
lea rcx, [rsp + 0x138]
call fcn.140013100
nop
mov rdx, qword [rsp + 0x368]
cmp rdx, 8
jb 0x14001db59
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x350]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001db54
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001db54
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140061bc0
mov qword [rsp + 0x360], r13
mov qword [rsp + 0x368], 7
mov word [rsp + 0x350], r13w
mov rcx, qword [rsp + 0xe8]
test rcx, rcx
je 0x14001db90
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0xe8], r13
mov r14, qword [rsp + 0x60]
mov r15, qword [rsp + 0x70]
mov esi, dword [rsp + 0x30]
jmp 0x14001dbdb
cmp qword [rsp + 0x80], 0
je 0x14001dbb8
lea rcx, [rsp + 0x80]
call fcn.140013100
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x80], rcx
test rcx, rcx
je 0x14001dbd3
mov rax, qword [rcx]
call qword [rax + 8]
mov edi, dword [rsp + 0x78]
mov esi, dword [rsp + 0x38]
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0xf0]
call fcn.14001e670
nop
mov qword [rsp + 0x228], r13
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x140]
call fcn.140021e00
or edi, 0x40
mov dword [rsp + 0x34], edi
and edi, 0xffffffbf
mov dword [rsp + 0x34], edi
or edi, 0x20
mov dword [rsp + 0x34], edi
mov rcx, qword [rsp + 0x140]
mov rax, qword [rcx]
lea rdx, [rsp + 0x228]
call qword [rax + 0x30]
mov dword [rsp + 0x154], eax
test eax, eax
js 0x14001e3ad
and edi, 0xffffffdf
mov dword [rsp + 0x34], edi
cmp qword [rsp + 0x140], 0
je 0x14001dc71
lea rcx, [rsp + 0x140]
call fcn.140013100
mov rbx, qword [rsp + 0x228]
mov qword [rsp + 0x148], rbx
or edi, 0x10
mov dword [rsp + 0x34], edi
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x300]
call fcn.140021b70
mov r12, qword [rax]
add r12, 0x28
lea rax, [rsp + 0x148]
cmp r12, rax
je 0x14001dcde
mov rax, rbx
mov qword [rsp + 0xa0], rbx
mov rbx, r13
mov qword [rsp + 0x148], rbx
mov rcx, qword [r12]
test rcx, rcx
je 0x14001dcda
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov rax, qword [rsp + 0xa0]
mov qword [r12], rax
and edi, 0xffffffef
mov dword [rsp + 0x34], edi
test rbx, rbx
je 0x14001dcfa
mov rcx, rbx
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x148], r13
cmp qword [rsp + 0xf8], 0
je 0x14001dd13
lea rcx, [rsp + 0xf8]
call fcn.140013100
nop
cmp qword [rsp + 0x80], 0
je 0x14001dd2c
lea rcx, [rsp + 0x80]
call fcn.140013100
nop
cmp qword [rsp + 0xb0], 0
je 0x14001dd45
lea rcx, [rsp + 0xb0]
call fcn.140013100
nop
cmp qword [rsp + 0x90], 0
je 0x14001dd5e
lea rcx, [rsp + 0x90]
call fcn.140013100
nop
cmp qword [rsp + 0x68], 0
je 0x14001dd71
lea rcx, [rsp + 0x68]
call fcn.140013100
nop
mov rcx, qword [rsp + 0x168]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14001dd8b
call qword [rsp + 0x160]
nop
mov rdx, qword [rsp + 0x388]
cmp rdx, 8
jb 0x14001ddd6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x370]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ddd1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001ddd1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140061bc0
mov qword [rsp + 0x380], r13
mov qword [rsp + 0x388], 7
mov word [rsp + 0x370], r13w
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
jmp 0x14001de03
mov esi, dword [rsp + 0x38]
cmp qword [0x1400ce338], 0
je 0x14001df53
mov rax, qword [0x1400ce330]
mov qword [rsp + 0x90], rax
mov r12, qword [rax + 8]
cmp byte [r12 + 0x19], 0
jne 0x14001de69
nop dword [rax]
lea rdx, [r12 + 0x20]
lea r8, [rsp + 0x48]
call fcn.1400223b0
test al, al
je 0x14001de52
mov r12, qword [r12 + 0x10]
mov rax, qword [rsp + 0x90]
jmp 0x14001de61
mov rax, r12
mov qword [rsp + 0x90], rax
mov r12, qword [r12]
cmp byte [r12 + 0x19], 0
je 0x14001de30
cmp byte [rax + 0x19], 0
jne 0x14001df53
lea r8, [rax + 0x20]
lea rdx, [rsp + 0x48]
call fcn.1400223b0
test al, al
jne 0x14001df53
mov rcx, qword [rsp + 0x90]
cmp rcx, qword [0x1400ce330]
je 0x14001df53
mov rax, qword [rcx + 0x28]
test rax, rax
setne byte [rsp + 0x88]
test rax, rax
je 0x14001df26
lea rax, [rsp + 0x40]
mov qword [rsp + 0x2d8], rax
mov qword [rsp + 0xc8], r13
lea rax, [rsp + 0x158]
mov qword [rsp + 0x2e0], rax
lea rdx, [rsp + 0xc8]
mov rcx, qword [rcx + 0x28]
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDuplicateString
mov dword [rsp + 0x108], eax
mov dword [rsp + 0x158], eax
mov dword [rsp + 0xd0], eax
test eax, eax
js 0x14001e3bd
mov r12, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14001df21
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x40], r12
jmp 0x14001df53
lea rcx, [0x1400ce2e0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x40], r13
mov r12, qword [rsp + 0x100]
mov qword [r12], rax
or esi, 1
mov dword [rsp + 0x30], esi
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14001df91
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x40], r13
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001dfa5
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x48], r13
test rdi, rdi
je 0x14001dfb7
mov rcx, rdi
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x50], r13
test rbx, rbx
je 0x14001dfc9
mov rcx, rbx
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x58], r13
test r15, r15
je 0x14001dfdb
mov rcx, r15
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x70], r13
test r14, r14
je 0x14001dfed
mov rcx, r14
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x60], r13
mov rax, r12
jmp 0x14001e32a
call qword [sym.imp.Logging.dll_public:_static_class_Hp::Bridge::Logging::TraceLogger____ptr64___cdecl_Hp::Bridge::Logging::LogManager::GetLogger_void_]
mov rsi, rax
xor edx, edx
mov rcx, rbx
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsGetStringRawBuffer
mov r8, rax
lea rdx, str.RpcSecurityHelper::GetClientPermissionManifest___failed_to_locate_manifest__s
mov rcx, rsi
call qword [sym.imp.Logging.dll_public:_void___cdecl_Hp::Bridge::Logging::TraceLogger::LogWarning_wchar_t_const____ptr64____ptr64]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x320]
call fcn.140021b70
mov rsi, qword [rax]
add rsi, 0x28
mov qword [rsp + 0xc8], rsi
xor r8d, r8d
lea rdx, [0x140077fa0]
lea rcx, [rsp + 0xa8]
call fcn.140005f20
nop
lea rax, [rsp + 0xa8]
cmp rsi, rax
je 0x14001e1d9
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xa0], rax
mov rsi, r13
mov qword [rsp + 0xa8], r13
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rax]
test rcx, rcx
je 0x14001e1cc
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xa0]
mov qword [rax], rcx
jmp 0x14001e1e1
mov rsi, qword [rsp + 0xa8]
test rsi, rsi
je 0x14001e1f6
mov rcx, rsi
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0xa8], r13
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x40], r13
mov rsi, qword [rsp + 0x100]
mov qword [rsi], rax
or r12d, 1
mov dword [rsp + 0x30], r12d
cmp qword [rsp + 0x68], 0
je 0x14001e227
lea rcx, [rsp + 0x68]
call fcn.140013100
nop
mov rcx, qword [rsp + 0x168]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14001e241
call qword [rsp + 0x160]
nop
mov rdx, qword [rsp + 0x388]
cmp rdx, 8
jb 0x14001e28c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x370]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e287
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001e287
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140061bc0
mov qword [rsp + 0x380], r13
mov qword [rsp + 0x388], 7
mov word [rsp + 0x370], r13w
lea rcx, [0x1400ce2e0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14001e2cb
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x40], r13
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001e2df
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x48], r13
test rdi, rdi
je 0x14001e2f1
mov rcx, rdi
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x50], r13
test rbx, rbx
je 0x14001e303
mov rcx, rbx
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x58], r13
test r15, r15
je 0x14001e315
mov rcx, r15
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x70], r13
test r14, r14
je 0x14001e327
mov rcx, r14
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x60], r13
mov rax, rsi
mov rcx, qword [rsp + 0x780]
xor rcx, rsp
call fcn.140061ba0
lea r11, [rsp + 0x790]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lfence
mov ecx, dword [rsp + 0x110]
call fcn.140006260
nop
lfence
mov ecx, dword [rsp + 0x114]
call fcn.140006260
nop
lfence
mov ecx, dword [rsp + 0x118]
call fcn.140006260
nop
lfence
mov ecx, dword [rsp + 0x11c]
call fcn.140006260
nop
call fcn.140009300
nop
lfence
mov ecx, dword [rsp + 0x150]
call fcn.140006260
nop
lfence
mov ecx, dword [rsp + 0x154]
call fcn.140006260
nop
lfence
mov ecx, dword [rsp + 0x108]
call fcn.140006260
int3