Function at 0x140011cf8
Capabilities:
Listen for remote procedure calls

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x50
mov rbx, rdx
mov rbp, rcx
xor esi, esi
and qword [rax + 0x18], rsi
and qword [rax - 0x30], rsi
lea rdx, [rax - 0x38]
lea rcx, [0x1400dc234]
xor edi, edi
call qword [sym.imp.RPCRT4.dll_UuidToStringW]
test eax, eax
jne 0x140011e06
lea rdx, [rsp + 0x98]
mov rcx, rbx
call qword [sym.imp.RPCRT4.dll_UuidToStringW]
test eax, eax
jne 0x140011deb
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x98]
mov edi, eax
add edi, edi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, rbp
mov ebx, eax
lea r13d, [rbx + rbx]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [rsi + 0x40]
lea r12d, [rax + rax]
lea rax, [rdi + r13]
mov ebx, edi
lea rdx, [rax + r12 + 4]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
je 0x140011ddb
mov rdx, qword [rsp + 0x40]
mov r8, rbx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov rdx, qword [rsp + 0x98]
lea rcx, [rbx + rdi + 2]
mov r8, r13
call sub.msvcrt.dll_memcpy
mov byte [rbx + rdi], 0x2f
add rbx, r12
lea rcx, [rbx + rdi + 4]
mov r8, r12
mov rdx, rbp
call sub.msvcrt.dll_memcpy
mov byte [rbx + rdi + 2], 0x2f
lea rcx, [rsp + 0x98]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
jmp 0x140011df9
lea rcx, str.ERROR_kull_m_rpc_drsr_MakeSpnWithGUID___UuidToString_i_:__08x_n
mov edx, eax
call fcn.14000c020
lea rcx, [rsp + 0x40]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
jmp 0x140011e14
lea rcx, str.ERROR_kull_m_rpc_drsr_MakeSpnWithGUID___UuidToString_s_:__08x_n
mov edx, eax
call fcn.14000c020
test rdi, rdi
je 0x140011fc8
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 0x140011fb1
lea edx, [rax + 9]
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.RPCRT4.dll_RpcServerRegisterAuthInfoW]
mov esi, eax
test eax, eax
jne 0x140011fa8
and qword [rsp + 0x30], 0
or dword [rsp + 0x28], 0xffffffff
lea r9d, [rax + 8]
lea rcx, [0x1400dc230]
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 0x140011f9f
lea rcx, [rsp + 0x90]
call qword [sym.imp.RPCRT4.dll_RpcServerInqBindings]
mov esi, eax
test eax, eax
jne 0x140011f96
lea ebp, [rax + 1]
mov rax, qword [rsp + 0x90]
xor ebx, ebx
cmp dword [rax], ebx
jbe 0x140011f0f
xor esi, esi
mov rcx, qword [rsi + rax + 8]
lea rdx, [rsp + 0x48]
call qword [sym.imp.RPCRT4.dll_RpcBindingToStringBindingW]
test eax, eax
jne 0x140011eef
mov r8, qword [rsp + 0x48]
lea rcx, str.___BindString__u_:__s_n
mov edx, ebx
call fcn.14000c020
lea rcx, [rsp + 0x48]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
jmp 0x140011efd
lea rcx, str.ERROR_kull_m_rpc_drsr_start_server___RpcBindingToStringBinding:__08x_n
mov edx, eax
call fcn.14000c020
mov rax, qword [rsp + 0x90]
add ebx, ebp
add rsi, 8
cmp ebx, dword [rax]
jb 0x140011ebb
lea r9, str.mimikatz_Ho__hey__Im_a_DC_:_
lea rcx, [0x1400dc230]
xor r8d, r8d
mov rdx, rax
call qword [sym.imp.RPCRT4.dll_RpcEpRegisterW]
lea rcx, [rsp + 0x90]
mov esi, eax
call qword [sym.imp.RPCRT4.dll_RpcBindingVectorFree]
test esi, esi
jne 0x140011f8b
lea rcx, str.___RPC_bind_registered_n
call fcn.14000c020
mov r8d, ebp
mov edx, r12d
mov ecx, ebp
call qword [sym.imp.RPCRT4.dll_RpcServerListen]
mov esi, eax
test eax, eax
jne 0x140011f6b
lea rcx, str.___RPC_Server_is_waiting__n
call fcn.14000c020
jmp 0x140011fbf
cmp eax, 0x6b1
jne 0x140011f82
lea rcx, str.___RPC_Server_already_waiting__n
call fcn.14000c020
xor esi, esi
jmp 0x140011fbf
lea rcx, str.ERROR_kull_m_rpc_drsr_start_server___RpcServerListen:__08x_n
jmp 0x140011fb8
mov edx, esi
lea rcx, str.ERROR_kull_m_rpc_drsr_start_server___RpcEpRegister:__08x_n
jmp 0x140011fba
lea rcx, str.ERROR_kull_m_rpc_drsr_start_server___RpcServerInqBindings:__08x_n
jmp 0x140011fb8
lea rcx, str.ERROR_kull_m_rpc_drsr_start_server___RpcServerRegisterIf2:__08x_n
jmp 0x140011fb8
lea rcx, str.ERROR_kull_m_rpc_drsr_start_server___RpcServerRegisterAuthInfo:__08x_n
jmp 0x140011fb8
lea rcx, str.ERROR_kull_m_rpc_drsr_start_server___RpcServerUseProtseqEp:__08x_n
mov edx, eax
call fcn.14000c020
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret