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

Disassembly:
mov r11, rsp
push rbx
push rdi
sub rsp, 0x278
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov qword [r11 + 0x10], rbp
lea rax, str.CWavesAudioRPCServer::Listen__
mov qword [r11 + 0x18], rsi
lea r8, [0x140303c50]
mov qword [r11 + 0x20], r14
mov rsi, rcx
mov qword [rsp + 0x30], rax
lea rcx, str.d:jenkinsworkspacemainrel4_dell_12818consumermainrel4_dell_12818consumerplatform_vista_rpcmaxxaudiorpcserver.cpp
xor r14d, r14d
mov qword [r11 - 0x18], r15
lea r15, [0x14022aa38]
mov edx, 0xc3
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 2]
call fcn.1400189f0
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x20a
mov edi, r14d
call fcn.1401659c0
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.14017d4b8
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne bpl
test eax, eax
je 0x1400f5dc0
lea rax, str.CWavesAudioRPCServer::CreateEnterpriseAuthentication__
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x30], rax
lea r9d, [r14 + 2]
mov qword [rsp + 0x28], r15
lea r8, [0x140303c50]
mov edx, 0xb6
mov qword [rsp + 0x20], r14
lea rcx, str.d:jenkinsworkspacemainrel4_dell_12818consumermainrel4_dell_12818consumerplatform_vista_rpcmaxxaudiorpcserver.cpp
call fcn.1400189f0
xor r9d, r9d
lea r8, [rsp + 0x40]
lea edx, [r14 + 1]
lea rcx, str.D:_A__GRGWGX___WD__A__GA___S_1_15_3_8_
call qword [sym.imp.api_ms_win_security_sddl_l1_1_0.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
jne 0x1400f5df7
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
jmp 0x1400f5ded
mov ecx, 0x28
call fcn.1401467ec
mov rdi, rax
mov rcx, rsi
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.1400f58e0
mov ebx, eax
test eax, eax
jne 0x1400f5fea
mov r8, qword [rsi + 0x28]
cmp dword [r8 - 8], 1
jle 0x1400f5e13
mov edx, dword [r8 - 0x10]
lea rcx, [rsi + 0x28]
call fcn.1400171b0
mov r8, qword [rsi + 0x28]
mov r9, rdi
lea rcx, str.ncalrpc
mov edx, 0x4d2
call qword [sym.imp.RPCRT4.dll_RpcServerUseProtseqEpW]
mov dword [rsp + 0x30], eax
mov r9d, 2
mov ebx, eax
lea r8, [0x140303c50]
lea rax, str.CWavesAudioRPCServer::Listen___RpcServerUseProtseqEp._Ret_ld
mov edx, 0xe0
mov qword [rsp + 0x28], rax
lea rcx, str.d:jenkinsworkspacemainrel4_dell_12818consumermainrel4_dell_12818consumerplatform_vista_rpcmaxxaudiorpcserver.cpp
mov qword [rsp + 0x20], r14
call fcn.1400189f0
test ebx, ebx
jne 0x1400f5fea
mov qword [rsp + 0x38], rdi
lea r9d, [rbx + 0x21]
mov qword [rsp + 0x30], r14
lea rcx, [0x14022ca50]
mov dword [rsp + 0x28], r14d
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, [0x140303c50]
lea rax, str.CWavesAudioRPCServer::Listen___RpcServerRegisterIf3._Ret_ld
mov edx, 0xee
mov qword [rsp + 0x28], rax
lea rcx, str.d:jenkinsworkspacemainrel4_dell_12818consumermainrel4_dell_12818consumerplatform_vista_rpcmaxxaudiorpcserver.cpp
mov qword [rsp + 0x20], r14
call fcn.1400189f0
test ebx, ebx
jne 0x1400f5fea
lea rcx, [0x140303b58]
call qword [sym.imp.RPCRT4.dll_RpcServerInqBindings]
mov dword [rsp + 0x30], eax
mov r9d, 2
mov ebx, eax
lea r8, [0x140303c50]
lea rax, str.CWavesAudioRPCServer::Listen___RpcServerInqBindings._Ret_ld
mov edx, 0xf4
mov qword [rsp + 0x28], rax
lea rcx, str.d:jenkinsworkspacemainrel4_dell_12818consumermainrel4_dell_12818consumerplatform_vista_rpcmaxxaudiorpcserver.cpp
mov qword [rsp + 0x20], r14
call fcn.1400189f0
test ebx, ebx
jne 0x1400f5fea
mov rdx, qword [0x140303b58]
lea rcx, [0x14022ca50]
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, [0x140303c50]
lea rax, str.CWavesAudioRPCServer::Listen___RpcEpRegister._Ret_ld
mov edx, 0xfe
mov qword [rsp + 0x28], rax
lea rcx, str.d:jenkinsworkspacemainrel4_dell_12818consumermainrel4_dell_12818consumerplatform_vista_rpcmaxxaudiorpcserver.cpp
mov qword [rsp + 0x20], r14
call fcn.1400189f0
test ebx, ebx
jne 0x1400f5fea
lea rax, str.CWavesAudioRPCServer::Listen___RpcServerListen_begin
mov edx, 0x103
mov qword [rsp + 0x30], rax
lea r9d, [rbx + 2]
mov qword [rsp + 0x28], r15
lea r8, [0x140303c50]
lea rcx, str.d:jenkinsworkspacemainrel4_dell_12818consumermainrel4_dell_12818consumerplatform_vista_rpcmaxxaudiorpcserver.cpp
mov qword [rsp + 0x20], r14
call fcn.1400189f0
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, [0x140303c50]
lea rax, str.CWavesAudioRPCServer::Listen___RpcServerListen_end._Ret_ld
mov edx, 0x10e
mov qword [rsp + 0x28], rax
lea rcx, str.d:jenkinsworkspacemainrel4_dell_12818consumermainrel4_dell_12818consumerplatform_vista_rpcmaxxaudiorpcserver.cpp
mov qword [rsp + 0x20], r14
call fcn.1400189f0
mov r15, qword [rsp + 0x270]
test bpl, bpl
mov rbp, qword [rsp + 0x298]
mov r14, qword [rsp + 0x2a8]
mov rsi, qword [rsp + 0x2a0]
jne 0x1400f601e
test rdi, rdi
je 0x1400f601e
xor edx, edx
mov rcx, rdi
call fcn.140146bac
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140146480
add rsp, 0x278
pop rdi
pop rbx
ret