Function at 0x140049f10
Capabilities:
Create thread
Listen for remote procedure calls

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdi, rcx
mov qword [rsp + 0x60], rcx
xor ebp, ebp
lea rcx, [0x1400d7cd0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140049f58
lea ecx, [rbp + 5]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x1400d7d1c], 0x7fffffff
jne 0x140049f7a
mov dword [0x1400d7d1c], 0x7ffffffe
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x1400d70a8], 2
je 0x140049fb0
mov ebx, 0x60000002
call qword [sym.imp.Logging.dll_public:_static_class_Hp::Bridge::Logging::TraceLogger____ptr64___cdecl_Hp::Bridge::Logging::LogManager::GetLogger_void_]
lea rdx, str.RpcServiceHost::Listen_invoked_when_server_is_not_in_ready_state
mov rcx, rax
call qword [sym.imp.Logging.dll_public:_void___cdecl_Hp::Bridge::Logging::TraceLogger::LogWarning_wchar_t_const____ptr64____ptr64]
lea rcx, [0x1400d7cd0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
jmp 0x14004a0aa
mov edx, 0x4d2
mov ecx, 1
mov r8d, ecx
call qword [sym.imp.RPCRT4.dll_RpcServerListen]
mov ebx, eax
cmp eax, 0x6b1
jne 0x140049fd0
mov ebx, ebp
jmp 0x140049fd8
test eax, eax
jne 0x14004a091
mov dword [0x1400d70a8], 3
cmp qword [rdi + 0x38], 0
je 0x14004a07b
mov ecx, 0x40
call fcn.1400688c4
mov rsi, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], rax
mov qword [rax + 0x38], rbp
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x14004a01d
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax]
mov qword [rsi + 0x38], rax
mov qword [rsp + 0x50], rsi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebp
mov r9, rsi
lea r8, [0x14004b940]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14004a10e
cmp dword [rsp + 0x38], 0
je 0x14004a102
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14004a102
call qword [sym.imp.Logging.dll_public:_static_class_Hp::Bridge::Logging::TraceLogger____ptr64___cdecl_Hp::Bridge::Logging::LogManager::GetLogger_void_]
lea rdx, str.RpcServiceHost_in_LISTENING_state
mov rcx, rax
call qword [sym.imp.Logging.dll_public:_void___cdecl_Hp::Bridge::Logging::TraceLogger::LogInfo_wchar_t_const____ptr64____ptr64]
lea rcx, [0x1400d7cd0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
test ebx, ebx
jne 0x14004a0aa
call qword [sym.imp.RPCRT4.dll_RpcMgmtWaitServerListen]
mov ebx, eax
call qword [sym.imp.Logging.dll_public:_static_class_Hp::Bridge::Logging::TraceLogger____ptr64___cdecl_Hp::Bridge::Logging::LogManager::GetLogger_void_]
mov r8d, ebx
lea rdx, str.RpcServiceHost::Listen
mov rcx, rax
call qword [sym.imp.Logging.dll_public:_void___cdecl_Hp::Bridge::Logging::TraceLogger::LogStatus_wchar_t_const____ptr64__unsigned_long_int____ptr64]
nop
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x14004a0dd
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], rbp
mov eax, ebx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140068870
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x38], ebp
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3