Function at 0x140038470
Capabilities:
Print debug messages

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x50
mov rax, qword [rdx + 0x18]
mov rbp, rdx
mov r9d, dword [rdx + 4]
mov r15, rcx
lea rdx, str.CCustomizeHP::OnAppStartFirstSession
mov qword [rsp + 0x20], rax
lea rcx, str._s__d_nProcessType_d_sAppName_s
mov r8d, 0x748
call fcn.14005f240
cmp dword [0x140164324], 0
jne 0x14003850e
cmp dword [0x140164320], 0
jne 0x14003850e
cmp dword [0x140164328], 0
jne 0x14003850e
call fcn.14000b240
test dword [rax + reloc.OLEAUT32.dll_LPSAFEARRAY_UserUnmarshal], 0x100
je 0x14003850e
lea rcx, [rbp + 0x18]
call fcn.140037530
test eax, eax
jne 0x14003850e
lea rcx, [rbp + 0x18]
call fcn.140037780
test eax, eax
jne 0x14003850e
mov r8d, 0x74c
lea rdx, str.CCustomizeHP::OnAppStartFirstSession
lea rcx, str._s__d_NOT_in_support_list__return
add rsp, 0x50
pop r15
pop r14
pop rbp
jmp fcn.14005f240
mov rcx, qword [rbp + 0x18]
cmp dword [rcx - 0x10], 0
jl 0x140038538
lea rdx, str.MicrosoftEdge
call fcn.1400c6bb0
test rax, rax
je 0x140038538
sub rax, qword [rbp + 0x18]
sar rax, 1
test eax, eax
jns 0x140038c64
mov rcx, qword [rbp + 0x18]
cmp dword [rcx - 0x10], 0
jl 0x140038565
lea rdx, str.iexplore.exe
call fcn.1400c6bb0
mov rcx, qword [rbp + 0x18]
test rax, rax
je 0x140038565
sub rax, rcx
sar rax, 1
test eax, eax
jns 0x140038c64
mov qword [rsp + 0x38], r12
lea rdx, str.Zoom.exe
mov qword [rsp + 0x30], r13
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140038585
call fcn.14003a0f0
xor r12d, r12d
mov qword [rsp + 0x70], rbx
cmp dword [rbp + 4], 3
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rdi
lea r13d, [r12 + 1]
jne 0x1400388a1
lea rcx, [rbp + 0x18]
call fcn.140037530
test eax, eax
je 0x140038a71
call fcn.14000b240
mov r8d, 0x770
lea rdx, str.CCustomizeHP::OnAppStartFirstSession
lea rcx, str._s__d_GlobalPolicy.UWPguiType__d
mov r9d, dword [rax + 0x2a4]
call fcn.14005f240
call fcn.14000b240
cmp dword [rax + 0x2a4], 0x34
jl 0x1400387d6
mov eax, dword [0x140162d7c]
add eax, 0xffff63bf
cmp eax, 6
ja 0x1400387d6
mov ecx, 0x49
bt ecx, eax
jae 0x1400387d6
mov rdi, qword [rbp + 0x28]
mov esi, r12d
test rdi, rdi
je 0x14003865c
mov rbx, rdi
mov rdi, qword [rdi]
call fcn.14000b520
mov rdx, qword [rbx + 0x10]
call fcn.140090350
mov rbx, rax
test rax, rax
je 0x140038657
mov rcx, rax
call fcn.140016510
cmp dword [rbx + 0x84], r12d
jne 0x140038657
mov rcx, rbx
call fcn.14000f250
test eax, eax
cmovne esi, r13d
test rdi, rdi
jne 0x14003861c
cmp dword [rbp + 4], 3
jne 0x140038759
cmp dword [rbp + 8], r12d
jne 0x140038759
mov rcx, qword [rbp + 0x18]
lea rdx, str.SkypeHost.exe
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140038730
mov rcx, qword [rbp + 0x18]
lea rdx, str.Skype.exe
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140038730
mov rcx, qword [rbp + 0x18]
lea rdx, str.lync.exe
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140038730
mov rcx, qword [rbp + 0x18]
cmp dword [rcx - 0x10], r12d
jl 0x1400386e0
lea rdx, str.Skype
call fcn.1400c6bb0
mov rcx, qword [rbp + 0x18]
test rax, rax
je 0x1400386e0
sub rax, rcx
sar rax, 1
test eax, eax
jns 0x140038730
lea rdx, str.CiscoCollabHost.exe
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140038730
mov rcx, qword [rbp + 0x18]
lea rdx, str.CiscoCollabHost.exe_old
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140038730
mov rcx, qword [rbp + 0x18]
lea rdx, str.Teams.exe
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140038730
mov rcx, qword [rbp + 0x18]
lea rdx, str.msteams.exe
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140038759
call fcn.14003a3c0
test eax, eax
je 0x140038759
mov r9, qword [rbp + 0x18]
lea rdx, str.CCustomizeHP::OnAppStartFirstSession
mov r8d, 0x797
lea rcx, str._s__d_sAppName_s__this_project_uses_Forte_APO__DONT_show_toast_for_RAW_mode
mov esi, r12d
call fcn.14005f240
mov rcx, qword [rbp + 0x18]
sub rcx, 0x18
call fcn.140006b40
mov edx, dword [rbp + 4]
lea rcx, [rsp + 0x78]
add rax, 0x18
mov qword [rsp + 0x78], rax
call fcn.14003fc00
test eax, eax
jne 0x1400387b9
test esi, esi
je 0x1400387b9
mov r9, qword [rbp + 0x18]
lea rdx, str.CCustomizeHP::OnAppStartFirstSession
mov r8d, 0x7a2
lea rcx, str._s__d_sAppName_s_VoIP__delay_1_second_to_send_SRV_CMD_ShowVoipToast
call fcn.14005f240
call fcn.14000b690
mov edx, 0x431
mov rcx, rax
lea r8d, [rdx - 0x49]
call fcn.1400b6130
jmp 0x1400387d6
mov r9, qword [rbp + 0x18]
lea rdx, str.CCustomizeHP::OnAppStartFirstSession
mov r8d, 0x7a8
lea rcx, str._s__d_sAppName_s_VoIP__non_IntegratedMic__NOT_send_SRV_CMD_ShowVoipToast
call fcn.14005f240
lea rcx, [r15 + 0x80]
mov rax, 0xffffffffffffffff
lea rdx, [0x1400e4fe8]
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], r12w
jne 0x1400387f0
mov r8d, eax
call fcn.1400048e0
mov rdx, qword [rbp + 0x18]
mov rbx, qword [r15 + 0x88]
sub rbx, 0x18
lea rcx, [rdx - 0x18]
cmp rcx, rbx
je 0x140038869
cmp dword [rbx + 0x10], r12d
jl 0x140038859
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140038859
call fcn.140006b40
mov rsi, rax
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
sub ecx, r13d
jg 0x14003884c
mov rcx, qword [rbx]
mov rdx, rbx
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rsi + 0x18]
mov qword [r15 + 0x88], rax
jmp 0x140038869
mov r8d, dword [rdx - 0x10]
lea rcx, [r15 + 0x88]
call fcn.1400048e0
mov dword [r15 + 0x98], r13d
lea rdx, str.CiscoCollabHost.exe
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x14003892b
call fcn.14000b690
mov rcx, rax
mov edx, 0x407
mov r8d, 0x2ee0
call fcn.1400b6130
cmp dword [rbp + 4], r13d
jne 0x1400388bb
lea rcx, [rbp + 0x18]
call fcn.140037530
test eax, eax
je 0x1400388bb
mov dword [rbp + 4], 4
mov rcx, qword [rbp + 0x18]
sub rcx, 0x18
call fcn.140006b40
mov edx, dword [rbp + 4]
lea rcx, [rsp + 0x88]
add rax, 0x18
mov qword [rsp + 0x88], rax
call fcn.14003fc00
test eax, eax
jne 0x140038c4b
mov rsi, qword [rbp + 0x28]
test rsi, rsi
je 0x140038c4b
mov rbx, rsi
mov rsi, qword [rsi]
call fcn.14000b520
mov rdx, qword [rbx + 0x10]
call fcn.140090350
mov rdi, rax
test rax, rax
je 0x140038c42
cmp dword [rbp + 8], r12d
je 0x140038a87
mov ebx, r13d
jmp 0x140038a91
mov rcx, qword [rbp + 0x18]
sub rcx, 0x18
call fcn.140006b40
mov edx, dword [rbp + 4]
lea rcx, [rsp + 0x80]
add rax, 0x18
mov qword [rsp + 0x80], rax
call fcn.14003fc00
test eax, eax
jne 0x1400388a1
cmp dword [rbp + 4], 3
jne 0x1400388a1
cmp dword [rbp + 8], r12d
jne 0x1400388a1
mov rcx, qword [rbp + 0x18]
lea rdx, str.SkypeHost.exe
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140038a30
mov rcx, qword [rbp + 0x18]
lea rdx, str.Skype.exe
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140038a30
mov rcx, qword [rbp + 0x18]
lea rdx, str.lync.exe
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140038a30
mov rcx, qword [rbp + 0x18]
cmp dword [rcx - 0x10], r12d
jl 0x1400389e0
lea rdx, str.Skype
call fcn.1400c6bb0
mov rcx, qword [rbp + 0x18]
test rax, rax
je 0x1400389e0
sub rax, rcx
sar rax, 1
test eax, eax
jns 0x140038a30
lea rdx, str.CiscoCollabHost.exe
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140038a30
mov rcx, qword [rbp + 0x18]
lea rdx, str.CiscoCollabHost.exe_old
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140038a30
mov rcx, qword [rbp + 0x18]
lea rdx, str.Teams.exe
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140038a30
mov rcx, qword [rbp + 0x18]
lea rdx, str.msteams.exe
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140038a5b
call fcn.14003a3c0
test eax, eax
je 0x140038a5b
mov r9, qword [rbp + 0x18]
lea rdx, str.CCustomizeHP::OnAppStartFirstSession
mov r8d, 0x7cb
lea rcx, str._s__d_sAppName_s__this_project_uses_Forte_APO__DONT_show_toast_for_RAW_mode
call fcn.14005f240
jmp 0x1400388a1
call fcn.14000b690
mov edx, 0x404
mov rcx, rax
lea r8d, [rdx - 0x1c]
jmp 0x14003889c
cmp dword [rbp + 8], r12d
jne 0x1400388a1
mov dword [rbp + 4], 4
jmp 0x140038c4b
cmp dword [rbp + 4], 3
mov ebx, r12d
setne bl
mov rcx, rdi
call fcn.140016510
mov ecx, dword [rbp + 4]
cmp dword [rdi + 0x84], r12d
je 0x140038ac3
sub ecx, r13d
je 0x140038abe
sub ecx, r13d
je 0x140038ab4
sub ecx, r13d
je 0x140038ab9
mov ebx, r12d
jmp 0x140038adc
add ebx, 2
jmp 0x140038adc
mov ebx, r13d
jmp 0x140038adc
sub ecx, r13d
je 0x140038ad7
sub ecx, r13d
je 0x140038ad7
mov ebx, 0x3e9
sub ecx, r13d
je 0x140038adc
mov ebx, 0x3e8
mov rcx, qword [rbp + 0x18]
lea rdx, str.chrome.exe
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov rcx, rdi
call fcn.140016510
cmp dword [rdi + 0x84], r12d
je 0x140038b03
mov dword [rbp + 0xc], ebx
jmp 0x140038b06
mov dword [rbp + 0x10], ebx
lea rcx, [rdi + 0x10]
mov dword [rsp + 0x20], r12d
mov r9d, r13d
lea rdx, [0x1400dfc78]
mov r8d, ebx
call fcn.1400032a0
test eax, eax
jne 0x140038b4c
mov eax, dword [rbp + 4]
lea rdx, str.CCustomizeHP::OnAppStartFirstSession
mov r9, qword [rdi + 0x168]
lea rcx, str._s__d_pAudDev__m_szEndpointId_s__set_PKey_PKEY_RTK_AUDIO_SCENARIO_MODE_fail___d_
mov r8d, 0x83a
mov dword [rsp + 0x20], eax
call fcn.14005f240
mov rcx, qword [rbp + 0x18]
lea rdx, str.CiscoJabber.exe
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140038baa
mov rcx, rdi
call fcn.140016510
cmp dword [rdi + 0x84], r12d
je 0x140038baa
cmp dword [rbp + 4], 3
jne 0x140038baa
mov rdx, qword [rdi + 0x168]
lea rcx, [r15 + 0x60]
test rdx, rdx
jne 0x140038b8d
mov eax, r12d
jmp 0x140038b9e
mov rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], r12w
jne 0x140038b94
mov r8d, eax
call fcn.1400048e0
mov dword [r15 + 0x68], r13d
mov rcx, qword [rbp + 0x18]
lea rdx, str.CiscoCollabHost.exe
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140038c08
mov rcx, rdi
call fcn.140016510
cmp dword [rdi + 0x84], r12d
je 0x140038c08
cmp dword [rbp + 4], 3
jne 0x140038c08
mov rdx, qword [rdi + 0x168]
lea rcx, [r15 + 0x70]
test rdx, rdx
jne 0x140038beb
mov eax, r12d
jmp 0x140038bfc
mov rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], r12w
jne 0x140038bf2
mov r8d, eax
call fcn.1400048e0
mov dword [r15 + 0x78], r13d
mov rdx, qword [rdi + 0x168]
lea rcx, [r15 + 0x80]
test rdx, rdx
jne 0x140038c20
mov eax, r12d
jmp 0x140038c3a
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], r12w
jne 0x140038c30
mov r8d, eax
call fcn.1400048e0
test rsi, rsi
jne 0x1400388f9
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x70]
mov r12, qword [rsp + 0x38]
mov r13, qword [rsp + 0x30]
add rsp, 0x50
pop r15
pop r14
pop rbp
ret