Function at 0x1400e8840
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x3c8]
sub rsp, 0x4a0
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1403d88e8]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov rsi, rcx
cmp qword [rcx + 0x190], 0
jne 0x1400e88a7
lea r8, str.TrayIconMgr.cpp
mov edx, 0x103
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
xor eax, eax
jmp 0x1400e8b28
add rcx, 0x1a8
call fcn.14010ef30
call qword [sym.imp.USER32.dll_CreatePopupMenu]
mov rdx, rax
lea rcx, [rsi + 0x1a8]
call fcn.14010eeb0
test eax, eax
jne 0x1400e88eb
lea r8, str.TrayIconMgr.cpp
mov edx, 0x109
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
xor eax, eax
jmp 0x1400e8b28
lea rcx, [rsp + 0x50]
call fcn.14010a29c
nop
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp - 0x70]
call fcn.14029ff20
mov edx, 0x104
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor r12d, r12d
or r14d, 0xffffffff
test eax, eax
je 0x1400e89ac
mov word [rbp + 0x196], r12w
call fcn.1400f9930
mov rcx, rax
test rax, rax
je 0x1400e8b53
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea r9, str.SoundRecorder.exe
lea r8, [rbp - 0x70]
lea rdx, [0x140349998]
lea rcx, [rsp + 0x40]
call fcn.14000dfa0
mov rbx, qword [rsp + 0x40]
lea rcx, [rbx - 0x18]
call fcn.140015740
add rax, 0x18
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x48]
call fcn.140033e80
mov edi, eax
mov ecx, r14d
lock xadd dword [rbx - 8], ecx
sub ecx, 1
jg 0x1400e89a8
mov rcx, qword [rbx - 0x18]
mov r8, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
test edi, edi
jne 0x1400e89c1
mov r8d, 0x942
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.14010a328
call fcn.1400f9930
mov rcx, rax
test rax, rax
je 0x1400e8b5e
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
mov edi, r12d
cmp dword [0x1403ff65c], r12d
jle 0x1400e8ae4
mov rbx, r12
mov r9, qword [rsp + 0x60]
nop dword [rax]
mov r8d, r12d
mov rax, r12
test r9, r9
jle 0x1400e8a45
mov r10, qword [0x1403ff6b0]
test rax, rax
js 0x1400e8b69
cmp rax, r9
jge 0x1400e8b69
mov rcx, qword [rsp + 0x58]
mov edx, dword [rcx + rax*4]
cmp dword [r10 + rbx + 4], edx
je 0x1400e8ad2
inc r8d
inc rax
movsxd rcx, r8d
cmp rcx, r9
jl 0x1400e8a12
mov rdx, qword [0x1403ff6b0]
cmp dword [rdx + rbx], 0x800
jne 0x1400e8a76
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8d, 0x800
mov edx, dword [rdx + rbx + 0xc]
mov rcx, qword [rsi + 0x1b0]
call qword [sym.imp.USER32.dll_InsertMenuW]
jmp 0x1400e8acd
mov rcx, qword [rsi + 0x190]
mov rax, qword [rcx]
mov dword [rsp + 0x20], r12d
mov r9d, dword [rdx + rbx + 4]
lea r8, [rsp + 0x30]
mov edx, 0x10000102
call qword [rax + 0x18]
mov rcx, qword [rsp + 0x30]
add rcx, 0xffffffffffffffe8
call fcn.140015740
add rax, 0x18
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rax, qword [0x1403ff6b0]
mov edx, dword [rbx + rax + 0xc]
lea rcx, [rsi + 0x1a8]
call fcn.1400b7b10
mov r9, qword [rsp + 0x60]
inc edi
add rbx, 0x10
cmp edi, dword [0x1403ff65c]
jl 0x1400e8a00
xor r8d, r8d
mov edx, 0x1389
mov rcx, qword [rsi + 0x1b0]
call qword [sym.imp.USER32.dll_SetMenuDefaultItem]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r14d
sub r14d, 1
jg 0x1400e8b19
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rsp + 0x50]
call fcn.14010a2bc
mov eax, 1
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.14029d880
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov ecx, 0x80004005
call fcn.14000de90
int3
mov ecx, 0x80004005
call fcn.14000de90
nop
call fcn.1400f91a0
int3