Function at 0x140028320
Capabilities:
Check if file exists
Listen for remote procedure calls

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x270
mov rax, qword [0x1400aa008]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor ebp, ebp
lea rax, str.CWavesAudioRPCServer::Listen__
mov qword [rsp + 0x30], rax
lea r14, [0x14008a330]
mov rbx, rcx
mov qword [rsp + 0x28], r14
lea r8, [0x1400abd38]
mov qword [rsp + 0x20], rbp
lea r9d, [rbp + 2]
mov edx, 0xc4
lea rcx, str.MaxxAudioRPCServer.cpp
call fcn.140005e30
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x20a
mov edi, ebp
call fcn.140052580
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 0x105
lea r8, [rsp + 0x50]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea r8, str.EnterpriseMode.txt
mov edx, 0x105
lea rcx, [rsp + 0x50]
call fcn.140053218
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne sil
test sil, sil
je 0x140028447
lea rax, str.CWavesAudioRPCServer::CreateEnterpriseAuthentication__
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x30], rax
lea r9d, [rbp + 2]
mov qword [rsp + 0x28], r14
lea r8, [0x1400abd38]
mov edx, 0xb7
mov qword [rsp + 0x20], rbp
lea rcx, str.MaxxAudioRPCServer.cpp
call fcn.140005e30
xor r9d, r9d
lea r8, [rsp + 0x40]
lea edx, [rbp + 1]
lea rcx, str.D:_A__GRGWGX___WD__A__GA___S_1_15_3_8_
call qword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
jne 0x14002847e
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140028474
mov ecx, 0x28
call fcn.1400300b4
mov rdi, rax
mov rcx, rbx
xor eax, eax
mov rdx, rdi
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rax
mov qword [rdi + 0x20], rax
call fcn.140027f70
mov ebx, eax
test eax, eax
jne 0x14002865b
mov r9, rdi
lea r8, str.MaxxAudioPro
mov edx, 0x4d2
lea rcx, str.ncalrpc
call qword [sym.imp.RPCRT4.dll_RpcServerUseProtseqEpW]
mov dword [rsp + 0x30], eax
mov r9d, 2
mov ebx, eax
lea r8, [0x1400abd38]
lea rax, str.CWavesAudioRPCServer::Listen___RpcServerUseProtseqEp._Ret_ld
mov edx, 0xe6
mov qword [rsp + 0x28], rax
lea rcx, str.MaxxAudioRPCServer.cpp
mov qword [rsp + 0x20], rbp
call fcn.140005e30
test ebx, ebx
jne 0x14002865b
mov qword [rsp + 0x38], rdi
lea r9d, [rbx + 0x21]
mov qword [rsp + 0x30], rbp
lea rcx, [0x14008a120]
mov dword [rsp + 0x28], ebp
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 0x4d2
call qword [sym.imp.RPCRT4.dll_RpcServerRegisterIf3]
mov dword [rsp + 0x30], eax
mov r9d, 2
mov ebx, eax
lea r8, [0x1400abd38]
lea rax, str.CWavesAudioRPCServer::Listen___RpcServerRegisterIf3._Ret_ld
mov edx, 0xf4
mov qword [rsp + 0x28], rax
lea rcx, str.MaxxAudioRPCServer.cpp
mov qword [rsp + 0x20], rbp
call fcn.140005e30
test ebx, ebx
jne 0x14002865b
lea rcx, [0x1400af7e8]
call qword [sym.imp.RPCRT4.dll_RpcServerInqBindings]
mov dword [rsp + 0x30], eax
mov r9d, 2
mov ebx, eax
lea r8, [0x1400abd38]
lea rax, str.CWavesAudioRPCServer::Listen___RpcServerInqBindings._Ret_ld
mov edx, 0xfa
mov qword [rsp + 0x28], rax
lea rcx, str.MaxxAudioRPCServer.cpp
mov qword [rsp + 0x20], rbp
call fcn.140005e30
test ebx, ebx
jne 0x14002865b
mov rdx, qword [0x1400af7e8]
lea rcx, [0x14008a120]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.RPCRT4.dll_RpcEpRegisterW]
mov dword [rsp + 0x30], eax
mov r9d, 2
mov ebx, eax
lea r8, [0x1400abd38]
lea rax, str.CWavesAudioRPCServer::Listen___RpcEpRegister._Ret_ld
mov edx, 0x104
mov qword [rsp + 0x28], rax
lea rcx, str.MaxxAudioRPCServer.cpp
mov qword [rsp + 0x20], rbp
call fcn.140005e30
test ebx, ebx
jne 0x14002865b
lea rax, str.CWavesAudioRPCServer::Listen___RpcServerListen_begin
mov edx, 0x109
mov qword [rsp + 0x30], rax
lea r9d, [rbx + 2]
mov qword [rsp + 0x28], r14
lea r8, [0x1400abd38]
lea rcx, str.MaxxAudioRPCServer.cpp
mov qword [rsp + 0x20], rbp
call fcn.140005e30
call qword [sym.imp.RPCRT4.dll_RpcSsDontSerializeContext]
xor r8d, r8d
lea ecx, [rbx + 1]
mov edx, 0x4d2
call qword [sym.imp.RPCRT4.dll_RpcServerListen]
mov dword [rsp + 0x30], eax
mov r9d, 2
mov ebx, eax
lea r8, [0x1400abd38]
lea rax, str.CWavesAudioRPCServer::Listen___RpcServerListen_end._Ret_ld
mov edx, 0x114
mov qword [rsp + 0x28], rax
lea rcx, str.MaxxAudioRPCServer.cpp
mov qword [rsp + 0x20], rbp
call fcn.140005e30
test sil, sil
jne 0x14002866f
test rdi, rdi
je 0x14002866f
xor edx, edx
mov rcx, rdi
call fcn.1400307d8
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140030090
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret