Function at 0x140138aa0
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 - 0x238]
sub rsp, 0x338
mov rax, qword [0x1402bf200]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov r13, qword [rbp + 0x280]
mov r15, qword [rbp + 0x288]
mov qword [rsp + 0x78], r15
mov rbx, qword [rbp + 0x290]
mov rdi, qword [rbp + 0x298]
mov rsi, qword [rbp + 0x2a0]
mov r12, qword [rbp + 0x2a8]
mov r14, qword [rbp + 0x2b0]
mov dword [rsp + 0x50], 0x37354633
mov dword [rsp + 0x54], 0x44453339
mov dword [rsp + 0x60], 0x6e657665
mov dword [rsp + 0x64], 0x6f725f74
mov dword [rsp + 0x68], 0x7475
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x6c], rax
mov dword [rsp + 0x74], 0x31
lea rcx, [rbp - 0x40]
call fcn.140026d50
lea r9, [rsp + 0x60]
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0xa0]
call fcn.140025780
nop
lea rdx, str.Registering_event_handler_for
lea rcx, [rbp + 0xa0]
call fcn.14003e030
mov rdx, rdi
mov rcx, rax
call fcn.140074db0
lea rdx, [0x14023bb0c]
mov rcx, rax
call fcn.14003e030
nop
lea rcx, [rbp + 0xa0]
call fcn.140028440
xorps xmm0, xmm0
movups xmmword [rbp + 0x200], xmm0
lea rcx, [r13 + 0x50]
mov qword [rbp + 0x200], rcx
call fcn.1400db5e0
mov byte [rbp + 0x208], 1
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov rax, qword [rbx + 8]
test rax, rax
je 0x140138be1
lock inc dword [rax + 8]
mov rax, qword [rbx]
mov qword [rbp - 0x70], rax
mov rax, qword [rbx + 8]
mov qword [rbp - 0x68], rax
mov rdx, rsi
lea rcx, [rbp + 0x20]
call fcn.140080b90
mov rdx, r12
lea rcx, [rbp + 0x60]
call fcn.140080b90
nop
lea rdx, [r13 + 0xa8]
mov qword [rsp + 0x28], r14
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x20]
mov r8, rdi
lea rcx, [rbp + 0x210]
call fcn.14013a9f0
nop
mov rcx, qword [rbp + 0x98]
test rcx, rcx
je 0x140138c61
mov rax, qword [rcx]
lea rdx, [rbp + 0x60]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x1400617cf.0]
xor r12d, r12d
mov qword [rbp + 0x98], r12
jmp 0x140138c64
xor r12d, r12d
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x140138c88
mov rax, qword [rcx]
lea rdx, [rbp + 0x20]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x1400617cf.0]
mov qword [rbp + 0x58], r12
mov esi, 0xffffffff
mov rbx, qword [rbp - 0x68]
test rbx, rbx
je 0x140138ccd
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140138ccd
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x1400617cf.0]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140138ccd
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x1400617cf.0]
mov rcx, qword [rdi + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 2
jb 0x140138ede
mov r9, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140138cf5
mov r9, qword [rdi]
mov qword [rsp + 0x30], 2
lea rax, [0x1402562c0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r8, rdi
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp]
call fcn.140039d20
nop
mov r8, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0xf
jbe 0x140138d2f
mov r14, qword [r14]
mov rdx, r14
lea rcx, [rbp]
call fcn.140028d20
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r12, qword [rbp + 0x210]
mov rax, qword [rbp + 0x218]
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov rdx, qword [r13 + 0x10]
test rdx, rdx
je 0x140138ee4
mov eax, dword [rdx + 8]
test eax, eax
je 0x140138ee4
nop dword [rax]
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x140138da4
test eax, eax
je 0x140138ee4
jmp 0x140138d90
mov rax, qword [r13 + 8]
mov qword [rbp - 0x80], rax
mov r14, qword [r13 + 0x10]
mov qword [rbp - 0x78], r14
mov ecx, 0x58
call fcn.14019af70
mov rdi, rax
mov qword [rsp + 0x50], 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::mi::ModuleLifetimeLib_.virtual_0
mov qword [rdi], rax
lea rbx, [rdi + 0x10]
mov qword [rbp - 0x50], r12
mov rax, qword [rsp + 0x78]
mov qword [rbp - 0x48], rax
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x30], xmm0
lea r9, [rbp - 0x20]
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x80]
mov rcx, rbx
call fcn.14013e5d0
nop
mov qword [r15 + 8], 0
mov qword [r15], rbx
mov qword [r15 + 8], rdi
test r14, r14
je 0x140138e61
mov eax, esi
lock xadd dword [r14 + 8], eax
cmp eax, 1
jne 0x140138e61
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [case.0x1400617cf.0]
lock xadd dword [r14 + 0xc], esi
cmp esi, 1
jne 0x140138e61
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400617cf.0]
nop
lea rcx, [rbp - 0x20]
call fcn.140029f90
nop
lea rcx, [rbp]
call fcn.140029f90
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rbx, qword [rbp + 0x200]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
dec dword [rbx + 0x44]
cmp dword [rbx + 0x44], 0
jg 0x140138eaf
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 + 0x220]
xor rcx, rsp
call fcn.14019acb0
add rsp, 0x338
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14002a900
nop
call fcn.14004d5d0
int3