Function at 0x1400116c0
Capabilities:
Listen for remote procedure calls

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rbx, rdx
mov qword [rsp + 0x80], 0
mov rsi, rcx
mov qword [rsp + 0x48], 0
lea rdx, [rsp + 0x40]
xor edi, edi
lea rcx, [0x140145964]
call qword [sym.imp.RPCRT4.dll_UuidToStringW]
test eax, eax
jne 0x1400119ca
lea rdx, [rsp + 0x88]
mov rcx, rbx
call qword [sym.imp.RPCRT4.dll_UuidToStringW]
test eax, eax
jne 0x1400117cf
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x78], r14
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x88]
mov edi, eax
add edi, edi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov rcx, rsi
lea r14d, [rbx + rbx]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, edi
lea rdx, [r14 + 4]
add rdx, rbx
mov ecx, 0x40
lea ebp, [rax + rax]
add rdx, rbp
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
je 0x1400117b5
mov rdx, qword [rsp + 0x40]
mov r8d, ebx
mov rcx, rax
call fcn.14011b4a0
mov rdx, qword [rsp + 0x88]
lea rcx, [rdi + 2]
add rcx, rbx
mov r8d, r14d
call fcn.14011b4a0
mov byte [rbx + rdi], 0x2f
lea rcx, [rdi + 4]
add rbx, rbp
mov r8d, ebp
add rcx, rbx
mov rdx, rsi
call fcn.14011b4a0
mov byte [rbx + rdi + 2], 0x2f
lea rcx, [rsp + 0x88]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
mov r14, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x70]
jmp 0x1400117dd
mov edx, eax
lea rcx, str.ERROR_kull_m_rpc_drsr_MakeSpnWithGUID___UuidToString_i_:__08x_n
call fcn.14000afb0
lea rcx, [rsp + 0x40]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
test rdi, rdi
je 0x1400119d8
xor r9d, r9d
lea rcx, str.ncacn_ip_tcp
xor r8d, r8d
lea edx, [r9 + 0xa]
call qword [sym.imp.RPCRT4.dll_RpcServerUseProtseqEpW]
mov ebx, eax
test eax, eax
jne 0x1400119a9
xor r9d, r9d
lea edx, [rax + 9]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.RPCRT4.dll_RpcServerRegisterAuthInfoW]
mov ebx, eax
test eax, eax
jne 0x1400119a0
mov qword [rsp + 0x30], 0
lea r9d, [rax + 8]
mov dword [rsp + 0x28], 0xffffffff
lea rcx, [0x140145960]
xor r8d, r8d
mov dword [rsp + 0x20], 0x4d2
xor edx, edx
call qword [sym.imp.RPCRT4.dll_RpcServerRegisterIf2]
mov ebx, eax
test eax, eax
jne 0x140011997
lea rcx, [rsp + 0x80]
call qword [sym.imp.RPCRT4.dll_RpcServerInqBindings]
mov ebx, eax
test eax, eax
jne 0x14001198e
mov rax, qword [rsp + 0x80]
cmp dword [rax], ebx
jbe 0x1400118e0
nop dword [rax + rax]
mov rcx, qword [rax + rbx*8 + 8]
lea rdx, [rsp + 0x48]
call qword [sym.imp.RPCRT4.dll_RpcBindingToStringBindingW]
test eax, eax
jne 0x1400118c4
mov r8, qword [rsp + 0x48]
lea rcx, str.___BindString__u_:__s_n
mov edx, ebx
call fcn.14000afb0
lea rcx, [rsp + 0x48]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
jmp 0x1400118d2
mov edx, eax
lea rcx, str.ERROR_kull_m_rpc_drsr_start_server___RpcBindingToStringBinding:__08x_n
call fcn.14000afb0
mov rax, qword [rsp + 0x80]
inc ebx
cmp ebx, dword [rax]
jb 0x140011890
lea r9, str.bypass_Ho__hey__Im_a_DC_:_
xor r8d, r8d
mov rdx, rax
lea rcx, [0x140145960]
call qword [sym.imp.RPCRT4.dll_RpcEpRegisterW]
lea rcx, [rsp + 0x80]
mov ebx, eax
call qword [sym.imp.RPCRT4.dll_RpcBindingVectorFree]
test ebx, ebx
jne 0x140011983
lea rcx, str.___RPC_bind_registered_n
call fcn.14000afb0
mov ecx, 1
mov edx, 0x4d2
mov r8d, ecx
call qword [sym.imp.RPCRT4.dll_RpcServerListen]
mov ebx, eax
test eax, eax
jne 0x140011952
lea rcx, str.___RPC_Server_is_waiting__n
call fcn.14000afb0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, ebx
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
cmp eax, 0x6b1
jne 0x14001197a
lea rcx, str.___RPC_Server_already_waiting__n
call fcn.14000afb0
xor ebx, ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, ebx
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
lea rcx, str.ERROR_kull_m_rpc_drsr_start_server___RpcServerListen:__08x_n
jmp 0x1400119b0
mov edx, ebx
lea rcx, str.ERROR_kull_m_rpc_drsr_start_server___RpcEpRegister:__08x_n
jmp 0x1400119b2
lea rcx, str.ERROR_kull_m_rpc_drsr_start_server___RpcServerInqBindings:__08x_n
jmp 0x1400119b0
lea rcx, str.ERROR_kull_m_rpc_drsr_start_server___RpcServerRegisterIf2:__08x_n
jmp 0x1400119b0
lea rcx, str.ERROR_kull_m_rpc_drsr_start_server___RpcServerRegisterAuthInfo:__08x_n
jmp 0x1400119b0
lea rcx, str.ERROR_kull_m_rpc_drsr_start_server___RpcServerUseProtseqEp:__08x_n
mov edx, eax
call fcn.14000afb0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, ebx
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
mov edx, eax
lea rcx, str.ERROR_kull_m_rpc_drsr_MakeSpnWithGUID___UuidToString_s_:__08x_n
call fcn.14000afb0
xor eax, eax
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret