Function at 0x164f52250
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x218]
sub rsp, 0x318
mov rax, qword [0x16514b200]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rsi, qword [rbp + 0x260]
mov qword [rsp + 0x70], rsi
mov rax, qword [rbp + 0x268]
mov qword [rbp - 0x48], rax
mov qword [rsp + 0x30], rax
mov rbx, qword [rbp + 0x270]
mov rdi, qword [rbp + 0x278]
mov r14, qword [rbp + 0x280]
mov r12, qword [rbp + 0x288]
mov r15, qword [rbp + 0x290]
xor r13d, r13d
mov dword [rsp + 0x30], 0x37314444
mov dword [rsp + 0x34], 0x44363445
mov dword [rsp + 0x40], 0x6e657665
mov dword [rsp + 0x44], 0x6f725f74
mov dword [rsp + 0x48], 0x7475
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x4c], rax
mov dword [rsp + 0x54], 0x31
lea rcx, [rbp - 0x40]
call fcn.164e47a70
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x80]
call fcn.164e47510
nop
lea rdx, str.Registering_event_handler_for
lea rcx, [rbp + 0x80]
call fcn.164ea21e0
mov rdx, rdi
mov rcx, rax
call fcn.164e7e090
lea rdx, [0x1650bd24c]
mov rcx, rax
call fcn.164ea21e0
nop
lea rcx, [rbp + 0x80]
call fcn.164e47630
xorps xmm0, xmm0
movups xmmword [rbp + 0x1e0], xmm0
lea rcx, [rsi + 0x50]
mov qword [rbp + 0x1e0], rcx
call fcn.164ef1c50
mov byte [rbp + 0x1e8], 1
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov rax, qword [rbx + 8]
test rax, rax
je 0x164f5239d
lock inc dword [rax + 8]
mov rax, qword [rbx]
mov qword [rbp - 0x80], rax
mov rax, qword [rbx + 8]
mov qword [rbp - 0x78], rax
mov rdx, r14
lea rcx, [rbp]
call fcn.164e7b670
mov rdx, r12
lea rcx, [rbp + 0x40]
call fcn.164e7b670
nop
lea rdx, [rsi + 0xa8]
mov qword [rsp + 0x28], r15
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rbp]
mov r8, rdi
lea rcx, [rbp + 0x1f0]
call fcn.164f54270
nop
mov rcx, qword [rbp + 0x78]
test rcx, rcx
je 0x164f52412
mov rax, qword [rcx]
lea rdx, [rbp + 0x40]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x164e9d7b8.0]
mov qword [rbp + 0x78], r13
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x164f52436
mov rax, qword [rcx]
lea rdx, [rbp]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x164e9d7b8.0]
mov qword [rbp + 0x38], r13
mov esi, 0xffffffff
mov rbx, qword [rbp - 0x78]
test rbx, rbx
je 0x164f5247b
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x164f5247b
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x164e9d7b8.0]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x164f5247b
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x164e9d7b8.0]
mov r13, qword [rdi + 0x10]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r13
cmp rax, 2
jb 0x164f526dd
cmp qword [rdi + 0x18], 0xf
jbe 0x164f524a3
mov rdi, qword [rdi]
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xor eax, eax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
lea r12, [r13 + 2]
mov ebx, 0xf
lea r14, [rbp - 0x70]
cmp r12, rbx
jbe 0x164f524f3
mov rbx, r12
or rbx, 0xf
cmp rbx, rcx
jbe 0x164f524d7
mov rbx, rcx
jmp 0x164f524e3
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
call fcn.164e581f0
mov r14, rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], rbx
mov r8, r13
mov rdx, rdi
mov rcx, r14
call fcn.16503fa90
movzx eax, word [0x1650bd590]
mov word [r14 + r13], ax
mov byte [r14 + r12], 0
mov r8, qword [r15 + 0x10]
cmp qword [r15 + 0x18], 0xf
jbe 0x164f52528
mov r15, qword [r15]
mov rdx, r15
lea rcx, [rbp - 0x70]
call fcn.164e53e10
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
xor r13d, r13d
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], r13b
mov r15, qword [rbp + 0x1f0]
mov r12, qword [rbp + 0x1f8]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov r14, qword [rsp + 0x70]
mov rdx, qword [r14 + 0x10]
test rdx, rdx
je 0x164f526e3
mov eax, dword [rdx + 8]
test eax, eax
je 0x164f526e3
nop dword [rax]
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x164f525a4
test eax, eax
je 0x164f526e3
jmp 0x164f52590
mov rax, qword [r14 + 8]
mov qword [rsp + 0x58], rax
mov r14, qword [r14 + 0x10]
mov qword [rsp + 0x60], r14
mov ecx, 0x58
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]
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r12
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x30], xmm0
lea r9, [rbp - 0x20]
lea r8, [rbp - 0x30]
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.164f58010
nop
mov r15, qword [rbp - 0x48]
mov qword [r15], rbx
mov qword [r15 + 8], rdi
test r14, r14
je 0x164f52660
mov eax, esi
lock xadd dword [r14 + 8], eax
cmp eax, 1
jne 0x164f52660
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [case.0x164e9d7b8.0]
lock xadd dword [r14 + 0xc], esi
cmp esi, 1
jne 0x164f52660
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x164e9d7b8.0]
nop
lea rcx, [rbp - 0x20]
call fcn.164e48400
nop
lea rcx, [rbp - 0x70]
call fcn.164e48400
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rbx, qword [rbp + 0x1e0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
dec dword [rbx + 0x44]
cmp dword [rbx + 0x44], 0
jg 0x164f526ae
mov dword [rbx + 0x40], 0xffffffff
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rbx + 0x48]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, r15
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.165001080
add rsp, 0x318
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.164e43760
nop
call fcn.164ede890
int3