Function at 0x140072af0
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x458]
sub rsp, 0x558
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov rdi, rcx
mov r14, qword [0x1402dd4a0]
mov rax, qword [rcx]
call qword [rax + 0xa8]
test eax, eax
je 0x140072b55
lea r13, [rdi + 0x870]
xor edx, edx
mov rcx, r13
call fcn.14006ab90
test eax, eax
jne 0x140072b5c
lea r8, str.Couldnt_initialize_popup_menu__n
xor edx, edx
lea rcx, str.CTPTrayAction::Refresh
call fcn.14011a490
xor eax, eax
jmp 0x140073c58
lea r12, [rdi + 0xf30]
xor edx, edx
mov rcx, r12
call fcn.14006ab90
test eax, eax
jne 0x140072b7a
lea r8, str.Couldnt_initialize_PTP_popup_menu__n
jmp 0x140072b47
lea rcx, [rdi + 0x8d0]
mov edx, 0xdf2b
call fcn.14006ab90
test eax, eax
jne 0x140072b98
lea r8, str.Couldnt_initialize_Accessories_popup_menu__n
jmp 0x140072b47
mov eax, dword [0x1402dded0]
add eax, 0xffffdc84
cmp eax, 1
ja 0x140072bc0
mov rdx, r14
mov rcx, rdi
call fcn.1400745f0
mov rcx, rdi
call fcn.140076550
jmp 0x140073c58
lea rcx, [0x1402de0c8]
call fcn.1400386d0
mov r15, rax
xor esi, esi
mov word [rbp + 0x30], si
lea rcx, [rax + 0x58]
mov r8d, 0x10000603
lea rdx, [rbp - 0x80]
call fcn.14003dee0
nop
mov rdx, qword [rax]
test rdx, rdx
je 0x140072bf6
mov rdx, qword [rdx]
jmp 0x140072bf9
mov rdx, rsi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
movdqu xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], rsi
lea rcx, [rbp - 0x10]
call fcn.14003e870
nop
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140072c2e
call fcn.14003ff40
mov qword [rbp - 0x80], rsi
lea rax, vtable.CSynList_class_CRegistryKey_.0
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [rsp + 0x4c], 1
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x48], esi
lea rax, vtable.CMultiLevelRegistryKey.0
mov qword [rsp + 0x30], rax
mov rcx, rsi
lea rbx, str.SoftwareSynapticsSynTPEnhPopupConfig
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rcx + rbx]
mov word [rbp + rcx + 0x30], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x140072c80
mov r8, qword [rbp - 8]
test r8, r8
je 0x140072cf2
cmp word [r8], ax
je 0x140072cf2
cmp word [rbp + 0x30], ax
je 0x140072cc2
lea rcx, [rbp + 0x30]
sub rcx, 2
nop
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x140072cb0
mov eax, dword [0x140167e60]
mov dword [rcx], eax
lea rcx, [rbp + 0x30]
sub rcx, 2
nop word [rax + rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x140072cd0
xor edx, edx
nop dword [rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x140072ce0
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 1
xor r9d, r9d
lea r8, [rbp + 0x30]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x30]
call fcn.1400f8130
lea rcx, [rsp + 0x30]
call fcn.1400f8550
test eax, eax
jne 0x140072d89
mov rcx, rsi
nop word [rax + rax]
movzx eax, word [rcx + rbx]
mov word [rbp + rcx + 0x30], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x140072d30
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 1
xor r9d, r9d
lea r8, [rbp + 0x30]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x30]
call fcn.1400f8130
test eax, eax
jne 0x140072d89
test byte [0x1402d741c], 1
je 0x140072d89
lea r8, str.Couldnt_find_popup_configuration_key___n
lea edx, [rax + 1]
lea rcx, str.CTPTrayAction::Refresh
call fcn.14011a490
mov dword [rbp + 0x4b0], esi
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x4b0]
lea r8, [rbp + 0x4a8]
lea rdx, str.ShowTouchPadProperties
lea rcx, [rsp + 0x30]
call fcn.1400f8670
mov ebx, dword [rbp + 0x4a8]
test r15, r15
je 0x140072e9e
test ebx, ebx
je 0x140072e9e
mov rcx, r15
call fcn.14000b020
test eax, eax
je 0x140072de2
mov dword [rbp + 0x4b0], 0x52e
jmp 0x140072e02
mov rcx, r15
call fcn.140011480
test eax, eax
mov dword [rbp + 0x4b0], 0x532
jne 0x140072e02
mov dword [rbp + 0x4b0], 0x508
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x4b0]
lea r8, [rbp + 0x4b8]
lea rdx, str.TouchPadProperties_ResourceID
lea rcx, [rsp + 0x30]
call fcn.1400f8670
mov r12d, dword [rbp + 0x4b8]
mov eax, ebx
dec eax
je 0x140072e4e
dec eax
je 0x140072e3d
dec eax
je 0x140072e58
jmp 0x140072e47
mov dword [rdi + 0x840], 0xdf27
mov ebx, 0xdf27
jmp 0x140072e5d
mov dword [rdi + 0x840], 0xdf24
mov ebx, 0xdf24
mov dword [rsp + 0x20], ebx
xor r9d, r9d
mov r8d, r12d
mov rdx, r14
mov rcx, r13
call fcn.14006ac20
test eax, eax
je 0x140073c42
mov dword [rsp + 0x20], ebx
xor r9d, r9d
mov r8d, r12d
mov rdx, r14
lea r12, [rdi + 0xf30]
mov rcx, r12
call fcn.14006ac20
test eax, eax
je 0x140073c42
mov eax, dword [rdi + 0xfc4]
mov dword [rbp + 0x4b0], eax
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x4b0]
lea r8, [rbp + 0x4b8]
lea rdx, str.ShowForcePadVolume
lea rcx, [rsp + 0x30]
call fcn.1400f8670
mov eax, esi
cmp dword [rbp + 0x4b8], eax
setne al
mov dword [rdi + 0xfc4], eax
test r15, r15
je 0x140072f41
mov rcx, r15
call fcn.14000b020
test eax, eax
je 0x140072f41
cmp dword [rdi + 0xfc4], 0
je 0x140072f41
mov dword [rsp + 0x20], 0xdf26
xor r9d, r9d
mov r8d, 0x52f
mov rdx, r14
mov rcx, r13
call fcn.14006ac20
test eax, eax
je 0x140073c42
mov dword [rsp + 0x20], 0xdf26
xor r9d, r9d
mov r8d, 0x52f
mov rdx, r14
mov rcx, r12
call fcn.14006ac20
test eax, eax
je 0x140073c42
mov eax, dword [rdi + 0xfc8]
mov dword [rbp + 0x4b0], eax
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x4b0]
lea r8, [rbp + 0x4b8]
lea rdx, str.ShowForcePadVolume
lea rcx, [rsp + 0x30]
call fcn.1400f8670
mov eax, esi
cmp dword [rbp + 0x4b8], eax
setne al
mov dword [rdi + 0xfc8], eax
test eax, eax
je 0x140072ff7
mov word [rbp + 0x240], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x242]
call fcn.14011fa60
mov r8d, 0x104
lea rdx, [rbp + 0x240]
lea rcx, str.ProgramFiles
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea r9, str.SynapticsSynTP_synfpapp.exe
lea r8, [rbp + 0x240]
lea rdx, str._s_s
lea rcx, [rdi + 0xfcc]
call fcn.14012161c
lea rcx, [rdi + 0xfcc]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, esi
cmp eax, 0xffffffff
setne cl
mov dword [rdi + 0xfc8], ecx
test r15, r15
je 0x140073059
mov rcx, r15
call fcn.14000b020
test eax, eax
je 0x140073059
cmp dword [rdi + 0xfc8], 0
je 0x140073059
mov dword [rsp + 0x20], 0xdf28
xor r9d, r9d
mov r8d, 0x531
mov rdx, r14
mov rcx, r13
call fcn.14006ac20
test eax, eax
je 0x140073c42
mov dword [rsp + 0x20], 0xdf28
xor r9d, r9d
mov r8d, 0x531
mov rdx, r14
mov rcx, r12
call fcn.14006ac20
test eax, eax
je 0x140073c42
mov dword [rbp + 0x4b8], 2
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x4b8]
lea r8, [rbp + 0x4b0]
lea rdx, str.DeviceProperties_ResourceID
lea rcx, [rsp + 0x30]
call fcn.1400f8670
lea rcx, [0x1402de0c8]
call fcn.14003db10
test rax, rax
jne 0x140073117
mov eax, dword [rdi + 0xb00]
test eax, eax
je 0x140073117
cmp dword [rbp + 0x4a8], 0
jne 0x140073117
dec eax
je 0x1400730c0
cmp eax, 2
je 0x1400730c0
mov dword [rdi + 0x840], 0xdf27
jmp 0x1400730ca
mov dword [rdi + 0x840], 0xdf24
mov eax, dword [rdi + 0x840]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov ebx, dword [rbp + 0x4b0]
mov r8d, ebx
mov rdx, r14
mov rcx, r13
call fcn.14006ac20
test eax, eax
je 0x140073c42
mov eax, dword [rdi + 0x840]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, ebx
mov rdx, r14
mov rcx, r12
call fcn.14006ac20
test eax, eax
jne 0x140073167
jmp 0x140073c42
mov dword [rsp + 0x20], 0xdf00
lea r9, str.control.exe_mouse
mov ebx, dword [rbp + 0x4b0]
mov r8d, ebx
mov rdx, r14
mov rcx, r13
call fcn.14006ac20
test eax, eax
je 0x140073c42
mov dword [rsp + 0x20], 0xdf00
lea r9, str.control.exe_mouse
mov r8d, ebx
mov rdx, r14
mov rcx, r12
call fcn.14006ac20
test eax, eax
je 0x140073c42
mov edx, dword [rdi + 0x840]
mov rcx, r13
call fcn.14006b790
mov edx, dword [rdi + 0x840]
mov rcx, r12
call fcn.14006b790
mov dword [rbp + 0x4a8], 1
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x4a8]
lea r8, [rbp + 0x4b0]
lea rdx, str.ShowIlluminationOptions
lea rcx, [rsp + 0x30]
call fcn.1400f8670
cmp dword [rbp + 0x4b0], 0
je 0x140073287
test r15, r15
je 0x140073287
mov rcx, r15
call fcn.14003f2c0
test eax, eax
je 0x140073287
mov rcx, r15
call fcn.140011480
test eax, eax
jne 0x140073287
mov rcx, r15
call fcn.14003f210
test eax, eax
jne 0x140073287
mov dword [rsp + 0x20], 0xdf1e
xor r9d, r9d
mov r8d, LoadRegTypeLib
mov rdx, r14
mov rcx, r13
call fcn.14006ac20
test eax, eax
je 0x140073c42
mov dword [rsp + 0x20], 0xdf1f
xor r9d, r9d
mov r8d, LoadRegTypeLib
mov rdx, r14
mov rcx, r13
call fcn.14006ac20
test eax, eax
je 0x140073c42
mov dword [rsp + 0x20], 0xdf1e
xor r9d, r9d
mov r8d, LoadRegTypeLib
mov rdx, r14
mov rcx, r12
call fcn.14006ac20
test eax, eax
je 0x140073c42
mov dword [rsp + 0x20], 0xdf1f
xor r9d, r9d
mov r8d, LoadRegTypeLib
mov rdx, r14
mov rcx, r12
call fcn.14006ac20
test eax, eax
je 0x140073c42
mov dword [rbp + 0x4a8], esi
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x4a8]
lea r8, [rbp + 0x4b0]
lea rdx, str.ShowAsusSmartDetectorDialog
lea rcx, [rsp + 0x30]
call fcn.1400f8670
cmp dword [rbp + 0x4b0], 0
je 0x1400732de
mov dword [rsp + 0x20], 0xdf25
xor r9d, r9d
mov r8d, 0x526
mov rdx, r14
mov rcx, r13
call fcn.14006ac20
test eax, eax
je 0x140073c42
cmp dword [rdi + 0xfa8], 0
je 0x14007332f
mov dword [rsp + 0x20], 0xdf04
xor r9d, r9d
mov r8d, 0x9b
mov rdx, r14
mov rcx, r13
call fcn.14006ac20
test eax, eax
je 0x140073c42
mov dword [rsp + 0x20], 0xdf04
xor r9d, r9d
mov r8d, 0x9b
mov rdx, r14
mov rcx, r12
call fcn.14006ac20
test eax, eax
je 0x140073c42
mov dword [rbp + 0x4a8], 1
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x4a8]
lea r8, [rbp + 0x4b0]
lea rdx, str.NameResourceId
lea rcx, [rsp + 0x30]
call fcn.1400f8670
xor edx, edx
lea rcx, [rbp - 0x78]
call fcn.1400f7980
nop
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, str.SoftwareSynapticsSynTPEnhPopupConfig
mov rdx, 0xffffffff80000001
lea rcx, [rbp - 0x78]
call fcn.1400f7af0
test eax, eax
jne 0x1400733d6
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, str.SoftwareSynapticsSynTPEnhPopupConfig
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x78]
call fcn.1400f7af0
test eax, eax
jne 0x1400733d6
test byte [0x1402d741c], 1
je 0x1400733f8
lea r8, str.Couldnt_find_popup_configuration_key___n
lea edx, [rax + 1]
lea rcx, str.CTPTrayAction::Refresh
call fcn.14011a490
jmp 0x1400733f8
mov r8d, dword [rbp + 0x4b0]
lea rdx, [rbp - 0x78]
lea rbx, [rdi + 0x8d0]
mov rcx, rbx
call fcn.14006afd0
mov dword [rdi + 0x9b0], eax
jmp 0x1400733ff
lea rbx, [rdi + 0x8d0]
cmp dword [rdi + 0x9b0], 0
je 0x14007341c
mov r9, rbx
mov r8d, 8
mov rdx, r14
mov rcx, r13
call fcn.14006ae00
lea rcx, [0x1402de0c8]
call fcn.140079810
test rax, rax
je 0x1400734bd
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, str.SoftwareSynapticscPad
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x48]
call fcn.1400f79f0
nop
mov dword [rbp + 0x4a8], 0x208
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x4a8]
lea r8, [rbp + 0x240]
lea rdx, str.PropertiesExe
lea rcx, [rbp - 0x40]
call fcn.14011b2a0
test eax, eax
je 0x1400734b4
mov dword [rsp + 0x20], 0xdf08
xor r9d, r9d
mov r8d, 0x83
mov rdx, r14
mov rcx, r13
call fcn.14006ac20
test eax, eax
jne 0x1400734b4
lea rcx, [rbp - 0x48]
call fcn.1400f7a90
jmp 0x140073c38
lea rcx, [rbp - 0x48]
call fcn.1400f7a90
mov dword [rbp + 0x4a8], 1
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x4a8]
lea r8, [rbp + 0x4b0]
lea rdx, str.ShowTapToClick
lea rcx, [rsp + 0x30]
call fcn.1400f8670
mov eax, esi
cmp dword [rbp + 0x4b0], eax
setne al
mov dword [rdi + 0xf98], eax
mov dword [rbp + 0x4a8], esi
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x4a8]
lea r8, [rbp + 0x4b0]
lea rdx, str.ShowDisableTP
lea rcx, [rsp + 0x30]
call fcn.1400f8670
mov eax, esi
cmp dword [rbp + 0x4b0], eax
setne al
mov dword [rdi + 0xfac], eax
cmp dword [rdi + 0xf98], 0
je 0x140073562
mov dword [rsp + 0x20], 0xdf01
xor r9d, r9d
lea r8d, [r9 + 4]
mov rdx, r14
mov rcx, r13
call fcn.14006ac20
test eax, eax
je 0x140073c38
mov dword [rbp + 0x4a8], esi
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x4a8]
lea r8, [rbp + 0x4b0]
lea rdx, str.ShowDisableGestures
lea rcx, [rsp + 0x30]
call fcn.1400f8670
mov eax, dword [rbp + 0x4b0]
mov dword [rdi + 0xf9c], eax
test al, 1
je 0x1400735fc
test r15, r15
je 0x1400735fc
lea rcx, [r15 + 0x50]
call fcn.14000b5b0
test al, al
je 0x1400735fc
mov dword [rbp + 0x4a8], esi
mov rcx, qword [r15 + 0x58]
test rcx, rcx
je 0x1400735fc
mov rax, qword [rcx]
lea r8, [rbp + 0x4a8]
mov edx, 0x10000177
call qword [rax + 0x18]
cmp dword [rbp + 0x4a8], 0
je 0x1400735fc
mov dword [rsp + 0x20], 0xdf05
xor r9d, r9d
mov r8d, 0x52c
mov rdx, r14
mov rcx, r13
call fcn.14006ac20
test eax, eax
je 0x140073c38
test byte [rdi + 0xf9c], 4
je 0x14007363a
test r15, r15
je 0x14007363a
mov rcx, r15
call fcn.14000b020
test eax, eax
je 0x14007363a
mov dword [rsp + 0x20], 0xdf06
xor r9d, r9d
mov r8d, 0x52b
mov rdx, r14
mov rcx, r13
call fcn.14006ac20
test eax, eax
je 0x140073c38
cmp dword [0x1402de030], 0
je 0x1400736e6
test r15, r15
je 0x1400736e6
lea rcx, [r15 + 0x50]
call fcn.14000b5b0
test al, al
je 0x1400736e6
mov dword [rsp + 0x20], 0xdf2a
xor r9d, r9d
mov r8d, 0x51c
mov rdx, r14
mov rcx, r13
call fcn.14006ac20
test eax, eax
je 0x140073c38
mov dword [rsp + 0x20], 0xdf2a
xor r9d, r9d
mov r8d, 0x51c
mov rdx, r14
mov rcx, r12
call fcn.14006ac20
test eax, eax
je 0x140073c38
mov edx, 0xdf2a
mov rcx, r12
cmp dword [r15 + 0x118c], 0
jne 0x1400736ce
mov r8d, 1
call fcn.14006b5a0
mov r8d, 1
jmp 0x1400736d9
xor r8d, r8d
call fcn.14006b5a0
xor r8d, r8d
mov edx, 0xdf2a
mov rcx, r13
call fcn.14006b5a0
cmp dword [rdi + 0xfac], 0
je 0x140073702
test r15, r15
je 0x140073702
mov r8, r13
mov rdx, r15
mov rcx, rdi
call fcn.140075fe0
lea rcx, [0x1402dc840]
call fcn.1400a92f0
test eax, eax
je 0x140073746
mov dword [rsp + 0x20], 0xdf02
xor r9d, r9d
lea r8d, [r9 + 0x52]
mov rdx, r14
mov rcx, r13
call fcn.14006ac20
test eax, eax
je 0x140073c38
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1402dc840]
call fcn.1400a9310
mov dword [rbp + 0x4a8], esi
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x4a8]
lea r8, [rbp + 0x4b0]
lea rdx, str.TrayIconHelp
lea rcx, [rsp + 0x30]
call fcn.1400f8670
mov ebx, dword [rbp + 0x4b0]
test ebx, ebx
je 0x1400737a4
mov rcx, r13
call fcn.14006af60
mov dword [rsp + 0x20], 0xdf03
xor r9d, r9d
lea r8d, [r9 + 3]
mov rdx, r14
mov rcx, r13
call fcn.14006ac20
test eax, eax
je 0x140073c38
mov dword [rbp + 0x4a0], esi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, str.SoftwareSynapticscPad
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x78]
call fcn.1400f7af0
test eax, eax
je 0x1400737f3
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x4a0]
lea r8, [rbp + 0x4a0]
lea rdx, str.TrayIconHelp
lea rcx, [rbp - 0x70]
call fcn.14011b090
cmp dword [rbp + 0x4a0], 0
je 0x14007383d
lea rcx, [0x1402de0c8]
call fcn.140079810
test rax, rax
je 0x14007383d
test ebx, ebx
jne 0x140073819
mov rcx, r13
call fcn.14006af60
mov dword [rsp + 0x20], 0xdf07
xor r9d, r9d
mov r8d, 0x9a
mov rdx, r14
mov rcx, r13
call fcn.14006ac20
test eax, eax
je 0x140073c38
mov dword [rbp + 0x4a8], esi
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x4a8]
lea r8, [rbp + 0x4b0]
lea rdx, str.ShowAbout
lea rcx, [rsp + 0x30]
call fcn.1400f8670
cmp dword [rbp + 0x4b0], 0
je 0x1400738bb
mov dword [rbp + 0x4a8], 0xd6
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x4a8]
lea r8, [rbp + 0x4b0]
lea rdx, str.ShowAbout_ResourceID
lea rcx, [rsp + 0x30]
call fcn.1400f8670
mov dword [rsp + 0x20], 0xdf21
xor r9d, r9d
mov r8d, dword [rbp + 0x4b0]
mov rdx, r14
mov rcx, r13
call fcn.14006ac20
mov dword [rbp + 0x4a8], esi
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x4a8]
lea r8, [rbp + 0x4b0]
lea rdx, str.ShowRemoveIcon
lea rcx, [rsp + 0x30]
call fcn.1400f8670
cmp dword [rbp + 0x4b0], 0
je 0x140073939
mov dword [rbp + 0x4a8], 0xd3
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x4a8]
lea r8, [rbp + 0x4b0]
lea rdx, str.ShowRemoveIcon_ResourceID
lea rcx, [rsp + 0x30]
call fcn.1400f8670
mov dword [rsp + 0x20], 0xdf20
xor r9d, r9d
mov r8d, dword [rbp + 0x4b0]
mov rdx, r14
mov rcx, r13
call fcn.14006ac20
test r15, r15
je 0x140073992
mov rcx, r15
call fcn.140019f40
test eax, eax
je 0x140073992
mov dword [rsp + 0x20], 0xdf22
xor r9d, r9d
mov r8d, 0x4ed
mov rdx, r14
mov rcx, r13
call fcn.14006ac20
test eax, eax
je 0x140073c38
mov dword [rsp + 0x20], 0xdf22
xor r9d, r9d
mov r8d, 0x4ed
mov rdx, r14
mov rcx, r12
call fcn.14006ac20
test eax, eax
je 0x140073c38
cmp dword [rdi + 0xfb8], 0
je 0x1400739e3
mov dword [rsp + 0x20], 0xdf23
xor r9d, r9d
mov r8d, 0x4ff
mov rdx, r14
mov rcx, r13
call fcn.14006ac20
test eax, eax
je 0x140073c38
mov dword [rsp + 0x20], 0xdf23
xor r9d, r9d
mov r8d, 0x4ff
mov rdx, r14
mov rcx, r12
call fcn.14006ac20
test eax, eax
je 0x140073c38
call fcn.14006c740
cmp dword [rax + 4], 0
je 0x140073c33
mov eax, dword [rdi + 0x9b0]
test eax, eax
mov edx, 0xdf2b
cmovne edx, eax
inc edx
mov dword [rdi + 0x990], edx
lea r15, [rdi + 0x930]
mov rcx, r15
call fcn.14006ab90
test eax, eax
jne 0x140073a37
lea r8, str.Couldnt_initialize_popup_menu__n
xor edx, edx
lea rcx, str.CTPTrayAction::Refresh
call fcn.14011a490
jmp 0x140073c38
call fcn.14006c740
mov rcx, rax
call fcn.14009e380
call fcn.14006c740
mov rcx, rax
lea rdx, [rbp - 0x48]
call fcn.14009e8f0
nop
mov rdx, rax
lea rcx, [rdi + 0x998]
call fcn.14006df60
nop
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x140073a74
call fcn.14011f898
mov rax, qword [rdi + 0x9a0]
cmp qword [rdi + 0x998], rax
je 0x140073ae3
lea rdx, [rdi + 0x998]
mov rcx, r15
call fcn.14006b3b0
mov dword [rdi + 0x994], eax
test eax, eax
je 0x140073aad
mov rcx, r15
call fcn.14006af60
inc dword [rdi + 0x994]
jmp 0x140073ab9
mov eax, dword [rdi + 0x990]
mov dword [rdi + 0x994], eax
mov eax, dword [rdi + 0x994]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, 0x4d9
mov rdx, r14
mov rcx, r15
call fcn.14006ac20
test eax, eax
jne 0x140073b32
dec dword [rdi + 0x994]
jmp 0x140073b32
test byte [0x1402d741c], 4
je 0x140073b04
lea r8, str.Couldnt_find_profile_settings__n
mov edx, 3
lea rcx, str.CTPTrayAction::Refresh
call fcn.14011a490
mov eax, dword [rdi + 0x990]
mov dword [rdi + 0x994], eax
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, 0x4d9
mov rdx, r14
mov rcx, r15
call fcn.14006ac20
test eax, eax
jne 0x140073b32
mov dword [rdi + 0x994], esi
mov ebx, dword [rdi + 0x990]
cmp ebx, dword [rdi + 0x994]
ja 0x140073b74
mov edx, ebx
sub edx, dword [rdi + 0x990]
xor r8d, r8d
mov rcx, r15
call fcn.14006b610
mov r8d, esi
cmp dword [0x1402dc700], esi
sete r8b
mov edx, ebx
mov rcx, r15
call fcn.14006b680
inc ebx
cmp ebx, dword [rdi + 0x994]
jbe 0x140073b40
call fcn.14006c740
cmp qword [rax + 0x60], 0
je 0x140073bc5
mov r12d, esi
mov rbx, qword [rdi + 0x998]
cmp rbx, qword [rdi + 0x9a0]
je 0x140073bc5
call fcn.14006c740
mov rcx, qword [rax + 0x60]
cmp qword [rbx], rcx
jne 0x140073bab
call fcn.14006c740
cmp dword [rax], 0
je 0x140073bb4
add rbx, 8
inc r12d
jmp 0x140073b8a
mov r8d, 1
mov edx, r12d
mov rcx, r15
call fcn.14006b610
cmp dword [rdi + 0x994], 0
je 0x140073c33
lea rcx, [rsp + 0x30]
call fcn.1400f8550
test eax, eax
je 0x140073c33
mov dword [rbp + 0x4a8], 1
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x4a8]
lea r8, [rbp + 0x4a8]
lea rdx, str.ShowProfiles
lea rcx, [rsp + 0x30]
call fcn.1400f8670
test eax, eax
je 0x140073c33
cmp dword [rbp + 0x4a8], 0
je 0x140073c33
mov rcx, r13
call fcn.14006af60
mov r9, r15
mov r8d, 0x4d8
mov rdx, r14
mov rcx, r13
call fcn.14006ae00
mov esi, 1
lea rcx, [rbp - 0x78]
call fcn.1400f7a90
nop
lea rcx, [rsp + 0x30]
call fcn.140004d60
nop
lea rcx, [rbp - 0x10]
call fcn.14003d920
mov eax, esi
add rsp, 0x558
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret