Function at 0x14001b8d0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x4b0
mov rax, qword [0x1400ab008]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
mov rdi, rdx
mov rsi, rcx
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 rdi, rdi
je 0x14001c6ed
xor ebx, ebx
mov dword [rsp + 0x34], ebx
xor r13b, r13b
mov byte [rsp + 0x30], r13b
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x290]
call sub.VCRUNTIME140.dll_memset
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0xf8], xmm0
movups xmmword [rsp + 0x108], xmm0
movups xmmword [rsp + 0x118], xmm0
movups xmmword [rsp + 0x128], xmm0
movups xmmword [rsp + 0x138], xmm0
movups xmmword [rsp + 0x148], xmm0
mov qword [rsp + 0x158], rax
mov dword [rsp + 0xf0], 3
mov dword [rsp + 0xf4], 0x10
lea rdx, [rsp + 0xf0]
xor ecx, ecx
call qword [sym.imp.RPCRT4.dll_RpcServerInqCallAttributesW]
test eax, eax
sete dil
test eax, eax
je 0x14001b9c8
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 + 0x50]
mov rcx, rsi
call fcn.14001b480
nop
test dil, dil
je 0x14001bac9
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14001bac9
mov r9d, 0x104
lea r8, [rsp + 0x290]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x14001badf
mov dil, 1
mov qword [rsp + 0x1c0], rbx
mov qword [rsp + 0x1d0], rbx
mov qword [rsp + 0x1d8], 7
lea rax, [rsp + 0x290]
mov r12, 0xffffffffffffffff
mov r8, r12
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14001ba40
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x1c0]
call fcn.140006a60
lea rcx, [rsi + 0x120]
lea rdx, [rsp + 0x1c0]
call fcn.140009a20
mov rdx, qword [rsp + 0x1d8]
cmp rdx, 8
jb 0x14001babf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001baba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001baba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058b40
mov word [rsp + 0x1c0], bx
jmp 0x14001baff
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]
xor dil, dil
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]
mov r12, 0xffffffffffffffff
mov r14, rbx
mov qword [rsp + 0x38], rbx
mov rcx, qword [rsp + 0x58]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14001bb2b
lea r8, [rsp + 0x38]
mov edx, 8
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov r14, qword [rsp + 0x38]
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], r14
test dil, dil
je 0x14001c2e7
lea rax, [r14 + 1]
test rax, 0xfffffffffffffffe
je 0x14001c2e7
xor ecx, ecx
call qword [sym.imp.RPCRT4.dll_RpcImpersonateClient]
test eax, eax
jne 0x14001c2fd
mov r13b, 1
mov byte [rsp + 0x30], r13b
xor r8d, r8d
lea rdx, [rsp + 0x34]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetPackageId]
cmp eax, 0x7a
jne 0x14001c313
lea ecx, [rax + 0x6e]
call fcn.140058b74
mov rbx, rax
mov qword [rsp + 0x40], 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 rcx, rdi
call sym.OmenCap.exe_public:_void___cdecl_Hp::Bridge::Server::Uwp::UwpInformation::constructor_void____ptr64
nop
mov qword [rsi + 0x100], rdi
mov rdi, qword [rsi + 0x108]
mov qword [rsi + 0x108], rbx
test rdi, rdi
je 0x14001bc14
mov eax, r12d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14001bc0f
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, r12d
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14001bc0f
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov r14, qword [rsp + 0x38]
mov ecx, dword [rsp + 0x34]
call fcn.140059834
mov r15, rax
mov qword [rsp + 0x70], rax
mov r8, rax
lea rdx, [rsp + 0x34]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetPackageId]
test eax, eax
je 0x14001bc57
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 0x14001c2d8
mov rdx, qword [r15 + 0x28]
mov rcx, qword [rsi + 0x100]
add rcx, 0x90
mov r8, r12
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x14001bc70
call fcn.140006a60
mov rdx, qword [r15 + 0x10]
xor ebx, ebx
mov qword [rsp + 0x1e0], rbx
mov qword [rsp + 0x1f0], rbx
mov qword [rsp + 0x1f8], 7
mov r8, r12
inc r8
cmp word [rdx + r8*2], bx
jne 0x14001bca5
lea rcx, [rsp + 0x1e0]
call fcn.140006a60
mov rcx, qword [rsi + 0x100]
add rcx, 0x28
lea rdx, [rsp + 0x1e0]
call fcn.140009a20
mov rdx, qword [rsp + 0x1f8]
cmp rdx, 8
jb 0x14001bd1f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x1e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001bd1a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001bd1a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058b40
mov word [rsp + 0x1e0], bx
mov rdi, qword [rsi + 0x100]
add rdi, 0x90
mov rdx, qword [r15 + 0x10]
mov qword [rsp + 0x1a0], rbx
mov qword [rsp + 0x1b0], rbx
mov qword [rsp + 0x1b8], 7
mov word [rsp + 0x1a0], bx
mov r8, r12
inc r8
cmp word [rdx + r8*2], bx
jne 0x14001bd60
lea rcx, [rsp + 0x1a0]
call fcn.140006a60
nop
mov r8d, 1
lea rdx, [0x140070770]
lea rcx, [rsp + 0x1a0]
call fcn.14000d5d0
mov qword [rsp + 0x180], rbx
mov qword [rsp + 0x190], rbx
mov qword [rsp + 0x198], rbx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x180], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x190], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 8
jb 0x14001bdde
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rsp + 0x180]
call fcn.14000d5d0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x200], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x210], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
mov rcx, qword [rsi + 0x100]
add rcx, 8
lea rdx, [rsp + 0x200]
call fcn.140009a20
mov rcx, qword [rsi + 0x100]
add rcx, 0x48
cmp rcx, rax
je 0x14001be53
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x14001be4a
mov rax, qword [rax]
mov rdx, rax
call fcn.140006a60
nop
mov rdx, qword [rsp + 0x218]
cmp rdx, 8
jb 0x14001be9e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x200]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001be99
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001be99
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058b40
mov word [rsp + 0x200], bx
mov rdx, qword [rsp + 0x198]
cmp rdx, 8
jb 0x14001bef1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x180]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001beec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001beec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058b40
mov qword [rsp + 0x190], rbx
mov qword [rsp + 0x198], 7
mov word [rsp + 0x180], bx
mov rdx, qword [rsp + 0x1b8]
cmp rdx, 8
jb 0x14001bf58
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001bf53
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001bf53
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058b40
mov word [rsp + 0x1a0], bx
movzx ecx, word [r15 + 0xe]
mov rax, qword [rsi + 0x100]
mov word [rax + 0x68], cx
movzx ecx, word [r15 + 0xc]
mov rax, qword [rsi + 0x100]
mov word [rax + 0x6a], cx
movzx ecx, word [r15 + 0xa]
mov rax, qword [rsi + 0x100]
mov word [rax + 0x6c], cx
movzx ecx, word [r15 + 8]
mov rax, qword [rsi + 0x100]
mov word [rax + 0x6e], cx
mov dword [rsp + 0x34], ebx
xor r8d, r8d
lea rdx, [rsp + 0x34]
mov rcx, r14
call qword [sym.imp.api_ms_win_appmodel_runtime_l1_1_1.dll_GetPackageFullNameFromToken]
cmp eax, 0x7a
je 0x14001bfd5
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 0x14001c2d8
mov ebx, dword [rsp + 0x34]
xor edx, edx
mov qword [rsp + 0x160], rdx
mov qword [rsp + 0x170], rdx
mov qword [rsp + 0x178], 7
mov word [rsp + 0x160], dx
cmp rbx, 7
ja 0x14001c034
mov qword [rsp + 0x170], rbx
test rbx, rbx
je 0x14001c022
movzx eax, dx
lea rdi, [rsp + 0x160]
mov ecx, ebx
rep stosw word [rdi], ax
mov word [rsp + rbx*2 + 0x160], dx
mov rdx, qword [rsp + 0x160]
jmp 0x14001c0a0
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
ja 0x14001c721
mov rdi, rbx
or rdi, 7
mov qword [rsp + 0x78], rdi
mov eax, 0xa
mov qword [rsp + 0x80], rax
cmp rdi, rax
cmovb rdi, rax
lea rdx, [rdi + 1]
call fcn.140006bb0
mov rdx, rax
mov qword [rsp + 0x170], rbx
mov qword [rsp + 0x178], rdi
xor r8d, r8d
movzx eax, r8w
mov rdi, rdx
mov rcx, rbx
rep stosw word [rdi], ax
mov word [rdx + rbx*2], r8w
mov qword [rsp + 0x160], rdx
lea r8, [rsp + 0x160]
cmp qword [rsp + 0x178], 8
cmovae r8, rdx
lea rdx, [rsp + 0x34]
mov rcx, r14
call qword [sym.imp.api_ms_win_appmodel_runtime_l1_1_1.dll_GetPackageFullNameFromToken]
test eax, eax
je 0x14001c0e4
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]
xor ebx, ebx
jmp 0x14001c285
mov rcx, qword [rsi + 0x100]
add rcx, 0x70
lea rax, [rsp + 0x160]
cmp rcx, rax
je 0x14001c123
lea rdx, [rsp + 0x160]
cmp qword [rsp + 0x178], 8
cmovae rdx, qword [rsp + 0x160]
mov r8, qword [rsp + 0x170]
call fcn.140006a60
lea rcx, [rsp + 0x160]
cmp qword [rsp + 0x178], 8
cmovae rcx, qword [rsp + 0x160]
lea rdx, [rsp + 0x48]
call qword [sym.imp.api_ms_win_appmodel_runtime_l1_1_1.dll_GetStagedPackageOrigin]
test eax, eax
je 0x14001c164
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]
jmp 0x14001c175
mov rcx, qword [rsi + 0x100]
mov eax, dword [rsp + 0x48]
mov dword [rcx + 0xb0], eax
lea rcx, [rsp + 0x220]
call sym.OmenCap.exe_public:_void___cdecl_Hp::Bridge::Server::Services::Launcher::constructor_void____ptr64
nop
mov rdx, qword [rsi + 0x100]
add rdx, 0x70
lea rcx, [rsp + 0xa8]
call fcn.1400069b0
mov r8, rax
lea rdx, [rsp + 0x248]
lea rcx, [rsp + 0x220]
call sym.OmenCap.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
mov rcx, qword [rsi + 0x100]
add rcx, 0xb8
mov rdx, rax
call fcn.140009a20
mov rdx, qword [rsp + 0x260]
cmp rdx, 8
jb 0x14001c214
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x248]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c20f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001c20f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058b40
xor ebx, ebx
mov word [rsp + 0x248], bx
mov rdx, qword [rsp + 0x240]
cmp rdx, 8
jb 0x14001c269
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x228]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c264
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001c264
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058b40
mov qword [rsp + 0x238], rbx
mov qword [rsp + 0x240], 7
mov word [rsp + 0x228], bx
mov rdx, qword [rsp + 0x178]
cmp rdx, 8
jb 0x14001c2d0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c2cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001c2cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058b40
mov word [rsp + 0x160], bx
mov edx, 1
mov rcx, r15
call fcn.140058b40
jmp 0x14001c329
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]
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]
cmp qword [rsi + 0x100], 0
jne 0x14001c61c
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 rbx, [rsi + 0x120]
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14001c361
mov rcx, qword [rbx]
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
mov ecx, eax
call fcn.140059834
mov r15, rax
test edi, edi
je 0x14001c4ff
lfence
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14001c38d
mov rcx, qword [rbx]
mov r9, r15
mov r8d, edi
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
cmp eax, 1
jne 0x14001c4e2
lfence
xor r8d, r8d
mov dword [rsp + 0x4c], r8d
mov qword [rsp + 0x40], r8
lea r9, [rsp + 0x4c]
lea r8, [rsp + 0x40]
lea rdx, [0x140070774]
mov rcx, r15
call qword [sym.imp.VERSION.dll_VerQueryValueW]
cmp eax, 1
jne 0x14001c4c5
lea ecx, [rax + 0x7f]
call fcn.140058b74
mov rdi, rax
mov qword [rsp + 0x88], 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 [rdi], rax
lea r14, [rdi + 0x10]
mov rcx, r14
call sym.OmenCap.exe_public:_void___cdecl_Hp::Bridge::Server::Win32::Win32Information::constructor_void____ptr64
nop
lfence
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], rdi
lea rdx, [rsp + 0x60]
lea rcx, [rsi + 0x110]
call fcn.14001dc80
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14001c46e
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14001c46e
mov rdi, qword [rsp + 0x68]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], r12d
cmp r12d, 1
jne 0x14001c46e
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [rsp + 0x40]
movzx ecx, word [rax + 0x12]
mov rax, qword [rsi + 0x110]
mov word [rax + 0x68], cx
mov rax, qword [rsp + 0x40]
movzx ecx, word [rax + 0x10]
mov rax, qword [rsi + 0x110]
mov word [rax + 0x6a], cx
mov rax, qword [rsp + 0x40]
movzx ecx, word [rax + 0x16]
mov rax, qword [rsi + 0x110]
mov word [rax + 0x6c], cx
mov rax, qword [rsp + 0x40]
movzx ecx, word [rax + 0x14]
mov rax, qword [rsi + 0x110]
mov word [rax + 0x6e], cx
mov r14, qword [rsp + 0x38]
jmp 0x14001c515
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]
mov r14, qword [rsp + 0x38]
jmp 0x14001c515
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]
mov r14, qword [rsp + 0x38]
jmp 0x14001c515
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, r15
call fcn.140058b40
mov rax, qword [rsi + 0x110]
test rax, rax
je 0x14001c66b
lea rcx, [rax + 0x48]
cmp rcx, rbx
je 0x14001c54c
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x14001c544
mov rbx, qword [rbx]
mov rdx, rbx
call fcn.140006a60
lea rdx, [rsp + 0x268]
mov rcx, rsi
call fcn.14001b770
nop
mov rcx, qword [rsi + 0x110]
add rcx, 8
mov rdx, rax
call fcn.140009a20
mov rcx, qword [rsi + 0x110]
add rcx, 0x28
cmp rcx, rax
je 0x14001c597
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x14001c58e
mov rax, qword [rax]
mov rdx, rax
call fcn.140006a60
nop
mov rdx, qword [rsp + 0x280]
cmp rdx, 8
jb 0x14001c5e2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x268]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c5dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001c5dd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058b40
call qword [sym.imp.Logging.dll_public:_static_class_Hp::Bridge::Logging::TraceLogger____ptr64___cdecl_Hp::Bridge::Logging::LogManager::GetLogger_void_]
mov rcx, qword [rsi + 0x110]
movzx edx, word [rcx + 0x6a]
movzx r9d, word [rcx + 0x68]
lea r8, [rcx + 0x48]
cmp qword [r8 + 0x18], 8
jb 0x14001c606
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 0x14001c66b
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 + 0x100]
movzx ecx, word [r8 + 0x6a]
movzx edx, word [r8 + 0x68]
lea r9, [r8 + 0x90]
cmp qword [r9 + 0x18], 8
jb 0x14001c644
mov r9, qword [r9]
add r8, 0x48
cmp qword [r8 + 0x18], 8
jb 0x14001c652
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
lea rax, [r14 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14001c67f
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0x58]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14001c693
call qword [rsp + 0x50]
nop
jmp 0x14001c69b
test r13b, r13b
je 0x14001c6c0
call qword [sym.imp.RPCRT4.dll_RpcRevertToSelf]
test eax, eax
je 0x14001c6c0
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 + 0x4a0]
xor rcx, rsp
call fcn.140058b20
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.140008fd0
mov r8, rax
lea r9, str.Context_cant_be_NULL.
lea edx, [rdi + 5]
lea rcx, [rsp + 0xc8]
call fcn.140017530
lea rdx, [0x1400a2158]
lea rcx, [rsp + 0xc8]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140005070
nop
int3