Function at 0x1400222a0
Capabilities:
Get file version info
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x610
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x600], rax
mov rbx, rdx
mov r15, rcx
xor r12d, r12d
mov dword [rsp + 0x38], r12d
call qword [sym.imp.Logging.dll_public:_static_class_Hp::Bridge::Logging::TraceLogger____ptr64___cdecl_Hp::Bridge::Logging::LogManager::GetLogger_void_]
lea rdx, str.In_RpcSecurityHelper::SetupClientInformation
mov rcx, rax
call qword [sym.imp.Logging.dll_public:_void___cdecl_Hp::Bridge::Logging::TraceLogger::LogInfo_wchar_t_const____ptr64____ptr64]
test rbx, rbx
je 0x140022f95
mov dword [rsp + 0x34], r12d
mov dword [rsp + 0x7c], 0xffffffff
mov byte [rsp + 0x31], r12b
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x3f0]
call sub.VCRUNTIME140.dll_memset
nop
lea rdx, [rsp + 0x7c]
call fcn.140021ae0
mov ebx, eax
test eax, eax
je 0x140022349
call qword [sym.imp.Logging.dll_public:_static_class_Hp::Bridge::Logging::TraceLogger____ptr64___cdecl_Hp::Bridge::Logging::LogManager::GetLogger_void_]
lea rdx, str.Security___SetupClientInformation_error___GetPIDOfCaller
mov rcx, rax
call qword [sym.imp.Logging.dll_public:_void___cdecl_Hp::Bridge::Logging::TraceLogger::LogError_wchar_t_const____ptr64____ptr64]
lea rdx, [rsp + 0x98]
mov rcx, r15
call fcn.140021b70
nop
test ebx, ebx
jne 0x1400223c3
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1400223c3
mov r9d, 0x104
lea r8, [rsp + 0x3f0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x1400223d9
lea rdx, [rsp + 0x3f0]
lea rcx, [rsp + 0x300]
call fcn.140005d20
nop
lea rcx, [r15 + 0x120]
mov rdx, rax
call fcn.140009f60
nop
lea rcx, [rsp + 0x300]
call sym.DiagsCap.exe_public:_void___cdecl_Hp::Bridge::Server::Uwp::UwpPackageModel::destructor_void____ptr64
mov cl, 1
movzx r8d, cl
movzx ebx, cl
jmp 0x1400223f6
call qword [sym.imp.Logging.dll_public:_static_class_Hp::Bridge::Logging::TraceLogger____ptr64___cdecl_Hp::Bridge::Logging::LogManager::GetLogger_void_]
lea rdx, str.Security___SetupClientInformation_error___OpenProcess_yielded_null_or_invalid_handle
mov rcx, rax
call qword [sym.imp.Logging.dll_public:_void___cdecl_Hp::Bridge::Logging::TraceLogger::LogError_wchar_t_const____ptr64____ptr64]
call qword [sym.imp.Logging.dll_public:_static_class_Hp::Bridge::Logging::TraceLogger____ptr64___cdecl_Hp::Bridge::Logging::LogManager::GetLogger_void_]
lea rdx, str.Security___SetupClientInformation_error___GetModuleFileNameEx_failed
mov rcx, rax
call qword [sym.imp.Logging.dll_public:_void___cdecl_Hp::Bridge::Logging::TraceLogger::LogError_wchar_t_const____ptr64____ptr64]
xor cl, cl
xor r8b, r8b
xor bl, bl
lea rax, [rsp + 0x98]
mov qword [rsp + 0xd8], rax
mov rdx, r12
mov qword [rsp + 0xb8], rdx
mov rax, qword [rsp + 0xa0]
test rax, rax
je 0x140022449
movzx ecx, r8b
cmp rax, 0xffffffffffffffff
je 0x140022449
lea r8, [rsp + 0xb8]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
movzx ecx, bl
mov rdx, qword [rsp + 0xb8]
mov qword [rsp + 0x238], rdx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x270], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x278], rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rdx
test cl, cl
je 0x140022b1f
mov rax, qword [rsp + 0x70]
inc rax
test rax, 0xfffffffffffffffe
je 0x140022b1f
xor ecx, ecx
call qword [sym.imp.RPCRT4.dll_RpcImpersonateClient]
test eax, eax
jne 0x140022b35
mov byte [rsp + 0x31], 1
xor r8d, r8d
lea rdx, [rsp + 0x34]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetPackageId]
cmp eax, 0x7a
jne 0x140022b4b
lea ecx, [rax + 0x6e]
call fcn.1400688c4
mov rbx, rax
mov qword [rsp + 0x280], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_struct_Hp::Bridge::Server::Uwp::UwpInformation_.0
mov qword [rbx], rax
lea rdi, [rbx + 0x10]
mov qword [rsp + 0x288], rdi
mov rcx, rdi
call sym.DiagsCap.exe_public:_void___cdecl_Hp::Bridge::Server::Uwp::UwpInformation::constructor_void____ptr64
mov qword [rsp + 0x100], rbx
mov qword [rsp + 0x108], rbx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xe0], xmm0
mov dword [rsp + 0x38], 1
mov qword [rsp + 0xe0], rdi
mov qword [rsp + 0xe8], rbx
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x110], rax
lea rsi, [r15 + 0x100]
mov qword [rsp + 0x118], rsi
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rbx
movdqu xmmword [rsp + 0xe0], xmm0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x128], rsi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x130], rax
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x138], rcx
mov rax, qword [rsi]
mov qword [rsp + 0x50], rax
mov qword [rsi], rcx
lea rdx, [rsi + 8]
mov qword [rsp + 0x140], rdx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x148], rax
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x150], rcx
mov rax, qword [rdx]
mov qword [rsp + 0x58], rax
mov qword [rdx], rcx
mov rbx, qword [rsp + 0x58]
mov r14d, 0xffffffff
test rbx, rbx
je 0x140022635
mov qword [rsp + 0xc0], rbx
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140022635
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rcx]
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140022635
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, 1
and eax, 0xfffffffe
mov dword [rsp + 0x38], eax
mov rbx, qword [rsp + 0xe8]
test rbx, rbx
je 0x14002268b
mov qword [rsp + 0xc8], rbx
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14002268b
mov rcx, qword [rsp + 0xc8]
mov rax, qword [rcx]
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14002268b
mov rcx, qword [rsp + 0xc8]
mov rax, qword [rcx]
call qword [rax + 8]
mov ecx, dword [rsp + 0x34]
call fcn.140069634
mov qword [rsp + 0x158], rax
mov qword [rsp + 0x160], rax
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x168], rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x60]
lea rdx, [rsp + 0x34]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetPackageId]
test eax, eax
je 0x1400226f2
mov byte [rsp + 0x30], 0
call qword [sym.imp.Logging.dll_public:_static_class_Hp::Bridge::Logging::TraceLogger____ptr64___cdecl_Hp::Bridge::Logging::LogManager::GetLogger_void_]
lea rdx, str.Security___SetupClientInformation_error___Rpc_Server_Access_Denied
mov rcx, rax
call qword [sym.imp.Logging.dll_public:_void___cdecl_Hp::Bridge::Logging::TraceLogger::LogError_wchar_t_const____ptr64____ptr64]
jmp 0x140022afa
mov rbx, qword [rsp + 0x60]
mov qword [rsp + 0x170], rbx
mov rcx, qword [rsi]
add rcx, 0x90
mov rdx, qword [rbx + 0x28]
call fcn.140009ee0
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x348]
call fcn.140005d20
nop
mov rcx, qword [rsi]
add rcx, 0x28
mov rdx, rax
call fcn.140009f60
nop
lea rcx, [rsp + 0x348]
call sym.DiagsCap.exe_public:_void___cdecl_Hp::Bridge::Server::Uwp::UwpPackageModel::destructor_void____ptr64
mov rdi, qword [rsi]
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x3a8]
call fcn.140005d20
nop
lea r8, [0x1400aa40c]
mov rdx, rax
lea rcx, [rsp + 0x388]
call fcn.140024c90
nop
lea r8, [rdi + 0x90]
mov rdx, rax
lea rcx, [rsp + 0x368]
call fcn.14000d8d0
nop
mov rcx, qword [rsi]
add rcx, 8
mov rdx, rax
call fcn.140009f60
mov rcx, qword [rsi]
add rcx, 0x48
mov rdx, rax
call fcn.140005c90
nop
lea rcx, [rsp + 0x368]
call sym.DiagsCap.exe_public:_void___cdecl_Hp::Bridge::Server::Uwp::UwpPackageModel::destructor_void____ptr64
nop
lea rcx, [rsp + 0x388]
call sym.DiagsCap.exe_public:_void___cdecl_Hp::Bridge::Server::Uwp::UwpPackageModel::destructor_void____ptr64
nop
lea rcx, [rsp + 0x3a8]
call sym.DiagsCap.exe_public:_void___cdecl_Hp::Bridge::Server::Uwp::UwpPackageModel::destructor_void____ptr64
movzx ecx, word [rbx + 0xe]
mov rax, qword [rsi]
mov word [rax + 0x68], cx
movzx ecx, word [rbx + 0xc]
mov rax, qword [rsi]
mov word [rax + 0x6a], cx
movzx ecx, word [rbx + 0xa]
mov rax, qword [rsi]
mov word [rax + 0x6c], cx
movzx ecx, word [rbx + 8]
mov rax, qword [rsi]
mov word [rax + 0x6e], cx
mov dword [rsp + 0x34], r12d
xor r8d, r8d
lea rdx, [rsp + 0x34]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.api_ms_win_appmodel_runtime_l1_1_1.dll_GetPackageFullNameFromToken]
cmp eax, 0x7a
je 0x140022837
mov byte [rsp + 0x30], 0
call qword [sym.imp.Logging.dll_public:_static_class_Hp::Bridge::Logging::TraceLogger____ptr64___cdecl_Hp::Bridge::Logging::LogManager::GetLogger_void_]
lea rdx, str.Security___SetupClientInformation_error___GetPackageFullNameFromToken_failed__buffer_
mov rcx, rax
call qword [sym.imp.Logging.dll_public:_void___cdecl_Hp::Bridge::Logging::TraceLogger::LogError_wchar_t_const____ptr64____ptr64]
jmp 0x140022afa
mov r8d, dword [rsp + 0x34]
mov qword [rsp + 0x178], r8
lea rax, [rsp + 0x2e0]
mov qword [rsp + 0x180], rax
lea rax, [rsp + 0x2e0]
mov qword [rsp + 0x188], rax
lea rax, [rsp + 0x2e0]
mov qword [rsp + 0x190], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x2e0], xmm0
mov qword [rsp + 0x2f0], r12
mov qword [rsp + 0x2f8], r12
lea rcx, [rsp + 0x2e0]
call fcn.14001b570
nop
lea rax, [rsp + 0x2e0]
mov qword [rsp + 0x198], rax
lea r8, [rsp + 0x2e0]
cmp qword [rsp + 0x2f8], 7
seta al
mov byte [rsp + 0x3c], al
test al, al
cmovne r8, qword [rsp + 0x2e0]
mov qword [rsp + 0x1a0], r8
mov qword [rsp + 0x1a8], r8
lea rdx, [rsp + 0x34]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.api_ms_win_appmodel_runtime_l1_1_1.dll_GetPackageFullNameFromToken]
test eax, eax
je 0x140022914
mov byte [rsp + 0x30], 0
call qword [sym.imp.Logging.dll_public:_static_class_Hp::Bridge::Logging::TraceLogger____ptr64___cdecl_Hp::Bridge::Logging::LogManager::GetLogger_void_]
lea rdx, str.Security___SetupClientInformation_error___GetPackageFullNameFromToken_failed
mov rcx, rax
call qword [sym.imp.Logging.dll_public:_void___cdecl_Hp::Bridge::Logging::TraceLogger::LogError_wchar_t_const____ptr64____ptr64]
jmp 0x140022a32
mov rcx, qword [rsi]
add rcx, 0x70
lea rdx, [rsp + 0x2e0]
call fcn.140005c90
lea rax, [rsp + 0x2e0]
mov qword [rsp + 0x1b0], rax
lea rcx, [rsp + 0x2e0]
cmp qword [rsp + 0x2f8], 7
seta al
mov byte [rsp + 0x3d], al
test al, al
cmovne rcx, qword [rsp + 0x2e0]
mov qword [rsp + 0x1b8], rcx
mov qword [rsp + 0x1c0], rcx
mov qword [rsp + 0x1c8], rcx
lea rdx, [rsp + 0x80]
call qword [sym.imp.api_ms_win_appmodel_runtime_l1_1_1.dll_GetStagedPackageOrigin]
test eax, eax
jne 0x14002299c
mov byte [rsp + 0x30], 1
mov rcx, qword [rsi]
mov eax, dword [rsp + 0x80]
mov dword [rcx + 0xb0], eax
jmp 0x1400229b7
mov byte [rsp + 0x30], 0
call qword [sym.imp.Logging.dll_public:_static_class_Hp::Bridge::Logging::TraceLogger____ptr64___cdecl_Hp::Bridge::Logging::LogManager::GetLogger_void_]
lea rdx, str.Security___SetupClientInformation_error___GetStagedPackageOrigin_failed
mov rcx, rax
call qword [sym.imp.Logging.dll_public:_void___cdecl_Hp::Bridge::Logging::TraceLogger::LogError_wchar_t_const____ptr64____ptr64]
lea rcx, [rsp + 0x320]
call sym.DiagsCap.exe_public:_void___cdecl_Hp::Bridge::Server::Services::Launcher::constructor_void____ptr64
nop
lea rax, [rsp + 0x298]
mov qword [rsp + 0x1d0], rax
mov rdx, qword [rsi]
add rdx, 0x70
lea rcx, [rsp + 0x298]
call fcn.140005d60
nop
mov r8, rax
lea rdx, [rsp + 0x3c8]
lea rcx, [rsp + 0x320]
call sym.DiagsCap.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_Hp::Bridge::Server::Services::Launcher::GetPackageInstalledPathByFullName_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64
nop
mov rcx, qword [rsi]
add rcx, 0xb8
mov rdx, rax
call fcn.140009f60
nop
lea rcx, [rsp + 0x3c8]
call sym.DiagsCap.exe_public:_void___cdecl_Hp::Bridge::Server::Uwp::UwpPackageModel::destructor_void____ptr64
nop
lea rcx, [rsp + 0x320]
call sym.DiagsCap.exe_public:_void___cdecl_Hp::Bridge::Server::Services::Launcher::destructor_void____ptr64
nop
lea rax, [rsp + 0x2e0]
mov qword [rsp + 0x1d8], rax
mov rdx, qword [rsp + 0x2f8]
cmp rdx, 7
seta al
mov byte [rsp + 0x3e], al
test al, al
je 0x140022ad7
mov rcx, qword [rsp + 0x2e0]
mov qword [rsp + 0x1e0], rcx
mov qword [rsp + 0x1e8], rdx
lea rdx, [rdx*2 + 2]
mov qword [rsp + 0xf0], rdx
mov qword [rsp + 0xf8], rcx
cmp rdx, 0x1000
jb 0x140022ad2
add rdx, 0x27
mov qword [rsp + 0xf0], rdx
mov qword [rsp + 0x1f0], rcx
mov r8, qword [rcx - 8]
mov qword [rsp + 0x1f8], r8
sub rcx, r8
mov qword [rsp + 0x200], rcx
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140022b18
mov rcx, r8
mov qword [rsp + 0xf8], rcx
call fcn.1400688bc
mov qword [rsp + 0x2f0], r12
mov qword [rsp + 0x2f8], 7
mov word [rsp + 0x78], r12w
mov word [rsp + 0x2e0], r12w
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140022b73
mov qword [rsp + 0x208], rcx
mov edx, 1
call fcn.1400688bc
jmp 0x140022b73
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.Logging.dll_public:_static_class_Hp::Bridge::Logging::TraceLogger____ptr64___cdecl_Hp::Bridge::Logging::LogManager::GetLogger_void_]
lea rdx, str.Security___SetupClientInformation_error___OpenProcessToken_yielded_null_or_invalid_handle
mov rcx, rax
call qword [sym.imp.Logging.dll_public:_void___cdecl_Hp::Bridge::Logging::TraceLogger::LogError_wchar_t_const____ptr64____ptr64]
call qword [sym.imp.Logging.dll_public:_static_class_Hp::Bridge::Logging::TraceLogger____ptr64___cdecl_Hp::Bridge::Logging::LogManager::GetLogger_void_]
lea rdx, str.Security___SetupClientInformation_error___Failed_to_impersonate_client
mov rcx, rax
call qword [sym.imp.Logging.dll_public:_void___cdecl_Hp::Bridge::Logging::TraceLogger::LogError_wchar_t_const____ptr64____ptr64]
mov byte [rsp + 0x30], 0
call qword [sym.imp.Logging.dll_public:_static_class_Hp::Bridge::Logging::TraceLogger____ptr64___cdecl_Hp::Bridge::Logging::LogManager::GetLogger_void_]
lea rdx, str.Security___SetupClientInformation_error___GetPackageId_failed
mov rcx, rax
call qword [sym.imp.Logging.dll_public:_void___cdecl_Hp::Bridge::Logging::TraceLogger::LogError_wchar_t_const____ptr64____ptr64]
lea rsi, [r15 + 0x100]
mov r14d, 0xffffffff
cmp qword [rsi], 0
jne 0x140022ec7
call qword [sym.imp.Logging.dll_public:_static_class_Hp::Bridge::Logging::TraceLogger____ptr64___cdecl_Hp::Bridge::Logging::LogManager::GetLogger_void_]
lea rdx, str.Security___SetupClientInformation___getting_version_of_the_client.
mov rcx, rax
call qword [sym.imp.Logging.dll_public:_void___cdecl_Hp::Bridge::Logging::TraceLogger::LogInfo_wchar_t_const____ptr64____ptr64]
lea rdi, [r15 + 0x120]
mov qword [rsp + 0x210], rdi
mov rcx, rdi
mov qword [rsp + 0xd8], rcx
cmp qword [rdi + 0x18], 7
seta byte [rsp + 0x3f]
jbe 0x140022bc4
mov rcx, qword [rdi]
mov qword [rsp + 0xd8], rcx
mov qword [rsp + 0x218], rcx
mov qword [rsp + 0x220], rcx
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
mov dword [rsp + 0x84], ebx
mov ecx, eax
call fcn.140069634
mov rsi, rax
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x228], rax
test ebx, ebx
je 0x140022e0e
mov qword [rsp + 0x230], rdi
mov rax, rdi
mov qword [rsp + 0xd0], rax
cmp qword [rdi + 0x18], 7
seta byte [rsp + 0x40]
jbe 0x140022c31
mov rax, qword [rdi]
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x290], rax
mov qword [rsp + 0x240], rax
lfence
mov rsi, qword [rsp + 0x90]
mov r9, rsi
mov r8d, dword [rsp + 0x84]
xor edx, edx
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
cmp eax, 1
jne 0x140022df6
lfence
mov dword [rsp + 0x88], r12d
mov qword [rsp + 0x48], r12
lea r9, [rsp + 0x88]
lea r8, [rsp + 0x48]
lea rdx, [0x1400aa410]
mov rsi, qword [rsp + 0x90]
mov rcx, rsi
call qword [sym.imp.VERSION.dll_VerQueryValueW]
cmp eax, 1
jne 0x140022dde
lea ecx, [rax + 0x7f]
call fcn.1400688c4
mov rbx, rax
mov qword [rsp + 0x248], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_struct_Hp::Bridge::Server::Win32::Win32Information_.0
mov qword [rbx], rax
lea rsi, [rbx + 0x10]
mov qword [rsp + 0x250], rsi
mov rcx, rsi
call sym.DiagsCap.exe_public:_void___cdecl_Hp::Bridge::Server::Win32::Win32Information::constructor_void____ptr64
mov qword [rsp + 0x258], rbx
mov qword [rsp + 0x260], rbx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xa8], xmm0
or dword [rsp + 0x38], 2
mov qword [rsp + 0xa8], rsi
mov qword [rsp + 0xb0], rbx
lfence
lea rdx, [rsp + 0xa8]
lea rcx, [r15 + 0x110]
call fcn.140024870
and dword [rsp + 0x38], 0xfffffffd
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x140022d84
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140022d84
mov rbx, qword [rsp + 0xb0]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r14d
cmp r14d, 1
jne 0x140022d84
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [rsp + 0x48]
movzx ecx, word [rax + 0x12]
mov rax, qword [r15 + 0x110]
mov word [rax + 0x68], cx
mov rax, qword [rsp + 0x48]
movzx ecx, word [rax + 0x10]
mov rax, qword [r15 + 0x110]
mov word [rax + 0x6a], cx
mov rax, qword [rsp + 0x48]
movzx ecx, word [rax + 0x16]
mov rax, qword [r15 + 0x110]
mov word [rax + 0x6c], cx
mov rax, qword [rsp + 0x48]
movzx ecx, word [rax + 0x14]
mov rax, qword [r15 + 0x110]
mov word [rax + 0x6e], cx
mov rsi, qword [rsp + 0x90]
jmp 0x140022e24
call qword [sym.imp.Logging.dll_public:_static_class_Hp::Bridge::Logging::TraceLogger____ptr64___cdecl_Hp::Bridge::Logging::LogManager::GetLogger_void_]
lea rdx, str.Security___SetupClientInformation___VerQueryValue_failed.
mov rcx, rax
call qword [sym.imp.Logging.dll_public:_void___cdecl_Hp::Bridge::Logging::TraceLogger::LogError_wchar_t_const____ptr64____ptr64]
jmp 0x140022e24
call qword [sym.imp.Logging.dll_public:_static_class_Hp::Bridge::Logging::TraceLogger____ptr64___cdecl_Hp::Bridge::Logging::LogManager::GetLogger_void_]
lea rdx, str.Security___SetupClientInformation___GetFileVersionInfo_failed.
mov rcx, rax
call qword [sym.imp.Logging.dll_public:_void___cdecl_Hp::Bridge::Logging::TraceLogger::LogError_wchar_t_const____ptr64____ptr64]
jmp 0x140022e24
call qword [sym.imp.Logging.dll_public:_static_class_Hp::Bridge::Logging::TraceLogger____ptr64___cdecl_Hp::Bridge::Logging::LogManager::GetLogger_void_]
lea rdx, str.Security___SetupClientInformation___Not_able_to_get_version_of_the_binary.
mov rcx, rax
call qword [sym.imp.Logging.dll_public:_void___cdecl_Hp::Bridge::Logging::TraceLogger::LogWarning_wchar_t_const____ptr64____ptr64]
mov rcx, rsi
call fcn.1400688bc
mov rcx, qword [r15 + 0x110]
test rcx, rcx
je 0x140022f12
add rcx, 0x48
mov rdx, rdi
call fcn.140005c90
lea rdx, [rsp + 0x300]
mov rcx, r15
call fcn.140022050
nop
mov rcx, qword [r15 + 0x110]
add rcx, 8
mov rdx, rax
call fcn.140009f60
mov rcx, qword [r15 + 0x110]
add rcx, 0x28
mov rdx, rax
call fcn.140005c90
nop
lea rcx, [rsp + 0x300]
call sym.DiagsCap.exe_public:_void___cdecl_Hp::Bridge::Server::Uwp::UwpPackageModel::destructor_void____ptr64
call qword [sym.imp.Logging.dll_public:_static_class_Hp::Bridge::Logging::TraceLogger____ptr64___cdecl_Hp::Bridge::Logging::LogManager::GetLogger_void_]
mov rcx, qword [r15 + 0x110]
movzx edx, word [rcx + 0x6a]
movzx r9d, word [rcx + 0x68]
lea r8, [rcx + 0x48]
cmp qword [r8 + 0x18], 7
jbe 0x140022eb1
mov r8, qword [r8]
mov dword [rsp + 0x20], edx
lea rdx, str.Security___SetupClientInformation___Path___s__Major_Version___d__Minor_Version___d
mov rcx, rax
call qword [sym.imp.Logging.dll_public:_void___cdecl_Hp::Bridge::Logging::TraceLogger::LogInfo_wchar_t_const____ptr64____ptr64]
jmp 0x140022f12
call qword [sym.imp.Logging.dll_public:_static_class_Hp::Bridge::Logging::TraceLogger____ptr64___cdecl_Hp::Bridge::Logging::LogManager::GetLogger_void_]
mov r8, qword [rsi]
movzx ecx, word [r8 + 0x6a]
movzx edx, word [r8 + 0x68]
lea r9, [r8 + 0x90]
cmp qword [r9 + 0x18], 7
jbe 0x140022eeb
mov r9, qword [r9]
add r8, 0x48
cmp qword [r8 + 0x18], 7
jbe 0x140022ef9
mov r8, qword [r8]
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
lea rdx, str.Security___SetupClientInformation___UWP___s__Publisher___s__Major_Version___d__Minor_Version___d
mov rcx, rax
call qword [sym.imp.Logging.dll_public:_void___cdecl_Hp::Bridge::Logging::TraceLogger::LogInfo_wchar_t_const____ptr64____ptr64]
nop
mov rcx, qword [rsp + 0x70]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140022f26
call qword [rsp + 0x68]
nop
mov rcx, qword [rsp + 0xa0]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140022f40
call qword [rsp + 0x98]
nop
cmp byte [rsp + 0x31], 0
je 0x140022f67
call qword [sym.imp.RPCRT4.dll_RpcRevertToSelf]
test eax, eax
je 0x140022f67
call qword [sym.imp.Logging.dll_public:_static_class_Hp::Bridge::Logging::TraceLogger____ptr64___cdecl_Hp::Bridge::Logging::LogManager::GetLogger_void_]
lea rdx, str.Problem_while_reverting_RPC.
mov rcx, rax
call qword [sym.imp.Logging.dll_public:_void___cdecl_Hp::Bridge::Logging::TraceLogger::LogWarning_wchar_t_const____ptr64____ptr64]
mov rcx, qword [rsp + 0x600]
xor rcx, rsp
call fcn.140068870
lea r11, [rsp + 0x610]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
call fcn.1400092b0
mov r8, rax
lea r9, str.Context_cant_be_NULL.
lea edx, [rbx + 5]
lea rcx, [rsp + 0x2b8]
call fcn.14001c990
lea rdx, [0x1400c8328]
lea rcx, [rsp + 0x2b8]
call sub.VCRUNTIME140.dll__CxxThrowException
int3