Function at 0x140039a30
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.140061d00
cmp dword [0x14016b444], 0
jne 0x140039ace
cmp dword [0x14016b440], 0
jne 0x140039ace
cmp dword [0x14016b448], 0
jne 0x140039ace
call fcn.14000b280
test dword [rax + reloc.OLEAUT32.dll_LPSAFEARRAY_UserUnmarshal], 0x100
je 0x140039ace
lea rcx, [rbp + 0x18]
call fcn.140038ae0
test eax, eax
jne 0x140039ace
lea rcx, [rbp + 0x18]
call fcn.140038d30
test eax, eax
jne 0x140039ace
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.140061d00
mov rcx, qword [rbp + 0x18]
cmp dword [rcx - 0x10], 0
jl 0x140039af8
lea rdx, str.MicrosoftEdge
call fcn.1400cbaf0
test rax, rax
je 0x140039af8
sub rax, qword [rbp + 0x18]
sar rax, 1
test eax, eax
jns 0x14003a224
mov rcx, qword [rbp + 0x18]
cmp dword [rcx - 0x10], 0
jl 0x140039b25
lea rdx, str.iexplore.exe
call fcn.1400cbaf0
mov rcx, qword [rbp + 0x18]
test rax, rax
je 0x140039b25
sub rax, rcx
sar rax, 1
test eax, eax
jns 0x14003a224
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 0x140039b45
call fcn.14003b6b0
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 0x140039e61
lea rcx, [rbp + 0x18]
call fcn.140038ae0
test eax, eax
je 0x14003a031
call fcn.14000b280
mov r8d, 0x770
lea rdx, str.CCustomizeHP::OnAppStartFirstSession
lea rcx, str._s__d_GlobalPolicy.UWPguiType__d
mov r9d, dword [rax + 0x2a4]
call fcn.140061d00
call fcn.14000b280
cmp dword [rax + 0x2a4], 0x34
jl 0x140039d96
mov eax, dword [0x140169d8c]
add eax, 0xffff63bf
cmp eax, 6
ja 0x140039d96
mov ecx, 0x49
bt ecx, eax
jae 0x140039d96
mov rdi, qword [rbp + 0x28]
mov esi, r12d
test rdi, rdi
je 0x140039c1c
mov rbx, rdi
mov rdi, qword [rdi]
call fcn.14000b440
mov rdx, qword [rbx + 0x10]
call fcn.1400931d0
mov rbx, rax
test rax, rax
je 0x140039c17
mov rcx, rax
call fcn.140016430
cmp dword [rbx + 0x84], r12d
jne 0x140039c17
mov rcx, rbx
call fcn.14000f170
test eax, eax
cmovne esi, r13d
test rdi, rdi
jne 0x140039bdc
cmp dword [rbp + 4], 3
jne 0x140039d19
cmp dword [rbp + 8], r12d
jne 0x140039d19
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 0x140039cf0
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 0x140039cf0
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 0x140039cf0
mov rcx, qword [rbp + 0x18]
cmp dword [rcx - 0x10], r12d
jl 0x140039ca0
lea rdx, str.Skype
call fcn.1400cbaf0
mov rcx, qword [rbp + 0x18]
test rax, rax
je 0x140039ca0
sub rax, rcx
sar rax, 1
test eax, eax
jns 0x140039cf0
lea rdx, str.CiscoCollabHost.exe
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140039cf0
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 0x140039cf0
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 0x140039cf0
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 0x140039d19
call fcn.14003b980
test eax, eax
je 0x140039d19
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.140061d00
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.140041450
test eax, eax
jne 0x140039d79
test esi, esi
je 0x140039d79
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.140061d00
call fcn.14000b5b0
mov edx, 0x431
mov rcx, rax
lea r8d, [rdx - 0x49]
call fcn.1400bb060
jmp 0x140039d96
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.140061d00
lea rcx, [r15 + 0x80]
mov rax, 0xffffffffffffffff
lea rdx, [0x1400ea068]
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], r12w
jne 0x140039db0
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 0x140039e29
cmp dword [rbx + 0x10], r12d
jl 0x140039e19
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140039e19
call fcn.140006b40
mov rsi, rax
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
sub ecx, r13d
jg 0x140039e0c
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 0x140039e29
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 0x140039eeb
call fcn.14000b5b0
mov rcx, rax
mov edx, 0x407
mov r8d, 0x2ee0
call fcn.1400bb060
cmp dword [rbp + 4], r13d
jne 0x140039e7b
lea rcx, [rbp + 0x18]
call fcn.140038ae0
test eax, eax
je 0x140039e7b
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.140041450
test eax, eax
jne 0x14003a20b
mov rsi, qword [rbp + 0x28]
test rsi, rsi
je 0x14003a20b
mov rbx, rsi
mov rsi, qword [rsi]
call fcn.14000b440
mov rdx, qword [rbx + 0x10]
call fcn.1400931d0
mov rdi, rax
test rax, rax
je 0x14003a202
cmp dword [rbp + 8], r12d
je 0x14003a047
mov ebx, r13d
jmp 0x14003a051
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.140041450
test eax, eax
jne 0x140039e61
cmp dword [rbp + 4], 3
jne 0x140039e61
cmp dword [rbp + 8], r12d
jne 0x140039e61
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 0x140039ff0
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 0x140039ff0
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 0x140039ff0
mov rcx, qword [rbp + 0x18]
cmp dword [rcx - 0x10], r12d
jl 0x140039fa0
lea rdx, str.Skype
call fcn.1400cbaf0
mov rcx, qword [rbp + 0x18]
test rax, rax
je 0x140039fa0
sub rax, rcx
sar rax, 1
test eax, eax
jns 0x140039ff0
lea rdx, str.CiscoCollabHost.exe
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140039ff0
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 0x140039ff0
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 0x140039ff0
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 0x14003a01b
call fcn.14003b980
test eax, eax
je 0x14003a01b
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.140061d00
jmp 0x140039e61
call fcn.14000b5b0
mov edx, 0x404
mov rcx, rax
lea r8d, [rdx - 0x1c]
jmp 0x140039e5c
cmp dword [rbp + 8], r12d
jne 0x140039e61
mov dword [rbp + 4], 4
jmp 0x14003a20b
cmp dword [rbp + 4], 3
mov ebx, r12d
setne bl
mov rcx, rdi
call fcn.140016430
mov ecx, dword [rbp + 4]
cmp dword [rdi + 0x84], r12d
je 0x14003a083
sub ecx, r13d
je 0x14003a07e
sub ecx, r13d
je 0x14003a074
sub ecx, r13d
je 0x14003a079
mov ebx, r12d
jmp 0x14003a09c
add ebx, 2
jmp 0x14003a09c
mov ebx, r13d
jmp 0x14003a09c
sub ecx, r13d
je 0x14003a097
sub ecx, r13d
je 0x14003a097
mov ebx, 0x3e9
sub ecx, r13d
je 0x14003a09c
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.140016430
cmp dword [rdi + 0x84], r12d
je 0x14003a0c3
mov dword [rbp + 0xc], ebx
jmp 0x14003a0c6
mov dword [rbp + 0x10], ebx
lea rcx, [rdi + 0x10]
mov dword [rsp + 0x20], r12d
mov r9d, r13d
lea rdx, [0x1400e8500]
mov r8d, ebx
call fcn.1400032a0
test eax, eax
jne 0x14003a10c
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.140061d00
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 0x14003a16a
mov rcx, rdi
call fcn.140016430
cmp dword [rdi + 0x84], r12d
je 0x14003a16a
cmp dword [rbp + 4], 3
jne 0x14003a16a
mov rdx, qword [rdi + 0x168]
lea rcx, [r15 + 0x60]
test rdx, rdx
jne 0x14003a14d
mov eax, r12d
jmp 0x14003a15e
mov rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], r12w
jne 0x14003a154
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 0x14003a1c8
mov rcx, rdi
call fcn.140016430
cmp dword [rdi + 0x84], r12d
je 0x14003a1c8
cmp dword [rbp + 4], 3
jne 0x14003a1c8
mov rdx, qword [rdi + 0x168]
lea rcx, [r15 + 0x70]
test rdx, rdx
jne 0x14003a1ab
mov eax, r12d
jmp 0x14003a1bc
mov rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], r12w
jne 0x14003a1b2
mov r8d, eax
call fcn.1400048e0
mov dword [r15 + 0x78], r13d
mov rdx, qword [rdi + 0x168]
lea rcx, [r15 + 0x80]
test rdx, rdx
jne 0x14003a1e0
mov eax, r12d
jmp 0x14003a1fa
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], r12w
jne 0x14003a1f0
mov r8d, eax
call fcn.1400048e0
test rsi, rsi
jne 0x140039eb9
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