Function at 0x180015870
Capabilities:
Check mutex on windows
Enumerate processes

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x4d0
mov rbx, r8
mov rbp, rdx
mov r15, rcx
lea rax, vtable.ScenarioManager.0
mov qword [rcx], rax
mov qword [rcx + 8], rdx
xor r12d, r12d
mov qword [rcx + 0x10], r12
mov byte [rcx + 0x28], 1
mov byte [rcx + 0x2b], r12b
mov word [rcx + 0x2d], r12w
mov byte [rcx + 0x2f], r12b
mov qword [rcx + 0x38], r12
mov qword [rcx + 0x40], r12
mov qword [rcx + 0x48], r12
mov qword [rcx + 0x50], r12
mov qword [rcx + 0x60], r12
mov qword [rcx + 0x68], r12
mov qword [rcx + 0x70], r12
mov qword [rcx + 0x78], r12
mov qword [rcx + 0x80], r12
mov qword [rcx + 0x88], r12
mov qword [rcx + 0x90], r12
mov qword [rcx + 0x98], r12
mov qword [rcx + 0xa0], r12
mov qword [rcx + 0xa8], r12
mov qword [rcx + 0xb0], r12
mov qword [rcx + 0xb8], r12
mov qword [rcx + 0xc0], r12
mov qword [rcx + 0xc8], r12
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [r15 + 0x30], rax
lea rdx, str.NativeRansomwareDll
lea rcx, [0x18004c2a8]
call fcn.180013b40
mov qword [r15 + 0x18], rax
lea rcx, str.NativeRansomwareDll
call fcn.180013e00
mov qword [r15 + 0x20], rax
test rbp, rbp
setne cl
mov rax, r15
test rbp, rbp
cmove rax, r15
mov byte [rax + 0x29], cl
mov byte [r15 + 0x2c], r12b
cmp byte [r15 + 0x29], r12b
je 0x18001599b
cmp rbx, 1
jb 0x18001599b
mov byte [r15 + 0x2a], 1
cmp rbx, 0x12345678
je 0x1800159a0
mov byte [r15 + 0x2c], 1
jmp 0x1800159a0
mov byte [r15 + 0x2a], 0
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, qword [r15 + 8]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov rax, qword [rsp + 0x28]
mov qword [r15 + 0x10], rax
cmp rax, qword [r15 + 8]
je 0x1800159c8
mov al, 1
jmp 0x1800159ca
xor al, al
mov byte [r15 + 0x2d], al
cmp byte [r15 + 0x29], 0
jne 0x180015a10
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x530], eax
lea rcx, [r15 + 0xa0]
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x1800159fc
mov dword [rdx], eax
add qword [rcx + 8], 4
jmp 0x180015a09
lea r8, [rsp + 0x530]
call fcn.180017010
cmp byte [r15 + 0x29], 0
je 0x180015a2f
cmp byte [r15 + 0x2a], 0
je 0x180015a2f
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, eax
xor edx, edx
mov ecx, 0x100001
call qword [sym.imp.KERNEL32.dll_OpenThread]
jmp 0x180015a32
mov rax, r12
mov qword [r15 + 0x58], rax
mov rbx, r12
xor edx, edx
lea ecx, [rdx + 6]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180015b6e
mov dword [rsp + 0x290], 0x238
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x294]
call fcn.18001d780
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x290]
mov r8d, 4
nop dword [rax]
nop dword [rax + rax]
movups xmm0, xmmword [rcx]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rdx + 0x60], xmm0
lea rdx, [rdx + 0x80]
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rdx - 0x10], xmm1
lea rcx, [rcx + 0x80]
sub r8, 1
jne 0x180015a90
movups xmm0, xmmword [rcx]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x20], xmm0
mov rax, qword [rcx + 0x30]
mov qword [rdx + 0x30], rax
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x180015b65
lea rdx, str.CymulateEDRScenarioExecutor.exe
lea rcx, [rsp + 0x7c]
call fcn.180021708
test eax, eax
jne 0x180015b45
mov r8d, dword [rsp + 0x58]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x180015cb9
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x180015b12
test rbx, rbx
je 0x180015b65
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x58
call fcn.18001ace8
mov rdi, rax
mov qword [rsp + 0x528], rax
mov qword [rax], rbp
mov qword [rax + 8], r12
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r12
mov qword [rax + 0x20], r12
mov qword [rax + 0x28], r12
mov qword [rax + 0x30], r12
mov qword [rax + 0x38], r12
mov qword [rax + 0x40], r12
lea rbx, [rax + 0x48]
mov qword [rsp + 0x518], rbx
mov qword [rbx], r12
mov qword [rbx + 8], r12
mov ecx, 0x58
call fcn.18001ace8
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
mov qword [r15 + 0x60], rdi
mov rcx, rdi
call fcn.180017a60
test al, al
je 0x180015c9f
mov rax, qword [r15 + 0x60]
lea rdx, str.APT_SCENARIO
mov rcx, qword [rax + 8]
call fcn.18001cd24
test rax, rax
setne al
mov byte [r15 + 0x2b], al
mov ecx, 0x40
call fcn.18001ace8
mov r14, rax
mov qword [rsp + 0x528], rax
mov rcx, qword [r15 + 0x60]
mov rsi, qword [rcx + 0x20]
mov rdi, qword [rcx + 0x10]
mov rbx, qword [rcx + 8]
mov qword [rax + 0x28], r12
mov qword [rax + 0x30], r12
mov word [rax + 0x3c], 0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [r14], rax
mov rcx, rbx
call fcn.180013e00
mov qword [r14 + 8], rax
mov rcx, rdi
call fcn.180013e00
mov qword [r14 + 0x10], rax
mov rcx, rsi
call fcn.180013e00
mov qword [r14 + 0x18], rax
mov rdx, qword [r14 + 0x10]
lea rcx, str..pipe_s_p
call fcn.180013a70
mov qword [r14 + 0x20], rax
xor ecx, ecx
call fcn.1800218b4
mov dword [r14 + 0x38], eax
mov qword [r15 + 0x68], r14
mov rcx, r14
call fcn.180019380
test al, al
jne 0x180015ca4
mov byte [r15 + 0x2e], 1
mov rax, r15
add rsp, 0x4d0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x180015b5c