Function at 0x164f1b5e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
push r14
lea rbp, [rsp - 0x290]
sub rsp, 0x390
mov rax, qword [0x16514b200]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov rdi, qword [rbp + 0x2b0]
mov rsi, qword [rbp + 0x2b8]
xor r14d, r14d
lea rdx, [rbp + 0x264]
xor ecx, ecx
call qword [sym.imp.RPCRT4.dll_I_RpcBindingInqLocalClientPID]
mov ebx, dword [rbp + 0x264]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], r14
lea r8d, [r14 + 0x12]
lea rdx, str.rpc_sender_process
lea rcx, [rbp - 0x80]
call fcn.164e58120
nop
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.164f20f40
mov qword [rax], rbx
lea rcx, [rax + 8]
cmp qword [rax + 0x20], 0xf
jbe 0x164f1b680
mov rcx, qword [rax + 8]
mov qword [rax + 0x18], r14
mov byte [rcx], 0
lea rcx, [rbp - 0x80]
call fcn.164e48400
mov dword [rbp + 0x258], 0xffffffff
lea rdx, [rbp + 0x268]
xor ecx, ecx
call qword [sym.imp.RPCRT4.dll_I_RpcBindingInqLocalClientPID]
lea rdx, [rbp + 0x258]
mov ecx, dword [rbp + 0x268]
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov ebx, dword [rbp + 0x258]
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], r14
mov r8d, 0x12
lea rdx, str.rpc_sender_session
lea rcx, [rbp - 0x60]
call fcn.164e58120
nop
lea rdx, [rbp - 0x60]
mov rcx, rdi
call fcn.164f20f40
mov qword [rax], rbx
lea rcx, [rax + 8]
cmp qword [rax + 0x20], 0xf
jbe 0x164f1b706
mov rcx, qword [rax + 8]
mov qword [rax + 0x18], r14
mov byte [rcx], 0
lea rcx, [rbp - 0x60]
call fcn.164e48400
lea rdx, [rbp + 0x26c]
xor ecx, ecx
call qword [sym.imp.RPCRT4.dll_I_RpcBindingInqLocalClientPID]
mov ebx, dword [rbp + 0x26c]
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], r14
mov r8d, 0x1b
lea rdx, str.rpc_original_sender_process
lea rcx, [rbp - 0x40]
call fcn.164e58120
nop
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x30]
call fcn.164e53fd0
mov qword [rbp + 0x50], rbx
xorps xmm0, xmm0
movups xmmword [rbp + 0x58], xmm0
mov qword [rbp + 0x68], r14
mov qword [rbp + 0x70], 0xf
mov byte [rbp + 0x58], 0
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0xd0]
mov rcx, rdi
call fcn.164f23d50
nop
lea rcx, [rbp + 0x58]
call fcn.164e48400
lea rcx, [rbp + 0x30]
call fcn.164e48400
nop
lea rcx, [rbp - 0x40]
call fcn.164e48400
mov dword [rbp + 0x25c], 0xffffffff
lea rdx, [rbp + 0x260]
xor ecx, ecx
call qword [sym.imp.RPCRT4.dll_I_RpcBindingInqLocalClientPID]
lea rdx, [rbp + 0x25c]
mov ecx, dword [rbp + 0x260]
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov ebx, dword [rbp + 0x25c]
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], r14
mov r8d, 0x1b
lea rdx, str.rpc_original_sender_session
lea rcx, [rbp - 0x20]
call fcn.164e58120
nop
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x80]
call fcn.164e53fd0
mov qword [rbp + 0xa0], rbx
xorps xmm0, xmm0
movups xmmword [rbp + 0xa8], xmm0
mov qword [rbp + 0xb8], r14
mov qword [rbp + 0xc0], 0xf
mov byte [rbp + 0xa8], 0
lea r8, [rbp + 0x80]
lea rdx, [rbp + 0xe0]
mov rcx, rdi
call fcn.164f23d50
nop
lea rcx, [rbp + 0xa8]
call fcn.164e48400
lea rcx, [rbp + 0x80]
call fcn.164e48400
nop
lea rcx, [rbp - 0x20]
call fcn.164e48400
xorps xmm0, xmm0
movups xmmword [rbp + 0x270], xmm0
xor ecx, ecx
call qword [sym.imp.RPCRT4.dll_RpcImpersonateClient]
mov byte [rsp + 0x20], 0
mov qword [rbp + 0x250], r14
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
lea r9, [rbp + 0x250]
mov edx, 4
lea r8d, [rdx - 3]
call qword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x164f1b94a
mov dword [rsp + 0x30], 0x32423239
mov dword [rsp + 0x34], 0x46463333
mov dword [rsp + 0x40], 0x6e657665
mov dword [rsp + 0x44], 0x5f725f74
mov dword [rsp + 0x48], 0x637072
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x4c], rax
mov dword [rsp + 0x54], 0x97
lea rcx, [rbp + 0x20]
call fcn.164e47a70
lea r9, [rsp + 0x40]
mov r8d, 5
mov rdx, rax
lea rcx, [rbp + 0xf0]
call fcn.164e47510
nop
lea rdx, str.asw::event_routing::rpc::RpcImpersonationToken
lea rcx, [rbp + 0xf0]
call fcn.164ea21e0
lea rdx, str.Cannot_get_impersonation_token
mov rcx, rax
call fcn.164ea21e0
nop
lea rcx, [rbp + 0xf0]
call fcn.164e47630
xor edx, edx
jmp 0x164f1b951
mov rdx, qword [rbp + 0x250]
lea rcx, [rbp + 0x270]
call fcn.164f1b420
nop
cmp byte [rsp + 0x20], 0
jne 0x164f1b96b
call fcn.164f1b370
nop
mov rax, qword [rbp + 0x270]
test rax, rax
setne cl
test rax, rax
je 0x164f1b9e3
cmp qword [rax], 0
je 0x164f1b9e3
test cl, cl
je 0x164f1b98c
mov rbx, qword [rax]
jmp 0x164f1b98f
mov rbx, r14
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], r14
mov r8d, 0x17
lea rdx, str.rpc_impersonation_token
lea rcx, [rbp]
call fcn.164e58120
nop
lea rdx, [rbp]
mov rcx, rdi
call fcn.164f20f40
mov qword [rax], rbx
lea rcx, [rax + 8]
cmp qword [rax + 0x20], 0xf
jbe 0x164f1b9d3
mov rcx, qword [rax + 8]
mov qword [rax + 0x18], r14
mov byte [rcx], 0
lea rcx, [rbp]
call fcn.164e48400
mov rax, qword [rbp + 0x278]
test rax, rax
je 0x164f1b9f3
lock inc dword [rax + 8]
movaps xmm0, xmmword [rbp + 0x270]
movdqa xmmword [rsp + 0x70], xmm0
mov ecx, 0x28
call fcn.165001480
mov rdi, rax
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, method.std::_Ref_count_obj2_class_asw::serialization::SerializableData_struct_asw::settings::GetPropertyOrDefaultInput__.virtual_0
mov qword [rdi], rax
lea rbx, [rdi + 0x10]
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.164f1b570
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rdi
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.164e52a80
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x164f1baa4
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x164f1baa4
mov rbx, qword [rsp + 0x60]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x164e9d7b8.0]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x164f1baa4
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x164e9d7b8.0]
nop
lea rcx, [rsp + 0x70]
call fcn.164e51d90
nop
lea rcx, [rbp + 0x270]
call fcn.164e51d90
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.165001080
lea r11, [rsp + 0x390]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret