Function at 0x1400e54c0
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 [0x1403b88b0]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov rsi, rcx
cmp qword [rcx + 0x190], 0
jne 0x1400e5527
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_trayiconmgr.cpp
mov edx, 0x103
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
xor eax, eax
jmp 0x1400e57a8
add rcx, 0x1a8
call fcn.140109c28
call qword [sym.imp.USER32.dll_CreatePopupMenu]
mov rdx, rax
lea rcx, [rsi + 0x1a8]
call fcn.140109ba8
test eax, eax
jne 0x1400e556b
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_trayiconmgr.cpp
mov edx, 0x109
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
xor eax, eax
jmp 0x1400e57a8
lea rcx, [rsp + 0x50]
call fcn.140105540
nop
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp - 0x70]
call fcn.1402841a0
mov edx, 0x104
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor r12d, r12d
lea r14d, [r12 - 1]
test eax, eax
je 0x1400e562d
mov word [rbp + 0x196], r12w
call fcn.1400f5f94
mov rcx, rax
test rax, rax
je 0x1400e57e4
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, [0x14032c9e8]
lea rcx, [rsp + 0x40]
call fcn.14000dd70
mov rbx, qword [rsp + 0x40]
lea rcx, [rbx - 0x18]
call fcn.140014810
add rax, 0x18
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x48]
call fcn.140031de0
mov edi, eax
mov ecx, r14d
lock xadd dword [rbx - 8], ecx
sub ecx, 1
jg 0x1400e5629
mov rcx, qword [rbx - 0x18]
mov r8, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
test edi, edi
jne 0x1400e5642
mov r8d, 0x942
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.1401055cc
call fcn.1400f5f94
mov rcx, rax
test rax, rax
je 0x1400e57d3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
mov edi, r12d
cmp dword [0x1403dbaec], r12d
jle 0x1400e5764
mov rbx, r12
mov r9, qword [rsp + 0x60]
nop word [rax + rax]
mov r8d, r12d
mov rax, r12
test r9, r9
jle 0x1400e56c5
mov r10, qword [0x1403dbaf0]
test rax, rax
js 0x1400e57de
cmp rax, r9
jge 0x1400e57de
mov rcx, qword [rsp + 0x58]
mov edx, dword [rcx + rax*4]
cmp dword [r10 + rbx + 4], edx
je 0x1400e5752
inc r8d
inc rax
movsxd rcx, r8d
cmp rcx, r9
jl 0x1400e5692
mov rdx, qword [0x1403dbaf0]
cmp dword [rdx + rbx], 0x800
jne 0x1400e56f6
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 0x1400e574d
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.140014810
add rax, 0x18
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rax, qword [0x1403dbaf0]
mov edx, dword [rbx + rax + 0xc]
lea rcx, [rsi + 0x1a8]
call fcn.1400b4c70
mov r9, qword [rsp + 0x60]
inc edi
add rbx, 0x10
cmp edi, dword [0x1403dbaec]
jl 0x1400e5680
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 0x1400e5799
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rsp + 0x50]
call fcn.140105560
mov eax, 1
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.140281bf0
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.14000dc70
nop
call fcn.1400f5890
nop
mov ecx, 0x80004005
call fcn.14000dc70
int3