Function at 0x140004438
Capabilities:
Listen for remote procedure calls

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x14001c1c8]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov r15d, edx
mov r13, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
nop dword [rax + rax]
and qword [rsp + 0x50], 0
lea rax, [0x14001c8d8]
and dword [rsp + 0x40], 0
lea rcx, [rsp + 0x70]
mov rbx, rax
mov qword [rsp + 0x48], rax
call fcn.1400114c8
xor esi, esi
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x58], rsi
lea rcx, [rsp + 0x70]
call fcn.140011648
mov r14d, dword [rsp + 0x40]
mov edi, eax
test eax, eax
js 0x1400044fd
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.1400117d0
mov edi, eax
test eax, eax
js 0x1400044f8
cmp r15d, r14d
lea r9, [rsp + 0x58]
mov ecx, r14d
lea rdx, [rsp + 0x48]
cmovb ecx, r15d
mov r8b, 1
call fcn.14000e0cc
mov rsi, qword [rsp + 0x58]
mov edi, eax
mov rbx, qword [rsp + 0x48]
test edi, edi
js 0x140004665
mov eax, 0x2000
lea r9, str.splwow64
cmp r15d, r14d
lea r8, str._s__x__x__x__x
mov edx, 0x3c
lea rcx, [rbp - 0x50]
cmovb r14d, r15d
cmp r14d, eax
cmovb r14d, eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov eax, dword [r13 + 0x38]
mov dword [rsp + 0x20], eax
call fcn.140004974
mov r15d, 0xa
lea r8, [rbp - 0x50]
mov edx, r15d
lea rcx, str.ncalrpc
mov r9, rsi
call qword [sym.imp.RPCRT4.dll_RpcServerUseProtseqEpW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x140004623
mov qword [rsp + 0x38], rsi
lea rcx, [0x140015f90]
and qword [rsp + 0x30], 0
mov r14d, 0x4d2
mov dword [rsp + 0x28], 0xfa000
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], r14d
xor edx, edx
call qword [sym.imp.RPCRT4.dll_RpcServerRegisterIf3]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x140004623
lea rcx, [rsp + 0x60]
call qword [sym.imp.RPCRT4.dll_RpcServerInqBindings]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x140004623
lea rcx, [rsp + 0x60]
call qword [sym.imp.RPCRT4.dll_RpcBindingVectorFree]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x140004623
xor r9d, r9d
xor r8d, r8d
mov edx, r15d
xor ecx, ecx
call qword [sym.imp.RPCRT4.dll_RpcServerRegisterAuthInfoW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x140004623
xor r8d, r8d
lea ecx, [rax + 1]
mov edx, r14d
call qword [sym.imp.RPCRT4.dll_RpcServerListen]
nop dword [rax + rax]
mov edi, eax
test eax, eax
je 0x140004654
mov rcx, qword [0x14001c048]
lea rax, [0x14001c048]
cmp rcx, rax
je 0x140004654
test byte [rcx + 0x1c], 1
je 0x140004654
mov rcx, qword [rcx + 0x10]
lea r8, [0x140017c80]
mov edx, 0xd
mov r9d, edi
call fcn.140004b84
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
jmp 0x140004676
mov eax, edi
and eax, 0x1fff0000
cmp eax, 0x70000
jne 0x140004676
movzx edi, di
lea rcx, [rsp + 0x70]
call fcn.1400115c4
lea rax, [0x14001c8d8]
cmp rbx, rax
je 0x1400046a0
lea rax, [0x14001c8da]
cmp rbx, rax
je 0x1400046a0
mov rcx, rbx
call fcn.1400012cc
mov eax, edi
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140001670
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret