Function at 0x1400010b0
Capabilities:
Bypass uac via rpc

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1a0
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov r15d, r8d
mov r13, rdx
mov r12, rcx
mov rbx, qword [rsp + 0x218]
xor r14b, r14b
xor esi, esi
mov qword [rsp + 0x98], rsi
mov dword [rsp + 0x150], esi
test rbx, rbx
je 0x140001111
mov qword [rbx], rsi
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rsi
lea rdi, [rsp + 0xa0]
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rdi, [rsp + 0x158]
mov ecx, 0x38
rep stosb byte [rdi], al
mov dword [rsp + 0x17c], 1
mov word [rsp + 0x180], si
lea rdi, [rsp + 0xe0]
mov ecx, 0x70
rep stosb byte [rdi], al
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x78], rsi
mov dword [rsp + 0x80], 0x44
mov qword [rsp + 0x90], rsi
lea rdi, [rsp + 0xb8]
mov ecx, 0x28
rep stosb byte [rdi], al
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
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
jne 0x1400012b1
lea rdx, [rsp + 0x78]
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
jne 0x1400012b1
mov edx, dword [rsp + 0x80]
lea ecx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x1400012aa
lea r9, [rsp + 0x80]
mov r8, rax
xor edx, edx
lea ecx, [rdi + 0x16]
call qword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
je 0x140001297
mov dword [rsp + 0xb8], 3
mov dword [rsp + 0xc4], 3
mov qword [rsp + 0xbc], 1
xor ecx, ecx
mov qword [rsp + 0xd8], rsi
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rcx
xor edx, edx
lea r9d, [rdi + 0xa]
lea r8d, [rdi + 6]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.RPCRT4.dll_RpcBindingSetAuthInfoExW]
mov edi, eax
test eax, eax
jne 0x14000129f
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x78], 0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400012af
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400012af
mov edi, 8
xor esi, esi
cmp qword [rsp + 0x78], 0
je 0x1400012c4
lea rcx, [rsp + 0x78]
call qword [sym.imp.RPCRT4.dll_RpcBindingFree]
test edi, edi
jne 0x140001417
lea edx, [rdi + 0x70]
lea rcx, [rsp + 0xe0]
call qword [sym.imp.RPCRT4.dll_RpcAsyncInitializeHandle]
mov edi, eax
test eax, eax
jne 0x140001313
mov dword [rsp + 0x10c], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsp + 0x110], rax
test rax, rax
jne 0x140001313
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jne 0x140001417
lea rax, [rsp + 0x150]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x158]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x20], r15d
mov r9, r13
mov r8, r12
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0xe0]
call fcn.140001000
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x140001383
lea ecx, [rdi - 1]
call qword [sym.imp.RPCRT4.dll_RpcRaiseException]
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0xe0]
call qword [sym.imp.RPCRT4.dll_RpcAsyncCompleteCall]
test eax, eax
jne 0x1400013e0
cmp qword [rsp + 0x98], 0
jne 0x1400013e0
test rbx, rbx
je 0x1400013d8
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 r14b, 1
mov byte [rsp + 0x70], r14b
mov rcx, qword [rsp + 0x110]
test rcx, rcx
je 0x1400013fb
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x110], rsi
lea rcx, [rsp + 0x90]
call qword [sym.imp.RPCRT4.dll_RpcBindingFree]
jmp 0x140001417
movzx eax, r14b
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140001880
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret