Function at 0x180015c40
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, [0x18004c268]
call fcn.180013f10
mov qword [r15 + 0x18], rax
lea rcx, str.NativeRansomwareDll
call fcn.1800141d0
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 0x180015d6b
cmp rbx, 1
jb 0x180015d6b
mov byte [r15 + 0x2a], 1
cmp rbx, 0x12345678
je 0x180015d70
mov byte [r15 + 0x2c], 1
jmp 0x180015d70
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 0x180015d98
mov al, 1
jmp 0x180015d9a
xor al, al
mov byte [r15 + 0x2d], al
cmp byte [r15 + 0x29], 0
jne 0x180015de0
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 0x180015dcc
mov dword [rdx], eax
add qword [rcx + 8], 4
jmp 0x180015dd9
lea r8, [rsp + 0x530]
call fcn.1800173e0
cmp byte [r15 + 0x29], 0
je 0x180015dff
cmp byte [r15 + 0x2a], 0
je 0x180015dff
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, eax
xor edx, edx
mov ecx, 0x100001
call qword [sym.imp.KERNEL32.dll_OpenThread]
jmp 0x180015e02
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 0x180015f3e
mov dword [rsp + 0x290], 0x238
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x294]
call fcn.18001db50
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 0x180015e60
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 0x180015f35
lea rdx, str.CymulateEDRScenarioExecutor.exe
lea rcx, [rsp + 0x7c]
call fcn.180021ad8
test eax, eax
jne 0x180015f15
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 0x180016089
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x180015ee2
test rbx, rbx
je 0x180015f35
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.18001b0b8
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.18001b0b8
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.180017e30
test al, al
je 0x18001606f
mov rax, qword [r15 + 0x60]
lea rdx, str.APT_SCENARIO
mov rcx, qword [rax + 8]
call fcn.18001d0f4
test rax, rax
setne al
mov byte [r15 + 0x2b], al
mov ecx, 0x40
call fcn.18001b0b8
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.1800141d0
mov qword [r14 + 8], rax
mov rcx, rdi
call fcn.1800141d0
mov qword [r14 + 0x10], rax
mov rcx, rsi
call fcn.1800141d0
mov qword [r14 + 0x18], rax
mov rdx, qword [r14 + 0x10]
lea rcx, str..pipe_s_p
call fcn.180013e40
mov qword [r14 + 0x20], rax
xor ecx, ecx
call fcn.180021c84
mov dword [r14 + 0x38], eax
mov qword [r15 + 0x68], r14
mov rcx, r14
call fcn.180019750
test al, al
jne 0x180016074
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 0x180015f2c