Function at 0x140010d54
Capabilities:
Listen for remote procedure calls

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rbx, rdx
mov r15, rcx
xor esi, esi
lea rdx, [rbp - 0x10]
and qword [rbp + 0x50], rsi
lea rcx, [0x1400ed2f4]
and qword [rbp - 8], rsi
xor r14d, r14d
call qword [sym.imp.RPCRT4.dll_UuidToStringW]
test eax, eax
jne 0x140010e5a
lea rdx, [rbp + 0x58]
mov rcx, rbx
call qword [sym.imp.RPCRT4.dll_UuidToStringW]
test eax, eax
jne 0x140010e42
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rbp + 0x58]
mov edi, eax
add edi, edi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov rcx, r15
lea r13d, [rbx + rbx]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, edi
lea rdx, [r13 + 4]
add rdx, rbx
lea ecx, [rsi + 0x40]
lea r12d, [rax + rax]
add rdx, r12
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r14, rax
test rax, rax
je 0x140010e36
mov rdx, qword [rbp - 0x10]
mov r8d, ebx
mov rcx, rax
call fcn.1400c2660
mov rdx, qword [rbp + 0x58]
lea rcx, [r14 + 2]
add rcx, rbx
mov r8d, r13d
call fcn.1400c2660
add rbx, r12
mov byte [rdi + r14], 0x2f
lea rcx, [r14 + 4]
mov r8d, r12d
add rcx, rbx
mov rdx, r15
call fcn.1400c2660
mov byte [rbx + r14 + 2], 0x2f
lea rcx, [rbp + 0x58]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
jmp 0x140010e4e
lea rcx, str.ERROR_idwcflvcrpc_drsr_MakeSpnWithGUID___ERROR
call fcn.14000b8b0
lea rcx, [rbp - 0x10]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
jmp 0x140010e66
lea rcx, str.ERROR_idwcflvcrpc_drsr_MakeSpnWithGUID___ERROR
call fcn.14000b8b0
test r14, r14
je 0x140010fcd
xor r9d, r9d
lea rcx, str.ncacn_ip_tcp
xor r8d, r8d
lea edx, [r9 + 0xa]
call qword [sym.imp.RPCRT4.dll_RpcServerUseProtseqEpW]
mov esi, eax
test eax, eax
jne 0x140010fb5
xor r9d, r9d
lea edx, [rax + 9]
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.RPCRT4.dll_RpcServerRegisterAuthInfoW]
mov esi, eax
test eax, eax
jne 0x140010fb5
and qword [rsp + 0x30], 0
lea r9d, [rax + 8]
or dword [rsp + 0x28], 0xffffffff
lea rcx, [0x1400ed2f0]
mov r12d, 0x4d2
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], r12d
call qword [sym.imp.RPCRT4.dll_RpcServerRegisterIf2]
mov esi, eax
test eax, eax
jne 0x140010fb5
lea rcx, [rbp + 0x50]
call qword [sym.imp.RPCRT4.dll_RpcServerInqBindings]
lea rbx, str.ERROR_idwcflvcrpc_drsr_start_server___ERROR
mov esi, eax
test eax, eax
jne 0x140010fbc
lea r15d, [rax + 1]
xor edi, edi
mov rax, qword [rbp + 0x50]
cmp dword [rax], edi
jbe 0x140010f4f
mov rcx, qword [rax + rdi*8 + 8]
lea rdx, [rbp - 8]
call qword [sym.imp.RPCRT4.dll_RpcBindingToStringBindingW]
test eax, eax
jne 0x140010f3c
mov r8, qword [rbp - 8]
lea rcx, str.___BindString__u_:__s_n
mov edx, edi
call fcn.14000b8b0
lea rcx, [rbp - 8]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
jmp 0x140010f44
mov rcx, rbx
call fcn.14000b8b0
mov rax, qword [rbp + 0x50]
add edi, r15d
cmp edi, dword [rax]
jb 0x140010f0b
lea r9, str.windows_Ho__hey__Im_a_DC_:_
xor r8d, r8d
mov rdx, rax
lea rcx, [0x1400ed2f0]
call qword [sym.imp.RPCRT4.dll_RpcEpRegisterW]
lea rcx, [rbp + 0x50]
mov esi, eax
call qword [sym.imp.RPCRT4.dll_RpcBindingVectorFree]
test esi, esi
jne 0x140010fbc
lea rcx, str.___RPC_bind_registered_n
call fcn.14000b8b0
mov r8d, r15d
mov edx, r12d
mov ecx, r15d
call qword [sym.imp.RPCRT4.dll_RpcServerListen]
mov esi, eax
test eax, eax
jne 0x140010fa3
lea rbx, str.___RPC_Server_is_waiting__n
jmp 0x140010fbc
cmp eax, 0x6b1
jne 0x140010fbc
xor esi, esi
lea rbx, str.___RPC_Server_already_waiting__n
jmp 0x140010fbc
lea rbx, str.ERROR_idwcflvcrpc_drsr_start_server___ERROR
mov rcx, rbx
call fcn.14000b8b0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbx, qword [rsp + 0x90]
mov eax, esi
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret